Home
last modified time | relevance | path

Searched refs:Map (Results 1 – 25 of 5370) sorted by relevance

12345678910>>...215

/external/llvm/unittests/ADT/
DDenseMapTest.cpp82 T Map; member in __anonfcedd7480111::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 …]
DStringMapTest.cpp143 llvm::StringMap<int> Map(2); in TEST_F() local
145 Map["eins"] = 1; in TEST_F()
146 Map["zwei"] = 2; in TEST_F()
147 Map["drei"] = 3; in TEST_F()
148 Map.erase("drei"); in TEST_F()
149 Map.erase("eins"); in TEST_F()
150 Map["veir"] = 4; in TEST_F()
151 Map["funf"] = 5; in TEST_F()
153 EXPECT_EQ(3u, Map.size()); in TEST_F()
154 EXPECT_EQ(0, Map.lookup("eins")); in TEST_F()
[all …]
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/
DChainedMap.java9 import java.util.Map;
10 import java.util.Map.Entry;
21 …public static class M3<K2, K1, V> extends ChainedMap implements Iterable<Map.Entry<K2, Map<K1, V>>…
23 private M3(Map<K2, Object> map2, Map<K1, Object> map1, Class<V> valueClass) { in M3()
27 … private M3(Map<?, ?> map2, Constructor<Map<Object, Object>>[] constructors, int indexStart) { in M3() argument
37 public Map<K1, V> get(K2 key2) { in get()
38 Map<K1, V> map = (Map<K1, V>) super.mapBase.get(key2); in get()
49 public Iterator<Entry<K2, Map<K1, V>>> iterator() { in iterator()
50 return (Iterator<Entry<K2, Map<K1, V>>>) super.iterator(); in iterator()
57 … for (Entry<Object, Object> entry1 : ((Map<Object, Object>) entry0.getValue()).entrySet()) { in rows()
[all …]
DPathChecker.java3 import java.util.Map;
4 import java.util.Map.Entry;
17 private static final Map<XPathParts, Boolean> seen = new ConcurrentHashMap<>();
18 …private static Map<DtdType, Map<String,Map<String,Map<String,ValueStatus>>>> seenEAV = new Concurr…
32 public boolean checkPath(String path, Map<Row.R3<String,String,String>, ValueStatus> errors) { in checkPath()
40 …public boolean checkPath(XPathParts parts, Map<Row.R3<String, String, String>, ValueStatus> errors… in checkPath()
63 …ibute(DtdData dtdData, String element, String attribute, String attrValue, Map<R3<String, String, … in checkAttribute()
66Map<String, Map<String, Map<String, ValueStatus>>> elementToAttrToAttrValueToStatus = seenEAV.get(… in checkAttribute()
68Map<String, Map<String, Map<String, ValueStatus>>> subAlready = seenEAV.putIfAbsent(dtdData.dtdTyp… in checkAttribute()
73Map<String, Map<String, ValueStatus>> attrToAttrValueToStatus = elementToAttrToAttrValueToStatus.g… in checkAttribute()
[all …]
DStandardCodes.java24 import java.util.Map;
25 import java.util.Map.Entry;
72 private EnumMap<CodeType, Map<String, List<String>>> type_code_data = new EnumMap<>(
75 private EnumMap<CodeType, Map<String, List<String>>> type_name_codes = new EnumMap<>(
78 private EnumMap<CodeType, Map<String, String>> type_code_preferred = new EnumMap<>(
81 private Map<String, Set<String>> country_modernCurrency = new TreeMap<>();
83 private Map<CodeType, Set<String>> goodCodes = new TreeMap<>();
103 Map<String, List<String>> code_data = getCodeData(type); in getData()
118 Map<String, List<String>> code_data = getCodeData(type); in getFullData()
130 Map<String, List<String>> code_data = type_code_data.get(type); in getFullData()
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/benchmarks/
Dmap.bench.cpp115 auto& Map = Data.Maps.front(); in run() local
119 std::map<uint64_t, int64_t>(Map.begin(), Map.end())); in run()
121 std::map<uint64_t, int64_t> M{Map.begin(), Map.end()}; in run()
122 if (M != Map) in run()
136 auto& Map = Data.Maps.front(); in run() local
139 std::map<uint64_t, int64_t> M(Map); in run()
142 std::map<uint64_t, int64_t> M(Map); in run()
143 if (M != Map) in run()
158 for (auto& Map : Data.Maps) { in run() local
159 std::map<uint64_t, int64_t> M(std::move(Map)); in run()
[all …]
/external/slf4j/slf4j-api/src/main/java/org/slf4j/helpers/
DBasicMDCAdapter.java30 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/doclava/doclet_adapter/src/main/java/com/google/doclava/javadoc/
DContext.java26 import java.util.Map;
57 public final Map<TypeElement, ClassDocImpl> classes = new HashMap<>();
58 public final Map<TypeElement, AnnotationTypeDocImpl> annotations = new HashMap<>();
59 public final Map<PackageElement, PackageDocImpl> packages = new HashMap<>();
60 public final Map<ExecutableElement, AnnotationMethodDocImpl> annotationMethods =
62 public final Map<AnnotationValue, AnnotationValueImpl> annotationValues = new HashMap<>();
63 public final Map<ExecutableElement, ConstructorDocImpl> constructors = new HashMap<>();
64 public final Map<ExecutableElement, MethodDocImpl> methods = new HashMap<>();
65 public final Map<VariableElement, FieldDocImpl> fields = new HashMap<>();
66 public final Map<VariableElement, ParameterImpl> parameters = new HashMap<>();
[all …]
/external/dagger2/javatests/dagger/functional/
DMultibindingComponent.java23 import java.util.Map;
33 Map<String, String> map(); in map()
34 Map<String, String[]> mapOfArrays(); in mapOfArrays()
35 Map<String, Provider<String>> mapOfProviders(); in mapOfProviders()
39 Map<NestedAnnotationContainer.NestedWrappedKey, String> nestedKeyMap(); in nestedKeyMap()
40 Map<Class<? extends Number>, String> numberClassKeyMap(); in numberClassKeyMap()
41 Map<Class<?>, String> classKeyMap(); in classKeyMap()
42 Map<Long, String> longKeyMap(); in longKeyMap()
43 Map<Integer, String> integerKeyMap(); in integerKeyMap()
44 Map<Short, String> shortKeyMap(); in shortKeyMap()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/json/
DJsonTest.java22 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()
64Map<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/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/locale/
DLikelySubtagsBuilder.java10 import java.util.Map;
39 final Map<String, String> toCanonical = new HashMap<>();
79 for (Map.Entry<String, String> mapping : new TreeMap<>(toCanonical).entrySet()) { in AliasesBuilder()
135 Map<String, Map<String, Map<String, LSR>>> langTable = in build()
139 Map<LSR, Integer> lsrIndexes = new LinkedHashMap<>(); in build()
149 for (Map.Entry<String, Map<String, Map<String, LSR>>> ls : langTable.entrySet()) { in build()
157 Map<String, Map<String, LSR>> scriptTable = ls.getValue(); in build()
160 Map<String, LSR> regionTable = scriptTable.get(""); in build()
176 for (Map.Entry<String, Map<String, LSR>> sr : scriptTable.entrySet()) { in build()
186 Map<String, LSR> regionTable = sr.getValue(); in build()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/tool/locale/
DLikelySubtagsBuilder.java11 import java.util.Map;
42 final Map<String, String> toCanonical = new HashMap<>();
82 for (Map.Entry<String, String> mapping : new TreeMap<>(toCanonical).entrySet()) { in AliasesBuilder()
138 Map<String, Map<String, Map<String, LSR>>> langTable = in build()
142 Map<LSR, Integer> lsrIndexes = new LinkedHashMap<>(); in build()
152 for (Map.Entry<String, Map<String, Map<String, LSR>>> ls : langTable.entrySet()) { in build()
160 Map<String, Map<String, LSR>> scriptTable = ls.getValue(); in build()
163 Map<String, LSR> regionTable = scriptTable.get(""); in build()
179 for (Map.Entry<String, Map<String, LSR>> sr : scriptTable.entrySet()) { in build()
189 Map<String, LSR> regionTable = sr.getValue(); in build()
[all …]
/external/gson/gson/src/test/java/com/google/gson/functional/
DMapTest.java37 import java.util.Map;
62 Map<String, Integer> map = new LinkedHashMap<>(); in testMapSerialization()
65 Type typeOfMap = new TypeToken<Map<String, Integer>>() {}.getType(); in testMapSerialization()
73 Type typeOfMap = new TypeToken<Map<String,Integer>>(){}.getType(); in testMapDeserialization()
74 Map<String, Integer> target = gson.fromJson(json, typeOfMap); in testMapDeserialization()
80 Map<String, Object> map = new LinkedHashMap<>(); in testObjectMapSerialization()
89 Map<String, Integer> map = new LinkedHashMap<>(); in testMapSerializationEmpty()
90 Type typeOfMap = new TypeToken<Map<String, Integer>>() {}.getType(); in testMapSerializationEmpty()
96 Type typeOfMap = new TypeToken<Map<String, Integer>>() {}.getType(); in testMapDeserializationEmpty()
97 Map<String, Integer> map = gson.fromJson("{}", typeOfMap); in testMapDeserializationEmpty()
[all …]
/external/llvm/include/llvm/IR/
DValueMap.h87 MapT Map; variable
102 : Map(NumInitBuckets), Data() {} in Map() function
104 : Map(NumInitBuckets), Data(Data) {} in Map() function
130 inline iterator begin() { return iterator(Map.begin()); } in begin()
131 inline iterator end() { return iterator(Map.end()); } in end()
132 inline const_iterator begin() const { return const_iterator(Map.begin()); } in begin()
133 inline const_iterator end() const { return const_iterator(Map.end()); } in end()
135 bool empty() const { return Map.empty(); } in empty()
136 size_type size() const { return Map.size(); } in size()
139 void resize(size_t Size) { Map.resize(Size); } in resize()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DValueMap.h93 MapT Map; variable
104 : Map(NumInitBuckets), Data() {} in Map() function
106 : Map(NumInitBuckets), Data(Data) {} in Map() function
135 inline iterator begin() { return iterator(Map.begin()); } in begin()
136 inline iterator end() { return iterator(Map.end()); } in end()
137 inline const_iterator begin() const { return const_iterator(Map.begin()); } in begin()
138 inline const_iterator end() const { return const_iterator(Map.end()); } in end()
140 bool empty() const { return Map.empty(); } in empty()
141 size_type size() const { return Map.size(); } in size()
144 void resize(size_t Size) { Map.resize(Size); } in resize()
[all …]
/external/eigen/test/
Dmapstaticmethods.cpp34 PlainObjectType::Map(ptr).setZero(); in run()
36 PlainObjectType::Map(const_ptr).sum(); in run()
39 PlainObjectType::Map(ptr, InnerStride<>(i)).setZero(); in run()
41 PlainObjectType::Map(const_ptr, InnerStride<>(i)).sum(); in run()
44 PlainObjectType::Map(ptr, InnerStride<2>()).setZero(); in run()
46 PlainObjectType::Map(const_ptr, InnerStride<4>()).sum(); in run()
49 PlainObjectType::Map(ptr, OuterStride<>(i)).setZero(); in run()
51 PlainObjectType::Map(const_ptr, OuterStride<>(i)).sum(); in run()
54 PlainObjectType::Map(ptr, OuterStride<2>()).setZero(); in run()
56 PlainObjectType::Map(const_ptr, OuterStride<4>()).sum(); in run()
[all …]
Dmapstride.cpp28 Map<VectorType, Alignment, InnerStride<3> > map(array, size); in map_class_vector()
38 Map<VectorType, Unaligned, InnerStride<Dynamic> > map(array, size, InnerStride<Dynamic>(2)); in map_class_vector()
81Map<MatrixType, Alignment, OuterStride<Dynamic> > map(array, rows, cols, OuterStride<Dynamic>(m.in… in map_class_matrix()
107 Map<MatrixType, Alignment, OuterStride<OuterStrideAtCompileTime> > in map_class_matrix()
129Map<MatrixType, Alignment, Stride<Dynamic,Dynamic> > map(array, rows, cols, Stride<Dynamic,Dynamic… in map_class_matrix()
151Map<MatrixType, Alignment, InnerStride<Dynamic> > map(array, rows, cols, InnerStride<Dynamic>(2)); in map_class_matrix()
167 Matrix<Scalar,Dynamic,1>::Map(a_array1, arraysize+1).setRandom(); in map_class_matrix()
172Map<MatrixType, Alignment, OuterStride<> > map1(array, rows, cols, OuterStride<>( outerstride)); in map_class_matrix()
173Map<MatrixType, Unaligned, OuterStride<> > map2(array+(m.outerSize()-1)*outerstride, rows, cols, O… in map_class_matrix()
179Map<MatrixType, Alignment, OuterStride<> > map1(array, rows, cols, OuterStride<>( outerstride)); in map_class_matrix()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/
DMapTagTest.java18 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()
DMergeTagTest.java19 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/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-model/
Dcom_github_javaparser_symbolsolver_model_typesystem_parametrization_TypeParametersMap.txt1 …Line 43) this.nameToValue.putAll(nameToValue) ==> java.util.Map.putAll(java.util.Map<? extends K, …
2 …Line 45) this.nameToDeclaration.putAll(nameToDeclaration) ==> java.util.Map.putAll(java.util.Map<?…
4 Line 55) nameToValue.put(qualifiedName, value) ==> java.util.Map.put(K, V)
5 Line 56) nameToDeclaration.put(qualifiedName, typeParameter) ==> java.util.Map.put(K, V)
6 Line 68) nameToValue.equals(that.nameToValue) ==> java.util.Map.equals(java.lang.Object)
7 …Line 68) nameToDeclaration.equals(that.nameToDeclaration) ==> java.util.Map.equals(java.lang.Objec…
8 Line 74) nameToValue.hashCode() ==> java.util.Map.hashCode()
10 …Line 93) this.nameToValue.putAll(nameToValue) ==> java.util.Map.putAll(java.util.Map<? extends K, …
11 …Line 95) this.nameToDeclaration.putAll(nameToDeclaration) ==> java.util.Map.putAll(java.util.Map<?…
13 Line 100) nameToValue.containsKey(qualifiedName) ==> java.util.Map.containsKey(java.lang.Object)
[all …]
/external/snakeyaml/src/test/java/examples/collections/
DTypeSafeMapTest.java19 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-tests/benchmark/com/google/common/collect/
DMapBenchmark.java28 import java.util.Map;
45 Map<Element, Element> create(Collection<Element> keys) { in create()
46 Map<Element, Element> map = Maps.newHashMap(); in create()
55 Map<Element, Element> create(Collection<Element> keys) { in create()
56 Map<Element, Element> map = Maps.newLinkedHashMap(); in create()
65 Map<Element, Element> create(Collection<Element> keys) { in create()
71 Map<Element, Element> create(Collection<Element> keys) { in create()
77 Map<Element, Element> create(Collection<Element> keys) { in create()
78 Map<Element, Element> map = Maps.newTreeMap(); in create()
87 Map<Element, Element> create(Collection<Element> keys) { in create()
[all …]
/external/guava/android/guava-tests/benchmark/com/google/common/collect/
DMapBenchmark.java28 import java.util.Map;
45 Map<Element, Element> create(Collection<Element> keys) { in create()
46 Map<Element, Element> map = Maps.newHashMap(); in create()
55 Map<Element, Element> create(Collection<Element> keys) { in create()
56 Map<Element, Element> map = Maps.newLinkedHashMap(); in create()
65 Map<Element, Element> create(Collection<Element> keys) { in create()
71 Map<Element, Element> create(Collection<Element> keys) { in create()
77 Map<Element, Element> create(Collection<Element> keys) { in create()
78 Map<Element, Element> map = Maps.newTreeMap(); in create()
87 Map<Element, Element> create(Collection<Element> keys) { in create()
[all …]
/external/cronet/third_party/protobuf/js/
Dmap.js64 jspb.Map = function(arr, opt_valueCtor) { class in jspb
89 jspb.Map.prototype.loadFromArray_ = function() {
94 this.map_[key.toString()] = new jspb.Map.Entry_(key, value);
104 jspb.Map.prototype.toArray = function() {
148 jspb.Map.prototype.toObject = function(includeInstance, valueToObject) {
179 jspb.Map.fromObject = function(entries, valueCtor, valueFromObject) {
180 var result = new jspb.Map([], valueCtor);
198 jspb.Map.ArrayIteratorIterable_ = function(arr) {
208 jspb.Map.ArrayIteratorIterable_.prototype.next = function() {
218 jspb.Map.ArrayIteratorIterable_.prototype[Symbol.iterator] = function() {
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/
DChapter2_3Test.java19 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()

12345678910>>...215