Searched refs:expected_map (Results 1 – 6 of 6) sorted by relevance
/external/rust/crates/nom/tests/ |
D | json.rs | 82 let mut expected_map = HashMap::new(); localVariable 83 expected_map.insert(String::from("a"), JsonValue::Num(42f32)); 84 expected_map.insert(String::from("b"), JsonValue::Str(String::from("x"))); 85 let expected = JsonValue::Object(expected_map);
|
/external/webrtc/modules/desktop_capture/ |
D | desktop_region_unittest.cc | 271 bool expected_map[kMapWidth]; in TEST() local 272 std::copy(base_map, base_map + kMapWidth, expected_map); in TEST() 273 std::fill_n(expected_map + x, last_rect_size, true); in TEST() 286 EXPECT_TRUE(std::equal(map, map + kMapWidth, expected_map)); in TEST() 708 bool expected_map[kMapWidth]; in TEST() local 709 std::copy(base_map, base_map + kMapWidth, expected_map); in TEST() 713 std::fill_n(x + expected_map + span_set.spans[span].start, in TEST() 732 EXPECT_TRUE(std::equal(map, map + kMapWidth, expected_map)); in TEST() 783 bool expected_map[kMapHeight]; in TEST() local 784 std::copy(base_map, base_map + kMapHeight, expected_map); in TEST() [all …]
|
/external/deqp-deps/SPIRV-Tools/test/opt/ |
D | set_spec_const_default_value_test.cpp | 33 SpecIdToValueStrMap expected_map; member 46 EXPECT_THAT(*actual_map, Eq(tc.expected_map)); in TEST_P()
|
/external/swiftshader/third_party/SPIRV-Tools/test/opt/ |
D | set_spec_const_default_value_test.cpp | 33 SpecIdToValueStrMap expected_map; member 46 EXPECT_THAT(*actual_map, Eq(tc.expected_map)); in TEST_P()
|
/external/libchrome/mojo/public/cpp/bindings/tests/ |
D | wtf_types_unittest.cc | 100 base::Optional<WTF::HashMap<WTF::String, WTF::String>>* expected_map, in ExpectStringMap() argument 103 EXPECT_EQ(*expected_map, map); in ExpectStringMap()
|
/external/crosvm/src/ |
D | main.rs | 2478 let mut expected_map = BTreeMap::new(); in parse_cpu_affinity_per_vcpu_one_to_one() localVariable 2479 expected_map.insert(0, vec![0]); in parse_cpu_affinity_per_vcpu_one_to_one() 2480 expected_map.insert(1, vec![1]); in parse_cpu_affinity_per_vcpu_one_to_one() 2481 expected_map.insert(2, vec![2]); in parse_cpu_affinity_per_vcpu_one_to_one() 2482 expected_map.insert(3, vec![3]); in parse_cpu_affinity_per_vcpu_one_to_one() 2485 VcpuAffinity::PerVcpu(expected_map), in parse_cpu_affinity_per_vcpu_one_to_one() 2491 let mut expected_map = BTreeMap::new(); in parse_cpu_affinity_per_vcpu_sets() localVariable 2492 expected_map.insert(0, vec![0, 1, 2]); in parse_cpu_affinity_per_vcpu_sets() 2493 expected_map.insert(1, vec![3, 4, 5]); in parse_cpu_affinity_per_vcpu_sets() 2494 expected_map.insert(2, vec![6, 7, 8]); in parse_cpu_affinity_per_vcpu_sets() [all …]
|