Searched refs:pyoffset (Results 1 – 3 of 3) sorted by relevance
728 PyObject *pyoffset = PyLong_FromLong(seconds); in load_timedelta() local729 if (pyoffset == NULL) { in load_timedelta()732 int contains = PyDict_Contains(TIMEDELTA_CACHE, pyoffset); in load_timedelta()745 rv = PyDict_SetDefault(TIMEDELTA_CACHE, pyoffset, tmp); in load_timedelta()749 rv = PyDict_GetItem(TIMEDELTA_CACHE, pyoffset); in load_timedelta()752 Py_DECREF(pyoffset); in load_timedelta()756 Py_DECREF(pyoffset); in load_timedelta()
1603 PyObject *pyoffset = NULL; in byref() local1607 &obj, &pyoffset)) in byref()1609 if (pyoffset) { in byref()1610 offset = PyNumber_AsSsize_t(pyoffset, NULL); in byref()
1704 PyObject *pyoffset = NULL; in byref() local1708 &obj, &pyoffset)) in byref()1710 if (pyoffset) { in byref()1711 offset = PyNumber_AsSsize_t(pyoffset, NULL); in byref()