Lines Matching refs:hexescape
25 def hexescape(char): function
818 self.assertEqual(hexescape(char), result,
821 (char, hexescape(char), result))
823 self.assertEqual(hexescape(char), result,
826 (char, hexescape(char), result))
841 self.assertEqual(result, hexescape(' '),
842 "using quote(): %r != %r" % (result, hexescape(' ')))
847 expect = given.replace(' ', hexescape(' '))
953 given = hexescape(chr(num))
1022 given = 'ab%sd' % hexescape('c')
1180 expect = "%s=%s" % (hexescape('&'), hexescape('='))