Searched refs:atf_text_to_bool (Results 1 - 5 of 5) sorted by relevance

/bind-9.6-ESV-R11/unit/atf-src/atf-c/detail/
H A Dtext.h46 atf_error_t atf_text_to_bool(const char *, bool *);
H A Dtext_test.c334 atf_tc_set_md_var(tc, "descr", "Checks the atf_text_to_bool function");
340 RE(atf_text_to_bool("true", &b)); ATF_REQUIRE(b);
341 RE(atf_text_to_bool("TRUE", &b)); ATF_REQUIRE(b);
342 RE(atf_text_to_bool("yes", &b)); ATF_REQUIRE(b);
343 RE(atf_text_to_bool("YES", &b)); ATF_REQUIRE(b);
345 RE(atf_text_to_bool("false", &b)); ATF_REQUIRE(!b);
346 RE(atf_text_to_bool("FALSE", &b)); ATF_REQUIRE(!b);
347 RE(atf_text_to_bool("no", &b)); ATF_REQUIRE(!b);
348 RE(atf_text_to_bool("NO", &b)); ATF_REQUIRE(!b);
351 REQUIRE_ERROR(atf_text_to_bool("",
[all...]
H A Dtext.c144 atf_text_to_bool(const char *str, bool *b) function
/bind-9.6-ESV-R11/unit/atf-src/atf-c++/detail/
H A Dtext.cpp130 atf_error_t err = atf_text_to_bool(str.c_str(), &b);
/bind-9.6-ESV-R11/unit/atf-src/atf-c/
H A Dtc.c666 err = atf_text_to_bool(strval, &val);

Completed in 15 milliseconds