Home
last modified time | relevance | path

Searched refs:trans_table (Results 1 – 2 of 2) sorted by relevance

/third_party/python/Objects/
Dbytearrayobject.c1268 int trans_table[256]; in bytearray_translate_impl() local
1316 trans_table[i] = Py_CHARMASK(i); in bytearray_translate_impl()
1319 trans_table[i] = Py_CHARMASK(table_chars[i]); in bytearray_translate_impl()
1323 trans_table[(int) Py_CHARMASK( ((unsigned char*)vdel.buf)[i] )] = -1; in bytearray_translate_impl()
1327 if (trans_table[c] != -1) in bytearray_translate_impl()
1328 *output++ = (char)trans_table[c]; in bytearray_translate_impl()
Dbytesobject.c2045 int trans_table[256]; in bytes_translate_impl() local
2117 trans_table[i] = Py_CHARMASK(i); in bytes_translate_impl()
2120 trans_table[i] = Py_CHARMASK(table_chars[i]); in bytes_translate_impl()
2125 trans_table[(int) Py_CHARMASK(del_table_chars[i])] = -1; in bytes_translate_impl()
2130 if (trans_table[c] != -1) in bytes_translate_impl()
2131 if (Py_CHARMASK(*output++ = (char)trans_table[c]) == c) in bytes_translate_impl()