Home
last modified time | relevance | path

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

/llvm-project-15.0.7/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.cpp160 if (PythonTuple::Check(m_py_obj)) in GetObjectType()
559 PythonTuple::PythonTuple(PyInitialValue value) { in PythonTuple() function in PythonTuple
561 *this = Take<PythonTuple>(PyTuple_New(0)); in PythonTuple()
564 PythonTuple::PythonTuple(int tuple_size) { in PythonTuple() function in PythonTuple
565 *this = Take<PythonTuple>(PyTuple_New(tuple_size)); in PythonTuple()
568 PythonTuple::PythonTuple(std::initializer_list<PythonObject> objects) { in PythonTuple() function in PythonTuple
579 PythonTuple::PythonTuple(std::initializer_list<PyObject *> objects) { in PythonTuple() function in PythonTuple
591 bool PythonTuple::Check(PyObject *py_obj) { in Check()
597 uint32_t PythonTuple::GetSize() const { in GetSize()
880 PythonTuple arg_tuple(args); in operator ()()
[all …]
H A DPythonDataObjects.h509 class PythonTuple : public TypedPythonObject<PythonTuple> {
513 explicit PythonTuple(PyInitialValue value);
514 explicit PythonTuple(int tuple_size);
515 PythonTuple(std::initializer_list<PythonObject> objects);
516 PythonTuple(std::initializer_list<PyObject *> objects);
/llvm-project-15.0.7/lldb/unittests/ScriptInterpreter/Python/
H A DPythonDataObjectsTests.cpp369 PythonTuple tuple(PyInitialValue::Empty); in TEST_F()
372 tuple = PythonTuple(3); in TEST_F()
377 PythonTuple tuple(3); in TEST_F()
396 PythonTuple tuple{int_value, string_value, none_value}; in TEST_F()
409 PythonTuple tuple{int_value.get(), string_value.get(), none_value.get()}; in TEST_F()
421 PythonTuple tuple{int_value.get(), string_value.get()}; in TEST_F()
543 PythonTuple three = {one, two}; in TEST_F()
545 PythonTuple tuple_to_convert = {one, two, three}; in TEST_F()