Searched refs:tzinfoarg (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Modules/ |
D | datetimemodule.c | 780 call_tzinfo_method(PyObject *tzinfo, char *methname, PyObject *tzinfoarg) in call_tzinfo_method() argument 784 assert(tzinfo && methname && tzinfoarg); in call_tzinfo_method() 791 result = PyObject_CallMethod(tzinfo, methname, "O", tzinfoarg); in call_tzinfo_method() 821 call_utc_tzinfo_method(PyObject *tzinfo, char *name, PyObject *tzinfoarg, in call_utc_tzinfo_method() argument 829 assert(tzinfoarg != NULL); in call_utc_tzinfo_method() 832 u = call_tzinfo_method(tzinfo, name, tzinfoarg); in call_utc_tzinfo_method() 886 call_utcoffset(PyObject *tzinfo, PyObject *tzinfoarg, int *none) in call_utcoffset() argument 888 return call_utc_tzinfo_method(tzinfo, "utcoffset", tzinfoarg, none); in call_utcoffset() 894 offset_as_timedelta(PyObject *tzinfo, char *name, PyObject *tzinfoarg) { in offset_as_timedelta() argument 897 assert(tzinfo && name && tzinfoarg); in offset_as_timedelta() [all …]
|
/external/python/cpython3/Modules/ |
D | _datetimemodule.c | 1144 call_tzinfo_method(PyObject *tzinfo, const char *name, PyObject *tzinfoarg) in call_tzinfo_method() argument 1150 assert(tzinfoarg != NULL); in call_tzinfo_method() 1154 offset = PyObject_CallMethod(tzinfo, name, "O", tzinfoarg); in call_tzinfo_method() 1188 call_utcoffset(PyObject *tzinfo, PyObject *tzinfoarg) in call_utcoffset() argument 1190 return call_tzinfo_method(tzinfo, "utcoffset", tzinfoarg); in call_utcoffset() 1202 call_dst(PyObject *tzinfo, PyObject *tzinfoarg) in call_dst() argument 1204 return call_tzinfo_method(tzinfo, "dst", tzinfoarg); in call_dst() 1214 call_tzname(PyObject *tzinfo, PyObject *tzinfoarg) in call_tzname() argument 1221 assert(tzinfoarg != NULL); in call_tzname() 1227 tzinfoarg, NULL); in call_tzname() [all …]
|