Searched refs:PyBool_Check (Results 1 – 13 of 13) sorted by relevance
72 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()
428 || PyBool_Check(op) in _PyCode_ConstantKey()
1007 if (PyBool_Check(res)) in PyObject_RichCompareBool()
5285 if (PyInt_CheckExact(temp) || PyBool_Check(temp))
14 #define PyBool_Check(x) (Py_TYPE(x) == &PyBool_Type) macro
14 .. c:function:: int PyBool_Check(PyObject *o)
127 PyFloat_CheckExact(text) || PyBool_Check(text) || in escape()
613 #ifdef PyBool_Check in libxml_xmlXPathObjectPtrConvert()614 } else if PyBool_Check (obj) { in libxml_xmlXPathObjectPtrConvert()
200 if (!PyBool_Check(v)) { in PyMember_SetOne()
638 if (!PyBool_Check(obj)) { in obj2ast_bool()
254 if (PyBool_Check(src)) { in PyCF_Python2CF_simple()
45 #ifndef PyBool_Check46 #define PyBool_Check(o) 0 macro1096 if (PyBool_Check(value)) in AsObj()
623 if (!PyInt_Check(arg) && !PyBool_Check(arg) && !PyLong_Check(arg)) { in CheckAndGetInteger()1907 if (!arg || !PyBool_Check(arg)) { in CheckAndGetInteger()