Home
last modified time | relevance | path

Searched refs:o_ndigits (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Objects/clinic/
Dfloatobject.c.h53 float___round___impl(PyObject *self, PyObject *o_ndigits);
59 PyObject *o_ndigits = NULL; in float___round__() local
63 &o_ndigits)) { in float___round__()
66 return_value = float___round___impl(self, o_ndigits); in float___round__()
/external/python/cpython3/Objects/
Dfloatobject.c1045 float___round___impl(PyObject *self, PyObject *o_ndigits) in float___round___impl() argument
1052 if (o_ndigits == NULL || o_ndigits == Py_None) { in float___round___impl()
1063 ndigits = PyNumber_AsSsize_t(o_ndigits, NULL); in float___round___impl()
Dlongobject.c5012 PyObject *o_ndigits=NULL, *temp, *result, *ndigits; in long_round() local
5028 if (!PyArg_ParseTuple(args, "|O", &o_ndigits)) in long_round()
5030 if (o_ndigits == NULL) in long_round()
5033 ndigits = PyNumber_Index(o_ndigits); in long_round()
/external/python/cpython2/Python/
Dbltinmodule.c2179 PyObject *o_ndigits = NULL; in builtin_round() local
2184 kwlist, &x, &o_ndigits)) in builtin_round()
2187 if (o_ndigits == NULL) { in builtin_round()
2193 ndigits = PyNumber_AsSsize_t(o_ndigits, NULL); in builtin_round()