/external/guava/guava-gwt/test-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/ |
D | AtomicLongMapTest.java | 46 assertTrue(map.containsKey("1")); in testCreate_map() 47 assertTrue(map.containsKey("2")); in testCreate_map() 48 assertTrue(map.containsKey("3")); in testCreate_map() 66 assertTrue(map.containsKey(key)); in testIncrementAndGet() 74 assertFalse(map.containsKey(key)); in testIncrementAndGet_zero() 81 assertTrue(map.containsKey(key)); in testIncrementAndGet_zero() 99 assertTrue(map.containsKey(key)); in testGetAndIncrement() 107 assertFalse(map.containsKey(key)); in testGetAndIncrement_zero() 114 assertTrue(map.containsKey(key)); in testGetAndIncrement_zero() 132 assertTrue(map.containsKey(key)); in testDecrementAndGet() [all …]
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/ |
D | ZHash.java | 59 if(hash.containsKey(key)) { in addToTop() 76 if(hash.containsKey(key)) { in addToBottom() 87 if(!hash.containsKey(element)) { in moveToTop() 98 if(!hash.containsKey(reference) || !hash.containsKey(objectToMove)) { in moveAbove() 109 if(!hash.containsKey(reference) || !hash.containsKey(objectToMove)) { in moveBeneath() 117 if(!hash.containsKey(key)) { in moveToBottom() 125 if (!hash.containsKey(key)) { in moveUp() 133 if (!hash.containsKey(key)) { in moveDown() 155 if(hash.containsKey(key)) { in remove()
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | AtomicLongMapTest.java | 61 assertTrue(map.containsKey("1")); in testCreate_map() 62 assertTrue(map.containsKey("2")); in testCreate_map() 63 assertTrue(map.containsKey("3")); in testCreate_map() 81 assertTrue(map.containsKey(key)); in testIncrementAndGet() 89 assertFalse(map.containsKey(key)); in testIncrementAndGet_zero() 96 assertTrue(map.containsKey(key)); in testIncrementAndGet_zero() 114 assertTrue(map.containsKey(key)); in testGetAndIncrement() 122 assertFalse(map.containsKey(key)); in testGetAndIncrement_zero() 129 assertTrue(map.containsKey(key)); in testGetAndIncrement_zero() 147 assertTrue(map.containsKey(key)); in testDecrementAndGet() [all …]
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
D | MultimapContainsKeyTester.java | 38 assertTrue(multimap().containsKey(sampleKeys().e0)); in testContainsKeyYes() 42 assertFalse(multimap().containsKey(sampleKeys().e3)); in testContainsKeyNo() 47 assertTrue(multimap().containsKey(k)); in testContainsKeysFromKeySet() 53 assertEquals(!multimap().get(k).isEmpty(), multimap().containsKey(k)); in testContainsKeyAgreesWithGet() 59 assertEquals(multimap().containsKey(k), multimap().asMap().containsKey(k)); in testContainsKeyAgreesWithAsMap() 65 assertEquals(multimap().containsKey(k), multimap().keySet().contains(k)); in testContainsKeyAgreesWithKeySet() 73 assertTrue(multimap().containsKey(null)); in testContainsKeyNullPresent() 78 assertFalse(multimap().containsKey(null)); in testContainsKeyNullAbsent() 84 multimap().containsKey(null); in testContainsKeyNullDisallowed()
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
D | MyKeyStore.java | 63 if (Keys.containsKey(alias)) { in engineGetKey() 70 if (Chain.containsKey(alias)) { in engineGetCertificateChain() 77 if (Cert.containsKey(alias)) { in engineGetCertificate() 84 if (Dates.containsKey(alias)) { in engineGetCreationDate() 92 if (Cert.containsKey(alias)) { in engineSetKeyEntry() 107 if (Cert.containsKey(alias)) { in engineSetKeyEntry() 110 if (Chain.containsKey(alias)) { in engineSetKeyEntry() 130 if (Keys.containsKey(alias)) { in engineDeleteEntry() 135 if (Cert.containsKey(alias)) { in engineDeleteEntry() 145 if (Keys.containsKey(alias)) { in engineContainsAlias() [all …]
|
/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 …]
|
/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/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/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | Region.java | 207 …if ( regionIDMap.containsKey(aliasTo) && !regionIDMap.containsKey(aliasFrom) ) { // This is just a… in loadRegionData() 211 if ( regionIDMap.containsKey(aliasFrom) ) { // This is a deprecated region in loadRegionData() 229 if (regionIDMap.containsKey(s)) { in loadRegionData() 245 if ( regionIDMap.containsKey(codeMappingID)) { in loadRegionData() 256 if ( regionIDMap.containsKey(WORLD_ID)) { in loadRegionData() 261 if ( regionIDMap.containsKey(UNKNOWN_REGION_ID)) { in loadRegionData() 267 if (regionIDMap.containsKey(continent)) { in loadRegionData() 274 if (regionIDMap.containsKey(grouping)) { in loadRegionData() 283 if ( regionIDMap.containsKey(OUTLYING_OCEANIA_REGION_ID)) { in loadRegionData()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowMimeTypeMap.java | 44 if (extensionToMimeTypeMap.containsKey(extension)) in getMimeTypeFromExtension() 52 if (mimeTypeToExtensionMap.containsKey(mimeType)) in getExtensionFromMimeType() 70 return extensionToMimeTypeMap.containsKey(extension); in hasExtension() 75 return mimeTypeToExtensionMap.containsKey(mimeType); in hasMimeType()
|
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/agent/ |
D | AgentPremain.java | 63 if (args.containsKey(AgentOptions.VERBOSE)) { in premain() 67 if (args.containsKey(AgentOptions.TIME)) { in premain() 71 if (args.containsKey(AgentOptions.IGNORE)) { in premain() 76 if (args.containsKey(AgentOptions.LEVEL)) { in premain()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
D | OpenIntToDoubleHashMap.java | 182 if (containsKey(key, index)) { in get() 194 if (containsKey(key, index)) { in get() 208 public boolean containsKey(final int key) { in containsKey() method in OpenIntToDoubleHashMap 212 if (containsKey(key, index)) { in containsKey() 224 if (containsKey(key, index)) { in containsKey() 356 if (containsKey(key, index)) { in remove() 368 if (containsKey(key, index)) { in remove() 384 private boolean containsKey(final int key, final int index) { in containsKey() method in OpenIntToDoubleHashMap
|
D | OpenIntToFieldHashMap.java | 194 if (containsKey(key, index)) { in get() 206 if (containsKey(key, index)) { in get() 220 public boolean containsKey(final int key) { in containsKey() method in OpenIntToFieldHashMap 224 if (containsKey(key, index)) { in containsKey() 236 if (containsKey(key, index)) { in containsKey() 368 if (containsKey(key, index)) { in remove() 380 if (containsKey(key, index)) { in remove() 396 private boolean containsKey(final int key, final int index) { in containsKey() method in OpenIntToFieldHashMap
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | CacheBuilderGwtTest.java | 345 assertFalse(cache.asMap().containsKey(654)); in testInvalidate() 346 assertTrue(cache.asMap().containsKey(2456)); in testInvalidate() 347 assertTrue(cache.asMap().containsKey(2)); in testInvalidate() 359 assertFalse(cache.asMap().containsKey(654)); in testInvalidateAll() 360 assertFalse(cache.asMap().containsKey(2456)); in testInvalidateAll() 361 assertFalse(cache.asMap().containsKey(2)); in testInvalidateAll() 370 assertFalse(cache.asMap().containsKey(1)); in testInvalidateAll() 371 assertFalse(cache.asMap().containsKey(2)); in testInvalidateAll() 372 assertTrue(cache.asMap().containsKey(654)); in testInvalidateAll() 373 assertTrue(cache.asMap().containsKey(2456)); in testInvalidateAll() [all …]
|
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/libphonenumber/libphonenumber/src/com/google/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/doclava/src/com/google/doclava/ |
D | SinceTagger.java | 166 if (spec.allConstructorsMap().containsKey(constructor.getHashableName())) { in versionConstructors() 181 if (field.getSince() == null && (spec.allFields().containsKey(field.name()) || in versionFields() 182 spec.allEnums().containsKey(field.name()))) { in versionFields() 189 if (spec.allFields().containsKey(field.name())) { in versionFields() 208 if (spec.allMethods().containsKey(method.getHashableName())) { in versionMethods() 221 if (superclass.allMethods().containsKey(method.getHashableName())) { in versionMethods()
|
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()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
D | MapInterfaceTest.java | 193 assertTrue(map.containsKey(key)); in assertInvariants() 220 assertTrue(map.containsKey(entry.getKey())); in assertInvariants() 305 assertFalse(map.containsKey(unmappedKey)); in testContainsKey() 307 assertFalse(map.containsKey(new IncompatibleKeyType())); in testContainsKey() 309 assertTrue(map.containsKey(map.keySet().iterator().next())); in testContainsKey() 311 map.containsKey(null); in testContainsKey() 314 map.containsKey(null); in testContainsKey() 336 map.containsKey(null); in testContainsValue() 549 assertFalse(map.containsKey(key)); in testEntrySetRemoveMissingKey() 576 assertTrue(map.containsKey(key)); in testEntrySetRemoveDifferentValue() [all …]
|
/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/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/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
D | DefaultSignedAttributeTableGenerator.java | 65 if (!std.containsKey(CMSAttributes.contentType)) in createStandardAttributeTable() 79 if (!std.containsKey(CMSAttributes.signingTime)) in createStandardAttributeTable() 87 if (!std.containsKey(CMSAttributes.messageDigest)) in createStandardAttributeTable()
|
/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()
|