MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / find_first_not_of

Method find_first_not_of

src/common/classes/fb_string.cpp:277–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275 }
276
277 AbstractString::size_type AbstractString::find_first_not_of(const_pointer s, size_type pos, size_type n) const
278 {
279 const strBitMask sm(s, n);
280 const_pointer p = &c_str()[pos];
281 while (pos < length())
282 {
283 if (! sm.Contains(*p++)) {
284 return pos;
285 }
286 ++pos;
287 }
288 return npos;
289 }
290
291 AbstractString::size_type AbstractString::find_last_not_of(const_pointer s, const size_type pos, size_type n) const
292 {

Callers 9

parameter.hppFile · 0.45
number.hppFile · 0.45
strMethod · 0.45
format_float_stringFunction · 0.45
str2ArrayMethod · 0.45
prepareRecSourceMethod · 0.45
getVersionsFunction · 0.45
testFunction · 0.45
keywordMethod · 0.45

Calls 2

lengthFunction · 0.50
ContainsMethod · 0.45

Tested by 1

testFunction · 0.36