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.h89 float___round___impl(PyObject *self, PyObject *o_ndigits);
95 PyObject *o_ndigits = Py_None; in float___round__() local
103 o_ndigits = args[0]; in float___round__()
105 return_value = float___round___impl(self, o_ndigits); in float___round__()
/external/python/cpython3/Objects/
Dfloatobject.c1024 float___round___impl(PyObject *self, PyObject *o_ndigits) in float___round___impl() argument
1031 if (o_ndigits == Py_None) { in float___round___impl()
1042 ndigits = PyNumber_AsSsize_t(o_ndigits, NULL); in float___round___impl()
Dlongobject.c5279 PyObject *o_ndigits=NULL, *temp, *result, *ndigits; in long_round() local
5295 if (!PyArg_ParseTuple(args, "|O", &o_ndigits)) in long_round()
5297 if (o_ndigits == NULL) in long_round()
5300 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()