MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / stringLength

Function stringLength

include/daScript/simulate/hash.h:11–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9 }
10
11 __forceinline uint32_t stringLength ( Context &, const char * str ) { // str!=nullptr
12 return uint32_t(strlen(str));
13 }
14
15 __forceinline uint32_t stringLengthSafe ( Context & ctx, const char * str ) {//accepts nullptr
16 return str ? stringLength(ctx,str) : 0;

Callers 12

AddMethod · 0.85
SetAddMethod · 0.85
uri_to_unix_file_nameFunction · 0.85
uri_to_windows_file_nameFunction · 0.85
unix_file_name_to_uriFunction · 0.85
windows_file_name_to_uriFunction · 0.85
escape_uriFunction · 0.85
unescape_uriFunction · 0.85
jit_str_catFunction · 0.85
builtin_fwriteFunction · 0.85
introduceFileFunction · 0.85
stringLengthSafeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected