Searched refs:nneeded (Results 1 – 1 of 1) sorted by relevance
2161 Py_ssize_t nneeded; /* number of result bytes needed */ in PyUnicode_EncodeUTF8() local2230 nneeded = p - stackbuf; in PyUnicode_EncodeUTF8()2231 assert(nneeded <= nallocated); in PyUnicode_EncodeUTF8()2232 v = PyString_FromStringAndSize(stackbuf, nneeded); in PyUnicode_EncodeUTF8()2236 nneeded = p - PyString_AS_STRING(v); in PyUnicode_EncodeUTF8()2237 assert(nneeded <= nallocated); in PyUnicode_EncodeUTF8()2238 if (_PyString_Resize(&v, nneeded)) in PyUnicode_EncodeUTF8()