Home
last modified time | relevance | path

Searched refs:decoding_buffer (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Parser/
Dtokenizer.c82 tok->decoding_buffer = NULL; in tok_new()
352 if (tok->decoding_buffer) { in fp_readl()
353 bufobj = tok->decoding_buffer; in fp_readl()
378 Py_XDECREF(tok->decoding_buffer); in fp_readl()
381 tok->decoding_buffer = PyByteArray_FromStringAndSize(buf+size, in fp_readl()
383 if (tok->decoding_buffer == NULL) in fp_readl()
388 tok->decoding_buffer = NULL; in fp_readl()
564 PyObject* buf = tok->decoding_buffer; in decoding_feof()
571 tok->decoding_buffer = buf; in decoding_feof()
718 assert(tok->decoding_buffer == NULL); in decode_str()
[all …]
Dtokenizer.h61 PyObject *decoding_buffer; member
/external/python/cpython2/Parser/
Dtokenizer.c128 tok->decoding_buffer = NULL; in tok_new()
409 PyObject* buf = tok->decoding_buffer; in fp_readl()
428 tok->decoding_buffer = NULL; in fp_readl()
441 tok->decoding_buffer = PyString_FromStringAndSize(str+size, utf8len-size); in fp_readl()
442 if (tok->decoding_buffer == NULL) { in fp_readl()
570 PyObject* buf = tok->decoding_buffer; in decoding_feof()
577 tok->decoding_buffer = buf; in decoding_feof()
724 assert(tok->decoding_buffer == NULL); in decode_str()
725 tok->decoding_buffer = utf8; /* CAUTION */ in decode_str()
781 Py_XDECREF(tok->decoding_buffer); in PyTokenizer_Free()
Dtokenizer.h51 PyObject *decoding_buffer; member