Home
last modified time | relevance | path

Searched refs:ob_type (Results 1 – 17 of 17) sorted by relevance

/third_party/python/Include/
Dobject.h108 PyTypeObject *ob_type; member
137 #define Py_TYPE(ob) (_PyObject_CAST(ob)->ob_type)
146 return ob->ob_type == type; in _Py_IS_TYPE()
158 ob->ob_type = type; in _Py_SET_TYPE()
/third_party/python/Lib/
Dcopyreg.py12 def pickle(ob_type, pickle_function, constructor_ob=None): argument
15 dispatch_table[ob_type] = pickle_function
/third_party/skia/third_party/externals/brotli/python/
D_brotli.cc156 self->ob_type->tp_free((PyObject*)self); in brotli_Compressor_dealloc()
442 self->ob_type->tp_free((PyObject*)self); in brotli_Decompressor_dealloc()
/third_party/protobuf/python/google/protobuf/pyext/
Dmessage_factory.cc96 pool->ob_type->tp_name); in New()
Drepeated_composite_container.cc274 item->ob_type->tp_name); in Subscript()
Dmessage.cc49 #define Py_TYPE(ob) (((PyObject*)(ob))->ob_type)
668 if ((nb = arg->ob_type->tp_as_number) != NULL && nb->nb_int != NULL) { in CheckAndGetInteger()
2008 cls->ob_type->tp_name); in RegisterExtension()
Ddescriptor.cc164 #define Py_TYPE(ob) (((PyObject*)(ob))->ob_type)
/third_party/flutter/skia/third_party/externals/libwebp/swig/
Dlibwebp_python_wrap.c763 # define Py_TYPE(op) ((op)->ob_type)
1657 if (PyType_IsSubtype(op->ob_type, target_tp)) in SwigPyObject_Check()
1659 return (strcmp(op->ob_type->tp_name, "SwigPyObject") == 0); in SwigPyObject_Check()
1986 swigpyobject_type.ob_type = &PyType_Type; in SwigPyObject_TypeOnce()
2074 return ((op)->ob_type == SwigPyPacked_TypeOnce()) in SwigPyPacked_Check()
2075 || (strcmp((op)->ob_type->tp_name,"SwigPyPacked") == 0); in SwigPyPacked_Check()
2174 swigpypacked_type.ob_type = &PyType_Type; in SwigPyPacked_TypeOnce()
2876 const char *otype = (obj ? obj->ob_type->tp_name : 0); in SWIG_Python_TypeError()
2918 PyTypeObject *tp = obj->ob_type; in SWIG_Python_NonDynamicSetAttr()
2934 …PyErr_Format(PyExc_TypeError, "attribute name must be string, not '%.200s'", name->ob_type->tp_nam… in SWIG_Python_NonDynamicSetAttr()
[all …]
/third_party/skia/third_party/externals/libwebp/swig/
Dlibwebp_python_wrap.c767 # define Py_TYPE(op) ((op)->ob_type)
1670 if (PyType_IsSubtype(op->ob_type, target_tp)) in SwigPyObject_Check()
1672 return (strcmp(op->ob_type->tp_name, "SwigPyObject") == 0); in SwigPyObject_Check()
2008 swigpyobject_type.ob_type = &PyType_Type; in SwigPyObject_TypeOnce()
2096 return ((op)->ob_type == SwigPyPacked_TypeOnce()) in SwigPyPacked_Check()
2097 || (strcmp((op)->ob_type->tp_name,"SwigPyPacked") == 0); in SwigPyPacked_Check()
2195 swigpypacked_type.ob_type = &PyType_Type; in SwigPyPacked_TypeOnce()
2897 const char *otype = (obj ? obj->ob_type->tp_name : 0); in SWIG_Python_TypeError()
2939 PyTypeObject *tp = obj->ob_type; in SWIG_Python_NonDynamicSetAttr()
2955 …PyErr_Format(PyExc_TypeError, "attribute name must be string, not '%.200s'", name->ob_type->tp_nam… in SWIG_Python_NonDynamicSetAttr()
[all …]
/third_party/python/Tools/gdb/
Dlibpython.py275 ob_type = self.type()
276 tp_name = ob_type.field('tp_name')
/third_party/libxml2/python/
Dtypes.c787 if ((node == NULL) || (node->ob_type == NULL)) in libxml_xmlXPathObjectPtrConvert()
/third_party/python/Doc/c-api/
Dtypeobj.rst489 objects <static-types>`, the type's instances (objects whose :attr:`ob_type`
499 .. c:member:: PyTypeObject* PyObject.ob_type
510 Foo_Type.ob_type = &PyType_Type;
513 :c:func:`PyType_Ready` checks if :attr:`ob_type` is ``NULL``, and if so,
514 initializes it to the :attr:`ob_type` field of the base class.
1045 case, the :attr:`ob_type` field of its instances is considered a reference to
1048 subtypes; only the type referenced by the instance's ob_type gets INCREF'ed or
2478 :attr:`ob_refcnt` set to ``1`` and :attr:`ob_type` set to the type argument. If
Dobject.rst293 function instead of the common expression ``o->ob_type``, which returns a
/third_party/python/Misc/NEWS.d/
D3.8.0a2.rst174 ``ob_type->tp_richcompare == NULL``. Patch by Zackery Spytz.
/third_party/python/Doc/extending/
Dnewtypes_tutorial.rst180 to the appropriate default values, including :attr:`ob_type` that we initially
/third_party/python/Modules/
D_testcapimodule.c4836 PyObject *op = (PyObject *)PyObject_Malloc(offsetof(PyObject, ob_type)); in check_pyobject_forbidden_bytes_is_freed()
/third_party/python/Misc/
DHISTORY23210 when PyType_Ready() was called, if ob_type was found to be NULL, it
23211 was always set to &PyType_Type; now it is set to base->ob_type,