/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/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/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/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 | descriptor_database.cc | 73 if (PyObject_TypeCheck(py_descriptor, &CMessage_Type) && in GetFileDescriptorProto()
|
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 …]
|
D | repeated_composite_container.cc | 204 if (!PyObject_TypeCheck(next.get(), &CMessage_Type)) { in Extend() 308 if (!PyObject_TypeCheck(other, &RepeatedCompositeContainer_Type)) { in RichCompare()
|
/external/python/cpython2/Mac/Modules/carbonevt/ |
D | _CarbonEvtmodule.c | 112 #define EventRef_Check(x) ((x)->ob_type == &EventRef_Type || PyObject_TypeCheck((x), &EventRef_Type… 457 #define EventQueueRef_Check(x) ((x)->ob_type == &EventQueueRef_Type || PyObject_TypeCheck((x), &Eve… 678 #define EventLoopRef_Check(x) ((x)->ob_type == &EventLoopRef_Type || PyObject_TypeCheck((x), &Event… 808 #define EventLoopTimerRef_Check(x) ((x)->ob_type == &EventLoopTimerRef_Type || PyObject_TypeCheck((… 956 #define EventHandlerRef_Check(x) ((x)->ob_type == &EventHandlerRef_Type || PyObject_TypeCheck((x), … 1148 …dlerCallRef_Check(x) ((x)->ob_type == &EventHandlerCallRef_Type || PyObject_TypeCheck((x), &EventH… 1281 #define EventTargetRef_Check(x) ((x)->ob_type == &EventTargetRef_Type || PyObject_TypeCheck((x), &E… 1436 #define EventHotKeyRef_Check(x) ((x)->ob_type == &EventHotKeyRef_Type || PyObject_TypeCheck((x), &E…
|
/external/python/cpython2/Mac/Modules/ibcarbon/ |
D | _IBCarbon.c | 23 #define IBNibRefObj_Check(x) ((x)->ob_type == &IBNibRef_Type || PyObject_TypeCheck((x), &IBNibRef_T…
|
/external/python/cpython2/Modules/_sqlite/ |
D | row.c | 50 if (!PyObject_TypeCheck((PyObject*)cursor, &pysqlite_CursorType)) { in pysqlite_row_new()
|
/external/python/cpython2/Objects/ |
D | descrobject.c | 67 if (!PyObject_TypeCheck(obj, descr->d_type)) { in descr_check() 169 if (!PyObject_TypeCheck(obj, descr->d_type)) { in descr_setcheck() 1100 assert(PyObject_TypeCheck(d, &PyWrapperDescr_Type)); in PyWrapper_New()
|
D | listobject.c | 1919 if (!PyObject_TypeCheck(b, &sortwrapper_type)) { in sortwrapper_richcompare() 1957 if (!PyObject_TypeCheck(so, &sortwrapper_type)) { in sortwrapper_getvalue() 1990 if (!PyObject_TypeCheck(x, &sortwrapper_type) || in cmpwrapper_call() 1991 !PyObject_TypeCheck(y, &sortwrapper_type)) { in cmpwrapper_call()
|
/external/python/cpython2/Mac/Modules/cm/ |
D | _Cmmodule.c | 63 #define CmpInstObj_Check(x) ((x)->ob_type == &ComponentInstance_Type || PyObject_TypeCheck((x), &Co… 334 #define CmpObj_Check(x) ((x)->ob_type == &Component_Type || PyObject_TypeCheck((x), &Component_Type…
|
/external/python/cpython2/Mac/Modules/scrap/ |
D | _Scrapmodule.c | 27 #define ScrapObj_Check(x) ((x)->ob_type == &Scrap_Type || PyObject_TypeCheck((x), &Scrap_Type))
|
/external/python/cpython2/Mac/Modules/cf/ |
D | _CFmodule.c | 118 #define CFTypeRefObj_Check(x) ((x)->ob_type == &CFTypeRef_Type || PyObject_TypeCheck((x), &CFTypeRe… 480 #define CFArrayRefObj_Check(x) ((x)->ob_type == &CFArrayRef_Type || PyObject_TypeCheck((x), &CFArra… 691 …leArrayRefObj_Check(x) ((x)->ob_type == &CFMutableArrayRef_Type || PyObject_TypeCheck((x), &CFMuta… 931 #define CFDictionaryRefObj_Check(x) ((x)->ob_type == &CFDictionaryRef_Type || PyObject_TypeCheck((x… 1124 …ryRefObj_Check(x) ((x)->ob_type == &CFMutableDictionaryRef_Type || PyObject_TypeCheck((x), &CFMuta… 1301 #define CFDataRefObj_Check(x) ((x)->ob_type == &CFDataRef_Type || PyObject_TypeCheck((x), &CFDataRe… 1532 #define CFMutableDataRefObj_Check(x) ((x)->ob_type == &CFMutableDataRef_Type || PyObject_TypeCheck(… 1797 #define CFStringRefObj_Check(x) ((x)->ob_type == &CFStringRef_Type || PyObject_TypeCheck((x), &CFSt… 2540 …StringRefObj_Check(x) ((x)->ob_type == &CFMutableStringRef_Type || PyObject_TypeCheck((x), &CFMuta… 2928 #define CFURLRefObj_Check(x) ((x)->ob_type == &CFURLRef_Type || PyObject_TypeCheck((x), &CFURLRef_T…
|
/external/python/cpython2/Modules/ |
D | selectmodule.c | 734 #define pyepoll_CHECK(op) (PyObject_TypeCheck((op), &pyEpoll_Type)) 1200 #define kqueue_event_Check(op) (PyObject_TypeCheck((op), &kqueue_event_Type)) 1209 #define kqueue_queue_Check(op) (PyObject_TypeCheck((op), &kqueue_queue_Type))
|
/external/python/cpython2/Mac/Modules/snd/ |
D | _Sndmodule.c | 46 #define SndCh_Check(x) ((x)->ob_type == &SndChannel_Type || PyObject_TypeCheck((x), &SndChannel_Typ… 261 #define SPBObj_Check(x) ((x)->ob_type == &SPB_Type || PyObject_TypeCheck((x), &SPB_Type))
|
/external/python/cpython2/Mac/Modules/file/ |
D | _Filemodule.c | 169 #define FSCatalogInfo_Check(x) ((x)->ob_type == &FSCatalogInfo_Type || PyObject_TypeCheck((x), &FSC… 547 #define FInfo_Check(x) ((x)->ob_type == &FInfo_Type || PyObject_TypeCheck((x), &FInfo_Type)) 734 #define Alias_Check(x) ((x)->ob_type == &Alias_Type || PyObject_TypeCheck((x), &Alias_Type)) 1086 #define FSSpec_Check(x) ((x)->ob_type == &FSSpec_Type || PyObject_TypeCheck((x), &FSSpec_Type)) 1546 #define FSRef_Check(x) ((x)->ob_type == &FSRef_Type || PyObject_TypeCheck((x), &FSRef_Type))
|