Home
last modified time | relevance | path

Searched refs:nallocated (Results 1 – 1 of 1) sorted by relevance

/external/python/cpython2/Objects/
Dunicodeobject.c2160 Py_ssize_t nallocated; /* number of result bytes allocated */ in PyUnicode_EncodeUTF8() local
2172 nallocated = Py_SAFE_DOWNCAST(sizeof(stackbuf), size_t, int); in PyUnicode_EncodeUTF8()
2178 nallocated = size * 4; in PyUnicode_EncodeUTF8()
2179 if (nallocated / 4 != size) /* overflow! */ in PyUnicode_EncodeUTF8()
2181 v = PyString_FromStringAndSize(NULL, nallocated); in PyUnicode_EncodeUTF8()
2231 assert(nneeded <= nallocated); in PyUnicode_EncodeUTF8()
2237 assert(nneeded <= nallocated); in PyUnicode_EncodeUTF8()