/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 …]
|
D | object.c | 1282 if (!(tp->tp_flags & Py_TPFLAGS_HAVE_CLASS)) in _PyObject_GetDictPtr()
|
/external/python/cpython3/Objects/ |
D | typeobject.c | 249 type->tp_flags &= ~Py_TPFLAGS_VALID_VERSION_TAG; in PyType_Modified() 288 type->tp_flags &= ~(Py_TPFLAGS_HAVE_VERSION_TAG| in type_mro_modified() 335 type->tp_flags |= Py_TPFLAGS_VALID_VERSION_TAG; in assign_version_tag() 343 {"__flags__", T_LONG, offsetof(PyTypeObject, tp_flags), READONLY}, 356 if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) { in check_set_special_type_attr() 374 if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) { in type_name() 393 if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) { in type_qualname() 459 if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) { in type_module() 539 type->tp_flags |= Py_TPFLAGS_IS_ABSTRACT; in type_set_abstractmethods() 541 type->tp_flags &= ~Py_TPFLAGS_IS_ABSTRACT; in type_set_abstractmethods() [all …]
|
D | dictobject.c | 4347 if ((tp->tp_flags & Py_TPFLAGS_HEAPTYPE) && CACHED_KEYS(tp)) { in PyObject_GenericGetDict() 4368 if ((tp->tp_flags & Py_TPFLAGS_HEAPTYPE) && (cached = CACHED_KEYS(tp))) { in _PyObjectDict_SetItem()
|
D | exceptions.c | 2387 if (!(_PyExc_ ## TYPE.tp_flags & Py_TPFLAGS_READY)) { \
|
/external/python/cpython2/Tools/gdb/ |
D | libpython.py | 322 tp_flags = int(t.field('tp_flags')) 343 if tp_flags & Py_TPFLAGS_HEAPTYPE: 346 if tp_flags & Py_TPFLAGS_INT_SUBCLASS: 348 if tp_flags & Py_TPFLAGS_LONG_SUBCLASS: 350 if tp_flags & Py_TPFLAGS_LIST_SUBCLASS: 352 if tp_flags & Py_TPFLAGS_TUPLE_SUBCLASS: 354 if tp_flags & Py_TPFLAGS_STRING_SUBCLASS: 356 if tp_flags & Py_TPFLAGS_UNICODE_SUBCLASS: 358 if tp_flags & Py_TPFLAGS_DICT_SUBCLASS: 360 if tp_flags & Py_TPFLAGS_BASE_EXC_SUBCLASS:
|
/external/python/cpython3/Tools/gdb/ |
D | libpython.py | 349 tp_flags = int(t.field('tp_flags')) 369 if tp_flags & Py_TPFLAGS_HEAPTYPE: 372 if tp_flags & Py_TPFLAGS_LONG_SUBCLASS: 374 if tp_flags & Py_TPFLAGS_LIST_SUBCLASS: 376 if tp_flags & Py_TPFLAGS_TUPLE_SUBCLASS: 378 if tp_flags & Py_TPFLAGS_BYTES_SUBCLASS: 380 if tp_flags & Py_TPFLAGS_UNICODE_SUBCLASS: 382 if tp_flags & Py_TPFLAGS_DICT_SUBCLASS: 384 if tp_flags & Py_TPFLAGS_BASE_EXC_SUBCLASS:
|
/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/includes/ |
D | typestruct.h | 34 unsigned 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` 954 … :c:member:`~PyTypeObject.tp_flags` field, and check the :const:`Py_TPFLAGS_HAVE_GC` flag bit. But
|
/external/python/cpython3/Modules/ |
D | _asynciomodule.c | 902 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC | Py_TPFLAGS_BASETYPE 1106 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, 1205 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, 1275 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, 1793 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC | Py_TPFLAGS_BASETYPE
|
/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 672 #define PyType_HasFeature(t,f) (((t)->tp_flags & (f)) != 0)
|
/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. 1067 … :c:member:`~PyTypeObject.tp_flags` field, and check the :const:`Py_TPFLAGS_HAVE_GC` flag bit. But 1368 :const:`Py_TPFLAGS_DEFAULT` for the value of the :c:member:`~PyTypeObject.tp_flags` member rather 1398 flag is present in the :c:member:`~PyTypeObject.tp_flags` field of the object's
|
/external/python/cpython3/Doc/extending/ |
D | newtypes.rst | 98 Py_TPFLAGS_DEFAULT, /* tp_flags */ 163 Py_TPFLAGS_DEFAULT, /* tp_flags */ 508 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /*tp_flags*/ 781 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC, /* tp_flags */ 1444 Py_TPFLAGS_DEFAULT, /* tp_flags */
|
/external/python/cpython2/Doc/extending/ |
D | newtypes.rst | 102 Py_TPFLAGS_DEFAULT, /*tp_flags*/ 174 Py_TPFLAGS_DEFAULT, /*tp_flags*/ 535 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /*tp_flags*/ 809 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC, /*tp_flags*/ 1507 Py_TPFLAGS_DEFAULT, /* tp_flags */
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.6.rst | 1710 to the module's ``tp_flags`` field to enable the method cache.
|
/external/python/cpython3/Doc/whatsnew/ |
D | 2.6.rst | 1714 to the module's ``tp_flags`` field to enable the method cache.
|
/external/python/cpython2/Misc/ |
D | NEWS | 9308 to their tp_flags field if they care. This is a backwards
|
/external/python/cpython3/Misc/ |
D | HISTORY | 6304 - Issue #16086: PyTypeObject.tp_flags and PyType_Spec.flags are now unsigned
|