/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/ |
MapTagTest.java | 33 Map<String, String> map1 = (Map<String, String>) map.get("Block style"); local 34 assertEquals(3, map1.size()); 35 assertEquals("Evans", map1.get("Clark")); 36 assertEquals("Ingerson", map1.get("Brian")); 37 assertEquals("Ben-Kiki", map1.get("Oren")); 45 assertEquals(map1, map2); 46 assertNotSame(map1, map2); 55 Map<String, String> map1 = (Map<String, String>) map.get("Block style"); local 56 assertEquals(3, map1.size()); 57 assertEquals("Evans", map1.get("Clark")) [all...] |
OmapTagTest.java | 33 Map<String, String> map1 = (Map<String, String>) map.get("Bestiary"); local 34 assertEquals(3, map1.size()); 35 assertEquals("African pig-like ant eater. Ugly.", map1.get("aardvark")); 36 assertEquals("South-American ant eater. Two species.", map1.get("anteater")); 37 assertEquals("South-American constrictor snake. Scaly.", map1.get("anaconda"));
|
ValueTagTest.java | 54 Map<String, String> map1 = list2.get(0); local 55 assertEquals(2, map1.size()); 56 assertEquals("library1.dll", map1.get("=")); 57 assertEquals(new Double(1.2), map1.get("version"));
|
/external/opencv3/modules/imgproc/perf/ |
perf_remap.cpp | 31 Mat src(sz, src_type), dst(sz, src_type), map1(sz, map1_type), map2; 43 for (int j = 0; j < map1.rows; ++j) 44 for (int i = 0; i < map1.cols; ++i) 48 map1.at<float>(j, i) = static_cast<float>(src.cols - i - 1); 52 map1.at<Vec2f>(j, i)[0] = static_cast<float>(src.cols - i - 1); 53 map1.at<Vec2f>(j, i)[1] = static_cast<float>(j); 56 map1.at<Vec2s>(j, i)[0] = static_cast<short>(src.cols - i - 1); 57 map1.at<Vec2s>(j, i)[1] = static_cast<short>(j); 67 TEST_CYCLE_MULTIRUN(runs) remap(src, dst, map1, map2, inter_type);
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-arm/ |
rodata-merge-map3.s | 3 @ rodata-merge-map1.s), and generate a (redundant, but harmless)
|
rodata-merge-map2.s | 3 @ rodata-merge-map1.s), and generate no mapping symbol (which
|
/external/dng_sdk/source/ |
dng_hue_sat_map.cpp | 261 dng_hue_sat_map * dng_hue_sat_map::Interpolate (const dng_hue_sat_map &map1, 269 if (!map1.IsValid ()) 272 DNG_REPORT ("map1 is not valid"); 278 return new dng_hue_sat_map (map1); 299 if (!map1.IsValid () || !map2.IsValid ()) 302 DNG_REPORT ("map1 or map2 is not valid"); 310 if (map1.fHueDivisions != map2.fHueDivisions || 311 map1.fSatDivisions != map2.fSatDivisions || 312 map1.fValDivisions != map2.fValDivisions) 315 DNG_REPORT ("map1 and map2 have different sizes") [all...] |
/external/snakeyaml/src/test/java/examples/collections/ |
TypeSafeMapImplementationsTest.java | 124 Map<Object, Object> map1 = (Map<Object, Object>) list.get(0);// it was local 126 assertEquals(2, map1.size()); 127 assertEquals("one", map1.get("1")); 128 assertEquals("two", map1.get("2")); 149 Map<Object, Object> map1 = (Map<Object, Object>) yaml.load(Util local 151 assertEquals(3, map1.size()); 152 assertEquals("one", map1.get("1")); 153 assertEquals("two", map1.get("2")); 155 String first = (String) map1.keySet().iterator().next(); 183 SortedMap<Object, Object> map1 = (SortedMap<Object, Object>) yaml.load(output) local [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ |
Chapter2_2Test.java | 51 Map<String, String> map1 = (Map<String, String>) list.get(0); local 52 assertEquals(3, map1.size()); 53 assertEquals(new Integer(72200), map1.get("time")); 54 assertEquals("Sammy Sosa", map1.get("player")); 55 assertEquals("strike (miss)", map1.get("action")); 102 Map<Object, Object> map1 = (Map<Object, Object>) list.get(0); local 103 assertEquals(2, map1.size()); 104 assertEquals("Super Hoop", map1.get("item"));
|
Chapter2_5Test.java | 54 Map<String, String> map1 = list3.get(0); local 55 assertEquals("TopClass.py", map1.get("file")); 56 assertEquals(new Integer(23), map1.get("line")); 57 assertEquals("x = MoreObject(\"345\\n\")\n", map1.get("code"));
|
Chapter2_1Test.java | 77 Map<String, Object> map1 = list.get(0); local 78 assertEquals(3, map1.size()); 79 assertEquals("Mark McGwire", map1.get("name")); 102 Map<String, Object> map1 = map.get("Mark McGwire"); local 103 assertEquals(2, map1.size());
|
YamlStream.java | 66 Map<Object, Object> map1 = (Map<Object, Object>) obj1; local 69 if (!map1.keySet().equals(map2.keySet())) { 70 throw new AssertionFailedError("Keyset: " + map1.keySet() + "; but was: " 73 for (Iterator<Object> iterator = map1.keySet().iterator(); iterator.hasNext();) { 75 Object o1 = map1.get(key);
|
/ndk/sources/host-tools/gdb-pretty-printers/stlport/gppfs-0.2/test/ |
script | 12 p map1
|
/prebuilts/gdb/darwin-x86/share/pretty-printers/stlport/test/ |
script | 12 p map1
|
/prebuilts/gdb/linux-x86/share/pretty-printers/stlport/test/ |
script | 12 p map1
|
/prebuilts/python/darwin-x86/2.7.5/share/pretty-printers/stlport/test/ |
script | 12 p map1
|
/prebuilts/python/linux-x86/2.7.5/share/pretty-printers/stlport/test/ |
script | 12 p map1
|
/cts/tests/tests/util/src/android/util/cts/ |
ArrayMapTest.java | 311 private static void dump(ArrayMap map1, ArrayMap map2) { 312 Log.e("test", "ArrayMap of " + map1.size() + " entries:"); 313 for (int i=0; i<map1.size(); i++) { 314 Log.e("test", " " + map1.keyAt(i) + " -> " + map1.valueAt(i)); 432 ArrayMap<Integer, String> map1 = new ArrayMap<Integer, String>(); 435 if (!compare(map1, map2) || !compare(map1, map3) || !compare(map3, map2)) { 436 fail("ArrayMap equals failure for empty maps " + map1 + ", " + 442 map1.put(i, value) [all...] |
/external/mesa3d/src/mesa/vbo/ |
vbo_exec_eval.c | 38 assert(attr < Elements(exec->eval.map1)); 39 exec->eval.map1[attr].map = NULL; 51 assert(attr < Elements(exec->eval.map1)); 52 if (!exec->eval.map1[attr].map) { 53 exec->eval.map1[attr].map = map; 54 exec->eval.map1[attr].sz = dim; 147 struct gl_1d_map *map = exec->eval.map1[attr].map; 155 exec->eval.map1[attr].sz, 166 if (exec->eval.map1[0].map) { 167 struct gl_1d_map *map = exec->eval.map1[0].map [all...] |
/external/v8/test/mjsunit/regress/ |
regress-4325.js | 20 // o1.map now thinks "inner" has type Inner.map1. 21 // Deprecate Inner.map1: 23 // Let Inner.map1 die by migrating i2 to Inner.map2:
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
ArrayMapTests.java | 323 private static void dump(ArrayMap map1, ArrayMap map2) { 324 Log.e("test", "ArrayMap of " + map1.size() + " entries:"); 325 Set<Map.Entry> mapSet = map1.entrySet(); 327 Log.e("test", " " + map1.keyAt(i) + " -> " + map1.valueAt(i)); 457 ArrayMap<Integer, String> map1 = new ArrayMap<Integer, String>(); 460 if (!compare(map1, map2) || !compare(map1, map3) || !compare(map3, map2)) { 461 Log.e("test", "ArrayMap equals failure for empty maps " + map1 + ", " + 468 map1.put(i, value) [all...] |
/external/v8/test/cctest/ |
test-transitions.cc | 53 Handle<Map> map1 = local 64 TransitionArray::Insert(map0, name1, map1, SIMPLE_PROPERTY_TRANSITION); 66 CHECK_EQ(*map1, 70 CHECK_EQ(*map1, TransitionArray::GetTarget(map0->raw_transitions(), 0)); 75 CHECK_EQ(*map1, 83 CHECK((key == *name1 && target == *map1) || 104 Handle<Map> map1 = local 115 TransitionArray::Insert(map0, name1, map1, PROPERTY_TRANSITION); 117 CHECK_EQ(*map1, 121 CHECK_EQ(*map1, TransitionArray::GetTarget(map0->raw_transitions(), 0)) [all...] |
/cts/tests/tests/os/jni/seccomp-tests/ |
local-modifications-strict-args-fd88d16.diff | 75 + void *map1, *map2; 88 + map1 = (void *)syscall(sysno, 90 + EXPECT_NE(MAP_FAILED, map1); 97 + munmap(map1, PAGE_SIZE);
|
/art/runtime/ |
mem_map_test.cc | 234 std::unique_ptr<MemMap> map1(MemMap::MapAnonymous("MapAnonymous1", 241 ASSERT_TRUE(map1.get() != nullptr) << error_msg; 243 ASSERT_TRUE(map1->BaseBegin() != nullptr); 246 reinterpret_cast<uint8_t*>(map1->BaseBegin()), 398 std::unique_ptr<MemMap> map1(MemMap::MapAnonymous("MapAnonymous1", 405 ASSERT_TRUE(map1.get() != nullptr) << error_msg; 419 ASSERT_TRUE(MemMap::CheckNoGaps(map1.get(), map1.get())); 423 ASSERT_TRUE(MemMap::CheckNoGaps(map0.get(), map1.get())); 424 ASSERT_TRUE(MemMap::CheckNoGaps(map1.get(), map2.get())) [all...] |
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/external/biz/base64Coder/ |
Base64Coder.java | 38 private static char[] map1 = new char[64]; field in class:Base64Coder 42 map1[i++] = c; 44 map1[i++] = c; 46 map1[i++] = c; 47 map1[i++] = '+'; 48 map1[i++] = '/'; 57 map2[map1[i]] = (byte) i; 174 out[op++] = map1[o0]; 175 out[op++] = map1[o1]; 176 out[op] = op < oDataLen ? map1[o2] : '=' [all...] |