/libcore/ojluni/src/main/java/sun/misc/ |
H A D | MetaIndex.java | 43 * entries indicating (generally speaking) prefixes of package names 82 * <LI> It contains entries for multiple jar files. This is 155 // in a particular directory creates multiple entries in the 252 // @IllegalArgumentException if entries is null. 253 private MetaIndex(List<String> entries, boolean isClassOnlyJar) argument 255 if (entries == null) { 259 contents = entries.toArray(new String[0]);
|
/libcore/luni/src/test/java/libcore/java/util/ |
H A D | EvilMapTest.java | 32 private final Set<Entry<K,V>> entries = new HashSet<Entry<K,V>>(); field in class:EvilMapTest.EvilMap 35 entries.add(new AbstractMap.SimpleEntry("hi", "there")); 40 // ...but potentially return many entries. 41 @Override public Set<Entry<K, V>> entrySet() { return entries; }
|
H A D | OldAbstractMapTest.java | 102 private final List<Entry<String, String>> entries = new ArrayList<Entry<String, String>>(); field in class:OldAbstractMapTest.AMT 106 entries.add(new AbstractMap.SimpleEntry<String, String>(key, value)); 113 return entries.iterator(); 116 return entries.size();
|
/libcore/ojluni/src/main/java/java/security/acl/ |
H A D | Acl.java | 37 * entries. Each ACL entry, of interface type AclEntry, contains a 49 * entries are not allowed for any principal. Each entry specifies 70 * interfaces to the ACL and related data structures (ACL entries, 206 * Returns an enumeration of the entries in this ACL. Each element in 209 * @return an enumeration of the entries in this ACL. 211 public Enumeration<AclEntry> entries(); method in interface:Acl
|
/libcore/ojluni/src/main/java/sun/security/util/ |
H A D | ManifestDigester.java | 43 private HashMap<String, Entry> entries; // key is a UTF-8 string field in class:ManifestDigester 113 entries = new HashMap<String, Entry>(); 123 entries.put(MF_MAIN_ATTRS, 170 entries.put(nameBuf.toString(), 258 Entry e = entries.get(name);
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
H A D | PollingWatchService.java | 121 // attributes of the entries in the directory. 224 * WatchKey implementation that encapsulates a map of the entries of the 225 * entries in the directory. Polling the key causes it to re-scan the 226 * directory and queue keys when entries are added, modified, or deleted. 243 // map of entries in directory 244 private Map<Path,CacheEntry> entries; field in class:PollingWatchService.PollingWatchKey 253 this.entries = new HashMap<Path,CacheEntry>(); 255 // get the initial entries in the directory 261 entries.put(entry.getFileName(), new CacheEntry(lastModified, tickCount)); 334 // iterate over all entries i [all...] |
H A D | UnixFileSystem.java | 171 * Returns object to iterate over entries in mounttab or equivalent 185 private final Iterator<UnixMountEntry> entries; field in class:UnixFileSystem.FileStoreIterator 189 this.entries = getMountEntries().iterator(); 195 if (!entries.hasNext()) 197 UnixMountEntry entry = entries.next(); 199 // skip entries with the "ignore" option
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | RefSortedMap.java | 85 transient ArrayList<MapEntry<K, V>> entries = new ArrayList<MapEntry<K, V>>(); field in class:RefSortedMap 116 entries.size(); 122 return offset + 1 < entries.size() 123 && isInRange(entries.get(offset + 1).getKey()); 134 return entries.get(offset); 143 RefSortedMap.this.entries.remove(offset); 182 if (-idx - 1 >= entries.size() || !isInRange(entries.get(-idx - 1).getKey())) { 185 return entries.get(-idx - 1).getKey(); 205 if (idx < 0 || !isInRange(entries [all...] |
/libcore/ojluni/src/main/java/java/util/jar/ |
H A D | JarFile.java | 49 * jar file and its entries. 241 final Enumeration<? extends ZipEntry> e = JarFile.super.entries(); 262 * Returns an enumeration of the zip file entries. 264 public Enumeration<JarEntry> entries() { method in class:JarFile 349 * entries and passing them to the verifier. 354 // Verify "META-INF/" entries... 428 * @throws SecurityException if any of the jar file entries 488 // entries to find a match.
|
H A D | Manifest.java | 53 // manifest entries 54 private Map<String, Attributes> entries = new HashMap<>(); field in class:Manifest 79 entries.putAll(man.getEntries()); 91 * Returns a Map of the entries contained in this Manifest. Each entry 97 * @return a Map of the entries contained in this Manifest 100 return entries; 130 * Clears the main Attributes as well as the entries in this Manifest. 134 entries.clear(); 151 Iterator<Map.Entry<String, Attributes>> it = entries.entrySet().iterator(); 188 * manifest entries [all...] |
/libcore/dalvik/src/main/java/dalvik/system/ |
H A D | DexFile.java | 302 public Enumeration<String> entries() { method in class:DexFile
|
/libcore/ojluni/src/main/java/java/util/zip/ |
H A D | ZipFile.java | 55 * This class is used to read entries from a zip file. 67 private final int total; // total number of entries 245 Enumeration<? extends ZipEntry> entries = entries(); 249 // Android-changed: Error out early if the zipfile has no entries. 250 if (size() == 0 || !entries.hasMoreElements()) { 252 throw new ZipException("No entries"); 566 * Returns an enumeration of the ZIP file entries. 567 * @return an enumeration of the ZIP file entries 570 public Enumeration<? extends ZipEntry> entries() { method in class:ZipFile [all...] |
/libcore/ojluni/src/main/native/ |
H A D | zip_util.h | 113 #define ENDSUB(b) SH(b, 8) /* number of entries on this disk */ 114 #define ENDTOT(b) SH(b, 10) /* total number of entries */ 127 #define ZIP64_ENDTOD(b) LL(b, 24) /* total number of entries on this disk */ 128 #define ZIP64_ENDTOT(b) LL(b, 32) /* total number of entries */ 148 * - Zip file entries larger than 2**32 bytes are not supported. 182 unsigned int next; /* hash chain: index into jzfile->entries */ 227 jzcell *entries; /* array of hash cells */ member in struct:jzfile 228 jint total; /* total number of entries */ 229 jint *table; /* Hash chain heads: indexes into entries */
|
H A D | zip_util.c | 78 static jint INITIAL_META_COUNT = 2; /* initial number of entries in meta name array */ 495 /* No free entries in zip->metanames? */ 516 free(zip->entries); zip->entries = NULL; 561 jzcell *entries; local 652 * of central directory entries as stored in ENDTOT. Since this 654 * support approx. 2**31 entries, we do not trust ENDTOT, but 659 * for zip files that have more than 0xffff entries but don't have 663 entries = zip->entries [all...] |
/libcore/ojluni/src/main/java/java/io/ |
H A D | ObjectInputStream.java | 3266 Object[] entries; field in class:ObjectInputStream.HandleTable 3279 entries = new Object[initialCapacity]; 3290 if (size >= entries.length) { 3294 entries[size] = obj; 3319 (ClassNotFoundException) entries[target]); 3358 entries[handle] = ex; 3426 entries[handle] = obj; 3445 entries[handle] : null; 3456 (ClassNotFoundException) entries[handle] : null; 3464 Arrays.fill(entries, [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
H A D | R.java | 1580 public static final int entries = 0; field in class:R
|