Home
last modified time | relevance | path

Searched refs:ParseBool (Results 1 – 4 of 4) sorted by relevance

/development/vndk/tools/header-checker/src/utils/
Dstring_utils_test.cpp97 TEST(StringUtilsTest, ParseBool) { in TEST() argument
98 EXPECT_FALSE(ParseBool("")); in TEST()
99 EXPECT_FALSE(ParseBool("false")); in TEST()
100 EXPECT_FALSE(ParseBool("off")); in TEST()
101 EXPECT_FALSE(ParseBool("0")); in TEST()
103 EXPECT_TRUE(ParseBool("TRUE")); in TEST()
104 EXPECT_TRUE(ParseBool("True")); in TEST()
105 EXPECT_TRUE(ParseBool("true")); in TEST()
106 EXPECT_TRUE(ParseBool("ON")); in TEST()
107 EXPECT_TRUE(ParseBool("1")); in TEST()
Dstring_utils.h39 bool ParseBool(const std::string &s);
Dstring_utils.cpp93 bool ParseBool(const std::string &s) { in ParseBool() function
/development/vndk/tools/header-checker/src/diff/
Dheader_abi_diff.cpp35 using header_checker::utils::ParseBool;
161 bool value_bool = ParseBool(p.second); in ReadConfigFile()