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