Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/atf/atf-c++/detail/
H A Dtext_test.cpp309 ATF_TEST_CASE(to_bytes);
310 ATF_TEST_CASE_HEAD(to_bytes) in ATF_TEST_CASE_HEAD() argument
314 ATF_TEST_CASE_BODY(to_bytes) in ATF_TEST_CASE_BODY() argument
316 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 …]
H A Dtext.hpp103 int64_t to_bytes(std::string);
H A Dtext.cpp134 impl::to_bytes(std::string str) in to_bytes() function in impl
/freebsd-12.1/contrib/llvm/tools/lldb/source/Host/common/
H A DEditline.cpp414 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()
/freebsd-12.1/contrib/libc++/include/
H A Dlocale109 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 …]