Home
last modified time | relevance | path

Searched refs:mybuflen (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Objects/
Dfloatobject.c909 Py_ssize_t buflen, mybuflen=100; in double_round() local
927 if (buflen + 8 > mybuflen) { in double_round()
928 mybuflen = buflen+8; in double_round()
929 mybuf = (char *)PyMem_Malloc(mybuflen); in double_round()
936 PyOS_snprintf(mybuf, mybuflen, "%s0%se%d", (sign ? "-" : ""), in double_round()
/external/python/cpython2/Objects/
Dfloatobject.c1094 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()