Searched refs:table_chars (Results 1 – 2 of 2) sorted by relevance
1262 const char *table_chars; in bytearray_translate_impl() local1272 table_chars = NULL; in bytearray_translate_impl()1283 table_chars = (const char*)vtable.buf; in bytearray_translate_impl()1305 if (vdel.len == 0 && table_chars != NULL) { in bytearray_translate_impl()1309 *output++ = table_chars[c]; in bytearray_translate_impl()1314 if (table_chars == NULL) { in bytearray_translate_impl()1319 trans_table[i] = Py_CHARMASK(table_chars[i]); in bytearray_translate_impl()
2039 const char *table_chars; in bytes_translate_impl() local2048 table_chars = PyBytes_AS_STRING(table); in bytes_translate_impl()2052 table_chars = NULL; in bytes_translate_impl()2058 table_chars = table_view.buf; in bytes_translate_impl()2098 if (dellen == 0 && table_chars != NULL) { in bytes_translate_impl()2102 if (Py_CHARMASK((*output++ = table_chars[c])) != c) in bytes_translate_impl()2115 if (table_chars == NULL) { in bytes_translate_impl()2120 trans_table[i] = Py_CHARMASK(table_chars[i]); in bytes_translate_impl()