Home
last modified time | relevance | path

Searched refs:PythonBoolean (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.cpp170 if (PythonBoolean::Check(m_py_obj)) in GetObjectType()
269 return PythonBoolean(PyRefType::Borrowed, m_py_obj) in CreateStructuredObject()
479 PythonBoolean::PythonBoolean(bool value) { in PythonBoolean() function in PythonBoolean
483 bool PythonBoolean::Check(PyObject *py_obj) { in Check()
487 bool PythonBoolean::GetValue() const { in GetValue()
491 void PythonBoolean::SetValue(bool value) { in SetValue()
492 *this = Take<PythonBoolean>(PyBool_FromLong(value)); in SetValue()
495 StructuredData::BooleanSP PythonBoolean::CreateStructuredBoolean() const { in CreateStructuredBoolean()
H A DPythonDataObjects.h472 class PythonBoolean : public TypedPythonObject<PythonBoolean> {
476 explicit PythonBoolean(bool value);
/llvm-project-15.0.7/lldb/unittests/ScriptInterpreter/Python/
H A DPythonDataObjectsTests.cpp187 EXPECT_TRUE(PythonBoolean::Check(Py_True)); in TEST_F()
188 PythonBoolean python_true(PyRefType::Owned, Py_True); in TEST_F()
192 EXPECT_TRUE(PythonBoolean::Check(Py_False)); in TEST_F()
193 PythonBoolean python_false(PyRefType::Owned, Py_False); in TEST_F()
198 EXPECT_TRUE(PythonBoolean::Check(py_bool)); in TEST_F()
199 PythonBoolean python_boolean(PyRefType::Owned, py_bool); in TEST_F()