Home
last modified time | relevance | path

Searched refs:PyType_HasFeature (Results 1 – 25 of 30) sorted by relevance

12

/external/python/cpython2/Include/
Dobjimpl.h238 #define PyType_IS_GC(t) PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
360 (PyType_HasFeature((t), Py_TPFLAGS_HAVE_WEAKREFS) \
Dabstract.h536 (PyType_HasFeature((obj)->ob_type, Py_TPFLAGS_HAVE_NEWBUFFER)) && \
638 (PyType_HasFeature((obj)->ob_type, Py_TPFLAGS_HAVE_ITER) && \
850 PyType_HasFeature((obj)->ob_type, Py_TPFLAGS_HAVE_INDEX) && \
Dobject.h659 #define PyType_HasFeature(t,f) (((t)->tp_flags & (f)) != 0) macro
660 #define PyType_FastSubclass(t,f) PyType_HasFeature(t,f)
/external/python/cpython3/Include/
Dobjimpl.h161 #define PyType_IS_GC(t) PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
Dobject.h621 PyType_HasFeature(PyTypeObject *type, unsigned long feature) in PyType_HasFeature() function
633 #define PyType_FastSubclass(type, flag) PyType_HasFeature(type, flag)
/external/python/pybind11/include/pybind11/detail/
Dclass.h479 assert(!PyType_HasFeature(type, Py_TPFLAGS_HAVE_GC)); in make_object_base_type()
690 assert(rec.dynamic_attr ? PyType_HasFeature(type, Py_TPFLAGS_HAVE_GC) in make_new_python_type()
691 : !PyType_HasFeature(type, Py_TPFLAGS_HAVE_GC)); in make_new_python_type()
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/include/
Dcext.h232 #define PyType_IS_GC(t) PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
/external/python/cpython2/Modules/_ctypes/
Dstgdict.c160 if (!PyType_HasFeature(type, Py_TPFLAGS_HAVE_CLASS)) in PyType_stgdict()
176 if (!PyType_HasFeature(type, Py_TPFLAGS_HAVE_CLASS)) in PyObject_stgdict()
/external/python/cpython2/Doc/c-api/
Dtype.rst54 .. c:function:: int PyType_HasFeature(PyObject *o, int feature)
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/include/
Dcext.h270 #define PyType_IS_GC(t) PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
/external/python/cpython3/Misc/NEWS.d/
D3.9.0b5.rst227 Revert :c:func:`PyType_HasFeature` change: it reads again directly the
D3.9.0a4.rst888 Convert :c:func:`PyType_HasFeature`, :c:func:`PyType_Check` and
/external/python/cpython3/Include/cpython/
Dabstract.h74 if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) { in PyVectorcall_Function()
/external/python/cpython2/Objects/
Dobject.c599 #define RICHCOMPARE(t) (PyType_HasFeature((t), Py_TPFLAGS_HAVE_RICHCOMPARE) \
1401 PyType_HasFeature(descr->ob_type, Py_TPFLAGS_HAVE_CLASS)) { in _PyObject_GenericGetAttrWithDict()
1509 PyType_HasFeature(descr->ob_type, Py_TPFLAGS_HAVE_CLASS)) { in _PyObject_GenericSetAttrWithDict()
1625 !PyType_HasFeature(v->ob_type, Py_TPFLAGS_CHECKTYPES)) in PyNumber_CoerceEx()
Dabstract.c8 #define NEW_STYLE_NUMBER(o) PyType_HasFeature((o)->ob_type, \
1275 PyType_HasFeature((t)->ob_type, Py_TPFLAGS_HAVE_INPLACEOPS)
2399 if (PyType_HasFeature(seq->ob_type, Py_TPFLAGS_HAVE_SEQUENCE_IN)) {
3086 if (PyType_HasFeature(t, Py_TPFLAGS_HAVE_ITER))
Dtypeobject.c99 if (!PyType_HasFeature(type, Py_TPFLAGS_VALID_VERSION_TAG)) in PyType_Modified()
135 if (!PyType_HasFeature(type, Py_TPFLAGS_HAVE_VERSION_TAG)) in type_mro_modified()
150 if (!PyType_HasFeature(cls, Py_TPFLAGS_HAVE_VERSION_TAG) || in type_mro_modified()
173 if (PyType_HasFeature(type, Py_TPFLAGS_VALID_VERSION_TAG)) in assign_version_tag()
175 if (!PyType_HasFeature(type, Py_TPFLAGS_HAVE_VERSION_TAG)) in assign_version_tag()
177 if (!PyType_HasFeature(type, Py_TPFLAGS_READY)) in assign_version_tag()
763 if (PyType_HasFeature(type, Py_TPFLAGS_HAVE_CLASS) && in type_call()
1751 if (!PyType_HasFeature(base_i, Py_TPFLAGS_BASETYPE)) { in best_base()
2536 PyType_HasFeature(type, Py_TPFLAGS_VALID_VERSION_TAG)) { in _PyType_Lookup()
Dbufferobject.c50 if (!PyType_HasFeature(Py_TYPE(self), in get_buf()
Dclassobject.c17 (PyType_HasFeature(t, Py_TPFLAGS_HAVE_CLASS) ? (t)->tp_descr_get : NULL)
2325 if (PyType_HasFeature(tp, Py_TPFLAGS_HAVE_CLASS)) { in instancemethod_getattro()
/external/python/cpython2/Modules/_io/
Diobase.c297 if (PyType_HasFeature(Py_TYPE(self), Py_TPFLAGS_HEAPTYPE)) in iobase_dealloc()
/external/python/cpython3/Modules/_io/
Diobase.c352 if (PyType_HasFeature(Py_TYPE(self), Py_TPFLAGS_HEAPTYPE)) in iobase_dealloc()
/external/python/cpython3/Doc/c-api/
Dtype.rst58 .. c:function:: int PyType_HasFeature(PyTypeObject *o, int feature)
/external/python/cpython2/Modules/
Dgcmodule.c510 else if (PyType_HasFeature(op->ob_type, Py_TPFLAGS_HEAPTYPE)) in has_finalizer()
/external/python/cpython3/Doc/data/
Drefcounts.dat2334 PyType_HasFeature:int:::
2335 PyType_HasFeature:PyTypeObject*:o:0:
2336 PyType_HasFeature:int:feature::
/external/python/cpython3/Modules/
Dpyexpat.c1605 assert(!PyType_HasFeature(&Xmlparsetype, Py_TPFLAGS_VALID_VERSION_TAG)); in init_handler_descrs()
/external/python/cpython2/Python/
Dgetargs.c1353 if (!PyType_HasFeature(arg->ob_type, in convertsimple()

12