9 references to strlen
System.Private.CoreLib (9)
Internal\Runtime\CompilerHelpers\InteropHelpers.cs (2)
288
return Encoding.UTF8.GetString(pModuleName, string.
strlen
(pModuleName));
386
string entryPointName = Encoding.UTF8.GetString(methodName, string.
strlen
(methodName));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.cs (3)
76
int nbBytes = string.
strlen
((byte*)ptr);
1298
NativeMemory.Clear((void*)s, (nuint)string.
strlen
((byte*)s));
1308
NativeMemory.Clear((void*)s, (nuint)string.
strlen
((byte*)s));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\MemoryMarshal.cs (1)
304
value != null ? new ReadOnlySpan<byte>(value, string.
strlen
(value)) :
src\runtime\src\libraries\System.Private.CoreLib\src\System\String.cs (1)
192
int numBytes =
strlen
((byte*)value);
System\AppContext.NativeAot.cs (2)
20
Encoding.UTF8.GetString(keys[i], string.
strlen
(keys[i])),
21
Encoding.UTF8.GetString(values[i], string.
strlen
(values[i])));