Searched refs:cd (Results 1 – 6 of 6) sorted by relevance
671 ByteBuffer cd = apk.getByteBuffer(cdOffset, (int) cdSizeBytes); in getZipCentralDirectory() local672 cd.order(ByteOrder.LITTLE_ENDIAN); in getZipCentralDirectory()673 return cd; in getZipCentralDirectory()677 ByteBuffer cd, in parseZipCentralDirectory() argument685 int offsetInsideCd = cd.position(); in parseZipCentralDirectory()687 cdRecord = CentralDirectoryRecord.getRecord(cd); in parseZipCentralDirectory()701 if (cd.hasRemaining()) { in parseZipCentralDirectory()703 "Unused space at the end of ZIP Central Directory: " + cd.remaining() in parseZipCentralDirectory()704 + " bytes starting at file offset " + (cdOffset + cd.position())); in parseZipCentralDirectory()
876 byte[][] cd = new byte[1][]; in obtainingCDAndEocdWhenEntriesWrittenOnEmptyZip()883 cd[0] = zip.getCentralDirectoryBytes(); in obtainingCDAndEocdWhenEntriesWrittenOnEmptyZip()889 assertNotNull(cd[0]); in obtainingCDAndEocdWhenEntriesWrittenOnEmptyZip()890 assertEquals(0, cd[0].length); in obtainingCDAndEocdWhenEntriesWrittenOnEmptyZip()899 byte[][] cd = new byte[1][]; in obtainingCDAndEocdWhenEntriesWrittenOnNonEmptyZip()907 cd[0] = zip.getCentralDirectoryBytes(); in obtainingCDAndEocdWhenEntriesWrittenOnNonEmptyZip()917 assertNotNull(cd[0]); in obtainingCDAndEocdWhenEntriesWrittenOnNonEmptyZip()918 assertEquals(46 + 3, cd[0].length); in obtainingCDAndEocdWhenEntriesWrittenOnNonEmptyZip()
24 cd system/bt/tools/mcap_tool
1749 ByteBuffer cd = apk.getByteBuffer(cdOffset, (int) cdSizeBytes); in parseZipCentralDirectory() local1750 cd.order(ByteOrder.LITTLE_ENDIAN); in parseZipCentralDirectory()1757 int offsetInsideCd = cd.position(); in parseZipCentralDirectory()1759 cdRecord = CentralDirectoryRecord.getRecord(cd); in parseZipCentralDirectory()
78 cd framework/tests/ \
1448 CentralDirectory cd = directoryEntry.getStore(); in getCentralDirectoryBytes() local1449 Preconditions.checkNotNull(cd, "cd == null"); in getCentralDirectoryBytes()1450 return cd.toBytes(); in getCentralDirectoryBytes()