Home
last modified time | relevance | path

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

/external/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
DPythonDataObjects.cpp167 if (PythonBoolean::Check(m_py_obj)) in GetObjectType()
265 return PythonBoolean(PyRefType::Borrowed, m_py_obj) in CreateStructuredObject()
548 PythonBoolean::PythonBoolean(bool value) { in PythonBoolean() function in PythonBoolean
552 bool PythonBoolean::Check(PyObject *py_obj) { in Check()
556 bool PythonBoolean::GetValue() const { in GetValue()
560 void PythonBoolean::SetValue(bool value) { in SetValue()
561 *this = Take<PythonBoolean>(PyBool_FromLong(value)); in SetValue()
564 StructuredData::BooleanSP PythonBoolean::CreateStructuredBoolean() const { in CreateStructuredBoolean()
DPythonDataObjects.h501 class PythonBoolean : public TypedPythonObject<PythonBoolean> {
505 explicit PythonBoolean(bool value);
/external/llvm-project/lldb/unittests/ScriptInterpreter/Python/
DPythonDataObjectsTests.cpp199 EXPECT_TRUE(PythonBoolean::Check(Py_True)); in TEST_F()
200 PythonBoolean python_true(PyRefType::Owned, Py_True); in TEST_F()
204 EXPECT_TRUE(PythonBoolean::Check(Py_False)); in TEST_F()
205 PythonBoolean python_false(PyRefType::Owned, Py_False); in TEST_F()
210 EXPECT_TRUE(PythonBoolean::Check(py_bool)); in TEST_F()
211 PythonBoolean python_boolean(PyRefType::Owned, py_bool); in TEST_F()