Searched refs:s_buffer (Results 1 – 5 of 5) sorted by relevance
981 char *s_buffer = NULL; in complex_subtype_from_string() local991 s_buffer = (char *)PyMem_MALLOC(PyUnicode_GET_SIZE(v)+1); in complex_subtype_from_string()992 if (s_buffer == NULL) in complex_subtype_from_string()996 s_buffer, in complex_subtype_from_string()999 s = s_buffer; in complex_subtype_from_string()1118 if (s_buffer) in complex_subtype_from_string()1119 PyMem_FREE(s_buffer); in complex_subtype_from_string()1128 if (s_buffer) in complex_subtype_from_string()1129 PyMem_FREE(s_buffer); in complex_subtype_from_string()
179 char *s_buffer = NULL; in PyFloat_FromString() local193 s_buffer = (char *)PyMem_MALLOC(PyUnicode_GET_SIZE(v)+1); in PyFloat_FromString()194 if (s_buffer == NULL) in PyFloat_FromString()198 s_buffer, in PyFloat_FromString()201 s = s_buffer; in PyFloat_FromString()240 if (s_buffer) in PyFloat_FromString()241 PyMem_FREE(s_buffer); in PyFloat_FromString()
909 PyObject *s_buffer = NULL, *result = NULL; in complex_subtype_from_string() local913 s_buffer = _PyUnicode_TransformDecimalAndSpaceToASCII(v); in complex_subtype_from_string()914 if (s_buffer == NULL) { in complex_subtype_from_string()917 assert(PyUnicode_IS_ASCII(s_buffer)); in complex_subtype_from_string()919 s = PyUnicode_AsUTF8AndSize(s_buffer, &len); in complex_subtype_from_string()931 Py_DECREF(s_buffer); in complex_subtype_from_string()
169 PyObject *s_buffer = NULL; in PyFloat_FromString() local175 s_buffer = _PyUnicode_TransformDecimalAndSpaceToASCII(v); in PyFloat_FromString()176 if (s_buffer == NULL) in PyFloat_FromString()178 assert(PyUnicode_IS_ASCII(s_buffer)); in PyFloat_FromString()180 s = PyUnicode_AsUTF8AndSize(s_buffer, &len); in PyFloat_FromString()195 s_buffer = PyBytes_FromStringAndSize(s, len); in PyFloat_FromString()196 if (s_buffer == NULL) { in PyFloat_FromString()200 s = PyBytes_AS_STRING(s_buffer); in PyFloat_FromString()211 Py_XDECREF(s_buffer); in PyFloat_FromString()
2231 float s_buffer[TGSI_QUAD_SIZE]; in img_filter_2d_ewa() local2295 s_buffer[buffer_next] = u / ((float) width); in img_filter_2d_ewa()2307 args.s = s_buffer[jj]; in img_filter_2d_ewa()2337 args.s = s_buffer[jj]; in img_filter_2d_ewa()