Home
last modified time | relevance | path

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

/freebsd-10-stable/contrib/atf/atf-c/detail/
Dtext_test.c337 RE(atf_text_to_bool("true", &b)); ATF_REQUIRE(b); in ATF_TC_BODY()
338 RE(atf_text_to_bool("TRUE", &b)); ATF_REQUIRE(b); in ATF_TC_BODY()
339 RE(atf_text_to_bool("yes", &b)); ATF_REQUIRE(b); in ATF_TC_BODY()
340 RE(atf_text_to_bool("YES", &b)); ATF_REQUIRE(b); in ATF_TC_BODY()
342 RE(atf_text_to_bool("false", &b)); ATF_REQUIRE(!b); in ATF_TC_BODY()
343 RE(atf_text_to_bool("FALSE", &b)); ATF_REQUIRE(!b); in ATF_TC_BODY()
344 RE(atf_text_to_bool("no", &b)); ATF_REQUIRE(!b); in ATF_TC_BODY()
345 RE(atf_text_to_bool("NO", &b)); ATF_REQUIRE(!b); in ATF_TC_BODY()
348 REQUIRE_ERROR(atf_text_to_bool("", &b)); in ATF_TC_BODY()
351 REQUIRE_ERROR(atf_text_to_bool("", &b)); in ATF_TC_BODY()
[all …]
Dtext.h41 atf_error_t atf_text_to_bool(const char *, bool *);
Dtext.c140 atf_text_to_bool(const char *str, bool *b) in atf_text_to_bool() function
/freebsd-10-stable/contrib/atf/atf-c++/detail/
Dtext.cpp126 atf_error_t err = atf_text_to_bool(str.c_str(), &b); in to_bool()
/freebsd-10-stable/contrib/atf/atf-c/
Dtc.c662 err = atf_text_to_bool(strval, &val); in atf_tc_get_config_var_as_bool()