Searched refs:im_buf (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Objects/stringlib/ |
D | formatter.h | 1083 char *im_buf = NULL; /* buffer returned from PyOS_double_to_string */ in format_complex_internal() local 1185 im_buf = PyOS_double_to_string(im, (char)type, precision, flags, in format_complex_internal() 1187 if (im_buf == NULL) in format_complex_internal() 1191 n_im_digits = strlen(im_buf); in format_complex_internal() 1209 strtounicode(im_unicode_tmp, im_buf, n_im_digits); in format_complex_internal() 1213 p_im = im_buf; in format_complex_internal() 1293 PyMem_Free(im_buf); in format_complex_internal()
|
/external/python/cpython3/Python/ |
D | formatter_unicode.c | 1168 char *im_buf = NULL; /* buffer returned from PyOS_double_to_string */ in format_complex_internal() local 1265 im_buf = PyOS_double_to_string(im, (char)type, precision, flags, in format_complex_internal() 1267 if (im_buf == NULL) in format_complex_internal() 1271 n_im_digits = strlen(im_buf); in format_complex_internal() 1280 im_unicode_tmp = _PyUnicode_FromASCII(im_buf, n_im_digits); in format_complex_internal() 1394 PyMem_Free(im_buf); in format_complex_internal()
|