Home
last modified time | relevance | path

Searched refs:Maps (Results 1 – 25 of 554) sorted by relevance

12345678910>>...23

/external/llvm/test/CodeGen/X86/
Ddeopt-bundles.ll10 ; STACKMAPS: Stack Maps: callsite 2882400015
11 ; STACKMAPS-NEXT: Stack Maps: has 4 locations
12 ; STACKMAPS-NEXT: Stack Maps: Loc 0: Constant 0 [encoding: .byte 4, .byte 8, .short 0, .int 0]
13 ; STACKMAPS-NEXT: Stack Maps: Loc 1: Constant 0 [encoding: .byte 4, .byte 8, .short 0, .int 0]
14 ; STACKMAPS-NEXT: Stack Maps: Loc 2: Constant 1 [encoding: .byte 4, .byte 8, .short 0, .int 1]
15 ; STACKMAPS-NEXT: Stack Maps: Loc 3: Constant 0 [encoding: .byte 4, .byte 8, .short 0, .int 0]
16 ; STACKMAPS-NEXT: Stack Maps: has 0 live-out registers
17 ; STACKMAPS-NEXT: Stack Maps: callsite 4242
18 ; STACKMAPS-NEXT: Stack Maps: has 4 locations
19 ; STACKMAPS-NEXT: Stack Maps: Loc 0: Constant 0 [encoding: .byte 4, .byte 8, .short 0, .int 0]
[all …]
Ddeopt-intrinsic.ll42 ; STACKMAPS: Stack Maps: callsites:
43 ; STACKMAPS-NEXT: Stack Maps: callsite 2882400015
44 ; STACKMAPS-NEXT: Stack Maps: has 4 locations
45 ; STACKMAPS-NEXT: Stack Maps: Loc 0: Constant 0 [encoding: .byte 4, .byte 8, .short 0, .int 0]
46 ; STACKMAPS-NEXT: Stack Maps: Loc 1: Constant 0 [encoding: .byte 4, .byte 8, .short 0, .int 0]
47 ; STACKMAPS-NEXT: Stack Maps: Loc 2: Constant 1 [encoding: .byte 4, .byte 8, .short 0, .int 1]
48 ; STACKMAPS-NEXT: Stack Maps: Loc 3: Constant 0 [encoding: .byte 4, .byte 8, .short 0, .int 0]
49 ; STACKMAPS-NEXT: Stack Maps: has 0 live-out registers
50 ; STACKMAPS-NEXT: Stack Maps: callsite 2882400015
51 ; STACKMAPS-NEXT: Stack Maps: has 4 locations
[all …]
Ddeopt-intrinsic-cconv.ll27 ; STACKMAPS: Stack Maps: callsites:
28 ; STACKMAPS-NEXT: Stack Maps: callsite 2882400015
29 ; STACKMAPS-NEXT: Stack Maps: has 4 locations
30 ; STACKMAPS-NEXT: Stack Maps: Loc 0: Constant 12 [encoding: .byte 4, .byte 8, .short 0, .int 12]
31 ; STACKMAPS-NEXT: Stack Maps: Loc 1: Constant 0 [encoding: .byte 4, .byte 8, .short 0, .int 0]
32 ; STACKMAPS-NEXT: Stack Maps: Loc 2: Constant 1 [encoding: .byte 4, .byte 8, .short 0, .int 1]
33 ; STACKMAPS-NEXT: Stack Maps: Loc 3: Constant 3 [encoding: .byte 4, .byte 8, .short 0, .int 3]
34 ; STACKMAPS-NEXT: Stack Maps: has 0 live-out registers
/external/guava/android/guava-tests/test/com/google/common/collect/
DMapsTest.java19 import static com.google.common.collect.Maps.transformEntries;
20 import static com.google.common.collect.Maps.transformValues;
21 import static com.google.common.collect.Maps.unmodifiableNavigableMap;
35 import com.google.common.collect.Maps.EntryTransformer;
36 import com.google.common.collect.Maps.ValueDifferenceImpl;
80 HashMap<Integer, Integer> map = Maps.newHashMap(); in testHashMap()
89 HashMap<String, Integer> map = Maps.newHashMap(original); in testHashMapWithInitialMap()
99 Maps.newHashMap((Map<? extends Object, ? extends Object>) original); in testHashMapGeneralizesTypes()
105 Maps.capacity(-1); in testCapacityForNegativeSizeFails()
125 assertTrue(bucketsOf(Maps.newHashMapWithExpectedSize(0)) <= 1); in testNewHashMapWithExpectedSize_wontGrow()
[all …]
DMapsTransformValuesTest.java62 return Maps.transformValues(Maps.<String, String>newHashMap(), Functions.<String>identity()); in makeEmptyMap()
67 Map<String, Integer> underlying = Maps.newHashMap(); in makePopulatedMap()
71 return Maps.transformValues(underlying, Functions.toStringFunction()); in makePopulatedMap()
101 Maps.transformValues(ImmutableMap.<String, Integer>of(), Functions.toStringFunction()); in testTransformEmptyMapEquality()
102 assertMapsEqual(Maps.newHashMap(), map); in testTransformEmptyMapEquality()
107 Maps.transformValues(ImmutableMap.of("a", 1), Functions.toStringFunction()); in testTransformSingletonMapEquality()
115 Map<String, Integer> map = Maps.transformValues(underlying, Functions.<Integer>identity()); in testTransformIdentityFunctionEquality()
121 Maps.transformValues(ImmutableMap.of("a", 1), Functions.toStringFunction()); in testTransformPutEntryIsUnsupported()
142 Map<String, Integer> underlying = Maps.newHashMap(); in testTransformRemoveEntry()
144 Map<String, String> map = Maps.transformValues(underlying, Functions.toStringFunction()); in testTransformRemoveEntry()
[all …]
DHashBiMapTest.java141 Maps.immutableEntry("foo", 1), in testInsertionOrder()
142 Maps.immutableEntry("bar", 2), in testInsertionOrder()
143 Maps.immutableEntry("quux", 3)) in testInsertionOrder()
155 .containsExactly(Maps.immutableEntry("bar", 2), Maps.immutableEntry("quux", 3)) in testInsertionOrderAfterRemoveFirst()
167 .containsExactly(Maps.immutableEntry("foo", 1), Maps.immutableEntry("quux", 3)) in testInsertionOrderAfterRemoveMiddle()
179 .containsExactly(Maps.immutableEntry("foo", 1), Maps.immutableEntry("bar", 2)) in testInsertionOrderAfterRemoveLast()
191 .containsExactly(Maps.immutableEntry("bar", 2), Maps.immutableEntry("quux", 1)) in testInsertionOrderAfterForcePut()
203 .containsExactly(Maps.immutableEntry("bar", 2), Maps.immutableEntry("quux", 1)) in testInsertionOrderAfterInverseForcePut()
213 .containsExactly(Maps.immutableEntry(2, "bar"), Maps.immutableEntry(1, "quux")) in testInverseInsertionOrderAfterInverse()
225 .containsExactly(Maps.immutableEntry(2, "bar"), Maps.immutableEntry(1, "quux")) in testInverseInsertionOrderAfterInverseForcePut()
[all …]
DMapsTransformValuesUnmodifiableIteratorTest.java135 Map<String, Integer> underlying = Maps.newHashMap();
136 return Maps.transformValues(
142 Map<String, Integer> underlying = Maps.newHashMap();
146 return Maps.transformValues(
177 Maps.transformValues(ImmutableMap.<String, Integer>of(), Functions.toStringFunction());
178 assertMapsEqual(Maps.newHashMap(), map);
183 Maps.transformValues(ImmutableMap.of("a", 1), Functions.toStringFunction());
191 Map<String, Integer> map = Maps.transformValues(underlying, Functions.<Integer>identity());
197 Maps.transformValues(ImmutableMap.of("a", 1), Functions.toStringFunction());
218 Map<String, Integer> underlying = Maps.newHashMap();
[all …]
DMapsCollectionTest.java26 import com.google.common.collect.Maps.EntryTransformer;
73 return Maps.unmodifiableNavigableMap(map); in suite()
90 return Maps.unmodifiableBiMap(bimap); in suite()
123 return Maps.asMap( in suite()
192 return Maps.asMap( in suite()
259 return Maps.asMap( in suite()
316 Map<String, String> map = Maps.newHashMap(); in filterMapSuite()
319 return Maps.filterKeys(map, FILTER_KEYS); in filterMapSuite()
335 Map<String, String> map = Maps.newHashMap(); in filterMapSuite()
338 return Maps.filterValues(map, FILTER_VALUES); in filterMapSuite()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DMapsTest.java19 import static com.google.common.collect.Maps.transformEntries;
20 import static com.google.common.collect.Maps.transformValues;
21 import static com.google.common.collect.Maps.unmodifiableNavigableMap;
35 import com.google.common.collect.Maps.EntryTransformer;
36 import com.google.common.collect.Maps.ValueDifferenceImpl;
80 HashMap<Integer, Integer> map = Maps.newHashMap(); in testHashMap()
89 HashMap<String, Integer> map = Maps.newHashMap(original); in testHashMapWithInitialMap()
99 Maps.newHashMap((Map<? extends Object, ? extends Object>) original); in testHashMapGeneralizesTypes()
105 Maps.capacity(-1); in testCapacityForNegativeSizeFails()
125 assertTrue(bucketsOf(Maps.newHashMapWithExpectedSize(0)) <= 1); in testNewHashMapWithExpectedSize_wontGrow()
[all …]
DMapsTransformValuesTest.java63 return Maps.transformValues(Maps.<String, String>newHashMap(), Functions.<String>identity()); in makeEmptyMap()
68 Map<String, Integer> underlying = Maps.newHashMap(); in makePopulatedMap()
72 return Maps.transformValues(underlying, Functions.toStringFunction()); in makePopulatedMap()
102 Maps.transformValues(ImmutableMap.<String, Integer>of(), Functions.toStringFunction()); in testTransformEmptyMapEquality()
103 assertMapsEqual(Maps.newHashMap(), map); in testTransformEmptyMapEquality()
108 Maps.transformValues(ImmutableMap.of("a", 1), Functions.toStringFunction()); in testTransformSingletonMapEquality()
116 Map<String, Integer> map = Maps.transformValues(underlying, Functions.<Integer>identity()); in testTransformIdentityFunctionEquality()
122 Maps.transformValues(ImmutableMap.of("a", 1), Functions.toStringFunction()); in testTransformPutEntryIsUnsupported()
143 Map<String, Integer> underlying = Maps.newHashMap(); in testTransformRemoveEntry()
145 Map<String, String> map = Maps.transformValues(underlying, Functions.toStringFunction()); in testTransformRemoveEntry()
[all …]
DHashBiMapTest.java141 Maps.immutableEntry("foo", 1), in testInsertionOrder()
142 Maps.immutableEntry("bar", 2), in testInsertionOrder()
143 Maps.immutableEntry("quux", 3)) in testInsertionOrder()
155 .containsExactly(Maps.immutableEntry("bar", 2), Maps.immutableEntry("quux", 3)) in testInsertionOrderAfterRemoveFirst()
167 .containsExactly(Maps.immutableEntry("foo", 1), Maps.immutableEntry("quux", 3)) in testInsertionOrderAfterRemoveMiddle()
179 .containsExactly(Maps.immutableEntry("foo", 1), Maps.immutableEntry("bar", 2)) in testInsertionOrderAfterRemoveLast()
191 .containsExactly(Maps.immutableEntry("bar", 2), Maps.immutableEntry("quux", 1)) in testInsertionOrderAfterForcePut()
203 .containsExactly(Maps.immutableEntry("bar", 2), Maps.immutableEntry("quux", 1)) in testInsertionOrderAfterInverseForcePut()
213 .containsExactly(Maps.immutableEntry(2, "bar"), Maps.immutableEntry(1, "quux")) in testInverseInsertionOrderAfterInverse()
225 .containsExactly(Maps.immutableEntry(2, "bar"), Maps.immutableEntry(1, "quux")) in testInverseInsertionOrderAfterInverseForcePut()
[all …]
DMapsTransformValuesUnmodifiableIteratorTest.java135 Map<String, Integer> underlying = Maps.newHashMap();
136 return Maps.transformValues(
142 Map<String, Integer> underlying = Maps.newHashMap();
146 return Maps.transformValues(
177 Maps.transformValues(ImmutableMap.<String, Integer>of(), Functions.toStringFunction());
178 assertMapsEqual(Maps.newHashMap(), map);
183 Maps.transformValues(ImmutableMap.of("a", 1), Functions.toStringFunction());
191 Map<String, Integer> map = Maps.transformValues(underlying, Functions.<Integer>identity());
197 Maps.transformValues(ImmutableMap.of("a", 1), Functions.toStringFunction());
218 Map<String, Integer> underlying = Maps.newHashMap();
[all …]
DLinkedHashMultimapTest.java171 assertEquals(Maps.immutableEntry("foo", 5), entryIterator.next()); in assertOrderingReadOnly()
172 assertEquals(Maps.immutableEntry("bar", 4), entryIterator.next()); in assertOrderingReadOnly()
173 assertEquals(Maps.immutableEntry("foo", 3), entryIterator.next()); in assertOrderingReadOnly()
174 assertEquals(Maps.immutableEntry("cow", 2), entryIterator.next()); in assertOrderingReadOnly()
175 assertEquals(Maps.immutableEntry("bar", 1), entryIterator.next()); in assertOrderingReadOnly()
310 Maps.immutableEntry("foo", 2), in testEntriesIteration()
311 Maps.immutableEntry("foo", 3), in testEntriesIteration()
312 Maps.immutableEntry("bar", 4), in testEntriesIteration()
313 Maps.immutableEntry("bar", 5), in testEntriesIteration()
314 Maps.immutableEntry("foo", 6))); in testEntriesIteration()
[all …]
DMapsCollectionTest.java26 import com.google.common.collect.Maps.EntryTransformer;
73 return Maps.unmodifiableNavigableMap(map); in suite()
90 return Maps.unmodifiableBiMap(bimap); in suite()
123 return Maps.asMap( in suite()
192 return Maps.asMap( in suite()
259 return Maps.asMap( in suite()
316 Map<String, String> map = Maps.newHashMap(); in filterMapSuite()
319 return Maps.filterKeys(map, FILTER_KEYS); in filterMapSuite()
335 Map<String, String> map = Maps.newHashMap(); in filterMapSuite()
338 return Maps.filterValues(map, FILTER_VALUES); in filterMapSuite()
[all …]
DImmutableEnumMapTest.java53 Map<AnEnum, String> map = Maps.newHashMap(); in create()
57 return Maps.immutableEnumMap(map); in create()
75 Maps.asMap( in testIteratesOnce()
87 ImmutableMap<AnEnum, AnEnum> copy = Maps.immutableEnumMap(map); in testIteratesOnce()
92 ImmutableMap<AnEnum, String> map = Maps.immutableEnumMap(ImmutableMap.<AnEnum, String>of()); in testEmptyImmutableEnumMap()
98 Maps.immutableEnumMap(ImmutableMap.of(AnEnum.C, "c", AnEnum.A, "a", AnEnum.E, "e")); in testImmutableEnumMapOrdering()
110 Maps.toImmutableEnumMap(Entry::getKey, Entry::getValue); in testToImmutableEnumMap()
123 Maps.toImmutableEnumMap(Entry::getKey, Entry::getValue); in testToImmutableMap_exceptionOnDuplicateKey()
133 Maps.toImmutableEnumMap(Entry::getKey, Entry::getValue, Integer::sum); in testToImmutableMapMerging()
/external/llvm-project/llvm/test/CodeGen/X86/
Ddeopt-bundles.ll10 ; STACKMAPS: Stack Maps: callsite 2882400015
11 ; STACKMAPS-NEXT: Stack Maps: has 4 locations
12 ; STACKMAPS-NEXT: Stack Maps: Loc 0: Constant 0 [encoding: .byte 4, .byte 0, .short 8, .short 0, …
13 ; STACKMAPS-NEXT: Stack Maps: Loc 1: Constant 0 [encoding: .byte 4, .byte 0, .short 8, .short 0, …
14 ; STACKMAPS-NEXT: Stack Maps: Loc 2: Constant 1 [encoding: .byte 4, .byte 0, .short 8, .short 0, …
15 ; STACKMAPS-NEXT: Stack Maps: Loc 3: Constant 0 [encoding: .byte 4, .byte 0, .short 8, .short 0, …
16 ; STACKMAPS-NEXT: Stack Maps: has 0 live-out registers
17 ; STACKMAPS-NEXT: Stack Maps: callsite 4242
18 ; STACKMAPS-NEXT: Stack Maps: has 4 locations
19 ; STACKMAPS-NEXT: Stack Maps: Loc 0: Constant 0 [encoding: .byte 4, .byte 0, .short 8, .short 0, …
[all …]
Ddeopt-intrinsic.ll40 ; STACKMAPS: Stack Maps: callsites:
41 ; STACKMAPS-NEXT: Stack Maps: callsite 2882400015
42 ; STACKMAPS-NEXT: Stack Maps: has 4 locations
43 ; STACKMAPS-NEXT: Stack Maps: Loc 0: Constant 0 [encoding: .byte 4, .byte 0, .short 8, .short 0, …
44 ; STACKMAPS-NEXT: Stack Maps: Loc 1: Constant 0 [encoding: .byte 4, .byte 0, .short 8, .short 0, …
45 ; STACKMAPS-NEXT: Stack Maps: Loc 2: Constant 1 [encoding: .byte 4, .byte 0, .short 8, .short 0, …
46 ; STACKMAPS-NEXT: Stack Maps: Loc 3: Constant 0 [encoding: .byte 4, .byte 0, .short 8, .short 0, …
47 ; STACKMAPS-NEXT: Stack Maps: has 0 live-out registers
48 ; STACKMAPS-NEXT: Stack Maps: callsite 2882400015
49 ; STACKMAPS-NEXT: Stack Maps: has 4 locations
[all …]
Ddeopt-intrinsic-cconv.ll27 ; STACKMAPS: Stack Maps: callsites:
28 ; STACKMAPS-NEXT: Stack Maps: callsite 2882400015
29 ; STACKMAPS-NEXT: Stack Maps: has 4 locations
30 ; STACKMAPS-NEXT: Stack Maps: Loc 0: Constant 12 [encoding: .byte 4, .byte 0, .short 8, .short 0,…
31 ; STACKMAPS-NEXT: Stack Maps: Loc 1: Constant 0 [encoding: .byte 4, .byte 0, .short 8, .short 0, …
32 ; STACKMAPS-NEXT: Stack Maps: Loc 2: Constant 1 [encoding: .byte 4, .byte 0, .short 8, .short 0, …
33 ; STACKMAPS-NEXT: Stack Maps: Loc 3: Constant 3 [encoding: .byte 4, .byte 0, .short 8, .short 0, …
34 ; STACKMAPS-NEXT: Stack Maps: has 0 live-out registers
/external/llvm-project/libcxx/benchmarks/
Dmap.bench.cpp52 std::vector<std::map<uint64_t, int64_t> > Maps; member
77 auto& map = R.Maps.emplace_back(); in makeTestingSets()
115 auto& Map = Data.Maps.front(); in run()
136 auto& Map = Data.Maps.front(); in run()
157 while (State.KeepRunningBatch(MapSize * Data.Maps.size())) { in run()
158 for (auto& Map : Data.Maps) { in run()
180 auto& Map = Data.Maps.front(); in run()
199 auto& Map = Data.Maps.front(); in run()
222 while (State.KeepRunningBatch(MapSize * Data.Maps.size())) { in run()
223 for (auto& Map : Data.Maps) { in run()
[all …]
/external/guava/android/guava/src/com/google/common/collect/
DAbstractTable.java39 return Maps.safeContainsKey(rowMap(), rowKey); in containsRow()
44 return Maps.safeContainsKey(columnMap(), columnKey); in containsColumn()
69 Map<C, V> row = Maps.safeGet(rowMap(), rowKey); in contains()
70 return row != null && Maps.safeContainsKey(row, columnKey); in contains()
75 Map<C, V> row = Maps.safeGet(rowMap(), rowKey); in get()
76 return (row == null) ? null : Maps.safeGet(row, columnKey); in get()
92 Map<C, V> row = Maps.safeGet(rowMap(), rowKey); in remove()
93 return (row == null) ? null : Maps.safeRemove(row, columnKey); in remove()
129 Map<C, V> row = Maps.safeGet(rowMap(), cell.getRowKey()); in contains()
132 row.entrySet(), Maps.immutableEntry(cell.getColumnKey(), cell.getValue())); in contains()
[all …]
DForwardingMap.java147 Maps.putAllImpl(this, map); in standardPutAll()
195 protected class StandardKeySet extends Maps.KeySet<K, V> {
211 return Maps.containsKeyImpl(this, key); in standardContainsKey()
224 protected class StandardValues extends Maps.Values<K, V> {
239 return Maps.containsValueImpl(this, value); in standardContainsValue()
252 protected abstract class StandardEntrySet extends Maps.EntrySet<K, V> {
281 return Maps.equalsImpl(this, object); in standardEquals()
303 return Maps.toStringImpl(this); in standardToString()
/external/guava/guava/src/com/google/common/collect/
DAbstractTable.java40 return Maps.safeContainsKey(rowMap(), rowKey); in containsRow()
45 return Maps.safeContainsKey(columnMap(), columnKey); in containsColumn()
70 Map<C, V> row = Maps.safeGet(rowMap(), rowKey); in contains()
71 return row != null && Maps.safeContainsKey(row, columnKey); in contains()
76 Map<C, V> row = Maps.safeGet(rowMap(), rowKey); in get()
77 return (row == null) ? null : Maps.safeGet(row, columnKey); in get()
93 Map<C, V> row = Maps.safeGet(rowMap(), rowKey); in remove()
94 return (row == null) ? null : Maps.safeRemove(row, columnKey); in remove()
132 Map<C, V> row = Maps.safeGet(rowMap(), cell.getRowKey()); in contains()
135 row.entrySet(), Maps.immutableEntry(cell.getColumnKey(), cell.getValue())); in contains()
[all …]
DForwardingMap.java147 Maps.putAllImpl(this, map); in standardPutAll()
195 protected class StandardKeySet extends Maps.KeySet<K, V> {
211 return Maps.containsKeyImpl(this, key); in standardContainsKey()
224 protected class StandardValues extends Maps.Values<K, V> {
239 return Maps.containsValueImpl(this, value); in standardContainsValue()
252 protected abstract class StandardEntrySet extends Maps.EntrySet<K, V> {
281 return Maps.equalsImpl(this, object); in standardEquals()
303 return Maps.toStringImpl(this); in standardToString()
DAbstractNavigableMap.java20 import com.google.common.collect.Maps.IteratorBasedAbstractMap;
103 return Maps.keyOrNull(lowerEntry(key)); in lowerKey()
108 return Maps.keyOrNull(floorEntry(key)); in floorKey()
113 return Maps.keyOrNull(ceilingEntry(key)); in ceilingKey()
118 return Maps.keyOrNull(higherEntry(key)); in higherKey()
140 return new Maps.NavigableKeySet<>(this); in navigableKeySet()
158 private final class DescendingMap extends Maps.DescendingMap<K, V> {
/external/caliper/caliper/src/main/java/com/google/caliper/model/
DVmSpec.java23 import com.google.common.collect.Maps;
44 this.properties = Maps.newTreeMap(); in VmSpec()
45 this.options = Maps.newTreeMap(); in VmSpec()
49 this.properties = Maps.newTreeMap(builder.properties); in VmSpec()
50 this.options = Maps.newTreeMap(builder.options); in VmSpec()
101 private final SortedMap<String, String> properties = Maps.newTreeMap();
102 private final SortedMap<String, String> options = Maps.newTreeMap();

12345678910>>...23