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

/freebsd-13-stable/contrib/atf/atf-c/detail/
H A Dtext.h41 atf_error_t atf_text_to_bool(const char *, bool *);
H A Dtext_test.c331 atf_tc_set_md_var(tc, "descr", "Checks the atf_text_to_bool function");
337 RE(atf_text_to_bool("true", &b)); ATF_REQUIRE(b);
338 RE(atf_text_to_bool("TRUE", &b)); ATF_REQUIRE(b);
339 RE(atf_text_to_bool("yes", &b)); ATF_REQUIRE(b);
340 RE(atf_text_to_bool("YES", &b)); ATF_REQUIRE(b);
342 RE(atf_text_to_bool("false", &b)); ATF_REQUIRE(!b);
343 RE(atf_text_to_bool("FALSE", &b)); ATF_REQUIRE(!b);
344 RE(atf_text_to_bool("no", &b)); ATF_REQUIRE(!b);
345 RE(atf_text_to_bool("NO", &b)); ATF_REQUIRE(!b);
348 REQUIRE_ERROR(atf_text_to_bool("",
[all...]
H A Dtext.c140 atf_text_to_bool(const char *str, bool *b) function
/freebsd-13-stable/contrib/atf/atf-c++/detail/
H A Dtext.cpp126 atf_error_t err = atf_text_to_bool(str.c_str(), &b);
/freebsd-13-stable/contrib/atf/atf-c/
H A Dtc.c707 err = atf_text_to_bool(strval, &val);

Completed in 105 milliseconds