Lines Matching refs:result
266 "decoder should return a string result, not '%.200s'",
1823 /* Read a chunk, decode it, and put the result in self._decoded_chars. */
1901 PyObject *result = NULL, *chunks = NULL;
1929 result = textiowrapper_get_decoded_chars(self, -1);
1931 if (result == NULL) {
1936 PyUnicode_AppendAndDel(&result, decoded);
1937 if (result == NULL)
1942 return result;
1948 result = textiowrapper_get_decoded_chars(self, n);
1949 if (result == NULL)
1951 if (PyUnicode_READY(result) == -1)
1953 remaining -= PyUnicode_GET_LENGTH(result);
1973 if (PyUnicode_GET_LENGTH(result) > 0 &&
1974 PyList_Append(chunks, result) < 0)
1976 Py_DECREF(result);
1977 result = textiowrapper_get_decoded_chars(self, remaining);
1978 if (result == NULL)
1980 remaining -= PyUnicode_GET_LENGTH(result);
1983 if (result != NULL && PyList_Append(chunks, result) < 0)
1986 Py_XSETREF(result, PyUnicode_Join(&_Py_STR(empty), chunks));
1987 if (result == NULL)
1991 return result;
1994 Py_XDECREF(result);