Home
last modified time | relevance | path

Searched refs:pyoffset (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Modules/
D_zoneinfo.c728 PyObject *pyoffset = PyLong_FromLong(seconds); in load_timedelta() local
729 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()
/external/python/cpython2/Modules/_ctypes/
Dcallproc.c1603 PyObject *pyoffset = NULL; in byref() local
1607 &obj, &pyoffset)) in byref()
1609 if (pyoffset) { in byref()
1610 offset = PyNumber_AsSsize_t(pyoffset, NULL); in byref()
/external/python/cpython3/Modules/_ctypes/
Dcallproc.c1704 PyObject *pyoffset = NULL; in byref() local
1708 &obj, &pyoffset)) in byref()
1710 if (pyoffset) { in byref()
1711 offset = PyNumber_AsSsize_t(pyoffset, NULL); in byref()