Searched refs:nneeded (Results 1 – 2 of 2) sorted by relevance
100 nneeded = chunk_size - len(objs)103 ntaken = min(nneeded, navail)
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()