Home
last modified time | relevance | path

Searched refs:map2 (Results 1 – 25 of 79) sorted by relevance

1234

/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/
DMapTagTest.java39 Map<String, String> map2 = (Map<String, String>) map.get("Flow style"); in testMap() local
40 assertEquals(3, map2.size()); in testMap()
41 assertEquals("Evans", map2.get("Clark")); in testMap()
42 assertEquals("Ingerson", map2.get("Brian")); in testMap()
43 assertEquals("Ben-Kiki", map2.get("Oren")); in testMap()
45 assertEquals(map1, map2); in testMap()
46 assertNotSame(map1, map2); in testMap()
61 Map<String, String> map2 = (Map<String, String>) map.get("Flow style"); in testMapYaml11() local
62 assertEquals(3, map2.size()); in testMapYaml11()
63 assertEquals("Evans", map2.get("Clark")); in testMapYaml11()
[all …]
DOmapTagTest.java39 Map<String, String> map2 = (Map<String, String>) map.get("Numbers"); in testOmap() local
40 assertEquals(3, map2.size()); in testOmap()
41 assertEquals(new Integer(1), map2.get("one")); in testOmap()
42 assertEquals(new Integer(2), map2.get("two")); in testOmap()
43 assertEquals(new Integer(3), map2.get("three")); in testOmap()
/external/libcups/cups/
Dtestpwg.c418 *map2; /* Map from saved */ in test_ppd_cache() local
508 for (i = pc->num_sources, map = pc->sources, map2 = pc2->sources; in test_ppd_cache()
510 i --, map ++, map2 ++) in test_ppd_cache()
512 if (strcmp(map2->pwg, map->pwg) || in test_ppd_cache()
513 strcmp(map2->ppd, map->ppd)) in test_ppd_cache()
518 if (strcmp(map->pwg, map2->pwg)) in test_ppd_cache()
520 map2->pwg, map->pwg); in test_ppd_cache()
522 if (strcmp(map2->ppd, map->ppd)) in test_ppd_cache()
524 map2->ppd, map->ppd); in test_ppd_cache()
531 for (i = pc->num_types, map = pc->types, map2 = pc2->types; in test_ppd_cache()
[all …]
/external/mesa3d/src/mesa/vbo/
Dvbo_exec_eval.c44 assert(attr < ARRAY_SIZE(exec->eval.map2)); in clear_active_eval2()
45 exec->eval.map2[attr].map = NULL; in clear_active_eval2()
61 assert(attr < ARRAY_SIZE(exec->eval.map2)); in set_active_eval2()
62 if (!exec->eval.map2[attr].map) { in set_active_eval2()
63 exec->eval.map2[attr].map = map; in set_active_eval2()
64 exec->eval.map2[attr].sz = dim; in set_active_eval2()
176 struct gl_2d_map *map = exec->eval.map2[attr].map; in vbo_exec_do_EvalCoord2f()
188 exec->eval.map2[attr].sz, in vbo_exec_do_EvalCoord2f()
199 if (exec->eval.map2[0].map) { in vbo_exec_do_EvalCoord2f()
200 struct gl_2d_map *map = exec->eval.map2[0].map; in vbo_exec_do_EvalCoord2f()
[all …]
/external/cldr/tools/java/org/unicode/cldr/util/
DChainedMap.java23 private M3(Map<K2, Object> map2, Map<K1, Object> map1, Class<V> valueClass) { in M3() argument
24 super(map2, map1); in M3()
27 … private M3(Map<?, ?> map2, Constructor<Map<Object, Object>>[] constructors, int indexStart) { in M3() argument
28 super(map2, constructors, indexStart); in M3()
73 …private M4(Map<K3, Object> map3, Map<K2, Object> map2, Map<K1, Object> map1, Class<V> valueClass) { in M4() argument
74 super(map3, map2, map1); in M4()
77 … private M4(Map<?, ?> map2, Constructor<Map<Object, Object>>[] constructors, int indexStart) { in M4() argument
78 super(map2, constructors, indexStart); in M4()
124 …private M5(Map<K4, Object> map4, Map<K3, Object> map3, Map<K2, Object> map2, Map<K1, Object> map1,… in M5() argument
125 super(map4, map3, map2, map1); in M5()
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test/Collections/
DMapFieldTest.cs110 var map2 = new MapField<string, string>(); in EqualityIsOrderInsensitive()
111 map2.Add("b", "v2"); in EqualityIsOrderInsensitive()
112 map2.Add("a", "v1"); in EqualityIsOrderInsensitive()
114 EqualityTester.AssertEquality(map1, map2); in EqualityIsOrderInsensitive()
124 var map2 = new MapField<string, string>(); in EqualityIsKeySensitive()
125 map2.Add("third key", "v1"); in EqualityIsKeySensitive()
126 map2.Add("fourth key", "v2"); in EqualityIsKeySensitive()
128 EqualityTester.AssertInequality(map1, map2); in EqualityIsKeySensitive()
149 var map2 = new MapField<string, string>(); in EqualityIsValueSensitive()
150 map2.Add("a", "third value"); in EqualityIsValueSensitive()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/
DChapter2_2Test.java56 Map<String, String> map2 = (Map<String, String>) list.get(1); in testExample_2_8() local
57 assertEquals(3, map2.size()); in testExample_2_8()
58 assertEquals(new Integer(72227), map2.get("time")); in testExample_2_8()
59 assertEquals("Sammy Sosa", map2.get("player")); in testExample_2_8()
60 assertEquals("grand slam", map2.get("action")); in testExample_2_8()
105 Map<Object, Object> map2 = (Map<Object, Object>) list.get(1); in testExample_2_12() local
106 assertEquals(2, map2.size()); in testExample_2_12()
107 assertEquals("Basketball", map2.get("item")); in testExample_2_12()
DChapter2_5Test.java58 Map<String, String> map2 = list3.get(1); in testExample_2_28() local
59 assertEquals("MoreClass.py", map2.get("file")); in testExample_2_28()
60 assertEquals(new Integer(58), map2.get("line")); in testExample_2_28()
61 assertEquals("foo = bar", map2.get("code")); in testExample_2_28()
DYamlStream.java68 Map<Object, Object> map2 = (Map<Object, Object>) obj2; in YamlStream() local
69 if (!map1.keySet().equals(map2.keySet())) { in YamlStream()
71 + map2.keySet()); in YamlStream()
76 Object o2 = map2.get(key); in YamlStream()
/external/snakeyaml/src/test/java/examples/resolver/
DCustomResolverTest.java51 Map<Object, Object> map2 = (Map<Object, Object>) yaml2.load("1.0: 2009-01-01"); in testResolverToLoad() local
52 assertEquals(1, map2.size()); in testResolverToLoad()
53 assertFalse(map2.containsKey("1.0")); in testResolverToLoad()
54 assertTrue(map2.toString(), map2.containsKey(new Double(1.0))); in testResolverToLoad()
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Collections/
DMapFieldTest.cs110 var map2 = new MapField<string, string>(); in EqualityIsOrderInsensitive()
111 map2.Add("b", "v2"); in EqualityIsOrderInsensitive()
112 map2.Add("a", "v1"); in EqualityIsOrderInsensitive()
114 EqualityTester.AssertEquality(map1, map2); in EqualityIsOrderInsensitive()
124 var map2 = new MapField<string, string>(); in EqualityIsKeySensitive()
125 map2.Add("third key", "v1"); in EqualityIsKeySensitive()
126 map2.Add("fourth key", "v2"); in EqualityIsKeySensitive()
128 EqualityTester.AssertInequality(map1, map2); in EqualityIsKeySensitive()
149 var map2 = new MapField<string, string>(); in EqualityIsValueSensitive()
150 map2.Add("a", "third value"); in EqualityIsValueSensitive()
[all …]
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/external/biz/base64Coder/
DBase64Coder.java52 private static byte[] map2 = new byte[128]; field in Base64Coder
54 for (int i = 0; i < map2.length; i++)
55 map2[i] = -1;
57 map2[map1[i]] = (byte) i;
283 int b0 = map2[i0];
284 int b1 = map2[i1];
285 int b2 = map2[i2];
286 int b3 = map2[i3];
/external/dng_sdk/source/
Ddng_hue_sat_map.cpp262 const dng_hue_sat_map &map2, in Interpolate() argument
285 if (!map2.IsValid ()) in Interpolate()
293 return new dng_hue_sat_map (map2); in Interpolate()
299 if (!map1.IsValid () || !map2.IsValid ()) in Interpolate()
310 if (map1.fHueDivisions != map2.fHueDivisions || in Interpolate()
311 map1.fSatDivisions != map2.fSatDivisions || in Interpolate()
312 map1.fValDivisions != map2.fValDivisions) in Interpolate()
335 const HSBModify *data2 = map2.GetConstDeltas (); in Interpolate()
/external/llvm/unittests/Support/
DYAMLIOTest.cpp114 FooBar& map2 = seq[1]; in TEST() local
117 EXPECT_EQ(map2.foo, 7); in TEST()
118 EXPECT_EQ(map2.bar, 9); in TEST()
228 FooBar& map2 = seq2[1]; in TEST() local
231 EXPECT_EQ(map2.foo, 257); in TEST()
232 EXPECT_EQ(map2.bar, 0); in TEST()
783 FlagsMap map2; in TEST() local
784 yin >> map2; in TEST()
787 EXPECT_EQ(flagBig, map2.f1); in TEST()
788 EXPECT_EQ(flagRound|flagFlat, map2.f2); in TEST()
[all …]
/external/tensorflow/tensorflow/core/grappler/graph_analyzer/
Dsubgraph_test.cc315 SigNodeMap map2; in TEST() local
316 sg.ExtractForSignature(&map2); in TEST()
317 ASSERT_THAT(map2.find("node1"), Ne(map2.end())); in TEST()
318 ASSERT_THAT(map2.find("node2"), Eq(map2.end())); in TEST()
319 ASSERT_THAT(map2.find("node3"), Ne(map2.end())); in TEST()
322 EXPECT_THAT(DumpLinkHashMap(map2["node1"]->hash_to_link()), ElementsAre( in TEST()
326 EXPECT_THAT(DumpHashedPeerVector(map2["node1"]->hashed_peers()), ElementsAre( in TEST()
330 EXPECT_THAT(DumpLinkHashMap(map2["node3"]->hash_to_link()), ElementsAre( in TEST()
335 EXPECT_THAT(DumpHashedPeerVector(map2["node3"]->hashed_peers()), ElementsAre( in TEST()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DUnicodeMapTest.java332 Map<Integer, String> map2 = new HashMap<Integer, String>(); in TestUnicodeMapRandom() local
343 map2.put(start, value); in TestUnicodeMapRandom()
344 check(map1, map2, counter); in TestUnicodeMapRandom()
346 checkNext(map1, map2, LIMIT); in TestUnicodeMapRandom()
355 Map<Integer, String> map2 = new HashMap<Integer, String>(); in TestUnicodeMapGeneralCategory() local
358 map2 = new TreeMap<Integer,String>(); in TestUnicodeMapGeneralCategory()
364 map2.put(cp, value); in TestUnicodeMapGeneralCategory()
377 checkNext(map1, map2, Integer.MAX_VALUE); in TestUnicodeMapGeneralCategory()
380 check(map1, map2, -1); in TestUnicodeMapGeneralCategory()
383 Set<String> values2 = new TreeSet<String>(map2.values()); in TestUnicodeMapGeneralCategory()
[all …]
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DUnicodeMapTest.java329 Map<Integer, String> map2 = new HashMap<Integer, String>(); in TestUnicodeMapRandom() local
340 map2.put(start, value); in TestUnicodeMapRandom()
341 check(map1, map2, counter); in TestUnicodeMapRandom()
343 checkNext(map1, map2, LIMIT); in TestUnicodeMapRandom()
352 Map<Integer, String> map2 = new HashMap<Integer, String>(); in TestUnicodeMapGeneralCategory() local
355 map2 = new TreeMap<Integer,String>(); in TestUnicodeMapGeneralCategory()
361 map2.put(cp, value); in TestUnicodeMapGeneralCategory()
374 checkNext(map1, map2, Integer.MAX_VALUE); in TestUnicodeMapGeneralCategory()
377 check(map1, map2, -1); in TestUnicodeMapGeneralCategory()
380 Set<String> values2 = new TreeSet<String>(map2.values()); in TestUnicodeMapGeneralCategory()
[all …]
/external/eigen/test/
Dmapped_matrix.cpp74 Map<MatrixType, AlignedMax> map2(array2, rows, cols); in map_class_matrix() local
79 VERIFY_IS_EQUAL(map2, MatrixType::Ones(rows,cols)); in map_class_matrix()
82 map2 = map1; in map_class_matrix()
85 MatrixType ma2 = map2; in map_class_matrix()
87 VERIFY_IS_EQUAL(map1, map2); in map_class_matrix()
93 VERIFY_IS_APPROX(s1*map1, s1*map2); in map_class_matrix()
98 map2 *= s1; in map_class_matrix()
100 VERIFY_IS_APPROX(s1*map1, map2); in map_class_matrix()
170 Map<MatrixType,0,OuterStride<> > map2(array2, size, size, OuterStride<>(size+1)); in map_not_aligned_on_scalar() local
172 map2 = m2; in map_not_aligned_on_scalar()
[all …]
/external/cldr/tools/java/org/unicode/cldr/draft/
DNormalizedIdentifierParser.java154 Map<Status, UnicodeSet> map2 = map.get(sourceStatus);
155 if (map2 == null) {
156 map.put(sourceStatus, map2 = new TreeMap<Status, UnicodeSet>());
158 UnicodeSet set = map2.get(targetStatus);
160 map2.put(targetStatus, set = new UnicodeSet());
165 Map<Status, UnicodeSet> map2 = map.get(sourceStatus);
166 for (Status targetStatus : map2.keySet()) {
167 UnicodeSet set = map2.get(targetStatus);
/external/snakeyaml/src/test/java/examples/collections/
DTypeSafeMapImplementationsTest.java129 Map<Object, Object> map2 = (Map<Object, Object>) list.get(1);// it was in testNoJavaBeanMap() local
131 assertEquals(2, map2.size()); in testNoJavaBeanMap()
132 assertEquals("value1", map2.get("key1")); in testNoJavaBeanMap()
133 assertEquals("value2", map2.get("key2")); in testNoJavaBeanMap()
172 Map<Object, Object> map2 = (Map<Object, Object>) yaml.load(output); in testRecursiveNoJavaBeanProperties2() local
173 assertEquals(3, map2.size()); in testRecursiveNoJavaBeanProperties2()
174 assertEquals("value1", map2.get("key1")); in testRecursiveNoJavaBeanProperties2()
175 assertEquals("value2", map2.get("key2")); in testRecursiveNoJavaBeanProperties2()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DYAMLIOTest.cpp116 FooBar& map2 = seq[1]; in TEST() local
119 EXPECT_EQ(map2.foo, 7); in TEST()
120 EXPECT_EQ(map2.bar, 9); in TEST()
230 FooBar& map2 = seq2[1]; in TEST() local
233 EXPECT_EQ(map2.foo, 257); in TEST()
234 EXPECT_EQ(map2.bar, 0); in TEST()
871 FlagsMap map2; in TEST() local
872 yin >> map2; in TEST()
875 EXPECT_EQ(flagBig, map2.f1); in TEST()
876 EXPECT_EQ(flagRound|flagFlat, map2.f2); in TEST()
[all …]
/external/guava/android/guava-tests/test/com/google/common/collect/
DForwardingListMultimapTest.java46 ListMultimap<Integer, String> map2 = ImmutableListMultimap.of(2, "two"); in testEquals() local
49 .addEqualityGroup(map2, wrap(map2)) in testEquals()
DForwardingSetMultimapTest.java46 SetMultimap<Integer, String> map2 = ImmutableSetMultimap.of(2, "two"); in testEquals() local
49 .addEqualityGroup(map2, wrap(map2)) in testEquals()
DForwardingMultimapTest.java46 Multimap<Integer, String> map2 = ImmutableMultimap.of(2, "two"); in testEquals() local
49 .addEqualityGroup(map2, wrap(map2)) in testEquals()
/external/guava/guava-tests/test/com/google/common/collect/
DForwardingListMultimapTest.java46 ListMultimap<Integer, String> map2 = ImmutableListMultimap.of(2, "two"); in testEquals() local
49 .addEqualityGroup(map2, wrap(map2)) in testEquals()

1234