Searched refs:trans_table (Results 1 – 3 of 3) sorted by relevance
956 int trans_table[256]; in strop_translate() local991 trans_table[i] = Py_CHARMASK(table[i]); in strop_translate()994 trans_table[(int) Py_CHARMASK(del_table[i])] = -1; in strop_translate()998 if (trans_table[c] != -1) in strop_translate()999 if (Py_CHARMASK(*output++ = (char)trans_table[c]) == c) in strop_translate()
1451 int trans_table[256]; in bytearray_translate() local1504 trans_table[i] = Py_CHARMASK(i); in bytearray_translate()1507 trans_table[i] = Py_CHARMASK(table[i]); in bytearray_translate()1511 trans_table[(int) Py_CHARMASK( ((unsigned char*)vdel.buf)[i] )] = -1; in bytearray_translate()1515 if (trans_table[c] != -1) in bytearray_translate()1516 if (Py_CHARMASK(*output++ = (char)trans_table[c]) == c) in bytearray_translate()
2207 int trans_table[256]; in string_translate() local2287 trans_table[i] = Py_CHARMASK(i); in string_translate()2290 trans_table[i] = Py_CHARMASK(table[i]); in string_translate()2294 trans_table[(int) Py_CHARMASK(del_table[i])] = -1; in string_translate()2298 if (trans_table[c] != -1) in string_translate()2299 if (Py_CHARMASK(*output++ = (char)trans_table[c]) == c) in string_translate()