Searched refs:to_bytes (Results 1 – 5 of 5) sorted by relevance
309 ATF_TEST_CASE(to_bytes);310 ATF_TEST_CASE_HEAD(to_bytes) in ATF_TEST_CASE_HEAD() argument314 ATF_TEST_CASE_BODY(to_bytes) in ATF_TEST_CASE_BODY() argument316 using atf::text::to_bytes; in ATF_TEST_CASE_BODY()318 ATF_REQUIRE_EQ(0, to_bytes("0")); in ATF_TEST_CASE_BODY()319 ATF_REQUIRE_EQ(12345, to_bytes("12345")); in ATF_TEST_CASE_BODY()320 ATF_REQUIRE_EQ(2 * 1024, to_bytes("2k")); in ATF_TEST_CASE_BODY()321 ATF_REQUIRE_EQ(4 * 1024 * 1024, to_bytes("4m")); in ATF_TEST_CASE_BODY()327 to_bytes("12d")); in ATF_TEST_CASE_BODY()328 ATF_REQUIRE_THROW(std::runtime_error, to_bytes(" ")); in ATF_TEST_CASE_BODY()[all …]
103 int64_t to_bytes(std::string);
134 impl::to_bytes(std::string str) in to_bytes() function in impl
414 lines.AppendString(m_utf8conv.to_bytes(line)); in GetInputAsStringList()578 lines.AppendString(m_utf8conv.to_bytes(new_line_fragment)); in BreakLineCommand()1320 line = m_utf8conv.to_bytes(SplitLines(input)[0]); in GetLine()
109 byte_string to_bytes(Elem wchar);110 byte_string to_bytes(const Elem* wptr);111 byte_string to_bytes(const wide_string& wstr);112 byte_string to_bytes(const Elem* first, const Elem* last);3688 byte_string to_bytes(_Elem __wchar)3689 {return to_bytes(&__wchar, &__wchar+1);}3691 byte_string to_bytes(const _Elem* __wptr)3694 byte_string to_bytes(const wide_string& __wstr)3696 byte_string to_bytes(const _Elem* __first, const _Elem* __last);3815 to_bytes(const _Elem* __frm, const _Elem* __frm_end)[all …]