Home
last modified time | relevance | path

Searched refs:entries (Results 1 – 25 of 26) sorted by relevance

12

/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DFat.java40 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 …]
DAbstractDirectory.java43 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 …]
DFatLfnDirectoryEntry.java216 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/appbundle/bundletool/java/com/android/tools/appbundle/bundletool/
DBundleModule.java29 private List<ZipEntry> entries; field in BundleModule
31 private BundleModule(String name, AppBundle parent, List<ZipEntry> entries) { in BundleModule() argument
34 this.entries = entries; in BundleModule()
46 return ImmutableList.copyOf(entries); in getEntries()
51 private List<ZipEntry> entries; field in BundleModule.Builder
58 this.entries = new ArrayList<>(); in Builder()
62 this.entries.add(entry); in addZipEntry()
67 return new BundleModule(name, parent, entries); in build()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DCentralDirectory.java178 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 …]
DZFile.java292 private final Map<String, FileUseMapEntry<StoredEntry>> entries; field in ZFile
498 entries = Maps.newHashMap(); in ZFile()
540 public Set<StoredEntry> entries() { in entries() method in ZFile
541 Map<String, StoredEntry> entries = Maps.newHashMap(); in entries() local
543 for (FileUseMapEntry<StoredEntry> mapEntry : this.entries.values()) { in entries()
546 entries.put(entry.getCentralDirectoryHeader().getName(), entry); in entries()
554 entries.put(uncompressed.getCentralDirectoryHeader().getName(), uncompressed); in entries()
557 return Sets.newHashSet(entries.values()); in entries()
578 FileUseMapEntry<StoredEntry> found = entries.get(path); in get()
674 entries.put(entry.getCentralDirectoryHeader().getName(), mapEntry); in readData()
[all …]
/tools/test/connectivity/acts/framework/tests/
Dacts_proto_utils_test.py79 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]
Dacts_proto_utils_test_data.txt1 entries {
18 entries {
Dacts_proto_utils_test.proto21 repeated TestProtoEntry entries = 1; field
/tools/tradefederation/core/src/com/android/tradefed/util/
DZipUtil2.java61 Enumeration<? extends ZipArchiveEntry> entries = zipFile.getEntries(); in extractZip() local
62 while (entries.hasMoreElements()) { in extractZip()
63 ZipArchiveEntry entry = entries.nextElement(); in extractZip()
DClassPathScanner.java117 for (Enumeration<? extends ZipEntry> e = jarFile.entries(); e.hasMoreElements(); ) { in getEntriesFromJar()
150 private void getEntriesFromDir(File dir, Set<String> entries, List<String> rootPath, in getEntriesFromDir() argument
161 getEntriesFromDir(childFile, entries, rootPath, filter); in getEntriesFromDir()
168 entries.add(filter.transform(classPathEntryName)); in getEntriesFromDir()
DZipUtil.java89 Enumeration<? extends ZipEntry> entries = zipFile.entries(); in extractZip() local
90 while (entries.hasMoreElements()) { in extractZip()
92 ZipEntry entry = entries.nextElement(); in extractZip()
/tools/repohooks/rh/
Dgit.py146 entries = []
159 entries.append(diff)
161 return entries
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DZFileTest.java104 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 …]
DZipToolsTest.java123 assertEquals(6, zf.entries().size()); in zfileReadsZipFile()
125 assertEquals(4, zf.entries().size()); in zfileReadsZipFile()
DAlignmentTest.java474 Set<StoredEntry> entries = zf.entries();
475 assertEquals(1, entries.size());
477 StoredEntry entry = entries.iterator().next();
DZipMergeTest.java54 assertEquals(3, mergedZf.entries().size()); in mergeZip()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zfile/
DApkZFileCreator.java132 for (StoredEntry toMergeEntry : toMerge.entries()) { in writeZip()
/tools/dexter/slicer/export/slicer/
Ddex_format.h293 u4 entries[]; member
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/sign/
DSigningExtension.java277 for (StoredEntry entry : zFile.entries()) { in onOutputZipReadyForUpdate()
/tools/metalava/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java2122 IFileEntry entries = getFileEntry(BUGREPORTZ_TMP_PATH); in bugreportzFallback() local
2123 if (entries != null) { in bugreportzFallback()
2124 for (IFileEntry f : entries.getChildren(false)) { in bugreportzFallback()
/tools/dexter/slicer/
Dreader.cc342 auto ir_annotation = ExtractAnnotationItem(dex_annotation_set->entries[i]); in ExtractAnnotationSet()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DHostTest.java736 Enumeration<JarEntry> e = jarFile.entries(); in getClasses()
/tools/tradefederation/core/res/jacoco/
Djacocoagent.jarMETA-INF/MANIFEST.MF META-INF/MTNMINDS.SF META-INF/MTNMINDS ...

12