/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 | 137 if (!(type->tp_flags & Py_TPFLAGS_READY)) { in _PyType_CheckConsistency() 142 assert(!(type->tp_flags & Py_TPFLAGS_READYING)); in _PyType_CheckConsistency() 272 type->tp_flags &= ~Py_TPFLAGS_VALID_VERSION_TAG; in PyType_Modified() 311 type->tp_flags &= ~(Py_TPFLAGS_HAVE_VERSION_TAG| in type_mro_modified() 358 type->tp_flags |= Py_TPFLAGS_VALID_VERSION_TAG; in assign_version_tag() 366 {"__flags__", T_LONG, offsetof(PyTypeObject, tp_flags), READONLY}, 379 if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) { in check_set_special_type_attr() 408 if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) { in type_name() 422 if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) { in type_qualname() 488 if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) { in type_module() [all …]
|
/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/Tools/gdb/ |
D | libpython.py | 352 tp_flags = int(t.field('tp_flags')) 375 if tp_flags & Py_TPFLAGS_HEAPTYPE: 378 if tp_flags & Py_TPFLAGS_LONG_SUBCLASS: 380 if tp_flags & Py_TPFLAGS_LIST_SUBCLASS: 382 if tp_flags & Py_TPFLAGS_TUPLE_SUBCLASS: 384 if tp_flags & Py_TPFLAGS_BYTES_SUBCLASS: 386 if tp_flags & Py_TPFLAGS_UNICODE_SUBCLASS: 388 if tp_flags & Py_TPFLAGS_DICT_SUBCLASS: 390 if tp_flags & Py_TPFLAGS_BASE_EXC_SUBCLASS:
|
/external/python/cpython3/Doc/includes/ |
D | custom.c | 14 .tp_flags = Py_TPFLAGS_DEFAULT,
|
D | sublist.c | 36 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
|
D | typestruct.h | 34 unsigned long tp_flags; member
|
D | custom2.c | 103 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
|
D | custom3.c | 153 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
|
D | custom4.c | 165 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC,
|
/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/cpython2/Doc/includes/ |
D | typestruct.h | 33 long tp_flags; member
|
/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.
|
D | gcsupport.rst | 15 To create a container type, the :c:member:`~PyTypeObject.tp_flags` field of the type object must
|
D | typeobj.rst | 380 .. c:member:: unsigned long PyTypeObject.tp_flags 402 the ``|`` operator to form the value of the :c:member:`~PyTypeObject.tp_flags` field. The macro 404 checks whether ``tp->tp_flags & f`` is non-zero. 467 from built-ins should have their :c:member:`~PyTypeObject.tp_flags` 955 … :c:member:`~PyTypeObject.tp_flags` field, and check the :const:`Py_TPFLAGS_HAVE_GC` flag bit. But
|
/external/python/cpython3/Python/ |
D | context.c | 667 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, 1004 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, 1138 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, 1194 .tp_flags = Py_TPFLAGS_DEFAULT,
|
D | hamt.c | 2622 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, \ 2920 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, 2940 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, 2953 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, 2966 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC,
|
/external/python/cpython2/Include/ |
D | object.h | 356 long tp_flags; member 659 #define PyType_HasFeature(t,f) (((t)->tp_flags & (f)) != 0)
|
/external/python/cpython3/Include/ |
D | object.h | 379 unsigned long tp_flags; member 685 #define PyType_HasFeature(t,f) (((t)->tp_flags & (f)) != 0)
|
/external/python/cpython3/Modules/ |
D | _asynciomodule.c | 1443 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC | Py_TPFLAGS_BASETYPE 1639 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, 1757 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, 1831 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, 2417 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC | Py_TPFLAGS_BASETYPE 3164 .tp_flags = Py_TPFLAGS_DEFAULT,
|
D | _abc.c | 73 .tp_flags = Py_TPFLAGS_DEFAULT,
|
/external/python/cpython2/Doc/c-api/ |
D | gcsupport.rst | 18 To create a container type, the :c:member:`~PyTypeObject.tp_flags` field of the type object must
|
D | typeobj.rst | 417 .. c:member:: long PyTypeObject.tp_flags 440 the ``|`` operator to form the value of the :c:member:`~PyTypeObject.tp_flags` field. The macro 442 checks whether ``tp->tp_flags & f`` is non-zero. 1052 … :c:member:`~PyTypeObject.tp_flags` field, and check the :const:`Py_TPFLAGS_HAVE_GC` flag bit. But 1353 :const:`Py_TPFLAGS_DEFAULT` for the value of the :c:member:`~PyTypeObject.tp_flags` member rather 1383 flag is present in the :c:member:`~PyTypeObject.tp_flags` field of the object's
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.6b3.rst | 10 Py_TPFLAGS_HAVE_VERSION_TAG to their tp_flags field if they care. This is a
|
/external/python/cpython3/Doc/extending/ |
D | newtypes_tutorial.rst | 154 .tp_flags = Py_TPFLAGS_DEFAULT, 513 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, 779 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC,
|