13 references to Name
System.Formats.Tar (13)
System\Formats\Tar\FieldLocations.cs (1)
12
internal const ushort Mode = FieldLengths.
Name
;
System\Formats\Tar\TarHeader.Read.cs (1)
387
name: TarHelpers.GetTrimmedUtf8String(buffer.Slice(FieldLocations.Name, FieldLengths.
Name
)),
System\Formats\Tar\TarHeader.Write.cs (11)
374
if (Encoding.UTF8.GetByteCount(_name) > FieldLengths.
Name
)
410
if (Encoding.UTF8.GetByteCount(_name) > FieldLengths.
Name
)
527
if (encodedLength > FieldLengths.
Name
)
534
int utf16NameTruncatedLength = GetUtf16TruncatedTextLength(name, FieldLengths.
Name
);
538
return WriteAsUtf8String(name, buffer.Slice(FieldLocations.Name, FieldLengths.
Name
));
548
const int MaxPathName = FieldLengths.Prefix + 1 + FieldLengths.
Name
;
560
if (pathNameBytes.Length <= FieldLengths.
Name
)
562
return WriteLeftAlignedBytesAndGetChecksum(pathNameBytes, buffer.Slice(FieldLocations.Name, FieldLengths.
Name
));
594
if (prefix.Length <= FieldLengths.Prefix && name.Length <= FieldLengths.
Name
)
599
checksum += WriteLeftAlignedBytesAndGetChecksum(name, buffer.Slice(FieldLocations.Name, FieldLengths.
Name
));
1178
return result.Length >= FieldLengths.
Name
?