Home
last modified time | relevance | path

Searched refs:newEntry (Results 1 – 10 of 10) 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.java67 CacheEntry<K, V> newEntry = new CacheEntry<>(key, newVal, queue); in get() local
69 entry = map.putIfAbsent(key, newEntry); in get()
75 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.java141 ProviderProperty newEntry = new ProviderProperty(); in getProviderProperty() local
142 newEntry.className = prop; in getProviderProperty()
143 newEntry.provider = prov; in getProviderProperty()
144 return newEntry; in getProviderProperty()
/libcore/ojluni/src/main/java/java/io/
DObjectStreamClass.java319 EntryFuture newEntry = new EntryFuture(); in lookup() local
320 Reference<?> newRef = new SoftReference<>(newEntry); in lookup()
331 future = newEntry; in lookup()
2126 EntryFuture newEntry = new EntryFuture(); in getReflector() local
2127 Reference<?> newRef = new SoftReference<>(newEntry); in getReflector()
2138 future = newEntry; in getReflector()
/libcore/ojluni/src/main/java/java/util/jar/
DJarVerifier.java775 entry = jar.newEntry(ze); in entries2()
783 entry = jar.newEntry(new ZipEntry(name)); in entries2()
DJarFile.java601 JarEntry newEntry(ZipEntry ze) { in newEntry() method in JarFile
/libcore/ojluni/src/main/native/
Dzip_util.c1023 newEntry(jzfile *zip, jzcell *zc, AccessHint accessHint) in newEntry() function
1233 ze = newEntry(zip, zc, ACCESS_RANDOM); in ZIP_GetEntry2()
1288 result = newEntry(zip, &zip->entries[n], ACCESS_SEQUENTIAL); in ZIP_GetNextEntry()