Lines Matching refs:map
74 RuntimeArgumentMap map; in TEST_F() local
75 bool parsed = ParsedOptions::Parse(options, false, &map); in TEST_F()
77 ASSERT_NE(0u, map.Size()); in TEST_F()
81 #define EXPECT_PARSED_EQ(expected, actual_key) EXPECT_EQ(expected, map.GetOrDefault(actual_key)) in TEST_F()
83 EXPECT_EQ(expected, static_cast<std::vector<std::string>>(map.GetOrDefault(actual_key))) in TEST_F()
84 #define EXPECT_PARSED_EXISTS(actual_key) EXPECT_TRUE(map.Exists(actual_key)) in TEST_F()
93 EXPECT_DOUBLE_EQ(0.75, map.GetOrDefault(Opt::HeapTargetUtilization)); in TEST_F()
94 EXPECT_TRUE(test_vfprintf == map.GetOrDefault(Opt::HookVfprintf)); in TEST_F()
95 EXPECT_TRUE(test_exit == map.GetOrDefault(Opt::HookExit)); in TEST_F()
96 EXPECT_TRUE(test_abort == map.GetOrDefault(Opt::HookAbort)); in TEST_F()
110 auto&& properties_list = map.GetOrDefault(Opt::PropertiesList); in TEST_F()
120 RuntimeArgumentMap map; in TEST_F() local
121 bool parsed = ParsedOptions::Parse(options, false, &map); in TEST_F()
123 ASSERT_NE(0u, map.Size()); in TEST_F()
127 EXPECT_TRUE(map.Exists(Opt::GcOption)); in TEST_F()
129 XGcOption xgc = map.GetOrDefault(Opt::GcOption); in TEST_F()
137 RuntimeArgumentMap map; in TEST_F() local
138 bool parsed = ParsedOptions::Parse(options, false, &map); in TEST_F()
140 ASSERT_NE(0u, map.Size()); in TEST_F()
144 EXPECT_TRUE(map.Exists(Opt::GcOption)); in TEST_F()
146 XGcOption xgc = map.GetOrDefault(Opt::GcOption); in TEST_F()
156 RuntimeArgumentMap map; in TEST_F() local
157 bool parsed = ParsedOptions::Parse(options, false, &map); in TEST_F()
159 InstructionSet isa = map.GetOrDefault(Opt::ImageInstructionSet); in TEST_F()
175 RuntimeArgumentMap map; in TEST_F() local
176 bool parsed = ParsedOptions::Parse(options, false, &map); in TEST_F()
178 InstructionSet isa = map.GetOrDefault(Opt::ImageInstructionSet); in TEST_F()