Home
last modified time | relevance | path

Searched refs:test_map (Results 1 – 25 of 32) sorted by relevance

12

/external/google-breakpad/src/processor/
Daddress_map_unittest.cc79 TestMap test_map; in DoAddressMapTest() local
84 ASSERT_FALSE(test_map.Retrieve(0, &entry, &address)); in DoAddressMapTest()
85 ASSERT_FALSE(test_map.Retrieve(INT_MIN, &entry, &address)); in DoAddressMapTest()
86 ASSERT_FALSE(test_map.Retrieve(INT_MAX, &entry, &address)); in DoAddressMapTest()
90 ASSERT_TRUE(test_map.Store(1, in DoAddressMapTest()
92 ASSERT_TRUE(test_map.Retrieve(1, &entry, &address)); in DoAddressMapTest()
94 test_map.Clear(); in DoAddressMapTest()
98 ASSERT_FALSE(test_map.Retrieve(0, &entry, &address)); in DoAddressMapTest()
99 ASSERT_FALSE(test_map.Retrieve(INT_MIN, &entry, &address)); in DoAddressMapTest()
100 ASSERT_FALSE(test_map.Retrieve(INT_MAX, &entry, &address)); in DoAddressMapTest()
[all …]
Dstatic_map_unittest.cc94 TestMap test_map; member in TestInvalidMap
99 test_map = TestMap(data); in TEST_F()
100 ASSERT_FALSE(test_map.ValidateInMemoryStructure()); in TEST_F()
111 test_map = TestMap(data); in TEST_F()
112 ASSERT_FALSE(test_map.ValidateInMemoryStructure()); in TEST_F()
116 test_map = TestMap(data); in TEST_F()
117 ASSERT_FALSE(test_map.ValidateInMemoryStructure()); in TEST_F()
134 test_map = TestMap(data); in TEST_F()
135 ASSERT_FALSE(test_map.ValidateInMemoryStructure()); in TEST_F()
147 test_map[testcase] = TestMap(map_data[testcase]); in SetUp()
[all …]
Dstatic_contained_range_map_unittest.cc242 scoped_ptr<TestMap> test_map(new TestMap(serialized_data.get())); in TEST_F() local
248 ASSERT_FALSE(test_map->RetrieveRange(-1, entry_test)); in TEST_F()
249 ASSERT_FALSE(test_map->RetrieveRange(0, entry_test)); in TEST_F()
250 ASSERT_FALSE(test_map->RetrieveRange(10, entry_test)); in TEST_F()
262 scoped_ptr<TestMap> test_map(new TestMap(serialized_data.get())); in TEST_F() local
268 ASSERT_FALSE(test_map->RetrieveRange(-1, entry_test)); in TEST_F()
269 ASSERT_FALSE(test_map->RetrieveRange(0, entry_test)); in TEST_F()
270 ASSERT_TRUE(test_map->RetrieveRange(10, entry_test)); in TEST_F()
272 ASSERT_TRUE(test_map->RetrieveRange(13, entry_test)); in TEST_F()
Dstatic_address_map_unittest.cc82 test_map[testcase] = TestMap(map_data[testcase]); in SetUp()
104 test_map[testcase].Retrieve(target, entry_cstring, &address_test); in CompareRetrieveResult()
149 TestMap test_map[kNumberTestCases]; member in TestStaticAddressMap
/external/tensorflow/tensorflow/compiler/xla/
Ddebug_options_parsers_test.cc29 std::unordered_map<std::string, std::string> test_map; in TEST() local
31 parse_xla_backend_extra_options(&test_map, test_string); in TEST()
32 EXPECT_EQ(test_map.size(), 4); in TEST()
33 EXPECT_EQ(test_map.at("aa"), "bb"); in TEST()
34 EXPECT_EQ(test_map.at("cc"), ""); in TEST()
35 EXPECT_EQ(test_map.at("dd"), ""); in TEST()
36 EXPECT_EQ(test_map.at("ee"), "ff=gg"); in TEST()
/external/libchrome/dbus/
Dproperty_unittest.cc361 std::map<std::string, std::string> test_map; in TEST() local
362 test_map["Hi"] = "There"; in TEST()
363 test_map["Map"] = "Test"; in TEST()
364 test_map["Random"] = "Text"; in TEST()
370 string_map.ReplaceSetValueForTesting(test_map); in TEST()
375 EXPECT_EQ(test_map, string_map.value()); in TEST()
473 std::map<std::string, std::vector<uint8_t>> test_map; in TEST() local
474 test_map["Hi"] = {1, 2, 3}; in TEST()
475 test_map["Map"] = {0xab, 0xcd}; in TEST()
476 test_map["Random"] = {0x0}; in TEST()
[all …]
/external/autotest/server/cros/
Dgoofy_client.py260 test_map = collections.defaultdict(list)
262 test_map[names.split('.')[0]].append(names)
263 return test_map
376 test_map = self._get_test_map()
377 if test_map:
378 logging.info('About to execute tests: %s', test_map)
384 for current_suite in test_map.keys():
390 for test_names in test_map.get(current_suite):
/external/llvm-project/libcxx/test/libcxx/containers/associative/
Dnon_const_comparator.incomplete.verify.cpp41 void test_map() { in test_map() function
55 test_map<std::map>(); in main()
56 test_map<std::multimap>(); in main()
/external/llvm-project/libcxx/test/libcxx/containers/unord/
Dnon_const_comparator.incomplete.verify.cpp41 void test_map() { in test_map() function
55 test_map<std::unordered_map>(); in main()
56 test_map<std::unordered_multimap>(); in main()
/external/tensorflow/tensorflow/python/saved_model/model_utils/
Dmode_keys_test.py27 def test_map(self): member in ModeKeyMapTest
/external/python/cpython2/Lib/lib-tk/test/test_ttk/
Dtest_style.py24 def test_map(self): member in StyleTest
/external/python/pybind11/tests/
Dtest_stl.py56 def test_map(doc): function
/external/python/cpython3/Lib/tkinter/test/test_ttk/
Dtest_style.py36 def test_map(self): member in StyleTest
/external/protobuf/csharp/protos/
Dmap_unittest_proto3.proto67 TestMap test_map = 1; field
/external/protobuf/src/google/protobuf/
Dmap_unittest.proto67 TestMap test_map = 1; field
/external/protobuf/csharp/compatibility_tests/v3.0.0/protos/src/google/protobuf/
Dmap_unittest_proto3.proto71 TestMap test_map = 1; field
/external/protobuf/python/google/protobuf/internal/
Dmessage_test.py2035 msg.test_map.map_int32_int32[123] = 456
2045 msg.test_map.map_int32_int32[888] = 999
2050 msg.test_map.map_int32_int32.clear()
2057 msg.test_map.map_int32_foreign_message[123].c = 5
2067 msg.test_map.map_int32_foreign_message[888].c = 7
2072 msg.test_map.map_int32_foreign_message[888].MergeFrom(
2073 msg.test_map.map_int32_foreign_message[123])
2078 msg.test_map.map_int32_foreign_message.clear()
/external/pigweed/pw_protobuf_compiler/py/
Dpython_protos_test.py372 def test_map(self): member in TestProtoRepr
/external/tensorflow/tensorflow/core/grappler/costs/
Dvirtual_scheduler_test.cc2340 const std::unordered_map<T, U>& test_map) { in ExpectUnorderedMapEq() argument
2341 EXPECT_EQ(expected.size(), test_map.size()); in ExpectUnorderedMapEq()
2343 EXPECT_GT(test_map.count(key_val.first), 0); in ExpectUnorderedMapEq()
2344 EXPECT_EQ(test_map.at(key_val.first), key_val.second); in ExpectUnorderedMapEq()
/external/python/cpython3/Lib/test/
Dtest_itertools.py1152 def test_map(self): member in TestBasicOps
1627 def test_map(self): member in TestExamples
1782 def test_map(self): member in TestGC
1979 def test_map(self): member in TestVariousIteratorArgs
Dtest_concurrent_futures.py788 def test_map(self): member in ExecutorTest
/external/python/futures/
Dtest_futures.py483 def test_map(self): member in ExecutorTest
/external/tensorflow/tensorflow/python/autograph/operators/
Dpy_builtins_test.py258 def test_map(self): member in PyBuiltinsTest
/external/python/six/
Dtest_six.py230 def test_map(): function
/external/tensorflow/tensorflow/compiler/mlir/xla/tests/translate/
Dimport.hlotxt493 // CHECK-LABEL: func private @test_map
495 %test_map {

12