/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
D | BiMapClearTester.java | 34 BiMap<V, K> inv = getMap().inverse(); in testClearClearsInverse() 35 getMap().clear(); in testClearClearsInverse() 36 assertTrue(getMap().isEmpty()); in testClearClearsInverse() 42 BiMap<V, K> inv = getMap().inverse(); in testKeySetClearClearsInverse() 43 getMap().keySet().clear(); in testKeySetClearClearsInverse() 44 assertTrue(getMap().isEmpty()); in testKeySetClearClearsInverse() 50 BiMap<V, K> inv = getMap().inverse(); in testValuesClearClearsInverse() 51 getMap().values().clear(); in testValuesClearClearsInverse() 52 assertTrue(getMap().isEmpty()); in testValuesClearClearsInverse() 58 BiMap<V, K> inv = getMap().inverse(); in testClearInverseClears() [all …]
|
D | BiMapPutTester.java | 40 getMap().put(k0, v0); in testPutWithSameValueFails() 42 getMap().put(k1, v0); in testPutWithSameValueFails() 58 getMap().put(k0, v0); in testPutPresentKeyDifferentValue() 59 getMap().put(k0, v1); in testPutPresentKeyDifferentValue() 69 getMap().put(samples.e0.getKey(), samples.e0.getValue()); in putDistinctKeysDistinctValues() 70 getMap().put(samples.e1.getKey(), samples.e1.getValue()); in putDistinctKeysDistinctValues() 81 getMap().put(k0, v0); in testForcePutOverwritesOldValueEntry() 82 getMap().forcePut(k1, v0); in testForcePutOverwritesOldValueEntry() 95 getMap().put(k0, v0); in testInversePut() 96 getMap().inverse().put(v1, k1); in testInversePut()
|
D | BiMapRemoveTester.java | 41 getMap().remove(samples.e0.getKey()); in testRemoveKeyRemovesFromInverse() 49 getMap().keySet().remove(samples.e0.getKey()); in testRemoveKeyFromKeySetRemovesFromInverse() 57 getMap().values().remove(samples.e0.getValue()); in testRemoveFromValuesRemovesFromInverse() 65 getMap().inverse().remove(samples.e0.getValue()); in testRemoveFromInverseRemovesFromForward() 73 getMap().inverse().keySet().remove(samples.e0.getValue()); in testRemoveFromInverseKeySetRemovesFromForward() 81 getMap().inverse().values().remove(samples.e0.getKey()); in testRemoveFromInverseValuesRemovesFromInverse() 89 Iterator<K> iterator = getMap().keySet().iterator(); in testKeySetIteratorRemove() 92 assertEquals(initialSize - 1, getMap().size()); in testKeySetIteratorRemove() 93 assertEquals(initialSize - 1, getMap().inverse().size()); in testKeySetIteratorRemove()
|
D | AbstractBiMapTester.java | 36 protected BiMap<K, V> getMap() { in getMap() method in AbstractBiMapTester 37 return (BiMap<K, V>) super.getMap(); in getMap() 51 Helpers.assertEqualIgnoringOrder(getMap().inverse().entrySet(), reversedEntries); in expectContents() 54 assertEquals("Wrong key for value " + entry.getValue(), entry.getKey(), getMap() in expectContents() 65 BiMap<V, K> inv = getMap().inverse(); in expectMissing() 73 getMap().get(entry.getValue())); in expectMissing()
|
D | BiMapInverseTester.java | 45 assertSame(getMap(), getMap().inverse().inverse()); in testInverseSame() 50 BiMapPair<K, V> pair = new BiMapPair<K, V>(getMap()); in testInverseSerialization()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
D | MapRemoveTester.java | 50 int initialSize = getMap().size(); in testRemove_present() 52 samples.e0.getValue(), getMap().remove(samples.e0.getKey())); in testRemove_present() 54 initialSize - 1, getMap().size()); in testRemove_present() 63 Iterator<Entry<K, V>> iterator = getMap().entrySet().iterator(); in testRemovePresentConcurrentWithEntrySetIteration() 64 getMap().remove(samples.e0.getKey()); in testRemovePresentConcurrentWithEntrySetIteration() 77 Iterator<K> iterator = getMap().keySet().iterator(); in testRemovePresentConcurrentWithKeySetIteration() 78 getMap().remove(samples.e0.getKey()); in testRemovePresentConcurrentWithKeySetIteration() 91 Iterator<V> iterator = getMap().values().iterator(); in testRemovePresentConcurrentWithValuesIteration() 92 getMap().remove(samples.e0.getKey()); in testRemovePresentConcurrentWithValuesIteration() 103 getMap().remove(samples.e3.getKey())); in testRemove_notPresent() [all …]
|
D | MapClearTester.java | 45 getMap().clear(); in testClear() 47 getMap().isEmpty()); in testClear() 55 Iterator<Entry<K, V>> iterator = getMap().entrySet().iterator(); in testClearConcurrentWithEntrySetIteration() 56 getMap().clear(); in testClearConcurrentWithEntrySetIteration() 69 Iterator<K> iterator = getMap().keySet().iterator(); in testClearConcurrentWithKeySetIteration() 70 getMap().clear(); in testClearConcurrentWithKeySetIteration() 83 Iterator<V> iterator = getMap().values().iterator(); in testClearConcurrentWithValuesIteration() 84 getMap().clear(); in testClearConcurrentWithValuesIteration() 96 getMap().clear(); in testClear_unsupported() 108 getMap().clear(); in testClear_unsupportedByEmptyCollection()
|
D | MapEqualsTester.java | 44 getMap().equals(newHashMap(getSampleEntries()))); in testEquals_otherMapWithSameEntries() 54 getMap().equals(other) in testEquals_otherMapWithDifferentEntries() 67 getMap().equals(newHashMap(entries))); in testEquals_containingNullKey() 79 getMap().equals(other)); in testEquals_otherContainsNullKey() 91 getMap().equals(newHashMap(entries))); in testEquals_containingNullValue() 103 getMap().equals(other)); in testEquals_otherContainsNullValue() 111 getMap().equals(newHashMap(fewerEntries))); in testEquals_smallerMap() 118 getMap().equals(newHashMap(moreEntries))); in testEquals_largerMap() 123 getMap().equals(Helpers.copyToList(getMap().entrySet()))); in testEquals_list()
|
D | MapContainsValueTester.java | 41 getMap().containsValue(samples.e0.getValue())); in testContains_yes() 46 getMap().containsValue(samples.e3.getValue())); in testContains_no() 52 getMap().containsValue(null)); in testContains_nullNotContainedButAllowed() 66 getMap().containsValue(samples.e3.getValue())); in testContains_nonNullWhenNullContained() 74 getMap().containsValue(null)); in testContains_nullContained() 81 getMap().containsValue(WrongType.VALUE)); in testContains_wrongType()
|
D | MapEntrySetTester.java | 56 Set<Entry<K, V>> entrySet = getMap().entrySet(); in testEntrySetIteratorRemove() 60 assertTrue(getMap().isEmpty()); in testEntrySetIteratorRemove() 65 assertFalse(getMap() in testContainsEntryWithIncomparableKey() 70 assertFalse(getMap() in testContainsEntryWithIncomparableValue() 76 assertFalse(getMap() in testContainsEntryWithNullKeyAbsent() 84 assertTrue(getMap() in testContainsEntryWithNullKeyPresent() 90 assertFalse(getMap() in testContainsEntryWithNullValueAbsent() 98 assertTrue(getMap() in testContainsEntryWithNullValuePresent()
|
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()
|
D | MapToStringTester.java | 42 assertNotNull("toString() should not return null", getMap().toString()); in testToString_minimal() 47 assertEquals("emptyMap.toString should return {}", "{}", getMap().toString()); in testToString_size0() 53 "size1Map.toString should return {entry}", "{" + samples.e0 + "}", getMap().toString()); in testToString_size1() 72 "map.toString() incorrect", expectedToString(getMap().entrySet()), getMap().toString()); in testToString_formatting()
|
D | MapPutTester.java | 72 Iterator<Entry<K, V>> iterator = getMap().entrySet().iterator(); in testPutAbsentConcurrentWithEntrySetIteration() 85 Iterator<K> iterator = getMap().keySet().iterator(); in testPutAbsentConcurrentWithKeySetIteration() 98 Iterator<V> iterator = getMap().values().iterator(); in testPutAbsentConcurrentWithValueIteration() 133 getMap().put(samples.e0.getKey(), samples.e3.getValue()); in testPut_unsupportedPresentDifferentValue() 215 getMap().put(getKeyForNullValue(), null)); in testPut_replaceNullValueWithNullSupported() 239 return getMap().put(entry.getKey(), entry.getValue()); in put()
|
D | MapPutAllTester.java | 65 getMap().putAll(emptyMap()); in testPutAll_supportedNothing() 72 getMap().putAll(emptyMap()); in testPutAll_unsupportedNothing() 107 Iterator<Entry<K, V>> iterator = getMap().entrySet().iterator(); in testPutAllSomePresentConcurrentWithEntrySetIteration() 182 getMap().putAll(null); in testPutAll_nullCollectionReference() 197 getMap().putAll(map); in putAll()
|
D | MapIsEmptyTester.java | 36 assertTrue("isEmpty() should return true", getMap().isEmpty()); in testIsEmpty_yes() 41 assertFalse("isEmpty() should return false", getMap().isEmpty()); in testIsEmpty_no()
|
D | MapHashCodeTester.java | 45 expectedHashCode, getMap().hashCode()); in testHashCode() 76 expectedHashCode, getMap().hashCode()); in runEntryWithNullTest()
|
D | MapSizeTester.java | 32 assertEquals("size():", getNumElements(), getMap().size()); in testSize()
|
D | MapSerializationTester.java | 35 SerializableTester.reserializeAndAssert(getMap()); in testReserializeMap()
|
D | MapGetTester.java | 81 getMap().get(WrongType.VALUE)); in testGet_wrongType()
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/reflect/ |
D | ClassMap.java | 41 getMap(key).put(key, value); in put() 45 return getMap(key).get(key); in get() 49 getMap(key).remove(key); in remove() 53 getMap(classLoader).clear(); in clear() 61 private Map<Class<?>, V> getMap(Class<?> key) { in getMap() method in ClassMap 63 return getMap(classLoader); in getMap() 67 private Map<Class<?>, V> getMap(ClassLoader classLoader) { in getMap() method in ClassMap
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
D | AbstractMapTester.java | 42 protected Map<K, V> getMap() { in getMap() method in AbstractMapTester 53 return getMap().entrySet(); in actualContents() 64 getMap().containsKey(element)); in expectMissingKeys() 71 getMap().containsValue(element)); in expectMissingValues() 132 assertFalse(message, getMap().containsKey(null)); in expectNullKeyMissingWhenNullKeysUnsupported() 148 assertFalse(message, getMap().containsValue(null)); in expectNullValueMissingWhenNullValuesUnsupported() 178 equal(getMap().get(entry.getKey()), entry.getValue())); in expectMissing() 196 entry.getValue(), getMap().get(entry.getKey())); in expectContents() 225 return getMap().get(key); in get()
|
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/ |
D | MapPutTester.java | 69 Iterator<Entry<K, V>> iterator = getMap().entrySet().iterator(); in testPutAbsentConcurrentWithEntrySetIteration() 82 Iterator<K> iterator = getMap().keySet().iterator(); in testPutAbsentConcurrentWithKeySetIteration() 95 Iterator<V> iterator = getMap().values().iterator(); in testPutAbsentConcurrentWithValueIteration() 130 getMap().put(samples.e0.getKey(), samples.e3.getValue()); in testPut_unsupportedPresentDifferentValue() 212 getMap().put(getKeyForNullValue(), null)); in testPut_replaceNullValueWithNullSupported() 236 return getMap().put(entry.getKey(), entry.getValue()); in put()
|
D | MapPutAllTester.java | 62 getMap().putAll(emptyMap()); in testPutAll_supportedNothing() 69 getMap().putAll(emptyMap()); in testPutAll_unsupportedNothing() 104 Iterator<Entry<K, V>> iterator = getMap().entrySet().iterator(); in testPutAllSomePresentConcurrentWithEntrySetIteration() 179 getMap().putAll(null); in testPutAll_nullCollectionReference() 194 getMap().putAll(map); in putAll()
|
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/google/super/com/google/common/collect/testing/google/ |
D | BiMapInverseTester.java | 40 assertSame(getMap(), getMap().inverse().inverse()); in testInverseSame() 45 BiMapPair<K, V> pair = new BiMapPair<K, V>(getMap()); in testInverseSerialization()
|
/external/llvm/lib/Analysis/ |
D | LibCallSemantics.cpp | 24 static StringMap<const LibCallFunctionInfo*> *getMap(void *Ptr) { in getMap() function 29 delete getMap(Impl); in ~LibCallInfo() 46 StringMap<const LibCallFunctionInfo*> *Map = getMap(Impl); in getFunctionInfo()
|