MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / strFindUnsafe

Function strFindUnsafe

Source/3rdParty/bx/src/string.cpp:341–352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339 }
340
341 inline const char* strFindUnsafe(const char* _str, int32_t _len, char _ch)
342 {
343 for (int32_t ii = 0; ii < _len; ++ii)
344 {
345 if (_str[ii] == _ch)
346 {
347 return &_str[ii];
348 }
349 }
350
351 return NULL;
352 }
353
354 inline const char* strFind(const char* _str, int32_t _max, char _ch)
355 {

Callers 3

strFindFunction · 0.85
strLTrimFunction · 0.85
strRTrimFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected