Searched refs:pyoffset (Results 1 – 2 of 2) sorted by relevance
730 PyObject *pyoffset = PyLong_FromLong(seconds); in load_timedelta() local731 if (pyoffset == NULL) { in load_timedelta()734 rv = PyDict_GetItemWithError(TIMEDELTA_CACHE, pyoffset); in load_timedelta()746 rv = PyDict_SetDefault(TIMEDELTA_CACHE, pyoffset, tmp); in load_timedelta()751 Py_DECREF(pyoffset); in load_timedelta()754 Py_DECREF(pyoffset); in load_timedelta()
1710 PyObject *pyoffset = NULL; in byref() local1714 &obj, &pyoffset)) in byref()1716 if (pyoffset) { in byref()1717 offset = PyNumber_AsSsize_t(pyoffset, NULL); in byref()