Home
last modified time | relevance | path

Searched refs:PyType_Type (Results 1 – 25 of 85) sorted by relevance

1234

/third_party/boost/libs/python/src/object/
Dclass.cpp211 Py_TYPE(&static_data_object) = &PyType_Type; in static_data()
246 return PyType_Type.tp_setattro(obj, name, value); in class_setattro()
253 PyType_Type.tp_basicsize,
319 Py_TYPE(&class_metatype_object) = &PyType_Type; in class_metatype()
320 class_metatype_object.tp_base = &PyType_Type; in class_metatype()
576 assert(PyType_IsSubtype(Py_TYPE(result.ptr()), &PyType_Type)); in new_class()
Denum.cpp156 Py_TYPE(&enum_type_object) = incref(&PyType_Type); in new_enum_type()
166 type_handle metatype(borrowed(&PyType_Type)); in new_enum_type()
Dlife_support.cpp96 Py_TYPE(&life_support_type) = &PyType_Type; in make_nurse_and_patient()
/third_party/python/Modules/
Dxxsubtype.c104 PyVarObject_HEAD_INIT(DEFERRED_ADDRESS(&PyType_Type), 0)
195 PyVarObject_HEAD_INIT(DEFERRED_ADDRESS(&PyType_Type), 0)
/third_party/python/Objects/
Diterobject.c140 PyVarObject_HEAD_INIT(&PyType_Type, 0)
259 PyVarObject_HEAD_INIT(&PyType_Type, 0)
456 PyVarObject_HEAD_INIT(&PyType_Type, 0)
Ddescrobject.c691 PyVarObject_HEAD_INIT(&PyType_Type, 0)
731 PyVarObject_HEAD_INIT(&PyType_Type, 0)
768 PyVarObject_HEAD_INIT(&PyType_Type, 0)
805 PyVarObject_HEAD_INIT(&PyType_Type, 0)
842 PyVarObject_HEAD_INIT(&PyType_Type, 0)
1398 PyVarObject_HEAD_INIT(&PyType_Type, 0)
1833 PyVarObject_HEAD_INIT(&PyType_Type, 0)
1876 PyVarObject_HEAD_INIT(&PyType_Type, 0)
Dgenobject.c778 PyVarObject_HEAD_INIT(&PyType_Type, 0)
1025 PyVarObject_HEAD_INIT(&PyType_Type, 0)
1123 PyVarObject_HEAD_INIT(&PyType_Type, 0)
1409 PyVarObject_HEAD_INIT(&PyType_Type, 0)
1673 PyVarObject_HEAD_INIT(&PyType_Type, 0)
1782 PyVarObject_HEAD_INIT(&PyType_Type, 0)
2082 PyVarObject_HEAD_INIT(&PyType_Type, 0)
Denumobject.c222 PyVarObject_HEAD_INIT(&PyType_Type, 0)
437 PyVarObject_HEAD_INIT(&PyType_Type, 0)
Dboolobject.c159 PyVarObject_HEAD_INIT(&PyType_Type, 0)
Dcellobject.c158 PyVarObject_HEAD_INIT(&PyType_Type, 0)
Dodictobject.c1596 PyVarObject_HEAD_INIT(&PyType_Type, 0)
1872 PyVarObject_HEAD_INIT(&PyType_Type, 0)
1967 PyVarObject_HEAD_INIT(&PyType_Type, 0)
2034 PyVarObject_HEAD_INIT(&PyType_Type, 0)
2101 PyVarObject_HEAD_INIT(&PyType_Type, 0)
Dsliceobject.c51 PyVarObject_HEAD_INIT(&PyType_Type, 0)
632 PyVarObject_HEAD_INIT(&PyType_Type, 0)
Dclassobject.c332 PyVarObject_HEAD_INIT(&PyType_Type, 0)
572 PyVarObject_HEAD_INIT(&PyType_Type, 0)
Dmethodobject.c338 PyVarObject_HEAD_INIT(&PyType_Type, 0)
374 PyVarObject_HEAD_INIT(&PyType_Type, 0)
Dcapsule.c300 PyVarObject_HEAD_INIT(&PyType_Type, 0)
Dinterpreteridobject.c228 PyVarObject_HEAD_INIT(&PyType_Type, 0)
Dnamespaceobject.c203 PyVarObject_HEAD_INIT(&PyType_Type, 0)
Dweakrefobject.c373 PyVarObject_HEAD_INIT(&PyType_Type, 0)
743 PyVarObject_HEAD_INIT(&PyType_Type, 0)
778 PyVarObject_HEAD_INIT(&PyType_Type, 0)
/third_party/protobuf/python/google/protobuf/pyext/
Dunknown_fields.cc159 PyVarObject_HEAD_INIT(&PyType_Type, 0)
316 PyVarObject_HEAD_INIT(&PyType_Type, 0)
Ddescriptor.cc422 PyVarObject_HEAD_INIT(&PyType_Type, 0) FULL_MODULE_NAME
689 PyVarObject_HEAD_INIT(&PyType_Type, 0)
1004 PyVarObject_HEAD_INIT(&PyType_Type, 0)
1159 PyVarObject_HEAD_INIT(&PyType_Type, 0)
1279 PyVarObject_HEAD_INIT(&PyType_Type, 0)
1455 PyVarObject_HEAD_INIT(&PyType_Type, 0) FULL_MODULE_NAME
1614 PyVarObject_HEAD_INIT(&PyType_Type, 0)
1732 PyVarObject_HEAD_INIT(&PyType_Type, 0)
1844 PyVarObject_HEAD_INIT(&PyType_Type, 0)
Dfield.cc88 PyVarObject_HEAD_INIT(&PyType_Type, 0) // head
Dextension_dict.cc372 PyVarObject_HEAD_INIT(&PyType_Type, 0) //
439 PyVarObject_HEAD_INIT(&PyType_Type, 0) //
/third_party/python/Python/
Dcontext.c705 PyVarObject_HEAD_INIT(&PyType_Type, 0)
1058 PyVarObject_HEAD_INIT(&PyType_Type, 0)
1199 PyVarObject_HEAD_INIT(&PyType_Type, 0)
1258 PyVarObject_HEAD_INIT(&PyType_Type, 0)
/third_party/python/Include/
Dobject.h251 PyAPI_DATA(PyTypeObject) PyType_Type; /* built-in 'type' */
742 return Py_IS_TYPE(op, &PyType_Type); in _PyType_CheckExact()
/third_party/python/Modules/_ctypes/
D_ctypes.c496 result = (PyTypeObject *)PyType_Type.tp_new(type, args, kwds); in StructUnionType_new()
878 return PyType_Type.tp_clear((PyObject *)self); in CDataType_clear()
887 return PyType_Type.tp_traverse((PyObject *)self, visit, arg); in CDataType_traverse()
894 if (-1 == PyType_Type.tp_setattro(self, key, value)) in PyCStructType_setattro()
1117 result = (PyTypeObject *)PyType_Type.tp_new(type, args, kwds); in PyCPointerType_new()
1502 result = (PyTypeObject *)PyType_Type.tp_new(type, args, kwds); in PyCArrayType_new()
2004 result = (PyTypeObject *)PyType_Type.tp_new(type, swapped_args, kwds); in CreateSwappedType()
2079 result = (PyTypeObject *)PyType_Type.tp_new(type, args, kwds); in PyCSimpleType_new()
2584 result = (PyTypeObject *)PyType_Type.tp_new(type, args, kwds); in PyCFuncPtrType_new()
5711 TYPE_READY_BASE(&PyCStructType_Type, &PyType_Type); in _ctypes_add_types()
[all …]

1234