Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.string/
H A Dto_bytes.pass.cpp45 std::string bs = myconv.to_bytes(ws[0]); in test()
47 bs = myconv.to_bytes(ws.c_str()); in test()
49 bs = myconv.to_bytes(ws); in test()
51 bs = myconv.to_bytes(ws.data(), ws.data() + ws.size()); in test()
53 bs = myconv.to_bytes(L""); in test()
64 std::string bs = myconv.to_bytes(ws[0]); in test()
66 bs = myconv.to_bytes(ws.c_str()); in test()
68 bs = myconv.to_bytes(ws); in test()
70 bs = myconv.to_bytes(ws.data(), ws.data() + ws.size()); in test()
72 bs = myconv.to_bytes(L""); in test()
H A Dconverted.pass.cpp44 std::string bs = myconv.to_bytes(L"\u1005"); in test()
46 bs = myconv.to_bytes(L"\u1005e"); in test()
61 std::string bs = myconv.to_bytes(L"\U00040003"); in test()
63 bs = myconv.to_bytes(L"\U00040003e"); in test()
H A Dctor_err_string.pass.cpp39 TEST_IGNORE_NODISCARD myconv.to_bytes(L"\xDA83"); in main()
57 std::string bs = myconv.to_bytes(L"\xDA83"); in main()
72 std::string bs = myconv.to_bytes(L"\xDA83"); in main()
/llvm-project-15.0.7/libcxx/utils/libcxx/
H A Dutil.py21 def to_bytes(str): function
30 return to_bytes(bytes)
198 input = to_bytes(input)
H A Dcompiler.py296 cmd, input=libcxx.util.to_bytes('#error\n'))
/llvm-project-15.0.7/llvm/utils/lit/lit/
H A DTestRunner.py25 from lit.util import to_bytes, to_string, to_unicode
339 encode = lit.util.to_bytes
361 arg = lit.util.to_bytes(arg)
401 dir = to_unicode(dir) if kIsWindows else to_bytes(dir)
402 cwd = to_unicode(cwd) if kIsWindows else to_bytes(cwd)
446 path = to_unicode(path) if kIsWindows else to_bytes(path)
447 cwd = to_unicode(cwd) if kIsWindows else to_bytes(cwd)
594 if kIsWindows else to_bytes(redir_filename)
1097 if not data.endswith(to_bytes('\n')):
1098 data = data + to_bytes('\n')
[all …]
H A DProgressBar.py8 def to_bytes(str): function
139 return curses.tparm(to_bytes(arg), index).decode('utf-8') or ''
H A Dutil.py42 def to_bytes(s): function
339 input = to_bytes(input)
/llvm-project-15.0.7/libcxx/test/libcxx/selftest/dsl/
H A Dlit.local.cfg12 base64Encode = lambda s: lit.util.to_string(base64.b64encode(lit.util.to_bytes(s)))
/llvm-project-15.0.7/lldb/test/API/lua_api/
H A DTestLuaAPI.py85 input = to_bytes(input)
/llvm-project-15.0.7/clang/tools/clang-format/
H A Dgit-clang-format442 p.stdin.write(to_bytes('%s\0' % line))
619 def to_bytes(str_input): function
/llvm-project-15.0.7/lldb/source/Host/common/
H A DEditline.cpp459 lines.AppendString(m_utf8conv.to_bytes(line)); in GetInputAsStringList()
649 lines.AppendString(m_utf8conv.to_bytes(new_line_fragment)); in BreakLineCommand()
1531 line = m_utf8conv.to_bytes(SplitLines(input)[0]); in GetLine()
/llvm-project-15.0.7/libcxx/include/
H A Dlocale112 byte_string to_bytes(Elem wchar);
113 byte_string to_bytes(const Elem* wptr);
114 byte_string to_bytes(const wide_string& wstr);
115 byte_string to_bytes(const Elem* first, const Elem* last);
3672 byte_string to_bytes(_Elem __wchar)
3673 {return to_bytes(&__wchar, &__wchar+1);}
3675 byte_string to_bytes(const _Elem* __wptr)
3678 byte_string to_bytes(const wide_string& __wstr)
3680 byte_string to_bytes(const _Elem* __first, const _Elem* __last);
3803 to_bytes(const _Elem* __frm, const _Elem* __frm_end)
[all …]
/llvm-project-15.0.7/third-party/benchmark/src/
H A Dsysinfo.cc432 str = converter.to_bytes(wStr); in GetSystemName()