Searched refs:trans_table (Results 1 – 6 of 6) 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()
1278 int trans_table[256]; in bytearray_translate_impl() local1326 trans_table[i] = Py_CHARMASK(i); in bytearray_translate_impl()1329 trans_table[i] = Py_CHARMASK(table_chars[i]); in bytearray_translate_impl()1333 trans_table[(int) Py_CHARMASK( ((unsigned char*)vdel.buf)[i] )] = -1; in bytearray_translate_impl()1337 if (trans_table[c] != -1) in bytearray_translate_impl()1338 *output++ = (char)trans_table[c]; in bytearray_translate_impl()
2030 int trans_table[256]; in bytes_translate_impl() local2102 trans_table[i] = Py_CHARMASK(i); in bytes_translate_impl()2105 trans_table[i] = Py_CHARMASK(table_chars[i]); in bytes_translate_impl()2110 trans_table[(int) Py_CHARMASK(del_table_chars[i])] = -1; in bytes_translate_impl()2115 if (trans_table[c] != -1) in bytes_translate_impl()2116 if (Py_CHARMASK(*output++ = (char)trans_table[c]) == c) in bytes_translate_impl()
2115 int trans_table[256]; in bytes_translate_impl() local2187 trans_table[i] = Py_CHARMASK(i); in bytes_translate_impl()2190 trans_table[i] = Py_CHARMASK(table_chars[i]); in bytes_translate_impl()2195 trans_table[(int) Py_CHARMASK(del_table_chars[i])] = -1; in bytes_translate_impl()2200 if (trans_table[c] != -1) in bytes_translate_impl()2201 if (Py_CHARMASK(*output++ = (char)trans_table[c]) == c) in bytes_translate_impl()
1472 int trans_table[256]; in bytearray_translate() local1525 trans_table[i] = Py_CHARMASK(i); in bytearray_translate()1528 trans_table[i] = Py_CHARMASK(table[i]); in bytearray_translate()1532 trans_table[(int) Py_CHARMASK( ((unsigned char*)vdel.buf)[i] )] = -1; in bytearray_translate()1536 if (trans_table[c] != -1) in bytearray_translate()1537 if (Py_CHARMASK(*output++ = (char)trans_table[c]) == c) in bytearray_translate()
2213 int trans_table[256]; in string_translate() local2293 trans_table[i] = Py_CHARMASK(i); in string_translate()2296 trans_table[i] = Py_CHARMASK(table[i]); in string_translate()2300 trans_table[(int) Py_CHARMASK(del_table[i])] = -1; in string_translate()2304 if (trans_table[c] != -1) in string_translate()2305 if (Py_CHARMASK(*output++ = (char)trans_table[c]) == c) in string_translate()