Home
last modified time | relevance | path

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

12

/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
DCombinerHeightMap.java61 private AbstractHeightMap map2; field in CombinerHeightMap
82 AbstractHeightMap map2, in CombinerHeightMap() argument
87 if (null == map1 || null == map2) { in CombinerHeightMap()
92 if (map1.getSize() != map2.getSize()) { in CombinerHeightMap()
104 this.map2 = map2; in CombinerHeightMap()
132 AbstractHeightMap map2, in CombinerHeightMap() argument
138 if (null == map1 || null == map2) { in CombinerHeightMap()
143 if (map1.getSize() != map2.getSize()) { in CombinerHeightMap()
158 this.map2 = map2; in CombinerHeightMap()
196 public void setHeightMaps(AbstractHeightMap map1, AbstractHeightMap map2) throws Exception { in setHeightMaps() argument
[all …]
/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/v8/test/cctest/
Dtest-field-type-tracking.cc967 Handle<Map> map2 = initial_map; in TestReconfigureDataFieldAttribute_GeneralizeRepresentation() local
969 map2 = expectations2.FollowDataTransition(map2, NONE, from_representation, in TestReconfigureDataFieldAttribute_GeneralizeRepresentation()
972 map2 = in TestReconfigureDataFieldAttribute_GeneralizeRepresentation()
973 expectations2.AddDataField(map2, READ_ONLY, to_representation, to_type); in TestReconfigureDataFieldAttribute_GeneralizeRepresentation()
976 map2 = expectations2.AddDataField(map2, NONE, to_representation, to_type); in TestReconfigureDataFieldAttribute_GeneralizeRepresentation()
978 CHECK(!map2->is_deprecated()); in TestReconfigureDataFieldAttribute_GeneralizeRepresentation()
979 CHECK(map2->is_stable()); in TestReconfigureDataFieldAttribute_GeneralizeRepresentation()
980 CHECK(expectations2.Check(*map2)); in TestReconfigureDataFieldAttribute_GeneralizeRepresentation()
991 Map::ReconfigureExistingProperty(map2, kSplitProp, kData, NONE); in TestReconfigureDataFieldAttribute_GeneralizeRepresentation()
994 CHECK(!map2->is_stable()); in TestReconfigureDataFieldAttribute_GeneralizeRepresentation()
[all …]
Dtest-transitions.cc58 Handle<Map> map2 = in TEST() local
73 TransitionArray::Insert(map0, name2, map2, SIMPLE_PROPERTY_TRANSITION); in TEST()
78 CHECK_EQ(*map2, in TEST()
85 (key == *name2 && target == *map2)); in TEST()
109 Handle<Map> map2 = in TEST() local
124 TransitionArray::Insert(map0, name2, map2, PROPERTY_TRANSITION); in TEST()
129 CHECK_EQ(*map2, in TEST()
136 (key == *name2 && target == *map2)); in TEST()
/external/mesa3d/src/mesa/vbo/
Dvbo_exec_eval.c44 assert(attr < Elements(exec->eval.map2)); in clear_active_eval2()
45 exec->eval.map2[attr].map = NULL; in clear_active_eval2()
61 assert(attr < Elements(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()
192 struct gl_2d_map *map = exec->eval.map2[attr].map; in vbo_exec_do_EvalCoord2f()
203 exec->eval.map2[attr].sz, in vbo_exec_do_EvalCoord2f()
214 if (exec->eval.map2[0].map) { in vbo_exec_do_EvalCoord2f()
215 struct gl_2d_map *map = exec->eval.map2[0].map; in vbo_exec_do_EvalCoord2f()
[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()
DChapter2_1Test.java104 Map<String, Object> map2 = map.get("Sammy Sosa"); in testExample_2_6() local
105 assertEquals(2, map2.size()); in testExample_2_6()
/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/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()
678 FlagsMap map2; in TEST() local
679 yin >> map2; in TEST()
682 EXPECT_EQ(flagBig, map2.f1); in TEST()
683 EXPECT_EQ(flagRound|flagFlat, map2.f2); in TEST()
[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/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/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/util/
DTestUtilities.java46 Map map2 = new HashMap(); field in TestUtilities
66 map2.put(new Integer(start), value); in TestUnicodeMap()
73 map2 = new TreeMap(); in TestUnicodeMap()
79 map2.put(new Integer(cp), value); in TestUnicodeMap()
88 Set values2 = new TreeSet(map2.values()); in TestUnicodeMap()
97 UnicodeSet set2 = TestBoilerplate.getSet(map2, value); in TestUnicodeMap()
286 checkMap(map2, localMap); in checkNext()
300 checkMap(map2, localMap); in checkNext()
306 Object value2 = map2.get(new Integer(i)); in check()
313 errln("HashMap: " + TestBoilerplate.show(map2)); in check()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DTestUtilities.java50 Map map2 = new HashMap(); field in TestUtilities
70 map2.put(new Integer(start), value); in TestUnicodeMap()
77 map2 = new TreeMap(); in TestUnicodeMap()
83 map2.put(new Integer(cp), value); in TestUnicodeMap()
92 Set values2 = new TreeSet(map2.values()); in TestUnicodeMap()
101 UnicodeSet set2 = TestBoilerplate.getSet(map2, value); in TestUnicodeMap()
290 checkMap(map2, localMap); in checkNext()
304 checkMap(map2, localMap); in checkNext()
310 Object value2 = map2.get(new Integer(i)); in check()
317 errln("HashMap: " + TestBoilerplate.show(map2)); in check()
[all …]
/external/javassist/src/main/javassist/bytecode/analysis/
DMultiType.java190 Map map2 = getAllMultiInterfaces(type2); in mergeMultiInterfaces() local
192 return findCommonInterfaces(map1, map2); in mergeMultiInterfaces()
197 Map map2 = getAllInterfaces(single.getCtClass(), null); in mergeMultiAndSingle() local
199 return findCommonInterfaces(map1, map2); in mergeMultiAndSingle()
/external/e2fsprogs/intl/
Dlocalealias.c147 const struct alias_map *map2);
387 alias_compare (const struct alias_map *map1, const struct alias_map *map2) in alias_compare() argument
390 return strcasecmp (map1->alias, map2->alias); in alias_compare()
393 const unsigned char *p2 = (const unsigned char *) map2->alias; in alias_compare()
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DNamespaceMappings.java189 MappingRecord map2 = getMappingFromPrefix(prefix); in getMappingFromURI() local
190 if (map2 != null && (map2.m_uri).equals(uri)) in getMappingFromURI()
192 foundMap = map2; in getMappingFromURI()
/external/freetype/src/psnames/
Dpsmodule.c173 PS_UniMap* map2 = (PS_UniMap*)b; in compare_uni_maps() local
175 FT_UInt32 unicode2 = BASE_GLYPH( map2->unicode ); in compare_uni_maps()
181 if ( map1->unicode > map2->unicode ) in compare_uni_maps()
183 else if ( map1->unicode < map2->unicode ) in compare_uni_maps()
/external/pdfium/third_party/freetype/src/psnames/
Dpsmodule.c173 PS_UniMap* map2 = (PS_UniMap*)b; in compare_uni_maps() local
175 FT_UInt32 unicode2 = BASE_GLYPH( map2->unicode ); in compare_uni_maps()
181 if ( map1->unicode > map2->unicode ) in compare_uni_maps()
183 else if ( map1->unicode < map2->unicode ) in compare_uni_maps()
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/psnames/
Dpsmodule.c173 PS_UniMap* map2 = (PS_UniMap*)b; in compare_uni_maps() local
175 FT_UInt32 unicode2 = BASE_GLYPH( map2->unicode ); in compare_uni_maps()
181 if ( map1->unicode > map2->unicode ) in compare_uni_maps()
183 else if ( map1->unicode < map2->unicode ) in compare_uni_maps()
/external/protobuf/java/src/test/java/com/google/protobuf/
DSmallSortedMapTest.java104 SmallSortedMap<Integer, Integer> map2 = in runPutAndGetTest() local
114 assertNull(map2.put(i, i + 1)); in runPutAndGetTest()
123 assertEquals(Math.min(4, numElements), map2.getNumArrayEntries()); in runPutAndGetTest()
130 allMaps.add(map2); in runPutAndGetTest()
141 assertEquals(map1, map2); in runPutAndGetTest()
142 assertEquals(map2, map3); in runPutAndGetTest()
/external/icu/icu4c/source/test/intltest/
Dpluralmaptest.cpp129 PluralMapForPluralMapTest map2; in TestIterate() local
131 current = map2.next(index); in TestIterate()
134 current = map2.next(index); in TestIterate()

12