4 references to NameBufferSize
System.Private.CoreLib (4)
src\libraries\Common\src\Interop\Unix\System.Native\Interop.ReadDir.cs (2)
38
Debug.Assert(buffer.Length >= Encoding.UTF8.GetMaxCharCount(
NameBufferSize
- 1 - 1));
44
? new ReadOnlySpan<byte>(Name, new ReadOnlySpan<byte>(Name,
NameBufferSize
).IndexOf<byte>(0))
src\libraries\System.Private.CoreLib\src\System\IO\Enumeration\FileSystemEntry.Unix.cs (1)
98
Span<char> buffer = MemoryMarshal.CreateSpan(ref _fileNameBuffer._buffer[0], Interop.Sys.DirectoryEntry.
NameBufferSize
);
src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.Unix.NonAndroid.cs (1)
255
ReadOnlySpan<char> direntName = dirent.GetName(stackalloc char[Interop.Sys.DirectoryEntry.
NameBufferSize
]);