MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / dStrrchr

Function dStrrchr

Engine/source/core/strings/unicode.cpp:517–529  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

515//-----------------------------------------------------------------------------
516
517const UTF16* dStrrchr(const UTF16* unistring, U32 c)
518{
519 if(!unistring) return NULL;
520
521 const UTF16* tmp = unistring + dStrlen(unistring);
522 while( tmp >= unistring)
523 {
524 if(*tmp == c)
525 return tmp;
526 tmp--;
527 }
528 return NULL;
529}
530
531UTF16* dStrrchr(UTF16* unistring, U32 c)
532{

Callers 15

expandToolScriptFilenameFunction · 0.50
expandOldScriptFilenameFunction · 0.50
saveMethod · 0.50
parseObjectMethod · 0.50
addRemoveFieldMethod · 0.50
getParserForFileFunction · 0.50
executeFileFunction · 0.50
expandPathFunction · 0.50
getDSOPathFunction · 0.50
writeFieldMethod · 0.50

Calls 1

dStrlenFunction · 0.70

Tested by

no test coverage detected