HomeSort by: relevance | last modified time | path
    Searched refs:to_bytes (Results 1 - 21 of 21) sorted by relevancy

  /src/external/mpl/bind/dist/bin/tests/system/rndc/
tests_cve_2023_3341.py 44 total_len.to_bytes(4, "big"), # <total lenght>
55 l.to_bytes(4, "big"), # <size>
  /src/external/bsd/atf/dist/atf-c++/detail/
text_test.cpp 313 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("8g"))
    [all...]
text.hpp 107 int64_t to_bytes(std::string);
text.cpp 138 impl::to_bytes(std::string str) function in class:impl
  /src/external/bsd/atf/dist/tools/
text_test.cpp 313 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 tools::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("8g"))
    [all...]
text.hpp 107 int64_t to_bytes(std::string);
text.cpp 136 impl::to_bytes(std::string str) function in class:impl
requirements.cpp 152 const int64_t needed = tools::text::to_bytes(raw_memory);
test-program.cpp 464 (void)tools::text::to_bytes(value);
  /src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/
locale_conv.h 352 to_bytes(_Elem __wchar) function in class:wstring_convert
355 return to_bytes(__wchars, __wchars+1);
359 to_bytes(const _Elem* __ptr) function in class:wstring_convert
361 return to_bytes(__ptr, __ptr+wide_string::traits_type::length(__ptr));
365 to_bytes(const wide_string& __wstr) function in class:wstring_convert
368 return to_bytes(__ptr, __ptr + __wstr.size());
372 to_bytes(const _Elem* __first, const _Elem* __last) function in class:wstring_convert
382 __throw_range_error("wstring_convert::to_bytes");
  /src/external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/
locale_conv.h 352 to_bytes(_Elem __wchar) function in class:wstring_convert
355 return to_bytes(__wchars, __wchars+1);
359 to_bytes(const _Elem* __ptr) function in class:wstring_convert
361 return to_bytes(__ptr, __ptr+wide_string::traits_type::length(__ptr));
365 to_bytes(const wide_string& __wstr) function in class:wstring_convert
368 return to_bytes(__ptr, __ptr + __wstr.size());
372 to_bytes(const _Elem* __first, const _Elem* __last) function in class:wstring_convert
382 __throw_range_error("wstring_convert::to_bytes");
  /src/external/apache2/llvm/dist/libcxx/utils/libcxx/
util.py 21 def to_bytes(str): function
30 return to_bytes(bytes)
198 input = to_bytes(input)
compiler.py 296 cmd, input=libcxx.util.to_bytes('#error\n'))
  /src/external/apache2/llvm/dist/llvm/utils/lit/lit/
TestRunner.py 24 from lit.util import to_bytes, to_string, to_unicode
314 encode = lit.util.to_bytes
336 arg = lit.util.to_bytes(arg)
376 dir = to_unicode(dir) if kIsWindows else to_bytes(dir)
377 cwd = to_unicode(cwd) if kIsWindows else to_bytes(cwd)
421 path = to_unicode(path) if kIsWindows else to_bytes(path)
422 cwd = to_unicode(cwd) if kIsWindows else to_bytes(cwd)
569 if kIsWindows else to_bytes(redir_filename)
1047 to_bytes("(%s)(.*)\n" % ("|".join(re.escape(k) for k in keywords),)))
1055 if not data.endswith(to_bytes('\n'))
    [all...]
ProgressBar.py 8 def to_bytes(str): function
139 return curses.tparm(to_bytes(arg), index).decode('utf-8') or ''
util.py 42 def to_bytes(s): function
337 input = to_bytes(input)
  /src/crypto/external/apache2/openssl/dist/test/cms-msg/
make_missing_kdf_der.py 85 end = start + len(node.hdr_len.to_bytes(1, "big")) - 1 # unused, kept for clarity
  /src/external/apache2/llvm/dist/clang/tools/clang-format/
git-clang-format 407 p.stdin.write(to_bytes('%s\0' % line))
573 def to_bytes(str_input): function
  /src/external/mpl/bind/dist/bin/tests/system/nsec3/ans7/
ans.py 171 raw_sig = r.to_bytes(32, "big") + s.to_bytes(32, "big")
  /src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/
sysinfo.cc 386 str = converter.to_bytes(wStr);
  /src/external/mpl/bind/dist/bin/tests/system/isctest/
asyncserver.py 1403 return len(payload).to_bytes(2, byteorder="big") + payload

Completed in 39 milliseconds