Searched refs:ob_type (Results 1 – 15 of 15) sorted by relevance
/third_party/python/Include/ |
D | object.h | 108 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/ |
D | copyreg.py | 12 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.cc | 156 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/ |
D | message_factory.cc | 96 pool->ob_type->tp_name); in New()
|
D | repeated_composite_container.cc | 274 item->ob_type->tp_name); in Subscript()
|
D | message.cc | 49 #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()
|
D | descriptor.cc | 164 #define Py_TYPE(ob) (((PyObject*)(ob))->ob_type)
|
/third_party/skia/third_party/externals/libwebp/swig/ |
D | libwebp_python_wrap.c | 767 # 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/ |
D | libpython.py | 275 ob_type = self.type() 276 tp_name = ob_type.field('tp_name')
|
/third_party/python/Doc/c-api/ |
D | typeobj.rst | 489 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
|
D | object.rst | 293 function instead of the common expression ``o->ob_type``, which returns a
|
/third_party/python/Misc/NEWS.d/ |
D | 3.8.0a2.rst | 174 ``ob_type->tp_richcompare == NULL``. Patch by Zackery Spytz.
|
/third_party/python/Doc/extending/ |
D | newtypes_tutorial.rst | 180 to the appropriate default values, including :attr:`ob_type` that we initially
|
/third_party/python/Modules/ |
D | _testcapimodule.c | 4836 PyObject *op = (PyObject *)PyObject_Malloc(offsetof(PyObject, ob_type)); in check_pyobject_forbidden_bytes_is_freed()
|
/third_party/python/Misc/ |
D | HISTORY | 23210 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,
|