/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | AtomicLongMapTest.java | 43 assertTrue(map.containsKey("1")); in testCreate_map() 44 assertTrue(map.containsKey("2")); in testCreate_map() 45 assertTrue(map.containsKey("3")); in testCreate_map() 63 assertTrue(map.containsKey(key)); in testIncrementAndGet() 71 assertFalse(map.containsKey(key)); in testIncrementAndGet_zero() 78 assertTrue(map.containsKey(key)); in testIncrementAndGet_zero() 96 assertTrue(map.containsKey(key)); in testGetAndIncrement() 104 assertFalse(map.containsKey(key)); in testGetAndIncrement_zero() 111 assertTrue(map.containsKey(key)); in testGetAndIncrement_zero() 129 assertTrue(map.containsKey(key)); in testDecrementAndGet() [all …]
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
D | MyKeyStore.java | 64 if (Keys.containsKey(alias)) { in engineGetKey() 71 if (Chain.containsKey(alias)) { in engineGetCertificateChain() 78 if (Cert.containsKey(alias)) { in engineGetCertificate() 85 if (Dates.containsKey(alias)) { in engineGetCreationDate() 93 if (Cert.containsKey(alias)) { in engineSetKeyEntry() 108 if (Cert.containsKey(alias)) { in engineSetKeyEntry() 111 if (Chain.containsKey(alias)) { in engineSetKeyEntry() 131 if (Keys.containsKey(alias)) { in engineDeleteEntry() 136 if (Cert.containsKey(alias)) { in engineDeleteEntry() 146 if (Keys.containsKey(alias)) { in engineContainsAlias() [all …]
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
D | ResourceBundleTest.java | 414 assertFalse(bundle.containsKey("property")); in test_getBundle_LStringLControl() 458 assertFalse(bundle.containsKey("property")); in test_getBundle_LStringLLocaleLControl() 522 assertFalse(bundle.containsKey("property")); in getBundleWithControlTester() 531 assertFalse(bundle.containsKey("property")); in getBundleWithControlTester() 542 assertFalse(bundle.containsKey("subParent1")); in getBundleWithControlTester() 553 assertFalse(bundle.containsKey("subParent1")); in getBundleWithControlTester() 563 assertFalse(bundle.containsKey("subChild1")); in getBundleWithControlTester() 613 assertFalse(bundle.containsKey("property")); in getBundleWithControlTester() 642 assertFalse(bundle.containsKey("property")); in getBundleWithControlTester() 643 assertFalse(bundle.containsKey("subChild1")); in getBundleWithControlTester() [all …]
|
D | IdentityHashMapTest.java | 48 assertTrue("testA can not find null key", map.containsKey(null)); in test_null_Keys_and_Values() 57 assertTrue("testB can not find null key", map.containsKey(null)); in test_null_Keys_and_Values() 68 .containsKey(key)); in test_null_Keys_and_Values() 76 assertTrue("testD can not find null key", map.containsKey(null)); in test_null_Keys_and_Values() 86 assertTrue("testE should not find null key", !map.containsKey(null)); in test_null_Keys_and_Values() 121 assertTrue("Did not remove key1", !map.containsKey("key1")); in test_remove() 173 assertTrue("entry key not found in map", map.containsKey(entry in test_sets() 240 assertTrue("removed key incorrectly", map.containsKey(key)); in test_values() 246 assertTrue("Did not remove key as expected", !map.containsKey(key)); in test_values() 258 assertTrue("TestB. removed key incorrectly", map.containsKey(key)); in test_values() [all …]
|
D | TreeMapExtendTest.java | 118 assertFalse(treeMap.containsKey(1)); in test_TreeMap_Constructor_Default() 191 .containsKey(key)); in test_SubMap_containsKey() 193 subMap_startExcluded_endExcluded.containsKey(key)); in test_SubMap_containsKey() 195 subMap_startExcluded_endIncluded.containsKey(key)); in test_SubMap_containsKey() 197 subMap_startIncluded_endExcluded.containsKey(key)); in test_SubMap_containsKey() 199 subMap_startIncluded_endIncluded.containsKey(key)); in test_SubMap_containsKey() 205 .containsKey(key)); in test_SubMap_containsKey() 207 subMap_startExcluded_endExcluded.containsKey(key)); in test_SubMap_containsKey() 209 subMap_startExcluded_endIncluded.containsKey(key)); in test_SubMap_containsKey() 211 subMap_startIncluded_endExcluded.containsKey(key)); in test_SubMap_containsKey() [all …]
|
D | HashMapTest.java | 189 assertTrue(map2.containsKey("a")); in test_ConstructorLjava_util_Map() 267 assertTrue("Returned false for valid key", hm.containsKey(new Integer( in test_containsKeyLjava_lang_Object() 269 assertTrue("Returned true for invalid key", !hm.containsKey("KKDKDKD")); in test_containsKeyLjava_lang_Object() 273 assertTrue("Failed with null key", m.containsKey(null)); in test_containsKeyLjava_lang_Object() 275 .containsKey(new Integer(0))); in test_containsKeyLjava_lang_Object() 300 assertTrue("Returned incorrect entry set", hm.containsKey(m in test_entrySet() 361 assertTrue("Failed to find proxy key", hm.containsKey(proxyKey)); in test_proxies() 364 assertFalse("Should not have found proxy key", hm.containsKey(proxyKey)); in test_proxies() 375 assertTrue("Failed to find proxy key", map.containsKey(proxyKey)); in test_proxies() 468 assertTrue(map.containsKey(myKey)); in test_putLjava_lang_ObjectLjava_lang_Object() [all …]
|
/external/apache-harmony/nio_char/src/test/java/tests/api/java/nio/charset/ |
D | CharsetProviderTest.java | 258 .containsKey("mockCharset10")); in testAvailableCharsets_NormalProvider() 260 .containsKey("mockCharset11")); in testAvailableCharsets_NormalProvider() 262 .containsKey("mockCharset12")); in testAvailableCharsets_NormalProvider() 282 assertTrue(Charset.availableCharsets().containsKey("mockCharset00")); in testAvailableCharsets_NormalProvider() 283 assertTrue(Charset.availableCharsets().containsKey("MOCKCharset00")); in testAvailableCharsets_NormalProvider() 287 .containsKey("mockCharset01")); in testAvailableCharsets_NormalProvider() 289 .containsKey("mockCharset02")); in testAvailableCharsets_NormalProvider() 294 .containsKey("mockCharset11")); in testAvailableCharsets_NormalProvider() 296 .containsKey("mockCharset12")); in testAvailableCharsets_NormalProvider() 298 assertTrue(Charset.availableCharsets().containsKey("mockCharset10")); in testAvailableCharsets_NormalProvider() [all …]
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
D | MapContainsKeyTester.java | 41 getMap().containsKey(samples.e0.getKey())); in testContains_yes() 46 getMap().containsKey(samples.e3.getKey())); in testContains_no() 52 getMap().containsKey(null)); in testContains_nullNotContainedButAllowed() 66 getMap().containsKey(samples.e3.getKey())); in testContains_nonNullWhenNullContained() 74 getMap().containsKey(null)); in testContains_nullContained() 81 getMap().containsKey(WrongType.VALUE)); in testContains_wrongType()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | MapsTransformValuesTest.java | 164 assertEquals(expected.containsKey("a"), map.containsKey("a")); in testTransformEqualityOfMapsWithNullValues() 166 assertEquals(expected.containsKey("b"), map.containsKey("b")); in testTransformEqualityOfMapsWithNullValues() 168 assertEquals(expected.containsKey("c"), map.containsKey("c")); in testTransformEqualityOfMapsWithNullValues() 186 assertFalse(map.containsKey("c")); in testTransformReflectsUnderlyingMap() 205 assertFalse(underlying.containsKey("a")); in testTransformChangesAreReflectedInUnderlyingMap() 209 assertFalse(underlying.containsKey("b")); in testTransformChangesAreReflectedInUnderlyingMap() 214 assertFalse(underlying.containsKey("c")); in testTransformChangesAreReflectedInUnderlyingMap() 218 assertFalse(underlying.containsKey("d")); in testTransformChangesAreReflectedInUnderlyingMap() 223 assertFalse(underlying.containsKey("e")); in testTransformChangesAreReflectedInUnderlyingMap() 228 assertFalse(underlying.containsKey("f")); in testTransformChangesAreReflectedInUnderlyingMap() [all …]
|
D | MapsTransformValuesUnmodifiableIteratorTest.java | 217 assertEquals(expected.containsKey("a"), map.containsKey("a")); 219 assertEquals(expected.containsKey("b"), map.containsKey("b")); 221 assertEquals(expected.containsKey("c"), map.containsKey("c")); 239 assertFalse(map.containsKey("c")); 258 assertFalse(underlying.containsKey("a")); 262 assertFalse(underlying.containsKey("b")); 267 assertFalse(underlying.containsKey("c")); 271 assertFalse(underlying.containsKey("d")); 276 assertFalse(underlying.containsKey("e")); 281 assertFalse(underlying.containsKey("f")); [all …]
|
D | AbstractBiMapTest.java | 63 assertFalse(bimap.containsKey(null)); in testContainsKey() 64 assertFalse(bimap.containsKey(1)); in testContainsKey() 65 assertFalse(bimap.containsKey("one")); in testContainsKey() 68 assertTrue(bimap.containsKey(1)); in testContainsKey() 71 assertTrue(bimap.containsKey(null)); in testContainsKey() 319 assertTrue(bimap.containsKey(1)); in testEntrySetRemove() 322 assertFalse(bimap.containsKey(1)); in testEntrySetRemove() 334 assertTrue(bimap.containsKey(1)); in testEntrySetRemoveAll() 338 assertFalse(bimap.containsKey(1)); in testEntrySetRemoveAll() 449 assertTrue(bimap.containsKey(2)); in testEntriesRetainAll() [all …]
|
D | AbstractMultimapTest.java | 167 assertTrue(multimap.containsKey("foo")); in testContainsKeyTrue() 172 assertFalse(multimap.containsKey("bar")); in testContainsKeyFalse() 173 assertFalse(multimap.containsKey(nullKey())); in testContainsKeyFalse() 178 assertTrue(multimap.containsKey(nullKey())); in testContainsKeyNull() 358 assertFalse(multimap.containsKey("foo")); in testReplaceValuesEmpty() 423 assertFalse(multimap.containsKey("foo")); in testRemove() 449 assertFalse(multimap.containsKey("foo")); in testRemoveAll() 461 assertFalse(multimap.containsKey(nullKey())); in testRemoveAllNull() 568 assertTrue(map.containsKey("foo")); in testAsMap() 569 assertTrue(map.containsKey(nullKey())); in testAsMap() [all …]
|
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/export/binary/ |
D | BinaryInputCapsule.java | 268 if (field == null || !fieldData.containsKey(field.alias)) in readBitSet() 275 if (field == null || !fieldData.containsKey(field.alias)) in readBoolean() 283 if (field == null || !fieldData.containsKey(field.alias)) in readBooleanArray() 291 if (field == null || !fieldData.containsKey(field.alias)) in readBooleanArray2D() 298 if (field == null || !fieldData.containsKey(field.alias)) in readByte() 305 if (field == null || !fieldData.containsKey(field.alias)) in readByteArray() 313 if (field == null || !fieldData.containsKey(field.alias)) in readByteArray2D() 321 if (field == null || !fieldData.containsKey(field.alias)) in readByteBuffer() 330 if (field == null || !fieldData.containsKey(field.alias)) in readByteBufferArrayList() 337 if (field == null || !fieldData.containsKey(field.alias)) in readDouble() [all …]
|
/external/guava/guava-gwt/src-super/java/util/super/java/util/concurrent/ |
D | ConcurrentHashMap.java | 57 if (!containsKey(key)) { in putIfAbsent() 65 if (containsKey(key) && get(key).equals(value)) { in remove() 76 } else if (containsKey(key) && get(key).equals(oldValue)) { in replace() 87 } else if (containsKey(key)) { in replace() 94 @Override public boolean containsKey(Object key) { in containsKey() method in ConcurrentHashMap 98 return backingMap.containsKey(key); in containsKey()
|
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/ |
D | RegexCache.java | 46 return cache.containsKey(regex); in containsRegex() 73 public synchronized boolean containsKey(K key) { in containsKey() method in RegexCache.LRUCache 74 return map.containsKey(key); in containsKey()
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | CacheManualTest.java | 47 assertFalse(cache.asMap().containsKey(one)); in testGetIfPresent() 57 assertFalse(cache.asMap().containsKey(two)); in testGetIfPresent() 69 assertTrue(cache.asMap().containsKey(one)); in testGetIfPresent() 79 assertFalse(cache.asMap().containsKey(two)); in testGetIfPresent() 91 assertTrue(cache.asMap().containsKey(one)); in testGetIfPresent() 101 assertTrue(cache.asMap().containsKey(two)); in testGetIfPresent()
|
/external/doclava/src/com/google/doclava/ |
D | FederationTagger.java | 68 if (!federatedUrls.containsKey(name)) { in initialize() 75 if (federatedXmls.containsKey(name)) { in initialize() 119 if (superclass.allMethods().containsKey(method.getHashableName())) { in federateMethods() 138 if (federatedClass.allFields().containsKey(field.name())) { in federateFields()
|
D | SinceTagger.java | 166 if (spec.allConstructorsMap().containsKey(constructor.getHashableName())) { in versionConstructors() 181 if (field.getSince() == null && spec.allFields().containsKey(field.name())) { in versionFields() 188 if (spec.allFields().containsKey(field.name())) { in versionFields() 207 if (spec.allMethods().containsKey(method.getHashableName())) { in versionMethods() 220 if (superclass.allMethods().containsKey(method.getHashableName())) { in versionMethods()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
D | MapInterfaceTest.java | 192 assertTrue(map.containsKey(key)); in assertInvariants() 219 assertTrue(map.containsKey(entry.getKey())); in assertInvariants() 304 assertFalse(map.containsKey(unmappedKey)); in testContainsKey() 306 assertFalse(map.containsKey(new IncompatibleKeyType())); in testContainsKey() 308 assertTrue(map.containsKey(map.keySet().iterator().next())); in testContainsKey() 310 map.containsKey(null); in testContainsKey() 313 map.containsKey(null); in testContainsKey() 335 map.containsKey(null); in testContainsValue() 548 assertFalse(map.containsKey(key)); in testEntrySetRemoveMissingKey() 575 assertTrue(map.containsKey(key)); in testEntrySetRemoveDifferentValue() [all …]
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
D | DefaultSignedAttributeTableGenerator.java | 64 if (!std.containsKey(CMSAttributes.contentType)) in createStandardAttributeTable() 78 if (!std.containsKey(CMSAttributes.signingTime)) in createStandardAttributeTable() 86 if (!std.containsKey(CMSAttributes.messageDigest)) in createStandardAttributeTable()
|
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
D | AttributesTest.java | 60 assertTrue("Should not contain any keys", !a.containsKey("1")); in test_clear() 67 assertTrue("a) Should have returned false", !a.containsKey(new Integer(1))); in test_containsKeyLjava_lang_Object() 68 assertTrue("b) Should have returned false", !a.containsKey("0")); in test_containsKeyLjava_lang_Object() 69 assertTrue("Should have returned true", a.containsKey(new Attributes.Name("1"))); in test_containsKeyLjava_lang_Object() 276 assertFalse(attribute.containsKey(null)); in test_putLjava_lang_ObjectLjava_lang_Object_Null() 281 assertTrue(attribute.containsKey(null)); in test_putLjava_lang_ObjectLjava_lang_Object_Null()
|
/external/nist-sip/java/gov/nist/javax/sip/header/ims/ |
D | PChargingVector.java | 76 if (parameters.containsKey(ParameterNamesIms.ICID_GENERATED_AT)) in encodeBody() 81 if (parameters.containsKey(ParameterNamesIms.TERM_IOI)) in encodeBody() 86 if (parameters.containsKey(ParameterNamesIms.ORIG_IOI)) in encodeBody()
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | MapMaker.java | 74 if (!containsKey(key)) { in putIfAbsent() 83 if (containsKey(key) && get(key).equals(value)) { in remove() 92 if (containsKey(key) && get(key).equals(oldValue)) { in replace() 101 return containsKey(key) ? put(key, value) : null; in replace()
|
/external/apache-harmony/support/src/test/java/tests/support/ |
D | Support_UnmodifiableMapTest.java | 46 .containsKey("0")); in runTest() 48 .containsKey("50")); in runTest() 50 !map.containsKey("100")); in runTest()
|
/external/doclava/src/com/google/doclava/apicheck/ |
D | ApiInfo.java | 60 if (otherApi.getPackages().containsKey(pInfo.name())) { in isConsistent() 70 if (!mPackages.containsKey(pInfo.name())) { in isConsistent() 87 if (!mClassToInterface.containsKey(classInfo)) { in mapClassToInterface()
|