/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/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/preloader/ |
D | Preloader.java | 201 if (texts.containsKey(url)) { in read() 208 if (images.containsKey(url)) { in read() 211 if (binaries.containsKey(url)) { in read() 214 if (audio.containsKey(url)) { in read() 221 …return texts.containsKey(url) || images.containsKey(url) || binaries.containsKey(url) || audio.con… in contains() 225 return texts.containsKey(url); in isText() 229 return images.containsKey(url); in isImage() 233 return binaries.containsKey(url); in isBinary() 237 return audio.containsKey(url); in isAudio() 241 return directories.containsKey(url); in isDirectory() [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/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/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/ |
D | FirstPersonCameraController.java | 85 if (keys.containsKey(FORWARD)) { in update() 89 if (keys.containsKey(BACKWARD)) { in update() 93 if (keys.containsKey(STRAFE_LEFT)) { in update() 97 if (keys.containsKey(STRAFE_RIGHT)) { in update() 101 if (keys.containsKey(UP)) { in update() 105 if (keys.containsKey(DOWN)) { in update()
|
/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/libgdx/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/audio/ |
D | OpenALAudio.java | 143 if (sourceToSoundId.containsKey(sourceId)) { in obtainSource() 168 if (sourceToSoundId.containsKey(sourceID)) { in freeSource() 180 if (sourceToSoundId.containsKey(sourceID)) { in freeBuffer() 195 if (sourceToSoundId.containsKey(sourceID)) { in stopSourcesWithBuffer() 231 if (!sourceToSoundId.containsKey(sourceId)) return -1; in getSoundId() 236 if (!soundIdToSource.containsKey(soundId)) return; in stopSound() 242 if (!soundIdToSource.containsKey(soundId)) return; in pauseSound() 248 if (!soundIdToSource.containsKey(soundId)) return; in resumeSound() 255 if (!soundIdToSource.containsKey(soundId)) return; in setSoundGain() 261 if (!soundIdToSource.containsKey(soundId)) return; in setSoundLooping() [all …]
|
/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/libgdx/backends/gdx-backend-lwjgl3/src/com/badlogic/gdx/backends/lwjgl3/audio/ |
D | OpenALAudio.java | 166 if (sourceToSoundId.containsKey(sourceId)) { in obtainSource() 191 if (sourceToSoundId.containsKey(sourceID)) { in freeSource() 203 if (sourceToSoundId.containsKey(sourceID)) { in freeBuffer() 218 if (sourceToSoundId.containsKey(sourceID)) { in stopSourcesWithBuffer() 254 if (!sourceToSoundId.containsKey(sourceId)) return -1; in getSoundId() 259 if (!soundIdToSource.containsKey(soundId)) return; in stopSound() 265 if (!soundIdToSource.containsKey(soundId)) return; in pauseSound() 271 if (!soundIdToSource.containsKey(soundId)) return; in resumeSound() 278 if (!soundIdToSource.containsKey(soundId)) return; in setSoundGain() 284 if (!soundIdToSource.containsKey(soundId)) return; in setSoundLooping() [all …]
|
/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 | 238 …if ( regionIDMap.containsKey(aliasTo) && !regionIDMap.containsKey(aliasFrom) ) { // This is just a… in loadRegionData() 242 if ( regionIDMap.containsKey(aliasFrom) ) { // This is a deprecated region in loadRegionData() 260 if (regionIDMap.containsKey(s)) { in loadRegionData() 276 if ( regionIDMap.containsKey(codeMappingID)) { in loadRegionData() 287 if ( regionIDMap.containsKey(WORLD_ID)) { in loadRegionData() 292 if ( regionIDMap.containsKey(UNKNOWN_REGION_ID)) { in loadRegionData() 298 if (regionIDMap.containsKey(continent)) { in loadRegionData() 305 if (regionIDMap.containsKey(grouping)) { in loadRegionData() 314 if ( regionIDMap.containsKey(OUTLYING_OCEANIA_REGION_ID)) { in loadRegionData()
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | Region.java | 230 …if ( regionIDMap.containsKey(aliasTo) && !regionIDMap.containsKey(aliasFrom) ) { // This is just a… in loadRegionData() 234 if ( regionIDMap.containsKey(aliasFrom) ) { // This is a deprecated region in loadRegionData() 252 if (regionIDMap.containsKey(s)) { in loadRegionData() 268 if ( regionIDMap.containsKey(codeMappingID)) { in loadRegionData() 279 if ( regionIDMap.containsKey(WORLD_ID)) { in loadRegionData() 284 if ( regionIDMap.containsKey(UNKNOWN_REGION_ID)) { in loadRegionData() 290 if (regionIDMap.containsKey(continent)) { in loadRegionData() 297 if (regionIDMap.containsKey(grouping)) { in loadRegionData() 306 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() 73 public synchronized boolean containsKey(K key) { in containsKey() method in RegexCache.LRUCache 74 return map.containsKey(key); in containsKey()
|