/external/llvm/unittests/ADT/ |
D | DenseMapTest.cpp | 82 T Map; member in __anon318ca0080111::DenseMapTest 114 EXPECT_EQ(0u, this->Map.size()); in TYPED_TEST() 115 EXPECT_TRUE(this->Map.empty()); in TYPED_TEST() 118 EXPECT_TRUE(this->Map.begin() == this->Map.end()); in TYPED_TEST() 121 EXPECT_FALSE(this->Map.count(this->getKey())); in TYPED_TEST() 122 EXPECT_TRUE(this->Map.find(this->getKey()) == this->Map.end()); in TYPED_TEST() 125 this->Map.lookup(this->getKey())); in TYPED_TEST() 132 this->Map.lookup(this->getKey())); in TYPED_TEST() 138 const TypeParam &ConstMap = this->Map; in TYPED_TEST() 146 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST() [all …]
|
/external/v8/src/ |
D | transitions.h | 39 static void Insert(Handle<Map> map, Handle<Name> name, Handle<Map> target, 42 static Map* SearchTransition(Map* map, PropertyKind kind, Name* name, 44 static MaybeHandle<Map> SearchTransition(Handle<Map> map, PropertyKind kind, in SearchTransition() 47 if (Map* transition = SearchTransition(*map, kind, *name, attributes)) { in SearchTransition() 50 return MaybeHandle<Map>(); in SearchTransition() 53 static Map* SearchSpecial(Map* map, Symbol* name); 55 static Handle<Map> FindTransitionToField(Handle<Map> map, Handle<Name> name); 57 static Handle<String> ExpectedTransitionKey(Handle<Map> map); 59 static Handle<Map> ExpectedTransitionTarget(Handle<Map> map) { in ExpectedTransitionTarget() 61 return Handle<Map>(GetSimpleTransition(map->raw_transitions())); in ExpectedTransitionTarget() [all …]
|
D | contexts.h | 166 V(ARRAY_BUFFER_MAP_INDEX, Map, array_buffer_map) \ 172 V(BOUND_FUNCTION_WITH_CONSTRUCTOR_MAP_INDEX, Map, \ 174 V(BOUND_FUNCTION_WITHOUT_CONSTRUCTOR_MAP_INDEX, Map, \ 187 V(FAST_ALIASED_ARGUMENTS_MAP_INDEX, Map, fast_aliased_arguments_map) \ 195 V(GENERATOR_OBJECT_PROTOTYPE_MAP_INDEX, Map, generator_object_prototype_map) \ 205 V(ITERATOR_RESULT_MAP_INDEX, Map, iterator_result_map) \ 206 V(JS_ARRAY_FAST_SMI_ELEMENTS_MAP_INDEX, Map, \ 208 V(JS_ARRAY_FAST_HOLEY_SMI_ELEMENTS_MAP_INDEX, Map, \ 210 V(JS_ARRAY_FAST_ELEMENTS_MAP_INDEX, Map, js_array_fast_elements_map_index) \ 211 V(JS_ARRAY_FAST_HOLEY_ELEMENTS_MAP_INDEX, Map, \ [all …]
|
/external/slf4j/slf4j-api/src/main/java/org/slf4j/helpers/ |
D | BasicMDCAdapter.java | 30 import java.util.Map; 46 …private InheritableThreadLocal<Map<String, String>> inheritableThreadLocal = new InheritableThread… 76 Map<String, String> map = (Map<String, String>) inheritableThreadLocal.get(); in put() 88 Map<String, String> Map = (Map<String, String>) inheritableThreadLocal.get(); in get() local 89 if ((Map != null) && (key != null)) { in get() 90 return (String) Map.get(key); in get() 100 Map<String, String> map = (Map<String, String>) inheritableThreadLocal.get(); in remove() 110 Map<String, String> map = (Map<String, String>) inheritableThreadLocal.get(); in clear() 130 Map<String, String> map = (Map<String, String>) inheritableThreadLocal.get(); in getKeys() 143 public Map<String, String> getCopyOfContextMap() { in getCopyOfContextMap() [all …]
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/json/ |
D | JsonTest.java | 22 import java.util.Map; 30 Map<String, Integer> map = (Map<String, Integer>) loader.load("{a: 1}"); in testLooksLikeJson() 35 Map<String, Integer> map = (Map<String, Integer>) loader.load("{\"a\": 1}"); in testSpaceAfterColon() 49 Map<String, Integer> map = (Map<String, Integer>) loader.load("{\"a\":1}"); in testNoSpace() 54 Map<String, Integer> map = (Map<String, Integer>) loader.load("{\"a\":\"1\"}"); in testNoSpaceBothDoubleQuoted() 59 Map<String, Integer> map = (Map<String, Integer>) loader.load("{'a':1}"); in testNoSpaceSingleQouted() 64 … Map<String, Object> map = (Map<String, Object>) loader.load("{\"a\":1,\"b\":true,\"c\":\"foo\"}"); in testManyValues() 72 Map<String, Object> map = (Map<String, Object>) loader.load("{a: null}"); in testConstructNull() 78 Map<String, Object> map = (Map<String, Object>) loader.load("{a: }"); in testConstructNullFromEmpty() 84 Map<String, Object> map = (Map<String, Object>) loader.load("{a: true}"); in testConstructBoolean()
|
/external/llvm/include/llvm/IR/ |
D | ValueMap.h | 86 MapT Map; variable 98 : Map(NumInitBuckets), Data() {} in Map() function 100 : Map(NumInitBuckets), Data(Data) {} in Map() function 111 inline iterator begin() { return iterator(Map.begin()); } in begin() 112 inline iterator end() { return iterator(Map.end()); } in end() 113 inline const_iterator begin() const { return const_iterator(Map.begin()); } in begin() 114 inline const_iterator end() const { return const_iterator(Map.end()); } in end() 116 bool empty() const { return Map.empty(); } in empty() 117 size_type size() const { return Map.size(); } in size() 120 void resize(size_t Size) { Map.resize(Size); } in resize() [all …]
|
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/ |
D | MultibindingComponent.java | 21 import java.util.Map; 35 Map<String, String> map(); in map() 36 Map<String, String[]> mapOfArrays(); in mapOfArrays() 37 Map<String, Provider<String>> mapOfProviders(); in mapOfProviders() 41 Map<NestedAnnotationContainer.NestedWrappedKey, String> nestedKeyMap(); in nestedKeyMap() 42 Map<Class<? extends Number>, String> numberClassKeyMap(); in numberClassKeyMap() 43 Map<Class<?>, String> classKeyMap(); in classKeyMap() 44 Map<Long, String> longKeyMap(); in longKeyMap() 45 Map<Integer, String> integerKeyMap(); in integerKeyMap() 46 Map<Short, String> shortKeyMap(); in shortKeyMap() [all …]
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/ |
D | MapTagTest.java | 18 import java.util.Map; 30 Map<String, Map<String, String>> map = (Map<String, Map<String, String>>) document in testMap() 33 Map<String, String> map1 = (Map<String, String>) map.get("Block style"); in testMap() 39 Map<String, String> map2 = (Map<String, String>) map.get("Flow style"); in testMap() 52 Map<String, Map<String, String>> map = (Map<String, Map<String, String>>) document in testMapYaml11() 55 Map<String, String> map1 = (Map<String, String>) map.get("Block style"); in testMapYaml11() 61 Map<String, String> map2 = (Map<String, String>) map.get("Flow style"); in testMapYaml11()
|
D | MergeTagTest.java | 19 import java.util.Map; 33 Map<Object, Object> center = (Map<Object, Object>) list.get(0); in testMerge() 38 Map<Object, Object> left = (Map<Object, Object>) list.get(1); in testMerge() 43 Map<Object, Object> big = (Map<Object, Object>) list.get(2); in testMerge() 47 Map<Object, Object> small = (Map<Object, Object>) list.get(3); in testMerge() 51 Map<Object, Object> explicit = (Map<Object, Object>) list.get(4); in testMerge() 58 Map<Object, Object> merged1 = (Map<Object, Object>) list.get(5); in testMerge() 62 Map<Object, Object> merged2 = (Map<Object, Object>) list.get(6); in testMerge() 66 Map<Object, Object> merged3 = (Map<Object, Object>) list.get(7); in testMerge()
|
/external/eigen/test/ |
D | mapstaticmethods.cpp | 30 PlainObjectType::Map(ptr).setZero(); in run() 32 PlainObjectType::Map(const_ptr).sum(); in run() 35 PlainObjectType::Map(ptr, InnerStride<>(i)).setZero(); in run() 37 PlainObjectType::Map(const_ptr, InnerStride<>(i)).sum(); in run() 40 PlainObjectType::Map(ptr, InnerStride<2>()).setZero(); in run() 42 PlainObjectType::Map(const_ptr, InnerStride<4>()).sum(); in run() 45 PlainObjectType::Map(ptr, OuterStride<>(i)).setZero(); in run() 47 PlainObjectType::Map(const_ptr, OuterStride<>(i)).sum(); in run() 50 PlainObjectType::Map(ptr, OuterStride<2>()).setZero(); in run() 52 PlainObjectType::Map(const_ptr, OuterStride<4>()).sum(); in run() [all …]
|
D | mapped_matrix.cpp | 29 Map<VectorType, Aligned>(array1, size) = VectorType::Random(size); in map_class_vector() 30 Map<VectorType, Aligned>(array2, size) = Map<VectorType,Aligned>(array1, size); in map_class_vector() 31 Map<VectorType>(array3unaligned, size) = Map<VectorType>(array1, size); in map_class_vector() 32 VectorType ma1 = Map<VectorType, Aligned>(array1, size); in map_class_vector() 33 VectorType ma2 = Map<VectorType, Aligned>(array2, size); in map_class_vector() 34 VectorType ma3 = Map<VectorType>(array3unaligned, size); in map_class_vector() 39 VERIFY_RAISES_ASSERT((Map<VectorType,Aligned>(array3unaligned, size))) in map_class_vector() 62 Map<MatrixType, Aligned>(array1, rows, cols) = MatrixType::Ones(rows,cols); in map_class_matrix() 63 Map<MatrixType>(array2, rows, cols) = Map<MatrixType>(array1, rows, cols); in map_class_matrix() 64 Map<MatrixType>(array3unaligned, rows, cols) = Map<MatrixType>(array1, rows, cols); in map_class_matrix() [all …]
|
/external/v8/test/cctest/ |
D | test-field-type-tracking.cc | 253 bool Check(Map* map, int expected_nof) const { in Check() 273 bool Check(Map* map) const { return Check(map, number_of_properties_); } in Check() 281 Handle<Map> AddDataField(Handle<Map> map, PropertyAttributes attributes, in AddDataField() 289 return Map::CopyWithField(map, name, heap_type, attributes, representation, in AddDataField() 294 Handle<Map> AddDataConstant(Handle<Map> map, PropertyAttributes attributes, in AddDataConstant() 301 return Map::CopyWithConstant(map, name, value, attributes, in AddDataConstant() 306 Handle<Map> TransitionToDataField(Handle<Map> map, in TransitionToDataField() 316 return Map::TransitionToDataProperty( in TransitionToDataField() 320 Handle<Map> TransitionToDataConstant(Handle<Map> map, in TransitionToDataConstant() 328 return Map::TransitionToDataProperty( in TransitionToDataConstant() [all …]
|
/external/snakeyaml/src/test/java/examples/collections/ |
D | TypeSafeMapTest.java | 19 import java.util.Map; 33 Map<String, Integer> data = new LinkedHashMap<String, Integer>(); in testDumpMap() 38 Map<String, Developer2> developers = new LinkedHashMap<String, Developer2>(); in testDumpMap() 51 Map<String, Integer> data = new LinkedHashMap<String, Integer>(); in testDumpMap2() 55 Map<String, Developer2> developers = new LinkedHashMap<String, Developer2>(); in testDumpMap2() 73 Map<String, Integer> data = parsed.getData(); in testLoadMap() 78 Map<String, Developer2> developers = parsed.getDevelopers(); in testLoadMap() 88 private Map<String, Integer> data; 90 private Map<String, Developer2> developers; 96 public Map<String, Integer> getData() { in getData() [all …]
|
/external/guava/guava/src/com/google/common/collect/ |
D | StandardTable.java | 38 import java.util.Map; 39 import java.util.Map.Entry; 68 @GwtTransient final Map<R, Map<C, V>> backingMap; 69 @GwtTransient final Supplier<? extends Map<C, V>> factory; 71 StandardTable(Map<R, Map<C, V>> backingMap, in StandardTable() 72 Supplier<? extends Map<C, V>> factory) { in StandardTable() 88 for (Map<C, V> map : backingMap.values()) { in containsColumn() 116 for (Map<C, V> map : backingMap.values()) { in size() 128 private Map<C, V> getOrCreate(R rowKey) { in getOrCreate() 129 Map<C, V> map = backingMap.get(rowKey); in getOrCreate() [all …]
|
D | Tables.java | 33 import java.util.Map; 158 public Map<C, V> column(R columnKey) { in column() 168 public Map<R, Map<C, V>> columnMap() { in columnMap() 214 public Map<R, V> row(C rowKey) { in row() 224 public Map<C, Map<R, V>> rowMap() { in rowMap() 298 Map<R, Map<C, V>> backingMap, Supplier<? extends Map<C, V>> factory) { in newCustomTable() 381 @Override public Map<C, V2> row(R rowKey) { in row() 385 @Override public Map<R, V2> column(C columnKey) { in column() 417 @Override public Map<R, Map<C, V2>> rowMap() { in rowMap() 418 Function<Map<C, V1>, Map<C, V2>> rowFunction = in rowMap() [all …]
|
D | SparseImmutableTable.java | 20 import java.util.Map; 32 private final ImmutableMap<R, Map<C, V>> rowMap; 33 private final ImmutableMap<C, Map<R, V>> columnMap; 39 Map<R, Integer> rowIndex = Maps.newHashMap(); in SparseImmutableTable() 40 Map<R, Map<C, V>> rows = Maps.newLinkedHashMap(); in SparseImmutableTable() 45 Map<C, Map<R, V>> columns = Maps.newLinkedHashMap(); in SparseImmutableTable() 58 Map<C, V> thisRow = rows.get(rowKey); in SparseImmutableTable() 69 ImmutableMap.Builder<R, Map<C, V>> rowBuilder = ImmutableMap.builder(); in SparseImmutableTable() 70 for (Map.Entry<R, Map<C, V>> row : rows.entrySet()) { in SparseImmutableTable() 75 ImmutableMap.Builder<C, Map<R, V>> columnBuilder = ImmutableMap.builder(); in SparseImmutableTable() [all …]
|
/external/guava/guava-tests/benchmark/com/google/common/collect/ |
D | MapBenchmark.java | 29 import java.util.Map; 45 @Override Map<Element, Element> create(Collection<Element> keys) { in create() 46 Map<Element, Element> map = Maps.newHashMap(); in create() 54 @Override Map<Element, Element> create(Collection<Element> keys) { in create() 55 Map<Element, Element> map = Maps.newLinkedHashMap(); in create() 63 @Override Map<Element, Element> create(Collection<Element> keys) { in create() 68 @Override Map<Element, Element> create(Collection<Element> keys) { in create() 73 @Override Map<Element, Element> create(Collection<Element> keys) { in create() 74 Map<Element, Element> map = Maps.newTreeMap(); in create() 82 @Override Map<Element, Element> create(Collection<Element> keys) { in create() [all …]
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ |
D | Chapter2_3Test.java | 19 import java.util.Map; 62 Map<String, String> map = (Map<String, String>) document.getNativeData(); in testExample_2_16() 74 Map<String, String> map = (Map<String, String>) document.getNativeData(); in testExample_2_17() 87 Map<String, String> map = (Map<String, String>) document.getNativeData(); in testExample_2_17_unicode() 94 Map<String, String> map = (Map<String, String>) document.getNativeData(); in testExample_2_17_control() 101 Map<String, String> map = (Map<String, String>) document.getNativeData(); in testExample_2_17_hexesc() 108 Map<String, String> map = (Map<String, String>) document.getNativeData(); in testExample_2_17_single() 115 Map<String, String> map = (Map<String, String>) document.getNativeData(); in testExample_2_17_quoted() 122 Map<String, String> map = (Map<String, String>) document.getNativeData(); in testExample_2_17_tie_fighter() 129 Map<String, String> map = (Map<String, String>) document.getNativeData(); in testExample_2_18()
|
D | Chapter2_2Test.java | 19 import java.util.Map; 51 Map<String, String> map1 = (Map<String, String>) list.get(0); in testExample_2_8() 56 Map<String, String> map2 = (Map<String, String>) list.get(1); in testExample_2_8() 66 Map<String, Object> map = (Map<String, Object>) document.getNativeData(); in testExample_2_9() 81 Map<String, Object> map = (Map<String, Object>) document.getNativeData(); in testExample_2_10() 89 Map<Object, Object> map = (Map<Object, Object>) document.getNativeData(); in testExample_2_11() 100 List<Map<Object, Object>> list = (List<Map<Object, Object>>) document.getNativeData(); in testExample_2_12() 102 Map<Object, Object> map1 = (Map<Object, Object>) list.get(0); in testExample_2_12() 105 Map<Object, Object> map2 = (Map<Object, Object>) list.get(1); in testExample_2_12() 108 Map<Object, Object> map3 = (Map<Object, Object>) list.get(2); in testExample_2_12()
|
/external/eigen/test/eigen2/ |
D | eigen2_map.cpp | 24 Map<VectorType, Aligned>(array1, size) = VectorType::Random(size); in map_class_vector() 25 Map<VectorType>(array2, size) = Map<VectorType>(array1, size); in map_class_vector() 26 …Map<VectorType>(array3unaligned, size) = Map<VectorType>((const Scalar*)array1, size); // test non… in map_class_vector() 27 VectorType ma1 = Map<VectorType>(array1, size); in map_class_vector() 28 VectorType ma2 = Map<VectorType, Aligned>(array2, size); in map_class_vector() 29 VectorType ma3 = Map<VectorType>(array3unaligned, size); in map_class_vector() 52 Map<MatrixType, Aligned>(array1, rows, cols) = MatrixType::Ones(rows,cols); in map_class_matrix() 53 …Map<MatrixType>(array2, rows, cols) = Map<MatrixType>((const Scalar*)array1, rows, cols); // test … in map_class_matrix() 54 Map<MatrixType>(array3unaligned, rows, cols) = Map<MatrixType>(array1, rows, cols); in map_class_matrix() 55 MatrixType ma1 = Map<MatrixType>(array1, rows, cols); in map_class_matrix() [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | MapsTransformValuesTest.java | 26 import java.util.Map; 57 protected Map<String, String> makeEmptyMap() { in makeEmptyMap() 63 protected Map<String, String> makePopulatedMap() { in makePopulatedMap() 64 Map<String, Integer> underlying = Maps.newHashMap(); in makePopulatedMap() 82 private void assertMapsEqual(Map<?, ?> expected, Map<?, ?> map) { in assertMapsEqual() argument 97 Map<String, String> map = Maps.transformValues( in testTransformEmptyMapEquality() 103 Map<String, String> map = Maps.transformValues( in testTransformSingletonMapEquality() 105 Map<String, String> expected = ImmutableMap.of("a", "1"); in testTransformSingletonMapEquality() 111 Map<String, Integer> underlying = ImmutableMap.of("a", 1); in testTransformIdentityFunctionEquality() 112 Map<String, Integer> map = Maps.transformValues( in testTransformIdentityFunctionEquality() [all …]
|
D | MapsTransformValuesUnmodifiableIteratorTest.java | 26 import java.util.Map; 47 final Map<K, V> delegate; 49 UnmodifiableIteratorMap(Map<K, V> delegate) { in UnmodifiableIteratorMap() 53 @Override protected Map<K, V> delegate() { in delegate() 109 @Override protected Map<String, String> makeEmptyMap() { 110 Map<String, Integer> underlying = Maps.newHashMap(); 115 @Override protected Map<String, String> makePopulatedMap() { 116 Map<String, Integer> underlying = Maps.newHashMap(); 135 private void assertMapsEqual(Map<?, ?> expected, Map<?, ?> map) { 150 Map<String, String> map = Maps.transformValues( [all …]
|
/external/v8/src/heap/ |
D | objects-visiting.h | 75 V(Map) \ 114 static VisitorId GetVisitorId(Map* map); 151 inline Callback GetVisitor(Map* map); 194 INLINE(static ReturnType Visit(Map* map, HeapObject* object)) { in INLINE() 202 static inline ReturnType VisitSpecialized(Map* map, HeapObject* object) { in VisitSpecialized() 217 INLINE(static ReturnType Visit(Map* map, HeapObject* object)) { in INLINE() 245 INLINE(static int IterateBody(Map* map, HeapObject* obj)) { in INLINE() 265 INLINE(static int VisitByteArray(Map* map, HeapObject* object)) { in INLINE() 269 INLINE(static int VisitFixedDoubleArray(Map* map, HeapObject* object)) { in INLINE() 274 INLINE(static int VisitJSObject(Map* map, HeapObject* object)) { in INLINE() [all …]
|
/external/testng/src/test/java/test/ |
D | BaseTest.java | 13 import java.util.Map; 91 private Map<Long, XmlTest> m_tests= new HashMap<>(); 92 private Map<Long, Map> m_passedTests= new HashMap<>(); 93 private Map<Long, Map> m_failedTests= new HashMap<>(); 94 private Map<Long, Map> m_skippedTests= new HashMap<>(); 95 private Map<Long, XmlTest> m_testConfigs= new HashMap<>(); 96 private Map<Long, Map> m_passedConfigs= new HashMap<>(); 97 private Map<Long, Map> m_failedConfigs= new HashMap<>(); 98 private Map<Long, Map> m_skippedConfigs= new HashMap<>(); 99 private Map<Long, Map> m_failedButWithinSuccessPercentageTests= new HashMap<>(); [all …]
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | BlotMapVector.h | 20 MapTy Map; variable 36 assert(Vector.size() >= Map.size()); // May differ due to blotting. in ~BlotMapVector() 37 for (typename MapTy::const_iterator I = Map.begin(), E = Map.end(); I != E; in ~BlotMapVector() 44 assert(!I->first || (Map.count(I->first) && in ~BlotMapVector() 45 Map[I->first] == size_t(I - Vector.begin()))); in ~BlotMapVector() 51 Map.insert(std::make_pair(Arg, size_t(0))); 63 Map.insert(std::make_pair(InsertPair.first, size_t(0))); in insert() 74 typename MapTy::iterator It = Map.find(Key); in find() 75 if (It == Map.end()) in find() 81 typename MapTy::const_iterator It = Map.find(Key); in find() [all …]
|