Searched refs:Py_hexdigits (Results 1 – 12 of 12) sorted by relevance
91 retbuf[j++] = Py_hexdigits[c >> 4]; in _Py_strhex_impl()92 retbuf[j++] = Py_hexdigits[c & 0x0f]; in _Py_strhex_impl()107 retbuf[j++] = Py_hexdigits[c >> 4]; in _Py_strhex_impl()108 retbuf[j++] = Py_hexdigits[c & 0x0f]; in _Py_strhex_impl()114 retbuf[j++] = Py_hexdigits[c >> 4]; in _Py_strhex_impl()115 retbuf[j++] = Py_hexdigits[c & 0x0f]; in _Py_strhex_impl()125 retbuf[j--] = Py_hexdigits[c & 0x0f]; in _Py_strhex_impl()126 retbuf[j--] = Py_hexdigits[c >> 4]; in _Py_strhex_impl()132 retbuf[j--] = Py_hexdigits[c & 0x0f]; in _Py_strhex_impl()133 retbuf[j--] = Py_hexdigits[c >> 4]; in _Py_strhex_impl()
17 const char *Py_hexdigits = "0123456789abcdef"; variable880 outp[2] = Py_hexdigits[(c>>4)&0xf]; in PyCodec_BackslashReplaceErrors()881 outp[3] = Py_hexdigits[c&0xf]; in PyCodec_BackslashReplaceErrors()934 *outp++ = Py_hexdigits[(c>>28)&0xf]; in PyCodec_BackslashReplaceErrors()935 *outp++ = Py_hexdigits[(c>>24)&0xf]; in PyCodec_BackslashReplaceErrors()936 *outp++ = Py_hexdigits[(c>>20)&0xf]; in PyCodec_BackslashReplaceErrors()937 *outp++ = Py_hexdigits[(c>>16)&0xf]; in PyCodec_BackslashReplaceErrors()938 *outp++ = Py_hexdigits[(c>>12)&0xf]; in PyCodec_BackslashReplaceErrors()939 *outp++ = Py_hexdigits[(c>>8)&0xf]; in PyCodec_BackslashReplaceErrors()943 *outp++ = Py_hexdigits[(c>>12)&0xf]; in PyCodec_BackslashReplaceErrors()[all …]
671 *ptr = Py_hexdigits[value & 15]; in _Py_DumpHexadecimal()
136 output[chars++] = Py_hexdigits[(v >> 12) & 0xf]; in ascii_escape_unichar()137 output[chars++] = Py_hexdigits[(v >> 8) & 0xf]; in ascii_escape_unichar()138 output[chars++] = Py_hexdigits[(v >> 4) & 0xf]; in ascii_escape_unichar()139 output[chars++] = Py_hexdigits[(v ) & 0xf]; in ascii_escape_unichar()144 output[chars++] = Py_hexdigits[(c >> 12) & 0xf]; in ascii_escape_unichar()145 output[chars++] = Py_hexdigits[(c >> 8) & 0xf]; in ascii_escape_unichar()146 output[chars++] = Py_hexdigits[(c >> 4) & 0xf]; in ascii_escape_unichar()147 output[chars++] = Py_hexdigits[(c ) & 0xf]; in ascii_escape_unichar()286 output[chars++] = Py_hexdigits[(c >> 4) & 0xf]; \ in escape_unicode()287 output[chars++] = Py_hexdigits[(c ) & 0xf]; \ in escape_unicode()
238 *p++ = Py_hexdigits[(c & 0xf0) >> 4]; in _codecs_escape_encode_impl()239 *p++ = Py_hexdigits[c & 0xf]; in _codecs_escape_encode_impl()
2609 *p++ = Py_hexdigits[(ch >> 28) & 0xf]; in raw_unicode_escape()2610 *p++ = Py_hexdigits[(ch >> 24) & 0xf]; in raw_unicode_escape()2611 *p++ = Py_hexdigits[(ch >> 20) & 0xf]; in raw_unicode_escape()2612 *p++ = Py_hexdigits[(ch >> 16) & 0xf]; in raw_unicode_escape()2613 *p++ = Py_hexdigits[(ch >> 12) & 0xf]; in raw_unicode_escape()2614 *p++ = Py_hexdigits[(ch >> 8) & 0xf]; in raw_unicode_escape()2615 *p++ = Py_hexdigits[(ch >> 4) & 0xf]; in raw_unicode_escape()2616 *p++ = Py_hexdigits[ch & 15]; in raw_unicode_escape()2630 *p++ = Py_hexdigits[(ch >> 12) & 0xf]; in raw_unicode_escape()2631 *p++ = Py_hexdigits[(ch >> 8) & 0xf]; in raw_unicode_escape()[all …]
627 *--cur = Py_hexdigits[saved_errno % 16]; in child_exec()
242 PyAPI_DATA(const char *) Py_hexdigits;
775 *str++ = Py_hexdigits[(ch>>28)&0xf]; in backslashreplace()776 *str++ = Py_hexdigits[(ch>>24)&0xf]; in backslashreplace()777 *str++ = Py_hexdigits[(ch>>20)&0xf]; in backslashreplace()778 *str++ = Py_hexdigits[(ch>>16)&0xf]; in backslashreplace()779 *str++ = Py_hexdigits[(ch>>12)&0xf]; in backslashreplace()780 *str++ = Py_hexdigits[(ch>>8)&0xf]; in backslashreplace()784 *str++ = Py_hexdigits[(ch>>12)&0xf]; in backslashreplace()785 *str++ = Py_hexdigits[(ch>>8)&0xf]; in backslashreplace()789 *str++ = Py_hexdigits[(ch>>4)&0xf]; in backslashreplace()790 *str++ = Py_hexdigits[ch&0xf]; in backslashreplace()[all …]
975 *p++ = Py_hexdigits[(c & 0xf0) >> 4]; in bytearray_repr()976 *p++ = Py_hexdigits[c & 0xf]; in bytearray_repr()
1350 *p++ = Py_hexdigits[(c & 0xf0) >> 4]; in PyBytes_Repr()1351 *p++ = Py_hexdigits[c & 0xf]; in PyBytes_Repr()
1117 return Py_hexdigits[x]; in char_from_hex()