Home
last modified time | relevance | path

Searched refs:to_encode (Results 1 – 8 of 8) sorted by relevance

/aosp_15_r20/external/openscreen/util/
H A Dbase64_unittest.cc27 void CheckEncodeDecode(const char* to_encode, const char* encode_expected) { in CheckEncodeDecode() argument
28 std::string encoded = Encode(to_encode); in CheckEncodeDecode()
34 CheckEquals(to_encode, decoded); in CheckEncodeDecode()
/aosp_15_r20/external/python/cpython3/Lib/email/
D_header_value_parser.py2865 def _fold_as_ew(to_encode, lines, maxlen, last_ew, ew_combine_allowed, charset): argument
2877 to_encode = str(
2878 get_unstructured(lines[-1][last_ew:] + to_encode))
2880 if to_encode[0] in WSP:
2883 leading_wsp = to_encode[0]
2884 to_encode = to_encode[1:]
2889 if to_encode[-1] in WSP:
2891 trailing_wsp = to_encode[-1]
2892 to_encode = to_encode[:-1]
2905 while to_encode:
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/email/
D_header_value_parser.py2865 def _fold_as_ew(to_encode, lines, maxlen, last_ew, ew_combine_allowed, charset): argument
2877 to_encode = str(
2878 get_unstructured(lines[-1][last_ew:] + to_encode))
2880 if to_encode[0] in WSP:
2883 leading_wsp = to_encode[0]
2884 to_encode = to_encode[1:]
2889 if to_encode[-1] in WSP:
2891 trailing_wsp = to_encode[-1]
2892 to_encode = to_encode[:-1]
2905 while to_encode:
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/email/
D_header_value_parser.py2865 def _fold_as_ew(to_encode, lines, maxlen, last_ew, ew_combine_allowed, charset): argument
2877 to_encode = str(
2878 get_unstructured(lines[-1][last_ew:] + to_encode))
2880 if to_encode[0] in WSP:
2883 leading_wsp = to_encode[0]
2884 to_encode = to_encode[1:]
2889 if to_encode[-1] in WSP:
2891 trailing_wsp = to_encode[-1]
2892 to_encode = to_encode[:-1]
2905 while to_encode:
[all …]
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/email/
H A D_header_value_parser.py2865 def _fold_as_ew(to_encode, lines, maxlen, last_ew, ew_combine_allowed, charset): argument
2877 to_encode = str(
2878 get_unstructured(lines[-1][last_ew:] + to_encode))
2880 if to_encode[0] in WSP:
2883 leading_wsp = to_encode[0]
2884 to_encode = to_encode[1:]
2889 if to_encode[-1] in WSP:
2891 trailing_wsp = to_encode[-1]
2892 to_encode = to_encode[:-1]
2905 while to_encode:
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/email/
D_header_value_parser.py2865 def _fold_as_ew(to_encode, lines, maxlen, last_ew, ew_combine_allowed, charset): argument
2877 to_encode = str(
2878 get_unstructured(lines[-1][last_ew:] + to_encode))
2880 if to_encode[0] in WSP:
2883 leading_wsp = to_encode[0]
2884 to_encode = to_encode[1:]
2889 if to_encode[-1] in WSP:
2891 trailing_wsp = to_encode[-1]
2892 to_encode = to_encode[:-1]
2905 while to_encode:
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/email/
D_header_value_parser.py2865 def _fold_as_ew(to_encode, lines, maxlen, last_ew, ew_combine_allowed, charset): argument
2877 to_encode = str(
2878 get_unstructured(lines[-1][last_ew:] + to_encode))
2880 if to_encode[0] in WSP:
2883 leading_wsp = to_encode[0]
2884 to_encode = to_encode[1:]
2889 if to_encode[-1] in WSP:
2891 trailing_wsp = to_encode[-1]
2892 to_encode = to_encode[:-1]
2905 while to_encode:
[all …]
/aosp_15_r20/external/python/cpython3/Lib/test/
Dtest_base64.py365 for to_encode, expected in test_cases:
366 with self.subTest(to_decode=to_encode):
367 self.assertEqual(base64.b32hexencode(to_encode), expected)