Searched refs:ParseBoolResult (Results 1 – 9 of 9) sorted by relevance
25 using android::base::ParseBoolResult;32 ASSERT_EQ(ParseBoolResult::kTrue, ParseBool(s)); in TEST()41 ASSERT_EQ(ParseBoolResult::kFalse, ParseBool(s)); in TEST()46 ASSERT_EQ(ParseBoolResult::kError, ParseBool("blarg")); in TEST()47 ASSERT_EQ(ParseBoolResult::kError, ParseBool("")); in TEST()
23 ParseBoolResult ParseBool(std::string_view s) { in ParseBool()25 return ParseBoolResult::kTrue; in ParseBool()28 return ParseBoolResult::kFalse; in ParseBool()30 return ParseBoolResult::kError; in ParseBool()
73 case ParseBoolResult::kError: in GetBoolProperty()75 case ParseBoolResult::kFalse: in GetBoolProperty()77 case ParseBoolResult::kTrue: in GetBoolProperty()
49 enum class ParseBoolResult { enum55 ParseBoolResult ParseBool(std::string_view s);
135 if (shouldFormat == android::base::ParseBoolResult::kError) exit(EINVAL); in main()137 shouldFormat == android::base::ParseBoolResult::kTrue, in main()
307 case android::base::ParseBoolResult::kTrue: in GetBoolProperty()309 case android::base::ParseBoolResult::kFalse: in GetBoolProperty()
56 using ::android::base::ParseBoolResult;97 *reinterpret_cast<bool*>(cookie) = ParseBool(value) == ParseBoolResult::kTrue; in property_parse_bool()115 (permissive_env && ParseBool(permissive_env) == ParseBoolResult::kTrue); in is_permissive_mte()
198 if (result == android::base::ParseBoolResult::kError) { in CallChainReportBuilder()200 } else if (result == android::base::ParseBoolResult::kTrue) { in CallChainReportBuilder()
147 if (boolVal == ab::ParseBoolResult::kTrue) { in parseProperty()150 if (boolVal == ab::ParseBoolResult::kFalse) { in parseProperty()