• Home
  • Raw
  • Download

Lines Matching refs:requiredsize

4275     Py_ssize_t requiredsize;  in unicode_decode_call_errorhandler_wchar()  local
4331 requiredsize = *outpos; in unicode_decode_call_errorhandler_wchar()
4332 if (requiredsize > PY_SSIZE_T_MAX - repwlen) in unicode_decode_call_errorhandler_wchar()
4334 requiredsize += repwlen; in unicode_decode_call_errorhandler_wchar()
4335 if (requiredsize > PY_SSIZE_T_MAX - (insize - newpos)) in unicode_decode_call_errorhandler_wchar()
4337 requiredsize += insize - newpos; in unicode_decode_call_errorhandler_wchar()
4339 if (requiredsize > outsize) { in unicode_decode_call_errorhandler_wchar()
4340 if (outsize <= PY_SSIZE_T_MAX/2 && requiredsize < 2*outsize) in unicode_decode_call_errorhandler_wchar()
4341 requiredsize = 2*outsize; in unicode_decode_call_errorhandler_wchar()
4342 if (widechar_resize(buf, bufsize, requiredsize) < 0) { in unicode_decode_call_errorhandler_wchar()
8513 charmapencode_resize(PyObject **outobj, Py_ssize_t *outpos, Py_ssize_t requiredsize) in charmapencode_resize() argument
8517 if (requiredsize < 2*outsize) in charmapencode_resize()
8518 requiredsize = 2*outsize; in charmapencode_resize()
8519 if (_PyBytes_Resize(outobj, requiredsize)) in charmapencode_resize()
8543 Py_ssize_t requiredsize = *outpos+1; in charmapencode_output() local
8546 if (outsize<requiredsize) in charmapencode_output()
8547 if (charmapencode_resize(outobj, outpos, requiredsize)) in charmapencode_output()
8562 Py_ssize_t requiredsize = *outpos+1; in charmapencode_output() local
8563 if (outsize<requiredsize) in charmapencode_output()
8564 if (charmapencode_resize(outobj, outpos, requiredsize)) { in charmapencode_output()
8574 Py_ssize_t requiredsize = *outpos+repsize; in charmapencode_output() local
8575 if (outsize<requiredsize) in charmapencode_output()
8576 if (charmapencode_resize(outobj, outpos, requiredsize)) { in charmapencode_output()
8694 Py_ssize_t requiredsize; in charmap_encoding_error() local
8696 requiredsize = *respos + repsize; in charmap_encoding_error()
8697 if (requiredsize > outsize) in charmap_encoding_error()
8699 if (charmapencode_resize(res, respos, requiredsize)) { in charmap_encoding_error()