/external/llvm/test/CodeGen/X86/ |
D | deopt-bundles.ll | 10 ; 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 …]
|
D | deopt-intrinsic.ll | 42 ; 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 …]
|
D | deopt-intrinsic-cconv.ll | 27 ; 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/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
D | MapsTest.java | 19 import static com.google.common.collect.Maps.transformEntries; 20 import static com.google.common.collect.Maps.transformValues; 31 import com.google.common.collect.Maps.EntryTransformer; 32 import com.google.common.collect.Maps.ValueDifferenceImpl; 70 HashMap<Integer, Integer> map = Maps.newHashMap(); in testHashMap() 79 HashMap<String, Integer> map = Maps.newHashMap(original); in testHashMapWithInitialMap() 89 Maps.newHashMap((Map<? extends Object, ? extends Object>) original); in testHashMapGeneralizesTypes() 95 Maps.capacity(-1); in testCapacityForNegativeSizeFails() 109 int capacity = Maps.capacity(expectedSize); in testCapacityForLargeSizes() 117 LinkedHashMap<Integer, Integer> map = Maps.newLinkedHashMap(); in testLinkedHashMap() [all …]
|
D | MapConstraintsTest.java | 100 Map<String, Integer> map = Maps.newLinkedHashMap(); in testConstrainedMapLegal() 117 Maps.immutableEntry(TEST_KEY, TEST_VALUE), in testConstrainedMapLegal() 118 Maps.immutableEntry("foo", 1), in testConstrainedMapLegal() 119 Maps.immutableEntry("bar", 2), in testConstrainedMapLegal() 120 Maps.immutableEntry("baz", 3)).inOrder(); in testConstrainedMapLegal() 124 Map<String, Integer> map = Maps.newLinkedHashMap(); in testConstrainedMapIllegal() 149 Maps.<String, Integer>newLinkedHashMap(), in testConstrainedBiMapLegal() 150 Maps.<Integer, String>newLinkedHashMap()) {}; in testConstrainedBiMapLegal() 165 Maps.immutableEntry(TEST_KEY, TEST_VALUE), in testConstrainedBiMapLegal() 166 Maps.immutableEntry("foo", 1), in testConstrainedBiMapLegal() [all …]
|
D | ImmutableSortedMapTest.java | 219 .put(Maps.immutableEntry("one", 1)) in testBuilder_withImmutableEntry() 228 builder.put(Maps.immutableEntry("one", (Integer) null)); in testBuilder_withImmutableEntryAndNullContents() 233 builder.put(Maps.immutableEntry((String) null, 1)); in testBuilder_withImmutableEntryAndNullContents() 463 SortedMap<String, Integer> original = Maps.newTreeMap(); in testCopyOfSortedNatural() 477 SortedMap<String, Integer> original = Maps.newTreeMap(comparator); in testCopyOfSortedExplicit() 603 assertTrue(map.entrySet().contains(Maps.immutableEntry("a", new IntHolder(3)))); in testMutableValues() 615 Maps.immutableEntry("one", 1), in testHeadMapInclusive() 616 Maps.immutableEntry("three", 3)).inOrder(); in testHeadMapInclusive() 623 assertThat(map.entrySet()).has().exactly(Maps.immutableEntry("one", 1)).inOrder(); in testHeadMapExclusive() 630 assertThat(map.entrySet()).has().exactly(Maps.immutableEntry("three", 3), in testTailMapInclusive() [all …]
|
D | TreeBasedTableTest.java | 350 assertTrue(entrySet.contains(Maps.immutableEntry(10, 'X'))); in testRowEntrySetContains() 351 assertTrue(entrySet.contains(Maps.immutableEntry(20, 'X'))); in testRowEntrySetContains() 352 assertFalse(entrySet.contains(Maps.immutableEntry(15, 'X'))); in testRowEntrySetContains() 354 assertFalse(entrySet.contains(Maps.immutableEntry(10, 'X'))); in testRowEntrySetContains() 355 assertTrue(entrySet.contains(Maps.immutableEntry(20, 'X'))); in testRowEntrySetContains() 356 assertFalse(entrySet.contains(Maps.immutableEntry(15, 'X'))); in testRowEntrySetContains() 367 assertFalse(entrySet.remove(Maps.immutableEntry(10, 'X'))); in testRowEntrySetRemove() 368 assertTrue(entrySet.remove(Maps.immutableEntry(20, 'X'))); in testRowEntrySetRemove() 369 assertFalse(entrySet.remove(Maps.immutableEntry(15, 'X'))); in testRowEntrySetRemove() 371 assertTrue(entrySet.remove(Maps.immutableEntry(10, 'X'))); in testRowEntrySetRemove() [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | MapsTest.java | 19 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; 34 import com.google.common.collect.Maps.EntryTransformer; 35 import com.google.common.collect.Maps.ValueDifferenceImpl; 82 HashMap<Integer, Integer> map = Maps.newHashMap(); in testHashMap() 91 HashMap<String, Integer> map = Maps.newHashMap(original); in testHashMapWithInitialMap() 101 Maps.newHashMap((Map<? extends Object, ? extends Object>) original); in testHashMapGeneralizesTypes() 107 Maps.capacity(-1); in testCapacityForNegativeSizeFails() 126 assertTrue(bucketsOf(Maps.newHashMapWithExpectedSize(0)) <= 1); in testNewHashMapWithExpectedSize_wontGrow() [all …]
|
D | MapsTransformValuesTest.java | 58 return Maps.transformValues(Maps.<String, String>newHashMap(), in makeEmptyMap() 64 Map<String, Integer> underlying = Maps.newHashMap(); in makePopulatedMap() 68 return Maps.transformValues(underlying, Functions.toStringFunction()); in makePopulatedMap() 97 Map<String, String> map = Maps.transformValues( in testTransformEmptyMapEquality() 99 assertMapsEqual(Maps.newHashMap(), map); in testTransformEmptyMapEquality() 103 Map<String, String> map = Maps.transformValues( in testTransformSingletonMapEquality() 112 Map<String, Integer> map = Maps.transformValues( in testTransformIdentityFunctionEquality() 118 Map<String, String> map = Maps.transformValues( in testTransformPutEntryIsUnsupported() 140 Map<String, Integer> underlying = Maps.newHashMap(); in testTransformRemoveEntry() 143 = Maps.transformValues(underlying, Functions.toStringFunction()); in testTransformRemoveEntry() [all …]
|
D | MapsTransformValuesUnmodifiableIteratorTest.java | 110 Map<String, Integer> underlying = Maps.newHashMap(); 111 return Maps.transformValues( 116 Map<String, Integer> underlying = Maps.newHashMap(); 120 return Maps.transformValues( 150 Map<String, String> map = Maps.transformValues( 152 assertMapsEqual(Maps.newHashMap(), map); 156 Map<String, String> map = Maps.transformValues( 165 Map<String, Integer> map = Maps.transformValues( 171 Map<String, String> map = Maps.transformValues( 193 Map<String, Integer> underlying = Maps.newHashMap(); [all …]
|
D | MapConstraintsTest.java | 102 Map<String, Integer> map = Maps.newLinkedHashMap(); in testConstrainedMapLegal() 119 Maps.immutableEntry(TEST_KEY, TEST_VALUE), in testConstrainedMapLegal() 120 Maps.immutableEntry("foo", 1), in testConstrainedMapLegal() 121 Maps.immutableEntry("bar", 2), in testConstrainedMapLegal() 122 Maps.immutableEntry("baz", 3)).inOrder(); in testConstrainedMapLegal() 126 Map<String, Integer> map = Maps.newLinkedHashMap(); in testConstrainedMapIllegal() 151 Maps.<String, Integer>newLinkedHashMap(), in testConstrainedBiMapLegal() 152 Maps.<Integer, String>newLinkedHashMap()) {}; in testConstrainedBiMapLegal() 167 Maps.immutableEntry(TEST_KEY, TEST_VALUE), in testConstrainedBiMapLegal() 168 Maps.immutableEntry("foo", 1), in testConstrainedBiMapLegal() [all …]
|
D | MapsSortedTransformValuesTest.java | 36 return Maps.transformValues(Maps.<String, String>newTreeMap(), in makeEmptyMap() 42 SortedMap<String, Integer> underlying = Maps.newTreeMap(); in makePopulatedMap() 46 return Maps.transformValues(underlying, Functions.toStringFunction()); in makePopulatedMap() 50 Map<String, String> sortedMap = Maps.newTreeMap(); in testTransformValuesSecretlySortedMap() 51 assertTrue(Maps.transformValues(sortedMap, Functions.<String>identity()) in testTransformValuesSecretlySortedMap()
|
D | MapsCollectionTest.java | 25 import com.google.common.collect.Maps.EntryTransformer; 74 return Maps.unmodifiableNavigableMap(map); in suite() 91 return Maps.unmodifiableBiMap(bimap); in suite() 123 return Maps.asMap(set, new Function<String, Integer>() { in suite() 188 return Maps.asMap(set, new Function<String, Integer>() { in suite() 249 return Maps.asMap(set, new Function<String, Integer>() { in suite() 299 Map<String, String> map = Maps.newHashMap(); in filterMapSuite() 302 return Maps.filterKeys(map, FILTER_KEYS); in filterMapSuite() 316 Map<String, String> map = Maps.newHashMap(); in filterMapSuite() 319 return Maps.filterValues(map, FILTER_VALUES); in filterMapSuite() [all …]
|
D | WellBehavedMapTest.java | 39 assertTrue(map.entrySet().contains(Maps.immutableEntry(Foo.X, 1))); in testEntrySet_contain() 40 assertTrue(map.entrySet().contains(Maps.immutableEntry(Foo.Y, new Integer(2)))); in testEntrySet_contain() 43 assertFalse(map.entrySet().contains(Maps.immutableEntry(Foo.X, 5))); in testEntrySet_contain() 46 assertFalse(map.entrySet().contains(Maps.immutableEntry(Foo.T, 0))); in testEntrySet_contain() 95 Map.Entry<Foo, Integer> entry = Maps.immutableEntry(Foo.Y, 2); in testEntrySet_remove() 102 assertFalse(entrySet.remove(Maps.immutableEntry(Foo.T, 4))); in testEntrySet_remove() 105 assertFalse(entrySet.remove(Maps.immutableEntry(Foo.Z, 5))); in testEntrySet_remove()
|
D | LinkedHashMultimapTest.java | 172 assertEquals(Maps.immutableEntry("foo", 5), entryIterator.next()); in assertOrderingReadOnly() 173 assertEquals(Maps.immutableEntry("bar", 4), entryIterator.next()); in assertOrderingReadOnly() 174 assertEquals(Maps.immutableEntry("foo", 3), entryIterator.next()); in assertOrderingReadOnly() 175 assertEquals(Maps.immutableEntry("cow", 2), entryIterator.next()); in assertOrderingReadOnly() 176 assertEquals(Maps.immutableEntry("bar", 1), entryIterator.next()); in assertOrderingReadOnly() 307 Maps.immutableEntry("foo", 2), in testEntriesIteration() 308 Maps.immutableEntry("foo", 3), in testEntriesIteration() 309 Maps.immutableEntry("bar", 4), in testEntriesIteration() 310 Maps.immutableEntry("bar", 5), in testEntriesIteration() 311 Maps.immutableEntry("foo", 6))); in testEntriesIteration() [all …]
|
D | ImmutableSortedMapTest.java | 296 .put(Maps.immutableEntry("one", 1)) in testBuilder_withImmutableEntry() 305 builder.put(Maps.immutableEntry("one", (Integer) null)); in testBuilder_withImmutableEntryAndNullContents() 310 builder.put(Maps.immutableEntry((String) null, 1)); in testBuilder_withImmutableEntryAndNullContents() 540 SortedMap<String, Integer> original = Maps.newTreeMap(); in testCopyOfSortedNatural() 554 SortedMap<String, Integer> original = Maps.newTreeMap(comparator); in testCopyOfSortedExplicit() 692 assertTrue(map.entrySet().contains(Maps.immutableEntry("a", new IntHolder(3)))); in testMutableValues() 714 Maps.immutableEntry("one", 1), in testHeadMapInclusive() 715 Maps.immutableEntry("three", 3)).inOrder(); in testHeadMapInclusive() 722 assertThat(map.entrySet()).has().exactly(Maps.immutableEntry("one", 1)).inOrder(); in testHeadMapExclusive() 729 assertThat(map.entrySet()).has().exactly(Maps.immutableEntry("three", 3), in testTailMapInclusive() [all …]
|
D | MultimapsTest.java | 20 import static com.google.common.collect.Maps.immutableEntry; 33 import com.google.common.collect.Maps.EntryTransformer; 407 Map<String, Integer> map = Maps.newHashMap(); in testForMap() 460 Maps.immutableEntry("foo", 1)); in testForMap() 462 Maps.immutableEntry( in testForMap() 478 Map<String, Integer> map = Maps.newHashMap(); in testForMapSerialization() 486 Map<String, Integer> map = Maps.newHashMap(); in testForMapRemoveAll() 501 Map<String, Integer> map = Maps.newHashMap(); in testForMapAsMap() 513 assertFalse(entries.contains(Maps.immutableEntry("foo", in testForMapAsMap() 515 assertFalse(entries.remove(Maps.immutableEntry("foo", in testForMapAsMap() [all …]
|
/external/guava/guava/src/com/google/common/collect/ |
D | AbstractTable.java | 38 return Maps.safeContainsKey(rowMap(), rowKey); in containsRow() 43 return Maps.safeContainsKey(columnMap(), columnKey); in containsColumn() 68 Map<C, V> row = Maps.safeGet(rowMap(), rowKey); in contains() 69 return row != null && Maps.safeContainsKey(row, columnKey); in contains() 74 Map<C, V> row = Maps.safeGet(rowMap(), rowKey); in get() 75 return (row == null) ? null : Maps.safeGet(row, columnKey); in get() 90 Map<C, V> row = Maps.safeGet(rowMap(), rowKey); in remove() 91 return (row == null) ? null : Maps.safeRemove(row, columnKey); in remove() 125 Map<C, V> row = Maps.safeGet(rowMap(), cell.getRowKey()); in contains() 127 row.entrySet(), Maps.immutableEntry(cell.getColumnKey(), cell.getValue())); in contains() [all …]
|
D | ForwardingMap.java | 145 Maps.putAllImpl(this, map); in standardPutAll() 196 protected class StandardKeySet extends Maps.KeySet<K, V> { 212 return Maps.containsKeyImpl(this, key); in standardContainsKey() 226 protected class StandardValues extends Maps.Values<K, V> { 242 return Maps.containsValueImpl(this, value); in standardContainsValue() 256 protected abstract class StandardEntrySet extends Maps.EntrySet<K, V> { 285 return Maps.equalsImpl(this, object); in standardEquals() 307 return Maps.toStringImpl(this); in standardToString()
|
D | Platform.java | 22 import com.google.common.collect.Maps.EntryTransformer; 75 ? Maps.transformEntries((NavigableMap<K, V1>) fromMap, transformer) in mapsTransformEntriesSortedMap() 76 : Maps.transformEntriesIgnoreNavigable(fromMap, transformer); in mapsTransformEntriesSortedMap() 82 ? Maps.asMap((NavigableSet<K>) set, function) in mapsAsMapSortedSet() 83 : Maps.asMapSortedIgnoreNavigable(set, function); in mapsAsMapSortedSet() 96 ? Maps.filterEntries((NavigableMap<K, V>) map, predicate) in mapsFilterSortedMap() 97 : Maps.filterSortedIgnoreNavigable(map, predicate); in mapsFilterSortedMap()
|
D | AbstractNavigableMap.java | 111 return Maps.keyOrNull(lowerEntry(key)); in lowerKey() 116 return Maps.keyOrNull(floorEntry(key)); in floorKey() 121 return Maps.keyOrNull(ceilingEntry(key)); in ceilingKey() 126 return Maps.keyOrNull(higherEntry(key)); in higherKey() 150 return new Maps.NavigableKeySet<K, V>(this); in navigableKeySet() 163 return new Maps.EntrySet<K, V>() { in entrySet() 186 private final class DescendingMap extends Maps.DescendingMap<K, V> {
|
D | FilteredEntryMultimap.java | 27 import com.google.common.collect.Maps.ImprovedAbstractMap; 71 return predicate.apply(Maps.immutableEntry(key, value)); in satisfies() 156 if (!collection.isEmpty() && predicate.apply(Maps.immutableEntry(key, collection))) { in removeEntriesIf() 219 return new Maps.KeySet<K, Collection<V>>(this) { in createKeySet() 222 return removeEntriesIf(Maps.<K>keyPredicateOnEntries(in(c))); in createKeySet() 227 return removeEntriesIf(Maps.<K>keyPredicateOnEntries(not(in(c)))); in createKeySet() 239 return new Maps.EntrySet<K, Collection<V>>() { in createEntrySet() 259 return Maps.immutableEntry(key, collection); in createEntrySet() 286 return new Maps.Values<K, Collection<V>>(AsMap.this) { 313 return removeEntriesIf(Maps.<Collection<V>>valuePredicateOnEntries(in(c))); [all …]
|
/external/caliper/caliper/src/main/java/com/google/caliper/model/ |
D | VmSpec.java | 23 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();
|
/external/testng/src/main/java/org/testng/reporters/jq/ |
D | Model.java | 10 import org.testng.collections.Maps; 21 private ListMultiMap<ISuite, ITestResult> m_model = Maps.newListMultiMap(); 23 private Map<String, String> m_testTags = Maps.newHashMap(); 24 private Map<ITestResult, String> m_testResultMap = Maps.newHashMap(); 25 private Map<ISuite, ResultsByClass> m_failedResultsByClass = Maps.newHashMap(); 26 private Map<ISuite, ResultsByClass> m_skippedResultsByClass = Maps.newHashMap(); 27 private Map<ISuite, ResultsByClass> m_passedResultsByClass = Maps.newHashMap(); 30 private Map<String, String> m_statusBySuiteName = Maps.newHashMap(); 31 private SetMultiMap<String, String> m_groupsBySuiteName = Maps.newSetMultiMap(); 32 private SetMultiMap<String, String> m_methodsByGroup = Maps.newSetMultiMap();
|
/external/jcommander/src/test/java/com/beust/jcommander/dynamic/ |
D | DynamicParameterTest.java | 5 import com.beust.jcommander.internal.Maps; 27 Assert.assertEquals(ds.params, Maps.newHashMap("a", "b", "c", "d")); in simple() 46 Assert.assertEquals(ds.params, Maps.newHashMap("a", "b")); in differentAssignment() 47 Assert.assertEquals(ds.params2, Maps.newHashMap("c", "d")); in differentAssignment()
|