/external/python/cpython2/Objects/ |
D | typeobject.c | 113 type->tp_flags &= ~Py_TPFLAGS_VALID_VERSION_TAG; in PyType_Modified() 158 type->tp_flags &= ~(Py_TPFLAGS_HAVE_VERSION_TAG| in type_mro_modified() 205 type->tp_flags |= Py_TPFLAGS_VALID_VERSION_TAG; in assign_version_tag() 213 {"__flags__", T_LONG, offsetof(PyTypeObject, tp_flags), READONLY}, 228 if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) { in type_name() 250 if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) { in type_set_name() 294 if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) { in type_module() 315 if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) { in type_set_module() 372 type->tp_flags |= Py_TPFLAGS_IS_ABSTRACT; in type_set_abstractmethods() 374 type->tp_flags &= ~Py_TPFLAGS_IS_ABSTRACT; in type_set_abstractmethods() [all …]
|
/external/python/cpython3/Objects/ |
D | typeobject.c | 158 if (!(type->tp_flags & Py_TPFLAGS_READY)) { in _PyType_CheckConsistency() 166 CHECK(!(type->tp_flags & Py_TPFLAGS_READYING)); in _PyType_CheckConsistency() 300 type->tp_flags &= ~Py_TPFLAGS_VALID_VERSION_TAG; in PyType_Modified() 357 type->tp_flags &= ~(Py_TPFLAGS_HAVE_VERSION_TAG| in type_mro_modified() 405 type->tp_flags |= Py_TPFLAGS_VALID_VERSION_TAG; in assign_version_tag() 414 {"__flags__", T_ULONG, offsetof(PyTypeObject, tp_flags), READONLY}, 427 if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) { in check_set_special_type_attr() 463 if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) { in type_name() 477 if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) { in type_qualname() 543 if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) { in type_module() [all …]
|
D | structseq.c | 73 if (Py_TYPE(obj)->tp_flags & Py_TPFLAGS_HEAPTYPE) { in structseq_traverse() 414 type->tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC; in PyStructSequence_InitType2()
|
D | picklebufobject.c | 211 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC,
|
/external/python/pybind11/include/pybind11/detail/ |
D | class.h | 80 type->tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HEAPTYPE; in make_static_property_type() 257 type->tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HEAPTYPE; in make_default_metaclass() 464 type->tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HEAPTYPE; in make_object_base_type() 523 type->tp_flags |= Py_TPFLAGS_HAVE_GC; in enable_dynamic_attributes() 588 heap_type->ht_type.tp_flags |= Py_TPFLAGS_HAVE_NEWBUFFER; in enable_buffer_protocol() 674 type->tp_flags |= Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE; in make_new_python_type() 676 type->tp_flags |= Py_TPFLAGS_CHECKTYPES; in make_new_python_type() 679 type->tp_flags |= Py_TPFLAGS_BASETYPE; in make_new_python_type()
|
/external/python/cpython2/Tools/gdb/ |
D | libpython.py | 323 tp_flags = int(t.field('tp_flags')) 347 if tp_flags & Py_TPFLAGS_HEAPTYPE: 350 if tp_flags & Py_TPFLAGS_INT_SUBCLASS: 352 if tp_flags & Py_TPFLAGS_LONG_SUBCLASS: 354 if tp_flags & Py_TPFLAGS_LIST_SUBCLASS: 356 if tp_flags & Py_TPFLAGS_TUPLE_SUBCLASS: 358 if tp_flags & Py_TPFLAGS_STRING_SUBCLASS: 360 if tp_flags & Py_TPFLAGS_UNICODE_SUBCLASS: 362 if tp_flags & Py_TPFLAGS_DICT_SUBCLASS: 364 if tp_flags & Py_TPFLAGS_BASE_EXC_SUBCLASS:
|
/external/python/cpython3/Doc/includes/ |
D | custom.c | 15 .tp_flags = Py_TPFLAGS_DEFAULT,
|
D | typestruct.h | 34 unsigned long tp_flags; member
|
D | sublist.c | 37 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
|
D | custom2.c | 104 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
|
D | custom3.c | 154 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
|
D | custom4.c | 166 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC,
|
/external/python/cpython3/Tools/gdb/ |
D | libpython.py | 354 tp_flags = int(t.field('tp_flags')) 377 if tp_flags & Py_TPFLAGS_HEAPTYPE: 380 if tp_flags & Py_TPFLAGS_LONG_SUBCLASS: 382 if tp_flags & Py_TPFLAGS_LIST_SUBCLASS: 384 if tp_flags & Py_TPFLAGS_TUPLE_SUBCLASS: 386 if tp_flags & Py_TPFLAGS_BYTES_SUBCLASS: 388 if tp_flags & Py_TPFLAGS_UNICODE_SUBCLASS: 390 if tp_flags & Py_TPFLAGS_DICT_SUBCLASS: 392 if tp_flags & Py_TPFLAGS_BASE_EXC_SUBCLASS:
|
/external/python/cpython2/Doc/includes/ |
D | typestruct.h | 33 long tp_flags; member
|
/external/python/cpython2/Tools/bgen/bgen/ |
D | bgenObjectDefinition.py | 7 tp_flags = "Py_TPFLAGS_DEFAULT" variable in ObjectDefinition 300 Output("%s, /* tp_flags */", self.tp_flags) 371 tp_flags = "Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE" variable in PEP253Mixin
|
/external/python/cpython3/Include/internal/ |
D | pycore_object.h | 102 return ((type->tp_flags & feature) != 0); in _PyType_HasFeature()
|
/external/python/cpython3/Python/ |
D | context.c | 698 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, 1049 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, 1190 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, 1246 .tp_flags = Py_TPFLAGS_DEFAULT,
|
D | hamt.c | 2623 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, \ 2921 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, 2941 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, 2954 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, 2967 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC,
|
/external/python/cpython3/Doc/c-api/ |
D | type.rst | 40 Return the :c:member:`~PyTypeObject.tp_flags` member of *type*. This function is primarily 43 :c:member:`~PyTypeObject.tp_flags` itself is not part of the limited API. 200 Type flags, used to set :c:member:`PyTypeObject.tp_flags`.
|
/external/python/cpython2/Include/ |
D | object.h | 356 long tp_flags; member 659 #define PyType_HasFeature(t,f) (((t)->tp_flags & (f)) != 0)
|
/external/tensorflow/tensorflow/python/util/ |
D | fast_module_type.cc | 235 obj.tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE; in __anona71ec8820102()
|
/external/python/cpython3/Modules/ |
D | _asynciomodule.c | 1536 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC | Py_TPFLAGS_BASETYPE, 1731 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, 1849 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, 1938 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, 2538 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC | Py_TPFLAGS_BASETYPE, 3271 .tp_flags = Py_TPFLAGS_DEFAULT,
|
D | _testcapimodule.c | 3641 tp->tp_flags -= Py_TPFLAGS_HAVE_GC; in without_gc() 6078 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, 6114 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, 6175 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE | 6183 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, 6189 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, 6215 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_VECTORCALL, 6641 .tp_flags = Py_TPFLAGS_DEFAULT, 6663 .tp_flags = Py_TPFLAGS_DEFAULT, 6685 .tp_flags = Py_TPFLAGS_DEFAULT, [all …]
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.9.0b5.rst | 228 :c:member:`PyTypeObject.tp_flags` member when the limited C API is not used,
|
/external/python/cpython3/Include/cpython/ |
D | object.h | 226 unsigned long tp_flags; member
|