Searched refs:dec_flags (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython2/Lib/ |
D | _pyio.py | 1683 dec_buffer, dec_flags = self._decoder.getstate() 1695 self._snapshot = (dec_flags, dec_buffer + input_chunk) 1699 def _pack_cookie(self, position, dec_flags=0, argument 1706 return (position | (dec_flags<<64) | (bytes_to_feed<<128) | 1711 rest, dec_flags = divmod(rest, 1<<64) 1714 return position, dec_flags, bytes_to_feed, need_eof, chars_to_skip 1731 dec_flags, next_input = self._snapshot 1738 return self._pack_cookie(position, dec_flags) 1745 decoder.setstate((b'', dec_flags)) 1747 start_flags, bytes_fed, chars_decoded = dec_flags, 0, 0 [all …]
|
/external/python/cpython3/Lib/ |
D | _pyio.py | 2306 dec_buffer, dec_flags = self._decoder.getstate() 2326 self._snapshot = (dec_flags, dec_buffer + input_chunk) 2330 def _pack_cookie(self, position, dec_flags=0, argument 2337 return (position | (dec_flags<<64) | (bytes_to_feed<<128) | 2342 rest, dec_flags = divmod(rest, 1<<64) 2345 return position, dec_flags, bytes_to_feed, bool(need_eof), chars_to_skip 2362 dec_flags, next_input = self._snapshot 2369 return self._pack_cookie(position, dec_flags) 2386 decoder.setstate((b'', dec_flags)) 2393 dec_flags = d [all …]
|
/external/python/cpython3/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 …]
|
/external/python/cpython2/Modules/_io/ |
D | textio.c | 1395 PyObject *dec_flags = NULL; in textiowrapper_read_chunk() local 1423 if (!PyArg_Parse(state, "(OO)", &dec_buffer, &dec_flags)) { in textiowrapper_read_chunk() 1428 Py_INCREF(dec_flags); in textiowrapper_read_chunk() 1481 Py_XSETREF(self->snapshot, Py_BuildValue("NN", dec_flags, next_input)); in textiowrapper_read_chunk() 1489 Py_XDECREF(dec_flags); in textiowrapper_read_chunk() 1884 int dec_flags; member 1944 memcpy(&cookie->dec_flags, buffer + OFF_DEC_FLAGS, sizeof(cookie->dec_flags)); in textiowrapper_parse_cookie() 1958 memcpy(buffer + OFF_DEC_FLAGS, &cookie->dec_flags, sizeof(cookie->dec_flags)); in textiowrapper_build_cookie() 1977 if (cookie->start_pos == 0 && cookie->dec_flags == 0) in _textiowrapper_decoder_setstate() 1981 "((si))", "", cookie->dec_flags); in _textiowrapper_decoder_setstate() [all …]
|
/external/libaom/apps/ |
D | aomdec.c | 459 int dec_flags = 0; in main_loop() local 700 dec_flags = 0; in main_loop() 701 if (aom_codec_dec_init(&decoder, interface, &cfg, dec_flags)) { in main_loop()
|
/external/libvpx/ |
D | vpxdec.c | 553 int dec_flags = 0; in main_loop() local 772 dec_flags = (postproc ? VPX_CODEC_USE_POSTPROC : 0) | in main_loop() 775 dec_flags)) { in main_loop()
|