/third_party/boost/libs/python/src/object/ |
D | enum.cpp | 53 … PyUnicode_FromFormat("%S.%s(%ld)", mod, self_->ob_type->tp_name, PyLong_AsLong(self_)); in enum_repr() 55 …PyString_FromFormat("%s.%s(%ld)", PyString_AsString(mod), self_->ob_type->tp_name, PyInt_AS_LONG(s… in enum_repr() 66 PyUnicode_FromFormat("%S.%s.%S", mod, self_->ob_type->tp_name, name); in enum_repr() 69 PyString_AsString(mod), self_->ob_type->tp_name, PyString_AsString(name)); in enum_repr()
|
D | function.cpp | 303 char const* name = PyTuple_GetItem(args, i)->ob_type->tp_name; in argument_error() 428 if (attribute.ptr()->ob_type == &function_type) in add_to_namespace() 453 if (existing->ob_type == &function_type) in add_to_namespace() 463 else if (existing->ob_type == &PyStaticMethod_Type) in add_to_namespace()
|
D | life_support.cpp | 23 self->ob_type->tp_free(self); in life_support_dealloc()
|
/third_party/boost/libs/python/src/converter/ |
D | from_python.cpp | 104 , source->ob_type->tp_name in rvalue_from_python_stage2() 211 , source->ob_type->tp_name in throw_no_lvalue_from_python() 296 , source->ob_type->tp_name in pytype_check()
|
D | builtin_converters.cpp | 157 PyNumberMethods* number_methods = obj->ob_type->tp_as_number; in get_slot() 189 PyNumberMethods* number_methods = obj->ob_type->tp_as_number; in get_slot() 247 PyNumberMethods* number_methods = obj->ob_type->tp_as_number; in get_slot() 343 PyNumberMethods* number_methods = obj->ob_type->tp_as_number; in get_slot() 388 return (PyString_Check(obj)) ? &obj->ob_type->tp_str : 0; in get_slot()
|
/third_party/boost/boost/mpi/python/ |
D | serialize.hpp | 227 typename savers_t::iterator pos = savers.find(obj.ptr()->ob_type); in saver() 276 type = obj.ptr()->ob_type; in register_type() 308 type = obj.ptr()->ob_type; in register_type() 334 if (!is_fundamental<T>::value && obj && obj.ptr()->ob_type == type) { in operator ()()
|
D | skeleton_and_content.hpp | 174 type = object(value).ptr()->ob_type; in register_skeleton_and_content()
|
/third_party/boost/boost/python/detail/ |
D | wrap_python.hpp | 218 ( (op)->ob_type = (typeobj), _Py_NewReference((PyObject *)(op)), (op) ) 224 # define Py_TYPE(o) (((PyObject*)(o))->ob_type)
|
/third_party/boost/libs/mpi/src/python/ |
D | skeleton_and_content.cpp | 68 PyTypeObject* type = value.ptr()->ob_type; in skeleton() 83 PyTypeObject* type = value.ptr()->ob_type; in get_content()
|
/third_party/python/Include/ |
D | object.h | 108 PyTypeObject *ob_type; member 124 #define Py_TYPE(ob) (_PyObject_CAST(ob)->ob_type) 128 return ob->ob_type == type; in _Py_IS_TYPE() 138 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/boost/libs/python/src/numpy/ |
D | dtype.cpp | 155 if (obj->ob_type == get_pytype()) in convertible() 161 dtype dt(python::detail::borrowed_reference(obj->ob_type)); in convertible()
|
/third_party/boost/libs/python/src/ |
D | object_protocol.cpp | 107 PyTypeObject *tp = u->ob_type; in apply_slice() 137 PyTypeObject *tp = u->ob_type; in assign_slice()
|
D | dict.cpp | 25 return p->ptr()->ob_type == &PyDict_Type; in check_exact()
|
/third_party/boost/libs/python/test/ |
D | callbacks.cpp | 107 return call<handle<> >(x.get(), type_handle(borrowed(x->ob_type))); in apply_to_own_type()
|
D | builtin_converters.cpp | 52 return handle<PyTypeObject>(borrowed(x->ob_type)); in get_type()
|
/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/python/PC/ |
D | _msi.c | 146 result->ob_type->tp_name); in FNFCIGETNEXTCABINET() 733 if (oparams->ob_type != &record_Type) { in view_execute() 789 if (data->ob_type != &record_Type) { in view_modify()
|
D | winreg.c | 114 #define PyHKEY_Check(op) ((op)->ob_type == &PyHKEY_Type) 696 value->ob_type->tp_name); in Py2Reg()
|
/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()
|
/third_party/boost/libs/python/doc/reference/ |
D | concepts.qbk | 67 [[`&a.ob_type`][`PyTypeObject**`] 68 [Points to the `ob_type` field of an object which is layout-compatible with `PyObject`]]
|
/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/flutter/skia/third_party/externals/libwebp/swig/ |
D | libwebp_python_wrap.c | 763 # 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/python/Doc/c-api/ |
D | structures.rst | 67 This macro is used to access the :attr:`ob_type` member of a Python object. 70 (((PyObject*)(o))->ob_type)
|