Searched refs:mybuflen (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython3/Objects/ |
D | floatobject.c | 930 Py_ssize_t buflen, mybuflen=100; in double_round() local 948 if (buflen + 8 > mybuflen) { in double_round() 949 mybuflen = buflen+8; in double_round() 950 mybuf = (char *)PyMem_Malloc(mybuflen); in double_round() 957 PyOS_snprintf(mybuf, mybuflen, "%s0%se%d", (sign ? "-" : ""), in double_round()
|
/external/python/cpython2/Objects/ |
D | floatobject.c | 1094 Py_ssize_t buflen, mybuflen=100; in _Py_double_round() local 1196 if (buflen + 8 > mybuflen) { in _Py_double_round() 1197 mybuflen = buflen+8; in _Py_double_round() 1198 mybuf = (char *)PyMem_Malloc(mybuflen); in _Py_double_round() 1205 PyOS_snprintf(mybuf, mybuflen, "%s0%se%d", (sign ? "-" : ""), in _Py_double_round()
|