Lines Matching refs:hexescape
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')
1339 expect = "%s=%s" % (hexescape('&'), hexescape('='))