/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)
|
D | floatobject.h | 21 #define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
|
D | fileobject.h | 37 #define PyFile_Check(op) PyObject_TypeCheck(op, &PyFile_Type)
|
/external/python/cpython3/Include/ |
D | datetime.h | 186 #define PyDate_Check(op) PyObject_TypeCheck(op, &PyDateTime_DateType) 189 #define PyDateTime_Check(op) PyObject_TypeCheck(op, &PyDateTime_DateTimeType) 192 #define PyTime_Check(op) PyObject_TypeCheck(op, &PyDateTime_TimeType) 195 #define PyDelta_Check(op) PyObject_TypeCheck(op, &PyDateTime_DeltaType) 198 #define PyTZInfo_Check(op) PyObject_TypeCheck(op, &PyDateTime_TZInfoType) 213 #define PyDate_Check(op) PyObject_TypeCheck(op, PyDateTimeAPI->DateType) 216 #define PyDateTime_Check(op) PyObject_TypeCheck(op, PyDateTimeAPI->DateTimeType) 219 #define PyTime_Check(op) PyObject_TypeCheck(op, PyDateTimeAPI->TimeType) 222 #define PyDelta_Check(op) PyObject_TypeCheck(op, PyDateTimeAPI->DeltaType) 225 #define PyTZInfo_Check(op) PyObject_TypeCheck(op, PyDateTimeAPI->TZInfoType)
|
D | dictobject.h | 61 #define PyDictKeys_Check(op) PyObject_TypeCheck(op, &PyDictKeys_Type) 62 #define PyDictItems_Check(op) PyObject_TypeCheck(op, &PyDictItems_Type) 63 #define PyDictValues_Check(op) PyObject_TypeCheck(op, &PyDictValues_Type)
|
D | bytearrayobject.h | 38 #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)
|
D | moduleobject.h | 12 #define PyModule_Check(op) PyObject_TypeCheck(op, &PyModule_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/Python/ |
D | codecs.c | 682 if (PyObject_TypeCheck(exc, (PyTypeObject *)PyExc_UnicodeEncodeError)) { in PyCodec_IgnoreErrors() 686 else if (PyObject_TypeCheck(exc, (PyTypeObject *)PyExc_UnicodeDecodeError)) { in PyCodec_IgnoreErrors() 690 else if (PyObject_TypeCheck(exc, (PyTypeObject *)PyExc_UnicodeTranslateError)) { in PyCodec_IgnoreErrors() 706 if (PyObject_TypeCheck(exc, (PyTypeObject *)PyExc_UnicodeEncodeError)) { in PyCodec_ReplaceErrors() 725 else if (PyObject_TypeCheck(exc, (PyTypeObject *)PyExc_UnicodeDecodeError)) { in PyCodec_ReplaceErrors() 732 else if (PyObject_TypeCheck(exc, (PyTypeObject *)PyExc_UnicodeTranslateError)) { in PyCodec_ReplaceErrors() 759 if (PyObject_TypeCheck(exc, (PyTypeObject *)PyExc_UnicodeEncodeError)) { in PyCodec_XMLCharRefReplaceErrors() 866 if (PyObject_TypeCheck(exc, (PyTypeObject *)PyExc_UnicodeDecodeError)) { in PyCodec_BackslashReplaceErrors() 893 if (PyObject_TypeCheck(exc, (PyTypeObject *)PyExc_UnicodeEncodeError)) { in PyCodec_BackslashReplaceErrors() 901 else if (PyObject_TypeCheck(exc, (PyTypeObject *)PyExc_UnicodeTranslateError)) { in PyCodec_BackslashReplaceErrors() [all …]
|
/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/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/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/Objects/ |
D | namespaceobject.c | 165 if (PyObject_TypeCheck(self, &_PyNamespace_Type) && in namespace_richcompare() 166 PyObject_TypeCheck(other, &_PyNamespace_Type)) in namespace_richcompare()
|
/external/protobuf/python/google/protobuf/pyext/ |
D | descriptor.cc | 223 if (!PyObject_TypeCheck(value.get(), &CMessage_Type)) { in GetOrBuildOptions() 265 if (!PyObject_TypeCheck(target, &CMessage_Type) || in CopyToPythonProto() 405 if (!PyObject_TypeCheck(obj, &descriptor::PyBaseDescriptor_Type)) { in PyDescriptor_AsVoidPtr() 669 if (!PyObject_TypeCheck(obj, &PyMessageDescriptor_Type)) { in PyMessageDescriptor_AsDescriptor() 959 if (!PyObject_TypeCheck(obj, &PyFieldDescriptor_Type)) { in PyFieldDescriptor_AsDescriptor() 1107 if (!PyObject_TypeCheck(obj, &PyEnumDescriptor_Type)) { in PyEnumDescriptor_AsDescriptor() 1413 if (!PyObject_TypeCheck(obj, &PyFileDescriptor_Type)) { in PyFileDescriptor_AsDescriptor()
|
D | message.cc | 241 if (!PyObject_TypeCheck(py_descriptor, &PyMessageDescriptor_Type)) { in New() 394 if (!PyObject_TypeCheck(cls, &CMessageClass_Type)) { in CheckMessageClass() 758 GOOGLE_DCHECK(PyObject_TypeCheck(message, &CMessage_Type)); in CheckAndGetInteger() 912 if (!PyObject_TypeCheck(extension, &PyFieldDescriptor_Type)) { in CheckAndGetInteger() 1828 if (!PyObject_TypeCheck(arg, &CMessage_Type)) { in CheckAndGetInteger() 1860 if (!PyObject_TypeCheck(arg, &CMessage_Type)) { in CheckAndGetInteger() 2203 if (!PyObject_TypeCheck(other, &CMessage_Type)) { in CheckAndGetInteger() 2454 if (!PyObject_TypeCheck(clone, &CMessage_Type)) { in CheckAndGetInteger() 2803 if (!PyObject_TypeCheck(msg, &CMessage_Type)) { in CheckAndGetInteger() 2811 if (!PyObject_TypeCheck(msg, &CMessage_Type)) { in CheckAndGetInteger() [all …]
|