/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
D | Fat.java | 40 private final long[] entries; field in Fat 98 if (bs.getDataClusterCount() > result.entries.length) in create() 134 entries = new long[(int) ((sectorCount * sectorSize) / in Fat() 137 if (lastClusterIndex > entries.length) throw new IOException( in Fat() 139 "clusters but only " + entries.length + " FAT entries"); in Fat() 165 entries[0] = in init() 168 entries[1] = fatType.getEofMarker(); in init() 181 for (int i = 0; i < entries.length; i++) in read() 182 entries[i] = fatType.readEntry(data, i); in read() 198 for (int index = 0; index < entries.length; index++) { in writeCopy() [all …]
|
D | AbstractDirectory.java | 43 private final List<FatDirectoryEntry> entries; field in AbstractDirectory 62 this.entries = new ArrayList<FatDirectoryEntry>(); in AbstractDirectory() 120 this.entries.clear(); in setEntries() 121 this.entries.addAll(newEntries); in setEntries() 139 return this.entries.get(idx); in getEntry() 160 return this.entries.size(); in getEntryCount() 179 return entries.size() + ((this.volumeLabel != null) ? 1 : 0); in getSize() 217 for (int i=0; i < entries.size(); i++) { in flush() 218 final FatDirectoryEntry entry = entries.get(i); in flush() 263 entries.add(e); in read() [all …]
|
D | FatLfnDirectoryEntry.java | 216 final FatDirectoryEntry[] entries = in compactForm() local 223 entries[i] = createPart(fileName.substring(j * 13, j * 13 + 13), in compactForm() 228 entries[0] = createPart(fileName.substring(j * 13), in compactForm() 231 entries[totalEntrySize - 1] = this.realEntry; in compactForm() 233 return entries; in compactForm()
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
D | ZFile.java | 293 private final Map<String, FileUseMapEntry<StoredEntry>> entries; field in ZFile 499 entries = Maps.newHashMap(); in ZFile() 541 public Set<StoredEntry> entries() { in entries() method in ZFile 542 Map<String, StoredEntry> entries = Maps.newHashMap(); in entries() local 544 for (FileUseMapEntry<StoredEntry> mapEntry : this.entries.values()) { in entries() 547 entries.put(entry.getCentralDirectoryHeader().getName(), entry); in entries() 555 entries.put(uncompressed.getCentralDirectoryHeader().getName(), uncompressed); in entries() 558 return Sets.newHashSet(entries.values()); in entries() 579 FileUseMapEntry<StoredEntry> found = entries.get(path); in get() 675 entries.put(entry.getCentralDirectoryHeader().getName(), mapEntry); in readData() [all …]
|
D | CentralDirectory.java | 178 private final Map<String, StoredEntry> entries; field in CentralDirectory 204 entries = Maps.newHashMap(); in CentralDirectory() 258 @Nonnull Set<StoredEntry> entries, in makeFromEntries() 261 for (StoredEntry entry : entries) { in makeFromEntries() 264 !directory.entries.containsKey(cdr.getName()), in makeFromEntries() 266 directory.entries.put(cdr.getName(), entry); in makeFromEntries() 386 if (entries.containsKey(fileName)) { in readEntry() 390 entries.put(fileName, entry); in readEntry() 400 return ImmutableMap.copyOf(entries); in getEntries() 421 List<StoredEntry> sorted = Lists.newArrayList(entries.values()); in computeByteRepresentation() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/zip/ |
D | MergedZipEntryCollectionTest.java | 36 List<CentralDirectoryInfo> entries = new ArrayList<>(); in testMergeZipEntries_smallGap() local 39 entries.add(info); in testMergeZipEntries_smallGap() 45 entries.add(info); in testMergeZipEntries_smallGap() 49 MergedZipEntryCollection.createCollections(entries); in testMergeZipEntries_smallGap() 59 List<CentralDirectoryInfo> entries = new ArrayList<>(); in testMergeZipEntries_largeGap() local 62 entries.add(info); in testMergeZipEntries_largeGap() 68 entries.add(info); in testMergeZipEntries_largeGap() 72 MergedZipEntryCollection.createCollections(entries); in testMergeZipEntries_largeGap() 84 List<CentralDirectoryInfo> entries = new ArrayList<>(); in testMergeZipEntries_smallGapPercent() local 89 entries.add(info); in testMergeZipEntries_smallGapPercent() [all …]
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/ |
D | ZFileTest.java | 104 assertEquals(1, azf.entries().size()); in readAlmostEmptyZip() 117 assertEquals(3, azf.entries().size()); in readZipWithTwoFilesOneDirectory() 150 assertEquals(1, zf.entries().size()); in readOnlyZipSupport() 163 assertEquals(416, zf.entries().size()); in readOnlyV2SignedApkSupport() 231 assertEquals(2, zf.entries().size()); 232 for (StoredEntry e : zf.entries()) { 267 assertEquals(1, zf.entries().size()); 323 assertEquals(3, zf.entries().size()); 363 assertEquals(3, zf.entries().size()); 406 assertEquals(3, zf.entries().size()); [all …]
|
D | AlignmentTest.java | 474 Set<StoredEntry> entries = zf.entries(); 475 assertEquals(1, entries.size()); 477 StoredEntry entry = entries.iterator().next();
|
D | ZipToolsTest.java | 123 assertEquals(6, zf.entries().size()); in zfileReadsZipFile() 125 assertEquals(4, zf.entries().size()); in zfileReadsZipFile()
|
/tools/test/connectivity/acts/framework/tests/ |
D | acts_proto_utils_test.py | 79 test_proto_entry = test_proto.entries.add() 82 self.assertEqual(test_proto.entries[0].id, TEST_ID) 83 self.assertEqual(test_proto.entries[0].name, TEST_NAME) 97 self.assertEqual(len(test_proto.entries), 2) 98 entry1 = test_proto.entries[0] 102 entry2 = test_proto.entries[1]
|
D | acts_proto_utils_test_data.txt | 1 entries { 18 entries {
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | RemoteZipTest.java | 104 List<CentralDirectoryInfo> entries = remoteZip.getZipEntries(); in testGetZipEntries() local 106 assertEquals(7, entries.size()); in testGetZipEntries() 107 assertTrue(mExpectedEntries.containsAll(entries)); in testGetZipEntries() 124 List<CentralDirectoryInfo> entries = remoteZip.getZipEntries(); in testGetZipEntriesWithUseZip64() local 125 assertEquals(7, entries.size()); in testGetZipEntriesWithUseZip64() 126 assertTrue(mExpectedEntries.containsAll(entries)); in testGetZipEntriesWithUseZip64()
|
D | ZipUtilFuncTest.java | 175 Enumeration<? extends ZipEntry> entries = zipFile.entries(); in validateCentralDirectoryInfos() local 176 while (entries.hasMoreElements()) { in validateCentralDirectoryInfos() 177 ZipEntry zipEntry = entries.nextElement(); in validateCentralDirectoryInfos()
|
D | MultiMapTest.java | 73 assertEquals(0, multiMap.entries().size()); in testEmptyMapEntries() 91 multiMap.entries()); in testEntries()
|
/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | MultiMap.java | 111 public Collection<Map.Entry<K, V>> entries() { in entries() method in MultiMap 112 ArrayList<Map.Entry<K, V>> entries = new ArrayList<>(); in entries() local 115 entries.add(new AbstractMap.SimpleImmutableEntry<>(key, value)); in entries() 118 return Collections.unmodifiableList(entries); in entries()
|
D | ZipUtil.java | 106 Enumeration<? extends ZipEntry> entries = zipFile.entries(); in extractZip() local 107 while (entries.hasMoreElements()) { in extractZip() 109 ZipEntry entry = entries.nextElement(); in extractZip()
|
D | ZipUtil2.java | 62 Enumeration<? extends ZipArchiveEntry> entries = zipFile.getEntries(); in extractZip() local 64 while (entries.hasMoreElements()) { in extractZip() 65 ZipArchiveEntry entry = entries.nextElement(); in extractZip()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | ClassPathScanner.java | 120 for (Enumeration<? extends ZipEntry> e = jarFile.entries(); e.hasMoreElements(); ) { in getEntriesFromJar() 153 private void getEntriesFromDir(File dir, Set<String> entries, List<String> rootPath, in getEntriesFromDir() argument 164 getEntriesFromDir(childFile, entries, rootPath, filter); in getEntriesFromDir() 171 entries.add(filter.transform(classPathEntryName)); in getEntriesFromDir()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/ |
D | ClusterLogSaverTest.java | 337 Set<String> entries = getZipEntries(contextFile); in testAppendFilesToContext() local 338 assertTrue(entries.contains("1.txt")); in testAppendFilesToContext() 339 assertTrue(entries.contains("2.txt")); in testAppendFilesToContext() 340 assertFalse(entries.contains("unknown.txt")); // unknown file ignored in testAppendFilesToContext()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/multi/ |
D | MixImageZipPreparer.java | 341 Enumeration<? extends ZipEntry> entries = zipFile.entries(); in getInputStreamFactoriesFromImageZip() local 342 while (entries.hasMoreElements()) { in getInputStreamFactoriesFromImageZip() 343 final ZipEntry entry = entries.nextElement(); in getInputStreamFactoriesFromImageZip()
|
/tools/repohooks/rh/ |
D | git.py | 145 entries = [] 159 entries.append(rawdiff) 161 return entries
|
/tools/tradefederation/core/common_util/com/android/tradefed/util/zip/ |
D | MergedZipEntryCollection.java | 72 List<CentralDirectoryInfo> entries = in createCollections() local 81 for (CentralDirectoryInfo entry : entries) { in createCollections()
|
/tools/tradefederation/contrib/src/com/android/uicd/tests/ |
D | UiConductorTest.java | 153 for (Map.Entry<String, File> testFileOrDirEntry : uicdTest.entries()) { in run() 173 for (Map.Entry<String, File> testFileEntry : copiedTestFileMap.entries()) { in run()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/presubmit/ |
D | TestMappingsValidation.java | 312 Set<Map.Entry<Filters, Set<TestInfo>>> entries = filterTestInfos.entrySet(); in getDetailedErrors() local 313 for (Map.Entry<Filters, Set<TestInfo>> entry : entries) { in getDetailedErrors()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | NativeDevice.java | 2410 IFileEntry entries = getFileEntry(BUGREPORTZ_TMP_PATH); in bugreportzFallback() local 2411 if (entries != null) { in bugreportzFallback() 2412 for (IFileEntry f : entries.getChildren(false)) { in bugreportzFallback()
|