Home
last modified time | relevance | path

Searched refs:newEntry (Results 1 – 12 of 12) sorted by relevance

/libcore/ojluni/src/main/java/java/text/
DMergeCollation.java235 private final void fixEntry(PatternEntry newEntry) throws ParseException in fixEntry() argument
242 if (lastEntry != null && newEntry.chars.equals(lastEntry.chars) in fixEntry()
243 && newEntry.extension.equals(lastEntry.extension)) { in fixEntry()
244 if (newEntry.strength != Collator.IDENTICAL in fixEntry()
245 && newEntry.strength != PatternEntry.RESET) { in fixEntry()
247 + newEntry + " are adjacent in the rules, but have conflicting " in fixEntry()
256 if (newEntry.strength != PatternEntry.RESET) { in fixEntry()
259 if ((newEntry.chars.length() == 1)) { in fixEntry()
261 char c = newEntry.chars.charAt(0); in fixEntry()
267 oldIndex = patterns.lastIndexOf(newEntry); in fixEntry()
[all …]
/libcore/luni/src/test/java/libcore/java/util/zip/
DOldAndroidZipStreamTest.java97 ZipEntry newEntry = new ZipEntry("file-" + i); in createCompressedZip() local
100 newEntry.setComment("this is file " + i); in createCompressedZip()
101 out.putNextEntry(newEntry); in createCompressedZip()
120 ZipEntry newEntry = new ZipEntry("file-" + i); in createUncompressedZip() local
123 newEntry.setComment("this is file " + i); in createUncompressedZip()
124 newEntry.setMethod(ZipEntry.STORED); in createUncompressedZip()
125 newEntry.setSize(128 * 1024); in createUncompressedZip()
126 newEntry.setCrc(crcs[i]); in createUncompressedZip()
127 out.putNextEntry(newEntry); in createUncompressedZip()
DOldAndroidZipFileTest.java84 ZipEntry newEntry = new ZipEntry("file-" + i); in createCompressedZip() local
87 newEntry.setComment("this is file " + i); in createCompressedZip()
89 out.putNextEntry(newEntry); in createCompressedZip()
/libcore/ojluni/src/main/java/sun/util/locale/
DLocaleObjectCache.java69 CacheEntry<K, V> newEntry = new CacheEntry<>(key, newVal, queue); in get() local
71 entry = map.putIfAbsent(key, newEntry); in get()
77 map.put(key, newEntry); in get()
/libcore/ojluni/src/main/java/sun/security/util/
DCache.java364 CacheEntry<K,V> newEntry = newEntry(key, value, expirationTime, queue); in put() local
365 CacheEntry<K,V> oldEntry = cacheMap.put(key, newEntry); in put()
459 protected CacheEntry<K,V> newEntry(K key, V value, in newEntry() method in MemoryCache
/libcore/ojluni/src/main/java/java/security/
DSecurity.java177 ProviderProperty newEntry = new ProviderProperty(); in getProviderProperty() local
178 newEntry.className = prop; in getProviderProperty()
179 newEntry.provider = prov; in getProviderProperty()
180 return newEntry; in getProviderProperty()
/libcore/ojluni/annotations/hiddenapi/sun/security/util/
DMemoryCache.java76 protected sun.security.util.MemoryCache.CacheEntry<K, V> newEntry( in newEntry() method in MemoryCache
/libcore/ojluni/annotations/hiddenapi/java/util/jar/
DJarFile.java119 java.util.jar.JarEntry newEntry(java.util.zip.ZipEntry ze) { in newEntry() method in JarFile
/libcore/ojluni/src/main/java/java/io/
DObjectStreamClass.java342 EntryFuture newEntry = new EntryFuture(); in lookup() local
343 Reference<?> newRef = new SoftReference<>(newEntry); in lookup()
354 future = newEntry; in lookup()
2253 EntryFuture newEntry = new EntryFuture(); in getReflector() local
2254 Reference<?> newRef = new SoftReference<>(newEntry); in getReflector()
2265 future = newEntry; in getReflector()
/libcore/ojluni/src/main/java/java/util/jar/
DJarVerifier.java779 entry = jar.newEntry(ze); in entries2()
787 entry = jar.newEntry(new ZipEntry(name)); in entries2()
DJarFile.java644 JarEntry newEntry(ZipEntry ze) { in newEntry() method in JarFile
/libcore/ojluni/src/main/native/
Dzip_util.c1026 newEntry(jzfile *zip, jzcell *zc, AccessHint accessHint) in newEntry() function
1236 ze = newEntry(zip, zc, ACCESS_RANDOM); in ZIP_GetEntry2()
1291 result = newEntry(zip, &zip->entries[n], ACCESS_SEQUENTIAL); in ZIP_GetNextEntry()