/third_party/python/Objects/ |
D | typeobject.c | 155 if (!(type->tp_flags & Py_TPFLAGS_READY)) { in _PyType_CheckConsistency() 163 CHECK(!(type->tp_flags & Py_TPFLAGS_READYING)); in _PyType_CheckConsistency() 166 if (type->tp_flags & Py_TPFLAGS_DISALLOW_INSTANTIATION) { in _PyType_CheckConsistency() 351 type->tp_flags &= ~Py_TPFLAGS_VALID_VERSION_TAG; in PyType_Modified() 405 type->tp_flags &= ~Py_TPFLAGS_VALID_VERSION_TAG; in type_mro_modified() 442 type->tp_flags |= Py_TPFLAGS_VALID_VERSION_TAG; in assign_version_tag() 450 {"__flags__", T_ULONG, offsetof(PyTypeObject, tp_flags), READONLY}, 501 if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) { in type_name() 515 if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) { in type_qualname() 581 if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) { in type_module() [all …]
|
D | structseq.c | 95 if (Py_TYPE(obj)->tp_flags & Py_TPFLAGS_HEAPTYPE) { in structseq_traverse() 466 unsigned long tp_flags) in _PyStructSequence_InitType() argument 494 type->tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC | tp_flags; in _PyStructSequence_InitType()
|
D | picklebufobject.c | 211 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC,
|
D | unionobject.c | 457 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC,
|
/third_party/python/Modules/ |
D | _abc.c | 474 ((PyTypeObject *)self)->tp_flags |= (val & COLLECTION_FLAGS); in _abc__abc_init() 489 (child->tp_flags & COLLECTION_FLAGS) == flag) in set_collection_flag_recursive() 493 child->tp_flags &= ~COLLECTION_FLAGS; in set_collection_flag_recursive() 494 child->tp_flags |= flag; in set_collection_flag_recursive() 562 unsigned long collection_flag = ((PyTypeObject *)self)->tp_flags & COLLECTION_FLAGS; in _abc__abc_register_impl()
|
D | _asynciomodule.c | 1539 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC | Py_TPFLAGS_BASETYPE, 1767 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, 1885 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, 2496 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC | Py_TPFLAGS_BASETYPE, 3255 .tp_flags = Py_TPFLAGS_DEFAULT,
|
D | _testcapimodule.c | 3789 tp->tp_flags -= Py_TPFLAGS_HAVE_GC; in without_gc() 6423 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, 6459 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, 6520 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE | 6528 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, 6534 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, 6560 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_VECTORCALL, 7035 .tp_flags = Py_TPFLAGS_DEFAULT, 7057 .tp_flags = Py_TPFLAGS_DEFAULT, 7079 .tp_flags = Py_TPFLAGS_DEFAULT, [all …]
|
/third_party/python/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:
|
/third_party/python/Include/internal/ |
D | pycore_structseq.h | 15 unsigned long tp_flags);
|
D | pycore_object.h | 27 return ((type->tp_flags & feature) != 0); in _PyType_HasFeature()
|
/third_party/python/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,
|
/third_party/python/Python/ |
D | context.c | 714 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, 1065 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, 1206 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, 1262 .tp_flags = Py_TPFLAGS_DEFAULT,
|
D | hamt.c | 2604 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, \ 2902 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, 2922 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, 2935 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, 2948 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC,
|
/third_party/python/Doc/c-api/ |
D | type.rst | 42 Return the :c:member:`~PyTypeObject.tp_flags` member of *type*. This function is primarily 45 :c:member:`~PyTypeObject.tp_flags` itself is not part of the limited API. 217 Type flags, used to set :c:member:`PyTypeObject.tp_flags`.
|
D | gcsupport.rst | 15 To create a container type, the :c:member:`~PyTypeObject.tp_flags` field of the type object must 52 :c:member:`~PyTypeObject.tp_flags`, :c:member:`~PyTypeObject.tp_traverse`
|
/third_party/protobuf/python/google/protobuf/pyext/ |
D | map_container.cc | 520 if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) { in ScalarMapDealloc() 786 if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) { in MessageMapDealloc()
|
/third_party/python/Include/cpython/ |
D | object.h | 224 unsigned long tp_flags; member
|
/third_party/python/Include/ |
D | object.h | 729 flags = type->tp_flags; in PyType_HasFeature()
|
/third_party/alsa-lib/modules/mixer/simple/ |
D | python.c | 710 tp_flags: Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, 891 tp_flags: Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
|
/third_party/python/Doc/extending/ |
D | newtypes_tutorial.rst | 96 .tp_flags = Py_TPFLAGS_DEFAULT, 156 .tp_flags = Py_TPFLAGS_DEFAULT, 520 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, 786 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC,
|