Searched refs:PythonTuple (Results 1 – 3 of 3) sorted by relevance
155 if (PythonTuple::Check(m_py_obj)) in GetObjectType()628 PythonTuple::PythonTuple(PyInitialValue value) { in PythonTuple() function in PythonTuple630 *this = Take<PythonTuple>(PyTuple_New(0)); in PythonTuple()633 PythonTuple::PythonTuple(int tuple_size) { in PythonTuple() function in PythonTuple634 *this = Take<PythonTuple>(PyTuple_New(tuple_size)); in PythonTuple()637 PythonTuple::PythonTuple(std::initializer_list<PythonObject> objects) { in PythonTuple() function in PythonTuple648 PythonTuple::PythonTuple(std::initializer_list<PyObject *> objects) { in PythonTuple() function in PythonTuple660 bool PythonTuple::Check(PyObject *py_obj) { in Check()666 uint32_t PythonTuple::GetSize() const { in GetSize()672 PythonObject PythonTuple::GetItemAtIndex(uint32_t index) const { in GetItemAtIndex()[all …]
538 class PythonTuple : public TypedPythonObject<PythonTuple> {542 explicit PythonTuple(PyInitialValue value);543 explicit PythonTuple(int tuple_size);544 PythonTuple(std::initializer_list<PythonObject> objects);545 PythonTuple(std::initializer_list<PyObject *> objects);
397 PythonTuple tuple(PyInitialValue::Empty); in TEST_F()400 tuple = PythonTuple(3); in TEST_F()405 PythonTuple tuple(3); in TEST_F()424 PythonTuple tuple{int_value, string_value, none_value}; in TEST_F()437 PythonTuple tuple{int_value.get(), string_value.get(), none_value.get()}; in TEST_F()449 PythonTuple tuple{int_value.get(), string_value.get()}; in TEST_F()571 PythonTuple three = {one, two}; in TEST_F()573 PythonTuple tuple_to_convert = {one, two, three}; in TEST_F()