Home
last modified time | relevance | path

Searched refs:PyBool_Check (Results 1 – 25 of 31) sorted by relevance

12

/external/python/cpython3/Objects/
Dboolobject.c63 if (!PyBool_Check(a) || !PyBool_Check(b)) in bool_and()
71 if (!PyBool_Check(a) || !PyBool_Check(b)) in bool_or()
79 if (!PyBool_Check(a) || !PyBool_Check(b)) in bool_xor()
Drangeobject.c416 if (PyLong_CheckExact(ob) || PyBool_Check(ob)) in range_contains()
547 if (PyLong_CheckExact(ob) || PyBool_Check(ob)) { in range_count()
566 if (!PyLong_CheckExact(ob) && !PyBool_Check(ob)) { in range_index()
Dcodeobject.c715 else if (PyBool_Check(op) || PyBytes_CheckExact(op)) { in _PyCode_ConstantKey()
Dobject.c748 if (PyBool_Check(res)) in PyObject_RichCompareBool()
/external/python/cpython2/Objects/
Dboolobject.c72 if (!PyBool_Check(a) || !PyBool_Check(b)) in bool_and()
81 if (!PyBool_Check(a) || !PyBool_Check(b)) in bool_or()
90 if (!PyBool_Check(a) || !PyBool_Check(b)) in bool_xor()
Dcodeobject.c427 || PyBool_Check(op) in _PyCode_ConstantKey()
Dobject.c1012 if (PyBool_Check(res)) in PyObject_RichCompareBool()
/external/python/cpython3/Include/
Dboolobject.h12 #define PyBool_Check(x) Py_IS_TYPE(x, &PyBool_Type) macro
/external/python/cpython2/Include/
Dboolobject.h14 #define PyBool_Check(x) (Py_TYPE(x) == &PyBool_Type) macro
/external/python/cpython3/Doc/c-api/
Dbool.rst14 .. c:function:: int PyBool_Check(PyObject *o)
/external/python/cpython2/Doc/c-api/
Dbool.rst14 .. c:function:: int PyBool_Check(PyObject *o)
/external/libchrome/third_party/markupsafe/
D_speedups.c127 PyFloat_CheckExact(text) || PyBool_Check(text) || in escape()
/external/python/cpython3/Python/
Dstructmember.c127 if (!PyBool_Check(v)) { in PyMember_SetOne()
Dbltinmodule.c2353 if (PyLong_CheckExact(item) || PyBool_Check(item)) { in builtin_sum_impl()
/external/python/markupsafe/src/markupsafe/
D_speedups.c201 PyFloat_CheckExact(text) || PyBool_Check(text) || in escape()
/external/libxml2/python/
Dtypes.c613 #ifdef PyBool_Check in libxml_xmlXPathObjectPtrConvert()
614 } else if (PyBool_Check (obj)) { in libxml_xmlXPathObjectPtrConvert()
/external/python/cpython2/Python/
Dstructmember.c200 if (!PyBool_Check(v)) { in PyMember_SetOne()
/external/python/cpython2/Mac/Modules/cf/
Dpycfbridge.c254 if (PyBool_Check(src)) { in PyCF_Python2CF_simple()
/external/tensorflow/tensorflow/python/framework/
Dop_def_util.cc126 if (PyBool_Check(value)) { in operator ()()
/external/python/cpython2/Modules/
D_tkinter.c45 #ifndef PyBool_Check
46 #define PyBool_Check(o) 0 macro
1096 if (PyBool_Check(value)) in AsObj()
/external/tensorflow/tensorflow/python/lib/core/
Dpy_seq_tensor.cc192 } else if (PyBool_Check(obj) || PyIsInstance(obj, &PyBoolArrType_Type)) { in InferShapeAndType()
/external/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
DPythonDataObjects.cpp553 return py_obj ? PyBool_Check(py_obj) : false; in Check()
/external/python/cpython3/Doc/data/
Drefcounts.dat40 PyBool_Check:int:::
41 PyBool_Check:PyObject*:o:0:
/external/python/pybind11/include/pybind11/
Dpytypes.h1078 PYBIND11_OBJECT_CVT(bool_, object, PyBool_Check, raw_bool) in PYBIND11_OBJECT_CVT() argument
/external/python/cpython3/Modules/
D_tkinter.c1021 if (PyBool_Check(value)) in AsObj()

12