Home
last modified time | relevance | path

Searched refs:table_chars (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Objects/
Dbytearrayobject.c1272 const char *table_chars; in bytearray_translate_impl() local
1282 table_chars = NULL; in bytearray_translate_impl()
1293 table_chars = (const char*)vtable.buf; in bytearray_translate_impl()
1315 if (vdel.len == 0 && table_chars != NULL) { in bytearray_translate_impl()
1319 *output++ = table_chars[c]; in bytearray_translate_impl()
1324 if (table_chars == NULL) { in bytearray_translate_impl()
1329 trans_table[i] = Py_CHARMASK(table_chars[i]); in bytearray_translate_impl()
Dbytesobject.c2024 const char *table_chars; in bytes_translate_impl() local
2033 table_chars = PyBytes_AS_STRING(table); in bytes_translate_impl()
2037 table_chars = NULL; in bytes_translate_impl()
2043 table_chars = table_view.buf; in bytes_translate_impl()
2083 if (dellen == 0 && table_chars != NULL) { in bytes_translate_impl()
2087 if (Py_CHARMASK((*output++ = table_chars[c])) != c) in bytes_translate_impl()
2100 if (table_chars == NULL) { in bytes_translate_impl()
2105 trans_table[i] = Py_CHARMASK(table_chars[i]); in bytes_translate_impl()
/external/python/cpython2/Objects/
Dbytesobject.c2109 const char *table_chars; in bytes_translate_impl() local
2118 table_chars = PyBytes_AS_STRING(table); in bytes_translate_impl()
2122 table_chars = NULL; in bytes_translate_impl()
2128 table_chars = table_view.buf; in bytes_translate_impl()
2168 if (dellen == 0 && table_chars != NULL) { in bytes_translate_impl()
2172 if (Py_CHARMASK((*output++ = table_chars[c])) != c) in bytes_translate_impl()
2185 if (table_chars == NULL) { in bytes_translate_impl()
2190 trans_table[i] = Py_CHARMASK(table_chars[i]); in bytes_translate_impl()