/dalvik/libcore/luni/src/main/java/java/util/ |
D | WeakHashMap.java | 67 R get(Map.Entry<K, V> entry); in get() argument 96 Map.Entry<?, ?> entry = (Map.Entry<?, ?>) other; in equals() local 98 return (key == null ? key == entry.getKey() : key.equals(entry in equals() 100 && (value == null ? value == entry.getValue() : value in equals() 101 .equals(entry.getValue())); in equals() 318 Entry<?, ?> entry = getEntry(((Map.Entry<?, ?>) object) in entrySet() local 320 if (entry != null) { in entrySet() 321 Object key = entry.get(); in entrySet() 322 if (key != null || entry.isNull) { in entrySet() 323 return object.equals(entry); in entrySet() [all …]
|
D | AbstractMap.java | 140 Entry<K, V> entry = it.next(); in equals() local 141 K key = entry.getKey(); in equals() 142 V value = entry.getValue(); in equals() 168 Map.Entry<K, V> entry = it.next(); in get() local 169 if (key.equals(entry.getKey())) { in get() 170 return entry.getValue(); in get() 175 Map.Entry<K, V> entry = it.next(); in get() local 176 if (entry.getKey() == null) { in get() 177 return entry.getValue(); in get() 297 for (Map.Entry<? extends K, ? extends V> entry : map.entrySet()) { in putAll() [all …]
|
D | MapEntry.java | 29 RT get(MapEntry<KT, VT> entry); in get() argument 56 Map.Entry<?, ?> entry = (Map.Entry<?, ?>) object; in equals() local 57 return (key == null ? entry.getKey() == null : key.equals(entry in equals() 59 && (value == null ? entry.getValue() == null : value in equals() 60 .equals(entry.getValue())); in equals()
|
D | IdentityHashMap.java | 101 Map.Entry<?, ?> entry = (Map.Entry) object; in equals() local 102 return (key == entry.getKey()) && (value == entry.getValue()); in equals() 220 IdentityHashMapEntry<?, ?> entry = associatedMap in contains() local 223 return entry != null && entry.equals(object); in contains() 232 public Map.Entry<KT, VT> get(MapEntry<KT, VT> entry) { in iterator() 233 return entry; in iterator() 631 public K get(MapEntry<K, V> entry) { 632 return entry.key; 683 public V get(MapEntry<K, V> entry) { 684 return entry.value; [all …]
|
D | EnumMap.java | 71 Map.Entry<KT, VT> entry = (Map.Entry<KT, VT>) object; in equals() local 72 Object enumKey = entry.getKey(); in equals() 74 Object theValue = entry.getValue(); in equals() 211 public KT get(MapEntry<KT, VT> entry) { in iterator() 212 return entry.key; in iterator() 256 public VT get(MapEntry<KT, VT> entry) { 257 return entry.value; 339 public Map.Entry<KT, VT> get(MapEntry<KT, VT> entry) { 340 return entry; 377 Map.Entry<KT, VT> entry = iter.next(); [all …]
|
/dalvik/libdex/ |
D | ZipArchive.h | 125 bool dexZipGetEntryInfo(const ZipArchive* pArchive, ZipEntry entry, 133 const ZipEntry entry) in dexGetZipEntryOffset() argument 136 dexZipGetEntryInfo(pArchive, entry, NULL, NULL, NULL, &val, NULL, NULL); in dexGetZipEntryOffset() 140 const ZipEntry entry) in dexGetZipEntryUncompLen() argument 143 dexZipGetEntryInfo(pArchive, entry, NULL, &val, NULL, NULL, NULL, NULL); in dexGetZipEntryUncompLen() 147 const ZipEntry entry) in dexGetZipEntryModTime() argument 150 dexZipGetEntryInfo(pArchive, entry, NULL, NULL, NULL, NULL, &val, NULL); in dexGetZipEntryModTime() 154 const ZipEntry entry) in dexGetZipEntryCrc32() argument 157 dexZipGetEntryInfo(pArchive, entry, NULL, NULL, NULL, NULL, NULL, &val); in dexGetZipEntryCrc32() 165 const ZipEntry entry, int fd);
|
D | CmdUtils.c | 40 ZipEntry entry; in dexUnzipToFile() local 63 entry = dexZipFindEntry(&archive, kFileToExtract); in dexUnzipToFile() 64 if (entry == NULL) { in dexUnzipToFile() 73 if (!dexZipExtractEntryToFile(&archive, entry, fd)) { in dexUnzipToFile()
|
/dalvik/libcore/archive/src/main/native/ |
D | zipsup.c | 91 PROTOTYPE ((HyPortLibrary * portLib, HyZipFile * zipFile, HyZipEntry * entry, 94 PROTOTYPE ((HyPortLibrary * portLib, HyZipFile * zipFile, HyZipEntry * entry, 105 PROTOTYPE ((HyPortLibrary * portLib, HyZipFile * zipFile, HyZipEntry * entry, 108 PROTOTYPE ((HyPortLibrary * portLib, HyZipFile * zipFile, HyZipEntry * entry, 111 PROTOTYPE ((HyPortLibrary * portLib, HyZipEntry * entry)); 116 PROTOTYPE ((HyPortLibrary * portLib, HyZipEntry * entry)); 120 PROTOTYPE ((HyPortLibrary * portLib, HyZipFile * zipFile, HyZipEntry * entry, 588 HyZipEntry entry; in zip_populateCache() local 698 ZIP_NEXT_U16 (entry.versionCreated, current); in zip_populateCache() 699 ZIP_NEXT_U16 (entry.versionNeeded, current); in zip_populateCache() [all …]
|
D | zipsup.h | 165 HyZipEntry * entry, U_8 * buffer, U_32 bufferSize)); 168 HyZipEntry * entry, IDATA offset)); 179 HyZipEntry * entry, const char *filename, 183 HyZipEntry * entry, U_8 * buffer, U_32 bufferSize)); 185 PROTOTYPE ((HyPortLibrary * portLib, HyZipEntry * entry)); 190 PROTOTYPE ((HyPortLibrary * portLib, HyZipEntry * entry)); 196 HyZipEntry * entry, U_8 * buffer, U_32 bufferSize));
|
/dalvik/vm/ |
D | JarFile.c | 90 ZipEntry entry; in dvmDexCacheStatus() local 109 entry = dexZipFindEntry(&archive, kDexInJarName); in dvmDexCacheStatus() 110 if (entry != NULL) { in dvmDexCacheStatus() 123 dexGetZipEntryModTime(&archive, entry), in dvmDexCacheStatus() 124 dexGetZipEntryCrc32(&archive, entry), in dvmDexCacheStatus() 227 ZipEntry entry; in dvmJarFileOpen() local 234 entry = dexZipFindEntry(&archive, kDexInJarName); in dvmJarFileOpen() 235 if (entry != NULL) { in dvmJarFileOpen() 260 dexGetZipEntryModTime(&archive, entry), in dvmJarFileOpen() 261 dexGetZipEntryCrc32(&archive, entry), in dvmJarFileOpen() [all …]
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/ |
D | JDKKeyStore.java | 501 Object entry = table.get(alias); in engineDeleteEntry() local 503 if (entry == null) in engineDeleteEntry() 514 StoreEntry entry = (StoreEntry)table.get(alias); in engineGetCertificate() local 516 if (entry != null) in engineGetCertificate() 518 if (entry.getType() == CERTIFICATE) in engineGetCertificate() 520 return (Certificate)entry.getObject(); in engineGetCertificate() 524 Certificate[] chain = entry.getCertificateChain(); in engineGetCertificate() 542 StoreEntry entry = (StoreEntry)e.nextElement(); in engineGetCertificateAlias() local 544 if (entry.getObject() instanceof Certificate) in engineGetCertificateAlias() 546 Certificate c = (Certificate)entry.getObject(); in engineGetCertificateAlias() [all …]
|
/dalvik/dx/src/com/android/dx/dex/file/ |
D | DebugInfoEncoder.java | 286 LocalList.Entry entry = locals.get(curLocalIdx++); in emitLocalsAtAddress() local 287 int reg = entry.getRegister(); in emitLocalsAtAddress() 290 if (entry == prevEntry) { in emitLocalsAtAddress() 300 lastEntryForReg[reg] = entry; in emitLocalsAtAddress() 302 if (entry.isStart()) { in emitLocalsAtAddress() 303 if ((prevEntry != null) && entry.matches(prevEntry)) { in emitLocalsAtAddress() 316 emitLocalRestart(entry); in emitLocalsAtAddress() 318 emitLocalStart(entry); in emitLocalsAtAddress() 330 if (entry.getDisposition() in emitLocalsAtAddress() 332 emitLocalEnd(entry); in emitLocalsAtAddress() [all …]
|
D | CatchStructs.java | 165 CatchHandlerList.Entry entry = list.get(i); in encode() local 167 typeIds.indexOf(entry.getExceptionType())); in encode() 168 out.writeUnsignedLeb128(entry.getHandler()); in encode() 249 CatchTable.Entry entry = table.get(i); in annotateEntries() local 250 CatchHandlerList handlers = entry.getHandlers(); in annotateEntries() 251 String s1 = subPrefix + "try " + Hex.u2or4(entry.getStart()) in annotateEntries() 252 + ".." + Hex.u2or4(entry.getEnd()); in annotateEntries()
|
/dalvik/libcore/archive/src/main/java/java/util/jar/ |
D | JarFile.java | 69 private JarVerifier.VerifierEntry entry; field in JarFile.JarFileInputStream 80 entry = e; in JarFileInputStream() 92 entry.write(r); in read() 99 entry.verify(); in read() 104 entry.verify(); in read() 123 entry.write(buf, off, size); in read() 130 entry.verify(); in read() 135 entry.verify(); in read() 363 for (ZipEntry entry : metaEntries) { in readMetaEntries() 364 String entryName = entry.getName(); in readMetaEntries() [all …]
|
/dalvik/libcore/archive/src/main/java/java/util/zip/ |
D | ZipFile.java | 119 ZipEntry entry = mEntryList.get(i); in ZipFile() local 121 mFastLookup.put(entry.getName(), entry); in ZipFile() local 219 public InputStream getInputStream(ZipEntry entry) throws IOException { in getInputStream() argument 224 entry = getEntry(entry.getName()); in getInputStream() 225 if (entry == null) in getInputStream() 239 RAFStream rafstrm = new RAFStream(raf, entry.mLocalHeaderRelOffset + 28); in getInputStream() 243 rafstrm.skip(entry.nameLen + localExtraLenOrWhatever); in getInputStream() 244 rafstrm.mLength = rafstrm.mOffset + entry.compressedSize; in getInputStream() 245 if (entry.compressionMethod == ZipEntry.DEFLATED) { in getInputStream()
|
/dalvik/libcore/security/src/main/java/java/security/ |
D | KeyStoreSpi.java | 432 public void engineSetEntry(String alias, KeyStore.Entry entry, in engineSetEntry() argument 434 if (entry == null) { in engineSetEntry() 442 if (entry instanceof KeyStore.TrustedCertificateEntry) { in engineSetEntry() 443 KeyStore.TrustedCertificateEntry trE = (KeyStore.TrustedCertificateEntry) entry; in engineSetEntry() 468 if (entry instanceof KeyStore.PrivateKeyEntry) { in engineSetEntry() 469 KeyStore.PrivateKeyEntry prE = (KeyStore.PrivateKeyEntry) entry; in engineSetEntry() 475 if (entry instanceof KeyStore.SecretKeyEntry) { in engineSetEntry() 476 KeyStore.SecretKeyEntry skE = (KeyStore.SecretKeyEntry) entry; in engineSetEntry() 483 Messages.getString("security.3B", entry.toString())); //$NON-NLS-1$ in engineSetEntry()
|
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/provider/cert/ |
D | X509CRLImpl.java | 260 X509CRLEntry entry = (X509CRLEntry) entries.get(i); in getRevokedCertificate() local 262 if (serialN.equals(entry.getSerialNumber())) { in getRevokedCertificate() 264 X500Principal iss = entry.getCertificateIssuer(); in getRevokedCertificate() 270 return entry; in getRevokedCertificate() 274 return entry; in getRevokedCertificate() 281 X509CRLEntry entry = (X509CRLEntry) entries.get(i); in getRevokedCertificate() local 282 if (serialN.equals(entry.getSerialNumber())) { in getRevokedCertificate() 283 return entry; in getRevokedCertificate() 304 X509CRLEntry entry = (X509CRLEntry) entries.get(i); in getRevokedCertificate() local 305 if (serialNumber.equals(entry.getSerialNumber())) { in getRevokedCertificate() [all …]
|
/dalvik/dx/src/com/android/dx/dex/code/ |
D | CatchHandlerList.java | 75 Entry entry = get(i); in toHuman() local 86 sb.append(entry.getExceptionType().toHuman()); in toHuman() 90 sb.append(Hex.u2or4(entry.getHandler())); in toHuman() 131 public void set(int n, Entry entry) { in set() argument 132 set0(n, entry); in set()
|
D | LocalList.java | 69 public void set(int n, Entry entry) { in set() argument 70 set0(n, entry); in set() 754 Entry entry; in checkForEmptyRange() local 758 entry = result.get(at); in checkForEmptyRange() 760 if (entry == null) { in checkForEmptyRange() 764 if (entry.getAddress() != address) { in checkForEmptyRange() 769 if (entry.matches(endedLocal)) { in checkForEmptyRange() 785 entry = null; in checkForEmptyRange() 789 entry = result.get(at); in checkForEmptyRange() 791 if (entry == null) { in checkForEmptyRange() [all …]
|
/dalvik/libcore/security/src/main/java/java/security/acl/ |
D | Acl.java | 98 boolean addEntry(Principal caller, AclEntry entry) throws NotOwnerException; in addEntry() argument 114 boolean removeEntry(Principal caller, AclEntry entry) in removeEntry() argument
|
/dalvik/libcore/xml/src/main/java/org/apache/harmony/xml/parsers/ |
D | SAXParserImpl.java | 47 for (Map.Entry<String,Boolean> entry : features.entrySet()) { in SAXParserImpl() 48 reader.setFeature(entry.getKey(), entry.getValue()); in SAXParserImpl()
|
/dalvik/libcore/luni-kernel/src/main/native/ |
D | java_lang_System.c | 65 char* entry = environ[index]; in java_getEnvByIndex() local 66 if (entry != NULL) { in java_getEnvByIndex() 67 valueStr = (*env)->NewStringUTF(env, entry); in java_getEnvByIndex()
|
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/util/ |
D | WeakHashMapTest.java | 68 Map.Entry<Object, Object> entry = it.next(); in test_entrySet() local 70 .contains(entry.getKey())); in test_entrySet() 72 .contains(entry.getValue())); in test_entrySet() 74 .contains(entry)); in test_entrySet()
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/i18n/ |
D | LocalizedMessage.java | 75 String entry = id + "." + key; in getEntry() local 80 String template = bundle.getString(entry); in getEntry() 92 …throw new MissingEntryException("Can't find entry " + entry + " in resource file " + resource + ".… in getEntry() 94 entry); in getEntry()
|
/dalvik/libcore/luni/src/test/java/tests/api/java/util/ |
D | EnumMapTest.java | 472 Map.Entry entry = (Map.Entry) array[0]; in test_entrySet() local 473 assertEquals("Wrong key", Size.Middle, entry.getKey()); //$NON-NLS-1$ in test_entrySet() 474 assertEquals("Wrong value", 1, entry.getValue()); //$NON-NLS-1$ in test_entrySet() 479 entry = (Map.Entry) array[0]; in test_entrySet() 480 assertEquals("Wrong key", Size.Middle, entry.getKey()); //$NON-NLS-1$ in test_entrySet() 481 assertEquals("Wrong value", 1, entry.getValue()); //$NON-NLS-1$ in test_entrySet() 486 entry = (Map.Entry) array[1]; in test_entrySet() 487 assertEquals("Wrong key", Size.Big, entry.getKey()); //$NON-NLS-1$ in test_entrySet() 495 .remove(entry)); in test_entrySet() 502 entry = (Map.Entry) iter.next(); in test_entrySet() [all …]
|