Home
last modified time | relevance | path

Searched refs:PyDateTime_Check (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython2/Include/
Ddatetime.h173 #define PyDateTime_Check(op) PyObject_TypeCheck(op, &PyDateTime_DateTimeType) macro
197 #define PyDateTime_Check(op) PyObject_TypeCheck(op, PyDateTimeAPI->DateTimeType) macro
/external/python/cpython2/Modules/
Ddatetimemodule.c804 if (PyDateTime_Check(self) && HASTZINFO(self)) in get_tzinfo_member()
1146 else if (PyDateTime_Check(object)) in make_freplacement()
2430 if (PyDateTime_Check(left) || PyDateTime_Check(right)) { in date_add()
2459 if (PyDateTime_Check(left) || PyDateTime_Check(right)) { in date_subtract()
2890 if (! PyDateTime_Check(dt)) { in tzinfo_fromutc()
4101 if (PyDateTime_Check(left)) { in datetime_add()
4125 if (PyDateTime_Check(left)) { in datetime_subtract()
4127 if (PyDateTime_Check(right)) { in datetime_subtract()
4279 if (! PyDateTime_Check(other)) { in datetime_richcompare()
/external/python/cpython3/Include/
Ddatetime.h201 #define PyDateTime_Check(op) PyObject_TypeCheck(op, PyDateTimeAPI->DateTimeType) macro
/external/python/pybind11/include/pybind11/
Dchrono.h113 if (PyDateTime_Check(src.ptr())) { in load()
/external/python/cpython3/Modules/
D_datetimemodule.c23 #define PyDateTime_Check(op) PyObject_TypeCheck(op, &PyDateTime_DateTimeType) macro
1147 if (PyDateTime_Check(self) && HASTZINFO(self)) in get_tzinfo_member()
1471 else if (PyDateTime_Check(object)) in make_freplacement()
3095 if (PyDateTime_Check(left) || PyDateTime_Check(right)) in date_add()
3122 if (PyDateTime_Check(left) || PyDateTime_Check(right)) in date_subtract()
3668 if (!PyDateTime_Check(dt)) { in tzinfo_fromutc()
3904 if (dt == Py_None || PyDateTime_Check(dt)) in _timezone_check_argument()
4006 if (!PyDateTime_Check(dt)) { in timezone_fromutc()
5400 if (PyDateTime_Check(left)) { in datetime_add()
5423 if (PyDateTime_Check(left)) { in datetime_subtract()
[all …]
D_zoneinfo.c494 if (!PyDateTime_Check(dt)) { in zoneinfo_fromutc()
D_testcapimodule.c2343 MAKE_DATETIME_CHECK_FUNC(PyDateTime_Check, PyDateTime_CheckExact) in datetime_check_datetime()
/external/python/cpython2/Doc/c-api/
Ddatetime.rst35 .. c:function:: int PyDateTime_Check(PyObject *ob)
/external/python/cpython3/Doc/c-api/
Ddatetime.rst40 .. c:function:: int PyDateTime_Check(PyObject *ob)
/external/python/cpython3/Doc/data/
Drefcounts.dat419 PyDateTime_Check:int:::
420 PyDateTime_Check:PyObject*:ob:0: