FastLED 3.9.15
Loading...
Searching...
No Matches

◆ find_first_not_of() [4/4]

fl::size fl::string_view::find_first_not_of ( string_view sv,
fl::size pos = 0 ) const
inline

Definition at line 321 of file string_view.h.

321 {
322 if (pos >= mSize) return npos;
323 for (fl::size i = pos; i < mSize; ++i) {
324 bool found = false;
325 for (fl::size j = 0; j < sv.mSize; ++j) {
326 if (mData[i] == sv.mData[j]) {
327 found = true;
328 break;
329 }
330 }
331 if (!found) return i;
332 }
333 return npos;
334 }
uint8_t pos
Definition Blur.ino:11
const char * mData
static constexpr fl::size npos
Definition string_view.h:35

References string_view(), FL_NOEXCEPT, mData, mSize, npos, and pos.

Referenced by find_first_not_of(), and find_first_not_of().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: