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

Function dStrlen

Engine/source/core/strings/unicode.cpp:491–503  ·  view source on GitHub ↗

-----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

489
490//-----------------------------------------------------------------------------
491U32 dStrlen(const UTF16 *unistring)
492{
493 if(!unistring)
494 return 0;
495
496 U32 i = 0;
497 while(unistring[i] != '\0')
498 i++;
499
500// AssertFatal( wcslen(unistring) == i, "Incorrect length" );
501
502 return i;
503}
504
505//-----------------------------------------------------------------------------
506U32 dStrlen(const UTF32 *unistring)

Callers 15

dStrdup_rFunction · 0.70
dStrlcatFunction · 0.70
dStrlcpyFunction · 0.70
dStrStartsWithFunction · 0.70
dStrEndsWithFunction · 0.70
dStripPathFunction · 0.70
dStrrevFunction · 0.70
dItoaFunction · 0.70
setExpressionMethod · 0.70
isMatchMultipleExprsMethod · 0.70
setUnitFunction · 0.70
removeUnitFunction · 0.70

Calls

no outgoing calls

Tested by 2

StrTestMethod · 0.40
_setCommandMethod · 0.40