/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/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/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/autotest/frontend/client/src/autotest/tko/ |
D | HeaderFieldCollection.java | 65 boolean containsName = fieldsByName.containsKey(field.getName()); in contains() 66 boolean containsSqlName = fieldsBySqlName.containsKey(field.getSqlName()); in contains() 115 assert fieldsByName.containsKey(name) : name; in getFieldByName() 120 assert fieldsBySqlName.containsKey(sqlName) : sqlName; in getFieldBySqlName() 125 return fieldsByName.containsKey(name); in containsName() 129 return fieldsBySqlName.containsKey(sqlName); in containsSqlName()
|
/external/testng/src/test/java/test/configuration/ |
D | ReflectMethodParametrizedConfigurationMethodTest.java | 39 …Assert.assertTrue(m_before.containsKey("test1"), "@Test method should have been passed to @BeforeM… in assertBeforeAfterMethodsInvocations() 40 …Assert.assertTrue(m_before.containsKey("test2"), "@Test method should have been passed to @BeforeM… in assertBeforeAfterMethodsInvocations() 41 …Assert.assertTrue(m_after.containsKey("test1"), "@Test method should have been passed to @AfterMet… in assertBeforeAfterMethodsInvocations() 42 …Assert.assertTrue(m_before.containsKey("test2"), "@Test method should have been passed to @AfterMe… in assertBeforeAfterMethodsInvocations()
|
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/ |
D | DefaultDeflateCompatibilityWindowTest.java | 81 Assert.assertTrue(mappings.containsKey(JreDeflateParameters.of(level, strategy, true))); in ensureHasAllKeys() 82 Assert.assertTrue(mappings.containsKey(JreDeflateParameters.of(level, strategy, false))); in ensureHasAllKeys() 86 Assert.assertTrue(mappings.containsKey(JreDeflateParameters.of(1, 2, true))); in ensureHasAllKeys() 87 Assert.assertTrue(mappings.containsKey(JreDeflateParameters.of(1, 2, false))); in ensureHasAllKeys() 123 Assert.assertTrue(incompatible.containsKey(brokenParameters)); in testGetIncompatibleValues()
|
/external/robolectric/v1/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/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | Region.java | 241 …if ( regionIDMap.containsKey(aliasTo) && !regionIDMap.containsKey(aliasFrom) ) { // This is just a… in loadRegionData() 245 if ( regionIDMap.containsKey(aliasFrom) ) { // This is a deprecated region in loadRegionData() 263 if (regionIDMap.containsKey(s)) { in loadRegionData() 279 if ( regionIDMap.containsKey(codeMappingID)) { in loadRegionData() 290 if ( regionIDMap.containsKey(WORLD_ID)) { in loadRegionData() 295 if ( regionIDMap.containsKey(UNKNOWN_REGION_ID)) { in loadRegionData() 301 if (regionIDMap.containsKey(continent)) { in loadRegionData() 308 if (regionIDMap.containsKey(grouping)) { in loadRegionData() 317 if ( regionIDMap.containsKey(OUTLYING_OCEANIA_REGION_ID)) { in loadRegionData()
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | Region.java | 233 …if ( regionIDMap.containsKey(aliasTo) && !regionIDMap.containsKey(aliasFrom) ) { // This is just a… in loadRegionData() 237 if ( regionIDMap.containsKey(aliasFrom) ) { // This is a deprecated region in loadRegionData() 255 if (regionIDMap.containsKey(s)) { in loadRegionData() 271 if ( regionIDMap.containsKey(codeMappingID)) { in loadRegionData() 282 if ( regionIDMap.containsKey(WORLD_ID)) { in loadRegionData() 287 if ( regionIDMap.containsKey(UNKNOWN_REGION_ID)) { in loadRegionData() 293 if (regionIDMap.containsKey(continent)) { in loadRegionData() 300 if (regionIDMap.containsKey(grouping)) { in loadRegionData() 309 if ( regionIDMap.containsKey(OUTLYING_OCEANIA_REGION_ID)) { in loadRegionData()
|
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/ |
D | RegexCache.java | 46 return cache.containsKey(regex); in containsRegex() 74 public synchronized boolean containsKey(K key) { in containsKey() method in RegexCache.LRUCache 75 return map.containsKey(key); in containsKey()
|
/external/doclava/src/com/google/doclava/ |
D | SinceTagger.java | 167 if (spec.allConstructorsMap().containsKey(constructor.getHashableName())) { in versionConstructors() 182 if (field.getSince() == null && (spec.allFields().containsKey(field.name()) || in versionFields() 183 spec.allEnums().containsKey(field.name()))) { in versionFields() 190 if (spec.allFields().containsKey(field.name())) { in versionFields() 209 if (spec.allMethods().containsKey(method.getHashableName())) { in versionMethods() 222 if (superclass.allMethods().containsKey(method.getHashableName())) { in versionMethods()
|
D | FederationTagger.java | 101 if (!federatedUrls.containsKey(name)) { in initialize() 109 if (federatedXmls.containsKey(name)) { in initialize() 153 if (superclass.allMethods().containsKey(method.getHashableName())) { in federateMethods() 172 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()
|