Home
last modified time | relevance | path

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

123456789

/external/python/pybind11/include/pybind11/detail/
Dclass.h68 auto heap_type = (PyHeapTypeObject *) PyType_Type.tp_alloc(&PyType_Type, 0); in make_static_property_type()
148 return PyType_Type.tp_setattro(obj, name, value); in pybind11_meta_setattro()
166 return PyType_Type.tp_getattro(obj, name); in pybind11_meta_getattro()
175 PyObject *self = PyType_Type.tp_call(type, args, kwargs); in pybind11_meta_call()
231 PyType_Type.tp_dealloc(obj); in pybind11_meta_dealloc()
245 auto heap_type = (PyHeapTypeObject *) PyType_Type.tp_alloc(&PyType_Type, 0); in make_default_metaclass()
256 type->tp_base = type_incref(&PyType_Type); in make_default_metaclass()
/external/python/cpython3/Modules/_blake2/
Dblake2module.c65 Py_SET_TYPE(&PyBlake2_BLAKE2bType, &PyType_Type); in PyInit__blake2()
82 Py_SET_TYPE(&PyBlake2_BLAKE2sType, &PyType_Type); in PyInit__blake2()
/external/python/cpython2/Objects/
Diterobject.c102 PyVarObject_HEAD_INIT(&PyType_Type, 0)
206 PyVarObject_HEAD_INIT(&PyType_Type, 0)
Ddescrobject.c424 PyVarObject_HEAD_INIT(&PyType_Type, 0)
462 PyVarObject_HEAD_INIT(&PyType_Type, 0)
499 PyVarObject_HEAD_INIT(&PyType_Type, 0)
536 PyVarObject_HEAD_INIT(&PyType_Type, 0)
573 PyVarObject_HEAD_INIT(&PyType_Type, 0)
876 PyVarObject_HEAD_INIT(&PyType_Type, 0)
1057 PyVarObject_HEAD_INIT(&PyType_Type, 0)
1398 PyVarObject_HEAD_INIT(&PyType_Type, 0)
Drangeobject.c186 PyVarObject_HEAD_INIT(&PyType_Type, 0)
258 PyVarObject_HEAD_INIT(&PyType_Type, 0)
Denumobject.c177 PyVarObject_HEAD_INIT(&PyType_Type, 0)
346 PyVarObject_HEAD_INIT(&PyType_Type, 0)
Dsliceobject.c26 PyVarObject_HEAD_INIT(&PyType_Type, 0)
376 PyVarObject_HEAD_INIT(&PyType_Type, 0)
Dcellobject.c115 PyVarObject_HEAD_INIT(&PyType_Type, 0)
Dcobject.c150 PyVarObject_HEAD_INIT(&PyType_Type, 0)
Dboolobject.c151 PyVarObject_HEAD_INIT(&PyType_Type, 0)
/external/python/cpython2/Modules/
Dxxsubtype.c104 PyVarObject_HEAD_INIT(DEFERRED_ADDRESS(&PyType_Type), 0)
195 PyVarObject_HEAD_INIT(DEFERRED_ADDRESS(&PyType_Type), 0)
/external/python/cpython2/Modules/_sqlite/
Dprepare_protocol.c82 Py_TYPE(&pysqlite_PrepareProtocolType)= &PyType_Type; in pysqlite_prepare_protocol_setup_types()
/external/python/cpython3/Modules/_sqlite/
Dprepare_protocol.c81 Py_SET_TYPE(&pysqlite_PrepareProtocolType, &PyType_Type); in pysqlite_prepare_protocol_setup_types()
/external/python/cpython3/Modules/
Dxxsubtype.c104 PyVarObject_HEAD_INIT(DEFERRED_ADDRESS(&PyType_Type), 0)
195 PyVarObject_HEAD_INIT(DEFERRED_ADDRESS(&PyType_Type), 0)
/external/python/cpython3/Objects/
Diterobject.c140 PyVarObject_HEAD_INIT(&PyType_Type, 0)
259 PyVarObject_HEAD_INIT(&PyType_Type, 0)
Ddescrobject.c693 PyVarObject_HEAD_INIT(&PyType_Type, 0)
733 PyVarObject_HEAD_INIT(&PyType_Type, 0)
770 PyVarObject_HEAD_INIT(&PyType_Type, 0)
807 PyVarObject_HEAD_INIT(&PyType_Type, 0)
844 PyVarObject_HEAD_INIT(&PyType_Type, 0)
1395 PyVarObject_HEAD_INIT(&PyType_Type, 0)
1786 PyVarObject_HEAD_INIT(&PyType_Type, 0)
1828 PyVarObject_HEAD_INIT(&PyType_Type, 0)
Dgenobject.c728 PyVarObject_HEAD_INIT(&PyType_Type, 0)
966 PyVarObject_HEAD_INIT(&PyType_Type, 0)
1064 PyVarObject_HEAD_INIT(&PyType_Type, 0)
1365 PyVarObject_HEAD_INIT(&PyType_Type, 0)
1607 PyVarObject_HEAD_INIT(&PyType_Type, 0)
1704 PyVarObject_HEAD_INIT(&PyType_Type, 0)
1997 PyVarObject_HEAD_INIT(&PyType_Type, 0)
Dboolobject.c135 PyVarObject_HEAD_INIT(&PyType_Type, 0)
Denumobject.c210 PyVarObject_HEAD_INIT(&PyType_Type, 0)
407 PyVarObject_HEAD_INIT(&PyType_Type, 0)
/external/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.cc368 PyVarObject_HEAD_INIT(&PyType_Type, 0) //
435 PyVarObject_HEAD_INIT(&PyType_Type, 0) //
/external/tensorflow/tensorflow/python/lib/core/
Dpy_util.cc38 if (Py_TYPE(py) == &PyType_Type) { in ClassName()
/external/python/cpython3/Python/
Dcontext.c689 PyVarObject_HEAD_INIT(&PyType_Type, 0)
1042 PyVarObject_HEAD_INIT(&PyType_Type, 0)
1183 PyVarObject_HEAD_INIT(&PyType_Type, 0)
1242 PyVarObject_HEAD_INIT(&PyType_Type, 0)

123456789