Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Dcomplexobject.c981 char *s_buffer = NULL; in complex_subtype_from_string() local
991 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()
Dfloatobject.c179 char *s_buffer = NULL; in PyFloat_FromString() local
193 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()
/external/python/cpython3/Objects/
Dcomplexobject.c909 PyObject *s_buffer = NULL, *result = NULL; in complex_subtype_from_string() local
913 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()
Dfloatobject.c169 PyObject *s_buffer = NULL; in PyFloat_FromString() local
175 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()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_tex_sample.c2231 float s_buffer[TGSI_QUAD_SIZE]; in img_filter_2d_ewa() local
2295 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()