Home
last modified time | relevance | path

Searched refs:formatNameBytes (Results 1 – 3 of 3) sorted by relevance

/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/tar/
DTarUtilsTest.java38 int off = TarUtils.formatNameBytes(sb1, buff, 1, buff.length-1); in testName()
45 off = TarUtils.formatNameBytes(sb1, buff, 1, buff.length-1); in testName()
220 final int len = TarUtils.formatNameBytes(s, buff, 0, buff.length, enc); in testRoundEncoding()
226 final int len = TarUtils.formatNameBytes(string, buff, 0, buff.length); in checkName()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/tar/
DTarUtils.java319 …public static int formatNameBytes(final String name, final byte[] buf, final int offset, final int… in formatNameBytes() method in TarUtils
321 return formatNameBytes(name, buf, offset, length, DEFAULT_ENCODING); in formatNameBytes()
324 return formatNameBytes(name, buf, offset, length, in formatNameBytes()
351 public static int formatNameBytes(final String name, final byte[] buf, final int offset, in formatNameBytes() method in TarUtils
DTarArchiveEntry.java1182 offset = TarUtils.formatNameBytes(name, outbuf, offset, NAMELEN, in writeEntryHeader()
1200 offset = TarUtils.formatNameBytes(linkName, outbuf, offset, NAMELEN, in writeEntryHeader()
1202 offset = TarUtils.formatNameBytes(magic, outbuf, offset, MAGICLEN); in writeEntryHeader()
1203 offset = TarUtils.formatNameBytes(version, outbuf, offset, VERSIONLEN); in writeEntryHeader()
1204 offset = TarUtils.formatNameBytes(userName, outbuf, offset, UNAMELEN, in writeEntryHeader()
1206 offset = TarUtils.formatNameBytes(groupName, outbuf, offset, GNAMELEN, in writeEntryHeader()