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 D | to_bytes.pass.cpp | 45 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 D | converted.pass.cpp | 44 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 D | ctor_err_string.pass.cpp | 39 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 D | util.py | 21 def to_bytes(str): function 30 return to_bytes(bytes) 198 input = to_bytes(input)
|
| H A D | compiler.py | 296 cmd, input=libcxx.util.to_bytes('#error\n'))
|
| /llvm-project-15.0.7/llvm/utils/lit/lit/ |
| H A D | TestRunner.py | 25 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 D | ProgressBar.py | 8 def to_bytes(str): function 139 return curses.tparm(to_bytes(arg), index).decode('utf-8') or ''
|
| H A D | util.py | 42 def to_bytes(s): function 339 input = to_bytes(input)
|
| /llvm-project-15.0.7/libcxx/test/libcxx/selftest/dsl/ |
| H A D | lit.local.cfg | 12 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 D | TestLuaAPI.py | 85 input = to_bytes(input)
|
| /llvm-project-15.0.7/clang/tools/clang-format/ |
| H A D | git-clang-format | 442 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 D | Editline.cpp | 459 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 D | locale | 112 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 D | sysinfo.cc | 432 str = converter.to_bytes(wStr); in GetSystemName()
|