Lines Matching refs:buffer
176 /* this either points to _children or to a malloced buffer */
473 /* copy existing children from static area to malloc buffer */
3934 PyObject* buffer;
3948 buffer = PyObject_CallFunction(reader, "i", 64*1024);
3950 if (!buffer) {
3956 if (PyUnicode_CheckExact(buffer)) {
3958 if (PyUnicode_GET_LENGTH(buffer) == 0) {
3959 Py_DECREF(buffer);
3962 temp = PyUnicode_AsEncodedString(buffer, "utf-8", "surrogatepass");
3963 Py_DECREF(buffer);
3969 buffer = temp;
3971 else if (!PyBytes_CheckExact(buffer) || PyBytes_GET_SIZE(buffer) == 0) {
3972 Py_DECREF(buffer);
3976 if (PyBytes_GET_SIZE(buffer) > INT_MAX) {
3977 Py_DECREF(buffer);
3983 self, PyBytes_AS_STRING(buffer), (int)PyBytes_GET_SIZE(buffer), 0
3986 Py_DECREF(buffer);