Searched refs:dec_flags (Results 1 – 3 of 3) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | _pyio.py | 1657 dec_buffer, dec_flags = self._decoder.getstate() 1669 self._snapshot = (dec_flags, dec_buffer + input_chunk) 1673 def _pack_cookie(self, position, dec_flags=0, argument 1680 return (position | (dec_flags<<64) | (bytes_to_feed<<128) | 1685 rest, dec_flags = divmod(rest, 1<<64) 1688 return position, dec_flags, bytes_to_feed, need_eof, chars_to_skip 1705 dec_flags, next_input = self._snapshot 1712 return self._pack_cookie(position, dec_flags) 1719 decoder.setstate((b'', dec_flags)) 1721 start_flags, bytes_fed, chars_decoded = dec_flags, 0, 0 [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/ |
D | textio.c | 1361 PyObject *dec_flags = NULL; in textiowrapper_read_chunk() local 1389 if (PyArg_Parse(state, "(OO)", &dec_buffer, &dec_flags) < 0) { in textiowrapper_read_chunk() 1394 Py_INCREF(dec_flags); in textiowrapper_read_chunk() 1437 self->snapshot = Py_BuildValue("NN", dec_flags, next_input); in textiowrapper_read_chunk() 1445 Py_XDECREF(dec_flags); in textiowrapper_read_chunk() 1829 int dec_flags; member 1889 memcpy(&cookie->dec_flags, buffer + OFF_DEC_FLAGS, sizeof(cookie->dec_flags)); in textiowrapper_parse_cookie() 1903 memcpy(buffer + OFF_DEC_FLAGS, &cookie->dec_flags, sizeof(cookie->dec_flags)); in textiowrapper_build_cookie() 1922 if (cookie->start_pos == 0 && cookie->dec_flags == 0) in _textiowrapper_decoder_setstate() 1926 "((si))", "", cookie->dec_flags); in _textiowrapper_decoder_setstate() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/ |
D | textio.c | 1384 PyObject *dec_flags = NULL; in textiowrapper_read_chunk() local 1412 if (PyArg_Parse(state, "(OO)", &dec_buffer, &dec_flags) < 0) { in textiowrapper_read_chunk() 1417 Py_INCREF(dec_flags); in textiowrapper_read_chunk() 1471 self->snapshot = Py_BuildValue("NN", dec_flags, next_input); in textiowrapper_read_chunk() 1479 Py_XDECREF(dec_flags); in textiowrapper_read_chunk() 1875 int dec_flags; member 1935 memcpy(&cookie->dec_flags, buffer + OFF_DEC_FLAGS, sizeof(cookie->dec_flags)); in textiowrapper_parse_cookie() 1949 memcpy(buffer + OFF_DEC_FLAGS, &cookie->dec_flags, sizeof(cookie->dec_flags)); in textiowrapper_build_cookie() 1968 if (cookie->start_pos == 0 && cookie->dec_flags == 0) in _textiowrapper_decoder_setstate() 1972 "((si))", "", cookie->dec_flags); in _textiowrapper_decoder_setstate() [all …]
|