Searched refs:dec_flags (Results 1 – 2 of 2) sorted by relevance
/third_party/python/Lib/ |
D | _pyio.py | 2307 dec_buffer, dec_flags = self._decoder.getstate() 2327 self._snapshot = (dec_flags, dec_buffer + input_chunk) 2331 def _pack_cookie(self, position, dec_flags=0, argument 2338 return (position | (dec_flags<<64) | (bytes_to_feed<<128) | 2343 rest, dec_flags = divmod(rest, 1<<64) 2346 return position, dec_flags, bytes_to_feed, bool(need_eof), chars_to_skip 2363 dec_flags, next_input = self._snapshot 2370 return self._pack_cookie(position, dec_flags) 2387 decoder.setstate((b'', dec_flags)) 2394 dec_flags = d [all …]
|
/third_party/python/Modules/_io/ |
D | textio.c | 1801 PyObject *dec_flags = NULL; in textiowrapper_read_chunk() local 1837 "OO;illegal decoder state", &dec_buffer, &dec_flags)) in textiowrapper_read_chunk() 1852 Py_INCREF(dec_flags); in textiowrapper_read_chunk() 1906 PyObject *snapshot = Py_BuildValue("NN", dec_flags, next_input); in textiowrapper_read_chunk() 1908 dec_flags = NULL; in textiowrapper_read_chunk() 1919 Py_XDECREF(dec_flags); in textiowrapper_read_chunk() 2320 int dec_flags; member 2374 memcpy(&cookie->dec_flags, buffer + OFF_DEC_FLAGS, sizeof(cookie->dec_flags)); in textiowrapper_parse_cookie() 2388 memcpy(buffer + OFF_DEC_FLAGS, &cookie->dec_flags, sizeof(cookie->dec_flags)); in textiowrapper_build_cookie() 2407 if (cookie->start_pos == 0 && cookie->dec_flags == 0) in _textiowrapper_decoder_setstate() [all …]
|