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