/external/python/cpython2/Include/ |
D | datetime.h | 170 #define PyDate_Check(op) PyObject_TypeCheck(op, &PyDateTime_DateType) 173 #define PyDateTime_Check(op) PyObject_TypeCheck(op, &PyDateTime_DateTimeType) 176 #define PyTime_Check(op) PyObject_TypeCheck(op, &PyDateTime_TimeType) 179 #define PyDelta_Check(op) PyObject_TypeCheck(op, &PyDateTime_DeltaType) 182 #define PyTZInfo_Check(op) PyObject_TypeCheck(op, &PyDateTime_TZInfoType) 194 #define PyDate_Check(op) PyObject_TypeCheck(op, PyDateTimeAPI->DateType) 197 #define PyDateTime_Check(op) PyObject_TypeCheck(op, PyDateTimeAPI->DateTimeType) 200 #define PyTime_Check(op) PyObject_TypeCheck(op, PyDateTimeAPI->TimeType) 203 #define PyDelta_Check(op) PyObject_TypeCheck(op, PyDateTimeAPI->DeltaType) 206 #define PyTZInfo_Check(op) PyObject_TypeCheck(op, PyDateTimeAPI->TZInfoType)
|
D | moduleobject.h | 12 #define PyModule_Check(op) PyObject_TypeCheck(op, &PyModule_Type)
|
D | genobject.h | 31 #define PyGen_Check(op) PyObject_TypeCheck(op, &PyGen_Type)
|
D | bytearrayobject.h | 35 #define PyByteArray_Check(self) PyObject_TypeCheck(self, &PyByteArray_Type)
|
D | weakrefobject.h | 45 #define PyWeakref_CheckRef(op) PyObject_TypeCheck(op, &_PyWeakref_RefType)
|
D | complexobject.h | 47 #define PyComplex_Check(op) PyObject_TypeCheck(op, &PyComplex_Type)
|
/external/python/cpython3/Modules/_ctypes/ |
D | ctypes.h | 106 #define PyCStgDict_Check(v) PyObject_TypeCheck(v, &PyCStgDict_Type) 116 #define CDataObject_Check(v) PyObject_TypeCheck(v, &PyCData_Type) 121 #define PyCSimpleTypeObject_Check(v) PyObject_TypeCheck(v, &PyCSimpleType_Type) 144 #define PyCArrayTypeObject_Check(v) PyObject_TypeCheck(v, &PyCArrayType_Type) 145 #define ArrayObject_Check(v) PyObject_TypeCheck(v, &PyCArray_Type) 146 #define PointerObject_Check(v) PyObject_TypeCheck(v, &PyCPointer_Type) 147 #define PyCPointerTypeObject_Check(v) PyObject_TypeCheck(v, &PyCPointerType_Type) 148 #define PyCFuncPtrObject_Check(v) PyObject_TypeCheck(v, &PyCFuncPtr_Type) 149 #define PyCFuncPtrTypeObject_Check(v) PyObject_TypeCheck(v, &PyCFuncPtrType_Type) 150 #define PyCStructTypeObject_Check(v) PyObject_TypeCheck(v, &PyCStructType_Type)
|
/external/python/cpython2/Modules/_ctypes/ |
D | ctypes.h | 146 #define PyCStgDict_Check(v) PyObject_TypeCheck(v, &PyCStgDict_Type) 156 #define CDataObject_Check(v) PyObject_TypeCheck(v, &PyCData_Type) 161 #define PyCSimpleTypeObject_Check(v) PyObject_TypeCheck(v, &PyCSimpleType_Type) 184 #define PyCArrayTypeObject_Check(v) PyObject_TypeCheck(v, &PyCArrayType_Type) 185 #define ArrayObject_Check(v) PyObject_TypeCheck(v, &PyCArray_Type) 186 #define PointerObject_Check(v) PyObject_TypeCheck(v, &PyCPointer_Type) 187 #define PyCPointerTypeObject_Check(v) PyObject_TypeCheck(v, &PyCPointerType_Type) 188 #define PyCFuncPtrObject_Check(v) PyObject_TypeCheck(v, &PyCFuncPtr_Type) 189 #define PyCFuncPtrTypeObject_Check(v) PyObject_TypeCheck(v, &PyCFuncPtrType_Type) 190 #define PyCStructTypeObject_Check(v) PyObject_TypeCheck(v, &PyCStructType_Type)
|
/external/python/cpython3/Include/ |
D | datetime.h | 198 #define PyDate_Check(op) PyObject_TypeCheck(op, PyDateTimeAPI->DateType) 201 #define PyDateTime_Check(op) PyObject_TypeCheck(op, PyDateTimeAPI->DateTimeType) 204 #define PyTime_Check(op) PyObject_TypeCheck(op, PyDateTimeAPI->TimeType) 207 #define PyDelta_Check(op) PyObject_TypeCheck(op, PyDateTimeAPI->DeltaType) 210 #define PyTZInfo_Check(op) PyObject_TypeCheck(op, PyDateTimeAPI->TZInfoType)
|
D | dictobject.h | 67 #define PyDictKeys_Check(op) PyObject_TypeCheck(op, &PyDictKeys_Type) 68 #define PyDictValues_Check(op) PyObject_TypeCheck(op, &PyDictValues_Type) 69 #define PyDictItems_Check(op) PyObject_TypeCheck(op, &PyDictItems_Type)
|
D | bytearrayobject.h | 26 #define PyByteArray_Check(self) PyObject_TypeCheck(self, &PyByteArray_Type)
|
D | odictobject.h | 21 #define PyODict_Check(op) PyObject_TypeCheck(op, &PyODict_Type)
|
D | weakrefobject.h | 47 #define PyWeakref_CheckRef(op) PyObject_TypeCheck(op, &_PyWeakref_RefType)
|
D | complexobject.h | 41 #define PyComplex_Check(op) PyObject_TypeCheck(op, &PyComplex_Type)
|
D | floatobject.h | 23 #define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
|
/external/python/cpython3/Python/ |
D | codecs.c | 679 if (PyObject_TypeCheck(exc, (PyTypeObject *)PyExc_UnicodeEncodeError)) { in PyCodec_IgnoreErrors() 683 else if (PyObject_TypeCheck(exc, (PyTypeObject *)PyExc_UnicodeDecodeError)) { in PyCodec_IgnoreErrors() 687 else if (PyObject_TypeCheck(exc, (PyTypeObject *)PyExc_UnicodeTranslateError)) { in PyCodec_IgnoreErrors() 703 if (PyObject_TypeCheck(exc, (PyTypeObject *)PyExc_UnicodeEncodeError)) { in PyCodec_ReplaceErrors() 721 else if (PyObject_TypeCheck(exc, (PyTypeObject *)PyExc_UnicodeDecodeError)) { in PyCodec_ReplaceErrors() 728 else if (PyObject_TypeCheck(exc, (PyTypeObject *)PyExc_UnicodeTranslateError)) { in PyCodec_ReplaceErrors() 754 if (PyObject_TypeCheck(exc, (PyTypeObject *)PyExc_UnicodeEncodeError)) { in PyCodec_XMLCharRefReplaceErrors() 861 if (PyObject_TypeCheck(exc, (PyTypeObject *)PyExc_UnicodeDecodeError)) { in PyCodec_BackslashReplaceErrors() 888 if (PyObject_TypeCheck(exc, (PyTypeObject *)PyExc_UnicodeEncodeError)) { in PyCodec_BackslashReplaceErrors() 896 else if (PyObject_TypeCheck(exc, (PyTypeObject *)PyExc_UnicodeTranslateError)) { in PyCodec_BackslashReplaceErrors() [all …]
|
/external/python/cpython3/Objects/ |
D | interpreteridobject.c | 43 if (PyObject_TypeCheck(arg, &_PyInterpreterID_Type)) { in interp_id_converter() 180 if (!PyObject_TypeCheck(self, &_PyInterpreterID_Type)) { in interpid_richcompare() 186 if (PyObject_TypeCheck(other, &_PyInterpreterID_Type)) { in interpid_richcompare()
|
D | namespaceobject.c | 166 if (PyObject_TypeCheck(self, &_PyNamespace_Type) && in namespace_richcompare() 167 PyObject_TypeCheck(other, &_PyNamespace_Type)) in namespace_richcompare()
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/include/ |
D | cext.h | 220 PyObject_TypeCheck((type), &PyString_Type) \ 221 || PyObject_TypeCheck((type), &PyUnicode_Type) \ 224 #define BaseString_Check(type) PyObject_TypeCheck((type), &PyBaseString_Type)
|
/external/python/cpython2/Python/ |
D | codecs.c | 631 if (PyObject_TypeCheck(exc, (PyTypeObject *)PyExc_UnicodeEncodeError)) { in PyCodec_IgnoreErrors() 635 else if (PyObject_TypeCheck(exc, (PyTypeObject *)PyExc_UnicodeDecodeError)) { in PyCodec_IgnoreErrors() 639 else if (PyObject_TypeCheck(exc, (PyTypeObject *)PyExc_UnicodeTranslateError)) { in PyCodec_IgnoreErrors() 659 if (PyObject_TypeCheck(exc, (PyTypeObject *)PyExc_UnicodeEncodeError)) { in PyCodec_ReplaceErrors() 676 else if (PyObject_TypeCheck(exc, (PyTypeObject *)PyExc_UnicodeDecodeError)) { in PyCodec_ReplaceErrors() 682 else if (PyObject_TypeCheck(exc, (PyTypeObject *)PyExc_UnicodeTranslateError)) { in PyCodec_ReplaceErrors() 707 if (PyObject_TypeCheck(exc, (PyTypeObject *)PyExc_UnicodeEncodeError)) { in PyCodec_XMLCharRefReplaceErrors() 832 if (PyObject_TypeCheck(exc, (PyTypeObject *)PyExc_UnicodeEncodeError)) { in PyCodec_BackslashReplaceErrors()
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/include/ |
D | cext.h | 258 PyObject_TypeCheck((type), &PyString_Type) \ 259 || PyObject_TypeCheck((type), &PyUnicode_Type) \ 262 #define BaseString_Check(type) PyObject_TypeCheck((type), &PyBaseString_Type)
|
/external/python/cpython3/Modules/_sqlite/ |
D | row.c | 49 if (!PyObject_TypeCheck((PyObject*)cursor, &pysqlite_CursorType)) { in pysqlite_row_new() 195 if (PyObject_TypeCheck(_other, &pysqlite_RowType)) { in pysqlite_row_richcompare()
|
/external/python/cpython3/Include/cpython/ |
D | methodobject.h | 8 #define PyCMethod_Check(op) PyObject_TypeCheck(op, &PyCMethod_Type)
|
/external/python/cpython3/Modules/clinic/ |
D | _curses_panel.c.h | 216 if (!PyObject_TypeCheck(arg, &PyCursesWindow_Type)) { in _curses_panel_panel_replace() 290 if (!PyObject_TypeCheck(arg, &PyCursesWindow_Type)) { in _curses_panel_new_panel()
|
/external/python/cpython3/Python/clinic/ |
D | traceback.c.h | 34 if (!PyObject_TypeCheck(fastargs[1], &PyFrame_Type)) { in tb_new()
|