Searched refs:PyType_Type (Results 1 – 25 of 211) sorted by relevance
123456789
/external/python/pybind11/include/pybind11/detail/ |
D | class.h | 68 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/ |
D | blake2module.c | 65 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/ |
D | iterobject.c | 102 PyVarObject_HEAD_INIT(&PyType_Type, 0) 206 PyVarObject_HEAD_INIT(&PyType_Type, 0)
|
D | descrobject.c | 424 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)
|
D | rangeobject.c | 186 PyVarObject_HEAD_INIT(&PyType_Type, 0) 258 PyVarObject_HEAD_INIT(&PyType_Type, 0)
|
D | enumobject.c | 177 PyVarObject_HEAD_INIT(&PyType_Type, 0) 346 PyVarObject_HEAD_INIT(&PyType_Type, 0)
|
D | sliceobject.c | 26 PyVarObject_HEAD_INIT(&PyType_Type, 0) 376 PyVarObject_HEAD_INIT(&PyType_Type, 0)
|
D | cellobject.c | 115 PyVarObject_HEAD_INIT(&PyType_Type, 0)
|
D | cobject.c | 150 PyVarObject_HEAD_INIT(&PyType_Type, 0)
|
D | boolobject.c | 151 PyVarObject_HEAD_INIT(&PyType_Type, 0)
|
/external/python/cpython2/Modules/ |
D | xxsubtype.c | 104 PyVarObject_HEAD_INIT(DEFERRED_ADDRESS(&PyType_Type), 0) 195 PyVarObject_HEAD_INIT(DEFERRED_ADDRESS(&PyType_Type), 0)
|
/external/python/cpython2/Modules/_sqlite/ |
D | prepare_protocol.c | 82 Py_TYPE(&pysqlite_PrepareProtocolType)= &PyType_Type; in pysqlite_prepare_protocol_setup_types()
|
/external/python/cpython3/Modules/_sqlite/ |
D | prepare_protocol.c | 81 Py_SET_TYPE(&pysqlite_PrepareProtocolType, &PyType_Type); in pysqlite_prepare_protocol_setup_types()
|
/external/python/cpython3/Modules/ |
D | xxsubtype.c | 104 PyVarObject_HEAD_INIT(DEFERRED_ADDRESS(&PyType_Type), 0) 195 PyVarObject_HEAD_INIT(DEFERRED_ADDRESS(&PyType_Type), 0)
|
/external/python/cpython3/Objects/ |
D | iterobject.c | 140 PyVarObject_HEAD_INIT(&PyType_Type, 0) 259 PyVarObject_HEAD_INIT(&PyType_Type, 0)
|
D | descrobject.c | 693 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)
|
D | genobject.c | 728 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)
|
D | boolobject.c | 135 PyVarObject_HEAD_INIT(&PyType_Type, 0)
|
D | enumobject.c | 210 PyVarObject_HEAD_INIT(&PyType_Type, 0) 407 PyVarObject_HEAD_INIT(&PyType_Type, 0)
|
/external/protobuf/python/google/protobuf/pyext/ |
D | unknown_fields.cc | 159 PyVarObject_HEAD_INIT(&PyType_Type, 0) 316 PyVarObject_HEAD_INIT(&PyType_Type, 0)
|
D | descriptor.cc | 422 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)
|
D | field.cc | 88 PyVarObject_HEAD_INIT(&PyType_Type, 0) // head
|
D | extension_dict.cc | 368 PyVarObject_HEAD_INIT(&PyType_Type, 0) // 435 PyVarObject_HEAD_INIT(&PyType_Type, 0) //
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | py_util.cc | 38 if (Py_TYPE(py) == &PyType_Type) { in ClassName()
|
/external/python/cpython3/Python/ |
D | context.c | 689 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