Searched refs:trans_table (Results 1 – 3 of 3) sorted by relevance
1268 int trans_table[256]; in bytearray_translate_impl() local1316 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()
2045 int trans_table[256]; in bytes_translate_impl() local2117 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()
74368 unsigned int *trans_table; member