/third_party/python/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)
|
/third_party/python/Include/ |
D | datetime.h | 206 #define PyDate_Check(op) PyObject_TypeCheck(op, PyDateTimeAPI->DateType) 209 #define PyDateTime_Check(op) PyObject_TypeCheck(op, PyDateTimeAPI->DateTimeType) 212 #define PyTime_Check(op) PyObject_TypeCheck(op, PyDateTimeAPI->TimeType) 215 #define PyDelta_Check(op) PyObject_TypeCheck(op, PyDateTimeAPI->DeltaType) 218 #define PyTZInfo_Check(op) PyObject_TypeCheck(op, PyDateTimeAPI->TZInfoType)
|
D | dictobject.h | 70 #define PyDictKeys_Check(op) PyObject_TypeCheck(op, &PyDictKeys_Type) 71 #define PyDictValues_Check(op) PyObject_TypeCheck(op, &PyDictValues_Type) 72 #define PyDictItems_Check(op) PyObject_TypeCheck(op, &PyDictItems_Type)
|
D | bytearrayobject.h | 26 #define PyByteArray_Check(self) PyObject_TypeCheck(self, &PyByteArray_Type)
|
D | complexobject.h | 41 #define PyComplex_Check(op) PyObject_TypeCheck(op, &PyComplex_Type)
|
D | weakrefobject.h | 47 #define PyWeakref_CheckRef(op) PyObject_TypeCheck(op, &_PyWeakref_RefType)
|
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)
|
D | methodobject.h | 17 #define PyCFunction_Check(op) PyObject_TypeCheck(op, &PyCFunction_Type)
|
D | genobject.h | 37 #define PyGen_Check(op) PyObject_TypeCheck(op, &PyGen_Type)
|
/third_party/python/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 …]
|
D | importdl.c | 197 if (PyObject_TypeCheck(m, &PyModuleDef_Type)) { in _PyImport_LoadDynamicModuleWithSpec()
|
/third_party/python/Objects/ |
D | interpreteridobject.c | 49 if (PyObject_TypeCheck(arg, &_PyInterpreterID_Type)) { in interp_id_converter() 186 if (!PyObject_TypeCheck(self, &_PyInterpreterID_Type)) { in interpid_richcompare() 192 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()
|
/third_party/python/Include/internal/ |
D | pycore_unionobject.h | 15 #define _PyGenericAlias_Check(op) PyObject_TypeCheck(op, &Py_GenericAliasType)
|
/third_party/python/Include/cpython/ |
D | methodobject.h | 8 #define PyCMethod_Check(op) PyObject_TypeCheck(op, &PyCMethod_Type)
|
D | odictobject.h | 21 #define PyODict_Check(op) PyObject_TypeCheck(op, &PyODict_Type)
|
/third_party/python/Modules/_sqlite/clinic/ |
D | row.c.h | 23 if (!PyObject_TypeCheck(PyTuple_GET_ITEM(args, 0), pysqlite_CursorType)) { in pysqlite_row_new()
|
/third_party/protobuf/python/google/protobuf/pyext/ |
D | descriptor.cc | 256 if (!PyObject_TypeCheck(value.get(), CMessage_Type)) { in GetOrBuildOptions() 292 if (!PyObject_TypeCheck(target, CMessage_Type) || in CopyToPythonProto() 457 if (!PyObject_TypeCheck(obj, &descriptor::PyBaseDescriptor_Type)) { in PyDescriptor_AsVoidPtr() 729 if (!PyObject_TypeCheck(obj, &PyMessageDescriptor_Type)) { in PyMessageDescriptor_AsDescriptor() 1044 if (!PyObject_TypeCheck(obj, &PyFieldDescriptor_Type)) { in PyFieldDescriptor_AsDescriptor() 1199 if (!PyObject_TypeCheck(obj, &PyEnumDescriptor_Type)) { in PyEnumDescriptor_AsDescriptor() 1523 if (!PyObject_TypeCheck(obj, &PyFileDescriptor_Type)) { in PyFileDescriptor_AsDescriptor() 1772 if (!PyObject_TypeCheck(obj, &PyServiceDescriptor_Type)) { in PyServiceDescriptor_AsDescriptor()
|
D | message.cc | 233 if (PyObject_TypeCheck(descriptor_or_name, &PyMessageDescriptor_Type)) { in New() 541 if (!PyObject_TypeCheck(cls, CMessageClass_Type)) { in CheckMessageClass() 856 GOOGLE_DCHECK(PyObject_TypeCheck(message, CMessage_Type)); in GetFactoryForMessage() 961 if (!PyObject_TypeCheck(extension, &PyFieldDescriptor_Type)) { in GetExtensionDescriptor() 1112 !PyObject_TypeCheck(property.get(), CFieldProperty_Type)) { in InitAttributes() 1845 if (!PyObject_TypeCheck(arg, CMessage_Type)) { in MergeFrom() 1878 if (!PyObject_TypeCheck(arg, CMessage_Type)) { in CopyFrom() 2006 if (!PyObject_TypeCheck(cls, CMessageClass_Type)) { in RegisterExtension() 2170 if (!PyObject_TypeCheck(other, CMessage_Type)) { in RichCompare() 2409 if (!PyObject_TypeCheck(clone, CMessage_Type)) { in DeepCopy() [all …]
|
D | descriptor_database.cc | 73 if (PyObject_TypeCheck(py_descriptor, CMessage_Type) && in GetFileDescriptorProto()
|
/third_party/python/Python/clinic/ |
D | traceback.c.h | 34 if (!PyObject_TypeCheck(fastargs[1], &PyFrame_Type)) { in tb_new()
|
/third_party/python/Objects/clinic/ |
D | funcobject.c.h | 46 if (!PyObject_TypeCheck(fastargs[0], &PyCode_Type)) { in func_new()
|
/third_party/python/Modules/_io/ |
D | _iomodule.h | 28 #define PyWindowsConsoleIO_Check(op) (PyObject_TypeCheck((op), (PyTypeObject*)_PyWindowsConsoleIO_T…
|
/third_party/python/Modules/clinic/ |
D | _elementtree.c.h | 22 if (!PyObject_TypeCheck(arg, &Element_Type)) { in _elementtree_Element_append() 445 if (!PyObject_TypeCheck(args[1], &Element_Type)) { in _elementtree_Element_insert() 541 if (!PyObject_TypeCheck(arg, &Element_Type)) { in _elementtree_Element_remove()
|