Home
last modified time | relevance | path

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

/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.java114 BiMap<K, V> bimap = (BiMap<K, V>) map; in assertMoreInvariants() local
464 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.of(); in testEmpty() local
465 assertEquals(Collections.<String, Integer>emptyMap(), bimap); in testEmpty() local
473 ImmutableBiMap<String, Integer> bimap = in testFromHashMap() local
480 ImmutableBiMap<String, Integer> bimap = in testFromImmutableMap() local
514 BiMap<String, Integer> bimap = ImmutableBiMap.copyOf(ImmutableMap.of("one", 1, "two", 2)); in testForcePut() local
523 ImmutableBiMap<String, Integer> bimap = in testKeySet() local
531 ImmutableBiMap<String, Integer> bimap = in testValues() local
539 ImmutableBiMap<String, Integer> bimap = in testDoubleInverse() local
546 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/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.java145 BiMap<K, V> bimap = (BiMap<K, V>) map; in assertMoreInvariants() local
495 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.of(); in testEmpty() local
496 assertEquals(Collections.<String, Integer>emptyMap(), bimap); in testEmpty() local
504 ImmutableBiMap<String, Integer> bimap = in testFromHashMap() local
511 ImmutableBiMap<String, Integer> bimap = in testFromImmutableMap() local
570 BiMap<String, Integer> bimap = ImmutableBiMap.copyOf(ImmutableMap.of("one", 1, "two", 2)); in testForcePut() local
579 ImmutableBiMap<String, Integer> bimap = in testKeySet() local
587 ImmutableBiMap<String, Integer> bimap = in testValues() local
595 ImmutableBiMap<String, Integer> bimap = in testDoubleInverse() local
602 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.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() argument
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/android/guava/src/com/google/common/collect/
DImmutableBiMap.java280 ImmutableBiMap<K, V> bimap = (ImmutableBiMap<K, V>) map; in copyOf() local
355 SerializedForm(ImmutableBiMap<K, V> bimap) { in SerializedForm()
DEnumHashBiMap.java67 EnumHashBiMap<K, V> bimap = create(EnumBiMap.inferKeyType(map)); in create() local
DEnumBiMap.java66 EnumBiMap<K, V> bimap = create(inferKeyType(map), inferValueType(map)); in create() local
DHashBiMap.java75 HashBiMap<K, V> bimap = create(map.size()); in create() local
/external/guava/guava/src/com/google/common/collect/
DEnumHashBiMap.java67 EnumHashBiMap<K, V> bimap = create(EnumBiMap.inferKeyType(map)); in create() local
DImmutableBiMap.java332 ImmutableBiMap<K, V> bimap = (ImmutableBiMap<K, V>) map; in copyOf() local
417 SerializedForm(ImmutableBiMap<K, V> bimap) { in SerializedForm()
DEnumBiMap.java66 EnumBiMap<K, V> bimap = create(inferKeyType(map), inferValueType(map)); in create() local
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.java132 ImmutableBiMap<K, V> bimap = (ImmutableBiMap<K, V>) map; in copyOf() local