Lines Matching refs:consumed
18 (string object, bytes consumed)
21 (Unicode object, bytes consumed)
182 Py_ssize_t consumed, len;
188 consumed = PyString_GET_SIZE(str);
200 return codec_tuple(str, consumed);
239 Py_ssize_t consumed;
245 consumed = pbuf.len;
248 final ? NULL : &consumed);
252 return codec_tuple(decoded, consumed);
262 Py_ssize_t consumed;
268 consumed = pbuf.len;
271 final ? NULL : &consumed);
275 return codec_tuple(decoded, consumed);
286 Py_ssize_t consumed;
292 consumed = pbuf.len; /* This is overwritten unless final is true. */
294 &byteorder, final ? NULL : &consumed);
298 return codec_tuple(decoded, consumed);
309 Py_ssize_t consumed;
316 consumed = pbuf.len; /* This is overwritten unless final is true. */
318 &byteorder, final ? NULL : &consumed);
322 return codec_tuple(decoded, consumed);
333 Py_ssize_t consumed;
340 consumed = pbuf.len; /* This is overwritten unless final is true. */
342 &byteorder, final ? NULL : &consumed);
346 return codec_tuple(decoded, consumed);
366 Py_ssize_t consumed;
371 consumed = pbuf.len; /* This is overwritten unless final is true. */
373 &byteorder, final ? NULL : &consumed);
377 tuple = Py_BuildValue("Oni", unicode, consumed, byteorder);
390 Py_ssize_t consumed;
396 consumed = pbuf.len; /* This is overwritten unless final is true. */
398 &byteorder, final ? NULL : &consumed);
402 return codec_tuple(decoded, consumed);
413 Py_ssize_t consumed;
419 consumed = pbuf.len; /* This is overwritten unless final is true. */
421 &byteorder, final ? NULL : &consumed);
425 return codec_tuple(decoded, consumed);
436 Py_ssize_t consumed;
442 consumed = pbuf.len; /* This is overwritten unless final is true. */
444 &byteorder, final ? NULL : &consumed);
448 return codec_tuple(decoded, consumed);
468 Py_ssize_t consumed;
473 consumed = pbuf.len; /* This is overwritten unless final is true. */
475 &byteorder, final ? NULL : &consumed);
479 tuple = Py_BuildValue("Oni", unicode, consumed, byteorder);
581 Py_ssize_t consumed;
587 consumed = pbuf.len;
590 final ? NULL : &consumed);
594 return codec_tuple(decoded, consumed);