Home
last modified time | relevance | path

Searched refs:PyBool_Type (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython3/Objects/
Dboolobject.c134 PyTypeObject PyBool_Type = { variable
178 PyVarObject_HEAD_INIT(&PyBool_Type, 0)
183 PyVarObject_HEAD_INIT(&PyBool_Type, 1)
Dobject.c1756 if (PyType_Ready(&PyBool_Type) < 0) in _Py_ReadyTypes()
/external/python/cpython2/Objects/
Dboolobject.c150 PyTypeObject PyBool_Type = { variable
195 PyObject_HEAD_INIT(&PyBool_Type)
200 PyObject_HEAD_INIT(&PyBool_Type)
Dobject.c2088 if (PyType_Ready(&PyBool_Type) < 0) in _Py_ReadyTypes()
/external/python/cpython3/Include/
Dboolobject.h10 PyAPI_DATA(PyTypeObject) PyBool_Type;
12 #define PyBool_Check(x) (Py_TYPE(x) == &PyBool_Type)
/external/python/cpython2/Include/
Dboolobject.h12 PyAPI_DATA(PyTypeObject) PyBool_Type;
14 #define PyBool_Check(x) (Py_TYPE(x) == &PyBool_Type)
/external/python/cpython3/Doc/c-api/
Dbool.rst16 Return true if *o* is of type :c:data:`PyBool_Type`.
/external/python/cpython2/Doc/c-api/
Dbool.rst16 Return true if *o* is of type :c:data:`PyBool_Type`.
/external/python/cpython3/PC/
Dpython3.def14 PyBool_Type=python37.PyBool_Type DATA
/external/python/cpython3/Python/
Dbltinmodule.c593 int checktrue = lz->func == Py_None || lz->func == (PyObject *)&PyBool_Type; in filter_next()
2830 SETBUILTIN("bool", &PyBool_Type); in _PyBuiltin_Init()
/external/python/cpython2/PC/os2emx/
Dpython27.def180 "PyBool_Type"
/external/python/cpython2/Python/
Dbltinmodule.c302 if (func == (PyObject *)&PyBool_Type || func == Py_None) { in builtin_filter()
2722 SETBUILTIN("bool", &PyBool_Type); in _PyBuiltin_Init()
/external/python/cpython2/Modules/
Ditertoolsmodule.c3015 if (lz->func == Py_None || lz->func == (PyObject *)&PyBool_Type) { in ifilter_next()
3160 if (lz->func == Py_None || lz->func == (PyObject *)&PyBool_Type) { in ifilterfalse_next()
/external/python/cpython3/Modules/
Ditertoolsmodule.c3847 if (lz->func == Py_None || lz->func == (PyObject *)&PyBool_Type) { in filterfalse_next()