Home
last modified time | relevance | path

Searched refs:getMap (Results 1 – 25 of 31) sorted by relevance

12

/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DMapRemoveTester.java44 int initialSize = getMap().size(); in testRemove_present()
46 samples.e0.getValue(), getMap().remove(samples.e0.getKey())); in testRemove_present()
48 initialSize - 1, getMap().size()); in testRemove_present()
55 getMap().remove(samples.e3.getKey())); in testRemove_notPresent()
64 int initialSize = getMap().size(); in testRemove_nullPresent()
66 getValueForNullKey(), getMap().remove(null)); in testRemove_nullPresent()
68 initialSize - 1, getMap().size()); in testRemove_nullPresent()
76 getMap().remove(samples.e0.getKey()); in testRemove_unsupported()
90 getMap().remove(samples.e3.getKey())); in testRemove_unsupportedNotPresent()
104 getMap().remove(null)); in testRemove_nullQueriesNotSupported()
[all …]
DMapEqualsTester.java44 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()
DMapContainsValueTester.java41 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()
DMapContainsKeyTester.java41 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()
DMapClearTester.java39 getMap().clear(); in testClear()
41 getMap().isEmpty()); in testClear()
48 getMap().clear(); in testClear_unsupported()
60 getMap().clear(); in testClear_unsupportedByEmptyCollection()
DMapPutAllTester.java59 getMap().putAll(emptyMap()); in testPutAll_supportedNothing()
66 getMap().putAll(emptyMap()); in testPutAll_unsupportedNothing()
162 getMap().putAll(null); in testPutAll_nullCollectionReference()
177 getMap().putAll(map); in putAll()
DMapIsEmptyTester.java36 assertTrue("isEmpty() should return true", getMap().isEmpty()); in testIsEmpty_yes()
41 assertFalse("isEmpty() should return false", getMap().isEmpty()); in testIsEmpty_no()
DMapHashCodeTester.java45 expectedHashCode, getMap().hashCode()); in testHashCode()
76 expectedHashCode, getMap().hashCode()); in runEntryWithNullTest()
DMapPutTester.java88 getMap().put(samples.e0.getKey(), samples.e3.getValue()); in testPut_unsupportedPresentDifferentValue()
170 getMap().put(getKeyForNullValue(), null)); in testPut_replaceNullValueWithNullSupported()
194 return getMap().put(entry.getKey(), entry.getValue()); in put()
DMapSizeTester.java32 assertEquals("size():", getNumElements(), getMap().size()); in testSize()
DMapGetTester.java81 getMap().get(WrongType.VALUE)); in testGet_wrongType()
DMapNavigationTester.java53 navigableMap = (NavigableMap<K, V>) getMap(); in setUp()
76 navigableMap = (NavigableMap<K, V>) getMap(); in resetWithHole()
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/reflect/
DClassMap.java41 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/
DAbstractMapTester.java41 protected Map<K, V> getMap() { in getMap() method in AbstractMapTester
52 return getMap().entrySet(); in actualContents()
63 getMap().containsKey(element)); in expectMissingKeys()
70 getMap().containsValue(element)); in expectMissingValues()
131 assertFalse(message, getMap().containsKey(null)); in expectNullKeyMissingWhenNullKeysUnsupported()
147 assertFalse(message, getMap().containsValue(null)); in expectNullValueMissingWhenNullValuesUnsupported()
176 getMap().containsKey(entry.getKey())); in expectMissing()
178 getMap().containsValue(entry.getValue())); in expectMissing()
180 getMap().get(entry.getKey())); in expectMissing()
194 entry.getValue(), getMap().get(entry.getKey())); in expectContents()
[all …]
/external/llvm/lib/Analysis/
DLibCallSemantics.cpp23 static StringMap<const LibCallFunctionInfo*> *getMap(void *Ptr) { in getMap() function
28 delete getMap(Impl); in ~LibCallInfo()
45 StringMap<const LibCallFunctionInfo*> *Map = getMap(Impl); in getFunctionInfo()
/external/llvm/lib/CodeGen/
DLiveIntervalUnion.cpp139 LiveUnionI.setMap(LiveUnion->getMap()); in collectInterferingVRegs()
190 Overlaps(LiveUnion->getMap(), Loop->getMap()); in checkLoopInterference()
DLiveIntervalUnion.h81 const Map &getMap() { return Segments; } in getMap() function
DInterferenceCache.cpp93 Iters[i].setMap(Aliases[i].first->getMap()); in reset()
DRegAllocBase.cpp262 SI.setMap(LiveUnion.getMap()); in addMBBLiveIns()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DAbstractMapTest.java266 public Map getMap() { in test_clone() method in AbstractMapTest.MyMap
285 assertTrue("clone not shallow", map.getMap() == mapClone.getMap()); in test_clone()
/external/llvm/include/llvm/CodeGen/
DMachineLoopRanges.h68 const Map &getMap() { return Intervals; } in getMap() function
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
DAttributesTest.java302 assertEquals(mockAttr.getMap().hashCode(), mockAttr.hashCode()); in test_hashCode()
306 public Map<Object, Object> getMap() { in getMap() method in AttributesTest.MockAttributes
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
DHeaderItem.java57 int mapOff = file.getMap().getFileOffset(); in writeTo()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DSuballocatedIntVector.java552 public final int[][] getMap() in getMap() method in SuballocatedIntVector
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DAbstractMapBasedMultiset.java389 public Map<E, Count> getMap() {

12