/dports/www/py-yarl/yarl-1.7.2/tests/ |
H A D | test_quoting.py | 31 def hexescape(char): function 120 assert hexescape(char) == result 122 assert hexescape(char) == result 148 assert result == hexescape(" ") 153 expect = given.replace(" ", hexescape(" ")) 196 given = hexescape(chr(num)) 251 given = "ab" + hexescape("c") + "d"
|
/dports/www/py-protego/Protego-0.1.16/tests/ |
H A D | test_unquote.py | 13 def hexescape(char): function 15 return rs.hexescape(char) 25 given = hexescape(chr(num)) 59 given = 'ab%sd' % hexescape('c')
|
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
H A D | test_urllib.py | 13 def hexescape(char): function 393 self.assertEqual(hexescape(char), result, 395 (char, hexescape(char), result)) 397 self.assertEqual(hexescape(char), result, 400 (char, hexescape(char), result)) 415 self.assertEqual(result, hexescape(' '), 416 "using quote(): %s != %s" % (result, hexescape(' '))) 421 expect = given.replace(' ', hexescape(' ')) 447 given = hexescape(chr(num)) 497 given = 'ab%sd' % hexescape('c') [all …]
|
/dports/games/dose-response/dose-response-179c326/cargo-crates/toml_edit-0.1.5/src/parser/ |
H A D | strings.rs | 61 'u' => hexescape(4).parse_stream(input), 62 'U' => hexescape(8).parse_stream(input), 70 parse!(hexescape(n: usize) -> char, {
|
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-audit/cargo-crates/toml_edit-0.2.0/src/parser/ |
H A D | strings.rs | 61 'u' => hexescape(4).parse_stream(input), 62 'U' => hexescape(8).parse_stream(input), 70 parse!(hexescape(n: usize) -> char, {
|
/dports/devel/py-gevent/gevent-21.8.0/src/greentest/2.7pypy/ |
H A D | test_urllib.py | 17 def hexescape(char): function 601 self.assertEqual(hexescape(char), result, 603 (char, hexescape(char), result)) 605 self.assertEqual(hexescape(char), result, 608 (char, hexescape(char), result)) 624 self.assertEqual(result, hexescape(' '), 625 "using quote(): %s != %s" % (result, hexescape(' '))) 630 expect = given.replace(' ', hexescape(' ')) 656 given = hexescape(chr(num)) 706 given = 'ab%sd' % hexescape('c') [all …]
|
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-audit/cargo-crates/toml_edit-0.2.1/src/parser/ |
H A D | strings.rs | 58 'u' => hexescape(4).parse_stream(input).into_result(), 59 'U' => hexescape(8).parse_stream(input).into_result(), 67 parse!(hexescape(n: usize) -> char, {
|
/dports/lang/python-legacy/Python-2.7.18/Lib/test/ |
H A D | test_urllib.py | 17 def hexescape(char): function 627 self.assertEqual(hexescape(char), result, 629 (char, hexescape(char), result)) 631 self.assertEqual(hexescape(char), result, 634 (char, hexescape(char), result)) 650 self.assertEqual(result, hexescape(' '), 651 "using quote(): %s != %s" % (result, hexescape(' '))) 656 expect = given.replace(' ', hexescape(' ')) 682 given = hexescape(chr(num)) 732 given = 'ab%sd' % hexescape('c') [all …]
|
/dports/lang/python27/Python-2.7.18/Lib/test/ |
H A D | test_urllib.py | 17 def hexescape(char): function 627 self.assertEqual(hexescape(char), result, 629 (char, hexescape(char), result)) 631 self.assertEqual(hexescape(char), result, 634 (char, hexescape(char), result)) 650 self.assertEqual(result, hexescape(' '), 651 "using quote(): %s != %s" % (result, hexescape(' '))) 656 expect = given.replace(' ', hexescape(' ')) 682 given = hexescape(chr(num)) 732 given = 'ab%sd' % hexescape('c') [all …]
|
/dports/devel/py-gevent/gevent-21.8.0/src/greentest/2.7/ |
H A D | test_urllib.py | 17 def hexescape(char): function 627 self.assertEqual(hexescape(char), result, 629 (char, hexescape(char), result)) 631 self.assertEqual(hexescape(char), result, 634 (char, hexescape(char), result)) 650 self.assertEqual(result, hexescape(' '), 651 "using quote(): %s != %s" % (result, hexescape(' '))) 656 expect = given.replace(' ', hexescape(' ')) 682 given = hexescape(chr(num)) 732 given = 'ab%sd' % hexescape('c') [all …]
|
/dports/devel/py-future/future-0.18.2/tests/test_future/ |
H A D | test_urllib.py | 22 def hexescape(char): function 616 self.assertEqual(hexescape(char), result, 619 (char, hexescape(char), result)) 621 self.assertEqual(hexescape(char), result, 624 (char, hexescape(char), result)) 639 self.assertEqual(result, hexescape(' '), 640 "using quote(): %r != %r" % (result, hexescape(' '))) 645 expect = given.replace(' ', hexescape(' ')) 751 given = hexescape(chr(num)) 820 given = 'ab%sd' % hexescape('c') [all …]
|
H A D | test_urllib_toplevel.py | 33 def hexescape(char): function 631 self.assertEqual(hexescape(char), result, 634 (char, hexescape(char), result)) 636 self.assertEqual(hexescape(char), result, 639 (char, hexescape(char), result)) 654 self.assertEqual(result, hexescape(' '), 655 "using quote(): %r != %r" % (result, hexescape(' '))) 660 expect = given.replace(' ', hexescape(' ')) 766 given = hexescape(chr(num)) 835 given = 'ab%sd' % hexescape('c') [all …]
|
/dports/lang/gleam/gleam-0.18.2/cargo-crates/toml_edit-0.9.1/src/parser/ |
H A D | strings.rs | 86 b'u' => hexescape(4).parse_stream(input).into_result(), 87 b'U' => hexescape(8).parse_stream(input).into_result(), 104 parse!(hexescape(n: usize) -> char, {
|
/dports/lang/python37/Python-3.7.12/Lib/test/ |
H A D | test_urllib.py | 26 def hexescape(char): function 926 self.assertEqual(hexescape(char), result, 929 (char, hexescape(char), result)) 931 self.assertEqual(hexescape(char), result, 934 (char, hexescape(char), result)) 949 self.assertEqual(result, hexescape(' '), 950 "using quote(): %r != %r" % (result, hexescape(' '))) 955 expect = given.replace(' ', hexescape(' ')) 1061 given = hexescape(chr(num)) 1130 given = 'ab%sd' % hexescape('c') [all …]
|
/dports/devel/py-gevent/gevent-21.8.0/src/greentest/3.6pypy/ |
H A D | test_urllib.py | 26 def hexescape(char): function 872 self.assertEqual(hexescape(char), result, 875 (char, hexescape(char), result)) 877 self.assertEqual(hexescape(char), result, 880 (char, hexescape(char), result)) 895 self.assertEqual(result, hexescape(' '), 896 "using quote(): %r != %r" % (result, hexescape(' '))) 901 expect = given.replace(' ', hexescape(' ')) 1007 given = hexescape(chr(num)) 1076 given = 'ab%sd' % hexescape('c') [all …]
|
/dports/databases/py-sqlite3/Python-3.8.12/Lib/test/ |
H A D | test_urllib.py | 25 def hexescape(char): function 934 self.assertEqual(hexescape(char), result, 937 (char, hexescape(char), result)) 939 self.assertEqual(hexescape(char), result, 942 (char, hexescape(char), result)) 957 self.assertEqual(result, hexescape(' '), 958 "using quote(): %r != %r" % (result, hexescape(' '))) 963 expect = given.replace(' ', hexescape(' ')) 1069 given = hexescape(chr(num)) 1138 given = 'ab%sd' % hexescape('c') [all …]
|
/dports/databases/py-gdbm/Python-3.8.12/Lib/test/ |
H A D | test_urllib.py | 25 def hexescape(char): function 934 self.assertEqual(hexescape(char), result, 937 (char, hexescape(char), result)) 939 self.assertEqual(hexescape(char), result, 942 (char, hexescape(char), result)) 957 self.assertEqual(result, hexescape(' '), 958 "using quote(): %r != %r" % (result, hexescape(' '))) 963 expect = given.replace(' ', hexescape(' ')) 1069 given = hexescape(chr(num)) 1138 given = 'ab%sd' % hexescape('c') [all …]
|
/dports/lang/python310/Python-3.10.1/Lib/test/ |
H A D | test_urllib.py | 27 def hexescape(char): function 956 self.assertEqual(hexescape(char), result, 959 (char, hexescape(char), result)) 961 self.assertEqual(hexescape(char), result, 964 (char, hexescape(char), result)) 979 self.assertEqual(result, hexescape(' '), 980 "using quote(): %r != %r" % (result, hexescape(' '))) 985 expect = given.replace(' ', hexescape(' ')) 1091 given = hexescape(chr(num)) 1158 given = 'ab%sd' % hexescape('c') [all …]
|
/dports/lang/python-tools/Python-3.8.12/Lib/test/ |
H A D | test_urllib.py | 25 def hexescape(char): function 934 self.assertEqual(hexescape(char), result, 937 (char, hexescape(char), result)) 939 self.assertEqual(hexescape(char), result, 942 (char, hexescape(char), result)) 957 self.assertEqual(result, hexescape(' '), 958 "using quote(): %r != %r" % (result, hexescape(' '))) 963 expect = given.replace(' ', hexescape(' ')) 1069 given = hexescape(chr(num)) 1138 given = 'ab%sd' % hexescape('c') [all …]
|
/dports/lang/python38/Python-3.8.12/Lib/test/ |
H A D | test_urllib.py | 25 def hexescape(char): function 934 self.assertEqual(hexescape(char), result, 937 (char, hexescape(char), result)) 939 self.assertEqual(hexescape(char), result, 942 (char, hexescape(char), result)) 957 self.assertEqual(result, hexescape(' '), 958 "using quote(): %r != %r" % (result, hexescape(' '))) 963 expect = given.replace(' ', hexescape(' ')) 1069 given = hexescape(chr(num)) 1138 given = 'ab%sd' % hexescape('c') [all …]
|
/dports/lang/python311/Python-3.11.0a3/Lib/test/ |
H A D | test_urllib.py | 27 def hexescape(char): function 956 self.assertEqual(hexescape(char), result, 959 (char, hexescape(char), result)) 961 self.assertEqual(hexescape(char), result, 964 (char, hexescape(char), result)) 979 self.assertEqual(result, hexescape(' '), 980 "using quote(): %r != %r" % (result, hexescape(' '))) 985 expect = given.replace(' ', hexescape(' ')) 1091 given = hexescape(chr(num)) 1158 given = 'ab%sd' % hexescape('c') [all …]
|
/dports/lang/python39/Python-3.9.9/Lib/test/ |
H A D | test_urllib.py | 25 def hexescape(char): function 954 self.assertEqual(hexescape(char), result, 957 (char, hexescape(char), result)) 959 self.assertEqual(hexescape(char), result, 962 (char, hexescape(char), result)) 977 self.assertEqual(result, hexescape(' '), 978 "using quote(): %r != %r" % (result, hexescape(' '))) 983 expect = given.replace(' ', hexescape(' ')) 1089 given = hexescape(chr(num)) 1156 given = 'ab%sd' % hexescape('c') [all …]
|
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Lib/test/ |
H A D | test_urllib.py | 25 def hexescape(char): function 934 self.assertEqual(hexescape(char), result, 937 (char, hexescape(char), result)) 939 self.assertEqual(hexescape(char), result, 942 (char, hexescape(char), result)) 957 self.assertEqual(result, hexescape(' '), 958 "using quote(): %r != %r" % (result, hexescape(' '))) 963 expect = given.replace(' ', hexescape(' ')) 1069 given = hexescape(chr(num)) 1138 given = 'ab%sd' % hexescape('c') [all …]
|
/dports/www/py-protego/Protego-0.1.16/src/ |
H A D | protego.py | 154 def hexescape(self, char): member in _RuleSet 197 self.allow(pattern.replace('$', self.hexescape('$'))) 210 self.disallow(pattern.replace('$', self.hexescape('$')))
|
/dports/lang/python27/Python-2.7.18/Objects/ |
H A D | unicodeobject.c | 2901 goto hexescape; in PyUnicode_DecodeUnicodeEscape() 2907 goto hexescape; in PyUnicode_DecodeUnicodeEscape() 2913 hexescape: in PyUnicode_DecodeUnicodeEscape()
|