Home
last modified time | relevance | path

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

/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.c428 || PyBool_Check(op) in _PyCode_ConstantKey()
Dobject.c1007 if (PyBool_Check(res)) in PyObject_RichCompareBool()
Dtypeobject.c5285 if (PyInt_CheckExact(temp) || PyBool_Check(temp))
/external/python/cpython2/Include/
Dboolobject.h14 #define PyBool_Check(x) (Py_TYPE(x) == &PyBool_Type) macro
/external/python/cpython2/Doc/c-api/
Dbool.rst14 .. c:function:: int PyBool_Check(PyObject *o)
/external/libmojo/third_party/markupsafe/
D_speedups.c127 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()
DPython-ast.c638 if (!PyBool_Check(obj)) { in obj2ast_bool()
/external/python/cpython2/Mac/Modules/cf/
Dpycfbridge.c254 if (PyBool_Check(src)) { in PyCF_Python2CF_simple()
/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/protobuf/python/google/protobuf/pyext/
Dmessage.cc623 if (!PyInt_Check(arg) && !PyBool_Check(arg) && !PyLong_Check(arg)) { in CheckAndGetInteger()
1907 if (!arg || !PyBool_Check(arg)) { in CheckAndGetInteger()