/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/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/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-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/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/ |
D | TypeInferenceCache.java | 18 if (!typeForLambdaParameters.containsKey(typeSolver)) { in record() 21 if (!typeForLambdaParameters.get(typeSolver).containsKey(lambdaExpr)) { in record() 28 if (!typeForLambdaParameters.containsKey(typeSolver)) { in retrieve() 31 if (!typeForLambdaParameters.get(typeSolver).containsKey(lambdaExpr)) { in retrieve() 34 if (!typeForLambdaParameters.get(typeSolver).get(lambdaExpr).containsKey(paramName)) { in retrieve() 41 if (!inferenceVariables.containsKey(typeSolver)) { in recordInferenceVariables() 48 if (!inferenceVariables.containsKey(typeSolver)) { in retrieveInferenceVariables() 51 if (!inferenceVariables.get(typeSolver).containsKey(lambdaExpr)) { in retrieveInferenceVariables()
|
/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/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowShortcutManager.java | 34 if (activePinnedShortcuts.containsKey(shortcutInfo.getId())) { in addDynamicShortcuts() 39 } else if (disabledPinnedShortcuts.containsKey(shortcutInfo.getId())) { in addDynamicShortcuts() 44 } else if (dynamicShortcuts.containsKey(shortcutInfo.getId())) { in addDynamicShortcuts() 58 if (disabledPinnedShortcuts.containsKey(shortcut.getId())) { in createShortcutResultIntent() 153 if (disabledPinnedShortcuts.containsKey(shortcut.getId())) { in requestPinShortcut() 157 if (dynamicShortcuts.containsKey(shortcut.getId())) { in requestPinShortcut() 182 if (dynamicShortcuts.containsKey(shortcutInfo.getId()) in updateShortcuts() 183 || activePinnedShortcuts.containsKey(shortcutInfo.getId()) in updateShortcuts() 184 || disabledPinnedShortcuts.containsKey(shortcutInfo.getId())) { in updateShortcuts()
|
D | ShadowMimeTypeMap.java | 41 if (extensionToMimeTypeMap.containsKey(extension)) in getMimeTypeFromExtension() 49 if (mimeTypeToExtensionMap.containsKey(mimeType)) in getExtensionFromMimeType() 67 return extensionToMimeTypeMap.containsKey(extension); in hasExtension() 72 return mimeTypeToExtensionMap.containsKey(mimeType); in hasMimeType()
|
/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/turbine/java/com/google/turbine/bytecode/ |
D | ConstantPool.java | 95 if (classInfoPool.containsKey(utf8)) { in classInfo() 106 if (utf8Pool.containsKey(value)) { in utf8() 115 if (integerPool.containsKey(value)) { in integer() 124 if (longPool.containsKey(value)) { in longInfo() 133 if (doublePool.containsKey(value)) { in doubleInfo() 142 if (floatPool.containsKey(value)) { in floatInfo() 153 if (stringPool.containsKey(utf8)) { in string()
|
/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/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/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/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/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/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/doclava/src/com/google/doclava/ |
D | SinceTagger.java | 169 if (spec.allConstructorsMap().containsKey(constructor.getHashableName())) { in versionConstructors() 184 if (field.getSince() == null && (spec.allFields().containsKey(field.name()) || in versionFields() 185 spec.allEnums().containsKey(field.name()))) { in versionFields() 192 if (spec.allFields().containsKey(field.name())) { in versionFields() 211 if (spec.allMethods().containsKey(method.getHashableName())) { in versionMethods() 224 if (superclass.allMethods().containsKey(method.getHashableName())) { in versionMethods()
|