Searched refs:long_obj (Results 1 – 2 of 2) sorted by relevance
291 PyObject *long_obj; in ssize_t_converter() local294 long_obj = (PyObject *)_PyLong_FromNbInt(obj); in ssize_t_converter()295 if (long_obj == NULL) { in ssize_t_converter()298 val = PyLong_AsSsize_t(long_obj); in ssize_t_converter()299 Py_DECREF(long_obj); in ssize_t_converter()
5252 PyObject *long_obj, *bytes; in int_from_bytes_impl() local5268 long_obj = _PyLong_FromByteArray( in int_from_bytes_impl()5273 if (long_obj != NULL && type != &PyLong_Type) { in int_from_bytes_impl()5274 Py_SETREF(long_obj, PyObject_CallFunctionObjArgs((PyObject *)type, in int_from_bytes_impl()5275 long_obj, NULL)); in int_from_bytes_impl()5278 return long_obj; in int_from_bytes_impl()