Home
last modified time | relevance | path

Searched refs:Py_hexdigits (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython3/Python/
Dcodecs.c16 const char *Py_hexdigits = "0123456789abcdef"; variable
885 outp[2] = Py_hexdigits[(c>>4)&0xf]; in PyCodec_BackslashReplaceErrors()
886 outp[3] = Py_hexdigits[c&0xf]; in PyCodec_BackslashReplaceErrors()
939 *outp++ = Py_hexdigits[(c>>28)&0xf]; in PyCodec_BackslashReplaceErrors()
940 *outp++ = Py_hexdigits[(c>>24)&0xf]; in PyCodec_BackslashReplaceErrors()
941 *outp++ = Py_hexdigits[(c>>20)&0xf]; in PyCodec_BackslashReplaceErrors()
942 *outp++ = Py_hexdigits[(c>>16)&0xf]; in PyCodec_BackslashReplaceErrors()
943 *outp++ = Py_hexdigits[(c>>12)&0xf]; in PyCodec_BackslashReplaceErrors()
944 *outp++ = Py_hexdigits[(c>>8)&0xf]; in PyCodec_BackslashReplaceErrors()
948 *outp++ = Py_hexdigits[(c>>12)&0xf]; in PyCodec_BackslashReplaceErrors()
[all …]
Dpystrhex.c33 retbuf[j++] = Py_hexdigits[c]; in _Py_strhex_impl()
35 retbuf[j++] = Py_hexdigits[c]; in _Py_strhex_impl()
Dtraceback.c662 *ptr = Py_hexdigits[value & 15]; in _Py_DumpHexadecimal()
/external/python/cpython3/Modules/
D_json.c147 output[chars++] = Py_hexdigits[(v >> 12) & 0xf]; in ascii_escape_unichar()
148 output[chars++] = Py_hexdigits[(v >> 8) & 0xf]; in ascii_escape_unichar()
149 output[chars++] = Py_hexdigits[(v >> 4) & 0xf]; in ascii_escape_unichar()
150 output[chars++] = Py_hexdigits[(v ) & 0xf]; in ascii_escape_unichar()
155 output[chars++] = Py_hexdigits[(c >> 12) & 0xf]; in ascii_escape_unichar()
156 output[chars++] = Py_hexdigits[(c >> 8) & 0xf]; in ascii_escape_unichar()
157 output[chars++] = Py_hexdigits[(c >> 4) & 0xf]; in ascii_escape_unichar()
158 output[chars++] = Py_hexdigits[(c ) & 0xf]; in ascii_escape_unichar()
297 output[chars++] = Py_hexdigits[(c >> 4) & 0xf]; \ in escape_unicode()
298 output[chars++] = Py_hexdigits[(c ) & 0xf]; \ in escape_unicode()
D_codecsmodule.c237 *p++ = Py_hexdigits[(c & 0xf0) >> 4]; in _codecs_escape_encode_impl()
238 *p++ = Py_hexdigits[c & 0xf]; in _codecs_escape_encode_impl()
D_pickle.c2327 *p++ = Py_hexdigits[(ch >> 28) & 0xf]; in raw_unicode_escape()
2328 *p++ = Py_hexdigits[(ch >> 24) & 0xf]; in raw_unicode_escape()
2329 *p++ = Py_hexdigits[(ch >> 20) & 0xf]; in raw_unicode_escape()
2330 *p++ = Py_hexdigits[(ch >> 16) & 0xf]; in raw_unicode_escape()
2331 *p++ = Py_hexdigits[(ch >> 12) & 0xf]; in raw_unicode_escape()
2332 *p++ = Py_hexdigits[(ch >> 8) & 0xf]; in raw_unicode_escape()
2333 *p++ = Py_hexdigits[(ch >> 4) & 0xf]; in raw_unicode_escape()
2334 *p++ = Py_hexdigits[ch & 15]; in raw_unicode_escape()
2345 *p++ = Py_hexdigits[(ch >> 12) & 0xf]; in raw_unicode_escape()
2346 *p++ = Py_hexdigits[(ch >> 8) & 0xf]; in raw_unicode_escape()
[all …]
D_posixsubprocess.c538 *--cur = Py_hexdigits[saved_errno % 16]; in child_exec()
/external/python/cpython3/Include/
Dcodecs.h234 PyAPI_DATA(const char *) Py_hexdigits;
/external/python/cpython3/Objects/
Dunicodeobject.c669 *str++ = Py_hexdigits[(ch>>28)&0xf]; in backslashreplace()
670 *str++ = Py_hexdigits[(ch>>24)&0xf]; in backslashreplace()
671 *str++ = Py_hexdigits[(ch>>20)&0xf]; in backslashreplace()
672 *str++ = Py_hexdigits[(ch>>16)&0xf]; in backslashreplace()
673 *str++ = Py_hexdigits[(ch>>12)&0xf]; in backslashreplace()
674 *str++ = Py_hexdigits[(ch>>8)&0xf]; in backslashreplace()
678 *str++ = Py_hexdigits[(ch>>12)&0xf]; in backslashreplace()
679 *str++ = Py_hexdigits[(ch>>8)&0xf]; in backslashreplace()
683 *str++ = Py_hexdigits[(ch>>4)&0xf]; in backslashreplace()
684 *str++ = Py_hexdigits[ch&0xf]; in backslashreplace()
[all …]
Dbytearrayobject.c981 *p++ = Py_hexdigits[(c & 0xf0) >> 4]; in bytearray_repr()
982 *p++ = Py_hexdigits[c & 0xf]; in bytearray_repr()
Dbytesobject.c1398 *p++ = Py_hexdigits[(c & 0xf0) >> 4]; in PyBytes_Repr()
1399 *p++ = Py_hexdigits[c & 0xf]; in PyBytes_Repr()
Dfloatobject.c1118 return Py_hexdigits[x]; in char_from_hex()
/external/python/cpython3/Tools/c-globals/
Dignored-globals.txt314 Py_hexdigits
/external/python/cpython2/Objects/
Dbytesobject.c1392 *p++ = Py_hexdigits[(c & 0xf0) >> 4]; in PyBytes_Repr()
1393 *p++ = Py_hexdigits[c & 0xf]; in PyBytes_Repr()