Home
last modified time | relevance | path

Searched defs:bimap (Results 1 – 24 of 24) sorted by relevance

/external/guava/guava-tests/test/com/google/common/collect/
DEnumBiMapTest.java130 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(Currency.class, Country.class); in testCreate() local
133 assertEquals(HashBiMap.create(), bimap); in testCreate() local
146 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map); in testCreateFromMap() local
187 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(Currency.class, Country.class); in testKeyType() local
192 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(Currency.class, Country.class); in testValueType() local
204 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map); in testIterationOrder() local
232 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map); in testKeySetIteratorRemove() local
258 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map); in testValuesIteratorRemove() local
282 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map); in testEntrySet() local
DImmutableBiMapTest.java146 BiMap<K, V> bimap = (BiMap<K, V>) map; in assertMoreInvariants() local
652 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.of(); in testEmpty() local
653 assertEquals(Collections.<String, Integer>emptyMap(), bimap); in testEmpty() local
661 ImmutableBiMap<String, Integer> bimap = in testFromHashMap() local
668 ImmutableBiMap<String, Integer> bimap = in testFromImmutableMap() local
729 BiMap<String, Integer> bimap = ImmutableBiMap.copyOf(ImmutableMap.of("one", 1, "two", 2)); in testForcePut() local
738 ImmutableBiMap<String, Integer> bimap = in testKeySet() local
746 ImmutableBiMap<String, Integer> bimap = in testValues() local
754 ImmutableBiMap<String, Integer> bimap = in testDoubleInverse() local
761 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.of(); in testEmptySerialization() local
[all …]
DEnumHashBiMapTest.java124 EnumHashBiMap<Currency, String> bimap = EnumHashBiMap.create(Currency.class); in testCreate() local
127 assertEquals(HashBiMap.create(), bimap); in testCreate() local
140 EnumHashBiMap<Currency, String> bimap = EnumHashBiMap.create(map); in testCreateFromMap() local
201 EnumHashBiMap<Currency, String> bimap = EnumHashBiMap.create(Currency.class); in testKeyType() local
212 EnumHashBiMap<Currency, String> bimap = EnumHashBiMap.create(map); in testEntrySet() local
DAbstractBiMapTest.java33 BiMap<Integer, String> bimap = in testIdentityKeySetIteratorRemove() local
51 BiMap<Integer, String> bimap = in testIdentityEntrySetIteratorRemove() local
DHashBiMapTest.java82 HashBiMap<String, String> bimap = HashBiMap.create(map); in testMapConstructor() local
90 BiMap<Integer, Integer> bimap = HashBiMap.create(N); in testBashIt() local
DSynchronizedBiMapTest.java146 BiMap<String, Integer> bimap = create(); in testInverse() local
DMapsTest.java1347 BiMap<String, Integer> bimap = HashBiMap.create(); in testSynchronizedBiMap() local
/external/guava/android/guava-tests/test/com/google/common/collect/
DEnumBiMapTest.java130 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(Currency.class, Country.class); in testCreate() local
133 assertEquals(HashBiMap.create(), bimap); in testCreate() local
146 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map); in testCreateFromMap() local
187 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(Currency.class, Country.class); in testKeyType() local
192 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(Currency.class, Country.class); in testValueType() local
204 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map); in testIterationOrder() local
232 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map); in testKeySetIteratorRemove() local
258 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map); in testValuesIteratorRemove() local
282 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map); in testEntrySet() local
DImmutableBiMapTest.java115 BiMap<K, V> bimap = (BiMap<K, V>) map; in assertMoreInvariants() local
621 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.of(); in testEmpty() local
622 assertEquals(Collections.<String, Integer>emptyMap(), bimap); in testEmpty() local
630 ImmutableBiMap<String, Integer> bimap = in testFromHashMap() local
637 ImmutableBiMap<String, Integer> bimap = in testFromImmutableMap() local
697 BiMap<String, Integer> bimap = ImmutableBiMap.copyOf(ImmutableMap.of("one", 1, "two", 2)); in testForcePut() local
706 ImmutableBiMap<String, Integer> bimap = in testKeySet() local
714 ImmutableBiMap<String, Integer> bimap = in testValues() local
722 ImmutableBiMap<String, Integer> bimap = in testDoubleInverse() local
729 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.of(); in testEmptySerialization() local
[all …]
DEnumHashBiMapTest.java124 EnumHashBiMap<Currency, String> bimap = EnumHashBiMap.create(Currency.class); in testCreate() local
127 assertEquals(HashBiMap.create(), bimap); in testCreate() local
140 EnumHashBiMap<Currency, String> bimap = EnumHashBiMap.create(map); in testCreateFromMap() local
201 EnumHashBiMap<Currency, String> bimap = EnumHashBiMap.create(Currency.class); in testKeyType() local
212 EnumHashBiMap<Currency, String> bimap = EnumHashBiMap.create(map); in testEntrySet() local
DAbstractBiMapTest.java33 BiMap<Integer, String> bimap = in testIdentityKeySetIteratorRemove() local
51 BiMap<Integer, String> bimap = in testIdentityEntrySetIteratorRemove() local
DHashBiMapTest.java82 HashBiMap<String, String> bimap = HashBiMap.create(map); in testMapConstructor() local
90 BiMap<Integer, Integer> bimap = HashBiMap.create(N); in testBashIt() local
DSynchronizedBiMapTest.java139 BiMap<String, Integer> bimap = create(); in testInverse() local
DMapsTest.java1302 BiMap<String, Integer> bimap = HashBiMap.create(); in testSynchronizedBiMap() local
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_util.h772 struct bimap struct
778 bimap() : l(back), r(forth) { } in bimap() function
779 bimap(const bimap<S, T> &m) in bimap() function
782 void insert(const S &s, const T &t) in insert()
788 typedef typename std::map<T, S>::const_iterator l_iterator;
789 const std::map<T, S> &l;
790 typedef typename std::map<S, T>::const_iterator r_iterator;
791 const std::map<S, T> &r;
/external/guava/guava/src/com/google/common/collect/
DEnumHashBiMap.java72 EnumHashBiMap<K, V> bimap = create(EnumBiMap.inferKeyType(map)); in create() local
DEnumBiMap.java67 EnumBiMap<K, V> bimap = create(inferKeyType(map), inferValueType(map)); in create() local
DImmutableBiMap.java537 ImmutableBiMap<K, V> bimap = (ImmutableBiMap<K, V>) map; in copyOf() local
624 SerializedForm(ImmutableBiMap<K, V> bimap) { in SerializedForm()
DHashBiMap.java86 HashBiMap<K, V> bimap = create(map.size()); in create() local
/external/guava/android/guava/src/com/google/common/collect/
DEnumHashBiMap.java72 EnumHashBiMap<K, V> bimap = create(EnumBiMap.inferKeyType(map)); in create() local
DEnumBiMap.java67 EnumBiMap<K, V> bimap = create(inferKeyType(map), inferValueType(map)); in create() local
DImmutableBiMap.java496 ImmutableBiMap<K, V> bimap = (ImmutableBiMap<K, V>) map; in copyOf() local
573 SerializedForm(ImmutableBiMap<K, V> bimap) { in SerializedForm()
DHashBiMap.java82 HashBiMap<K, V> bimap = create(map.size()); in create() local
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DImmutableBiMap.java224 ImmutableBiMap<K, V> bimap = (ImmutableBiMap<K, V>) map; in copyOf() local