Home
last modified time | relevance | path

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

/external/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
DPythonDataObjects.cpp147 PyObjectType PythonObject::GetObjectType() const { in GetObjectType()
149 return PyObjectType::None; in GetObjectType()
152 return PyObjectType::Module; in GetObjectType()
154 return PyObjectType::List; in GetObjectType()
156 return PyObjectType::Tuple; in GetObjectType()
158 return PyObjectType::Dictionary; in GetObjectType()
160 return PyObjectType::String; in GetObjectType()
163 return PyObjectType::Bytes; in GetObjectType()
166 return PyObjectType::ByteArray; in GetObjectType()
168 return PyObjectType::Boolean; in GetObjectType()
[all …]
DPythonDataObjects.h98 enum class PyObjectType { enum
283 PyObjectType GetObjectType() const;
/external/llvm-project/lldb/unittests/ScriptInterpreter/Python/
DPythonDataObjectsTests.cpp174 EXPECT_EQ(PyObjectType::Integer, python_int.GetObjectType()); in TEST_F()
183 EXPECT_EQ(PyObjectType::Integer, python_long.GetObjectType()); in TEST_F()
201 EXPECT_EQ(PyObjectType::Boolean, python_true.GetObjectType()); in TEST_F()
206 EXPECT_EQ(PyObjectType::Boolean, python_false.GetObjectType()); in TEST_F()
212 EXPECT_EQ(PyObjectType::Boolean, python_boolean.GetObjectType()); in TEST_F()
230 EXPECT_EQ(PyObjectType::String, python_bytes.GetObjectType()); in TEST_F()
233 EXPECT_EQ(PyObjectType::Bytes, python_bytes.GetObjectType()); in TEST_F()
248 EXPECT_EQ(PyObjectType::ByteArray, python_bytes.GetObjectType()); in TEST_F()
268 EXPECT_EQ(PyObjectType::String, python_string.GetObjectType()); in TEST_F()
275 EXPECT_EQ(PyObjectType::String, python_unicode.GetObjectType()); in TEST_F()
[all …]