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

/bind-9.6-ESV-R11/unit/atf-src/atf-c++/detail/
H A Dtext_test.cpp313 ATF_TEST_CASE(to_bytes); variable
314 ATF_TEST_CASE_HEAD(to_bytes)
316 set_md_var("descr", "Tests the to_bytes function");
318 ATF_TEST_CASE_BODY(to_bytes)
320 using atf::text::to_bytes;
322 ATF_REQUIRE_EQ(0, to_bytes("0"));
323 ATF_REQUIRE_EQ(12345, to_bytes("12345"));
324 ATF_REQUIRE_EQ(2 * 1024, to_bytes("2k"));
325 ATF_REQUIRE_EQ(4 * 1024 * 1024, to_bytes("4m"));
326 ATF_REQUIRE_EQ(int64_t(8) * 1024 * 1024 * 1024, to_bytes("
[all...]
H A Dtext.hpp107 int64_t to_bytes(std::string);
H A Dtext.cpp138 impl::to_bytes(std::string str) function in class:impl
/bind-9.6-ESV-R11/unit/atf-src/atf-run/
H A Drequirements.cpp200 const int64_t needed = atf::text::to_bytes(raw_memory);
H A Dtest-program.cpp463 (void)atf::text::to_bytes(value);

Completed in 1882 milliseconds