Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
Dgrpmodule.c88 PyObject *py_int_id; in grp_getgrgid() local
92 py_int_id = PyNumber_Int(pyo_id); in grp_getgrgid()
93 if (!py_int_id) in grp_getgrgid()
95 if (!_Py_Gid_Converter(py_int_id, &gid)) { in grp_getgrgid()
96 Py_DECREF(py_int_id); in grp_getgrgid()
99 Py_DECREF(py_int_id); in grp_getgrgid()
/external/python/cpython3/Modules/
Dgrpmodule.c99 PyObject *py_int_id; in grp_getgrgid_impl() local
113 py_int_id = PyNumber_Long(id); in grp_getgrgid_impl()
114 if (!py_int_id) in grp_getgrgid_impl()
116 if (!_Py_Gid_Converter(py_int_id, &gid)) { in grp_getgrgid_impl()
117 Py_DECREF(py_int_id); in grp_getgrgid_impl()
120 Py_DECREF(py_int_id); in grp_getgrgid_impl()