Lines Matching +defs:list +defs:string
262 // string constructor
307 // Test that a list which is built through the native
315 PythonList list(PyRefType::Owned, py_list);
322 list.SetItemAtIndex(i, list_items[i]);
324 EXPECT_EQ(list_size, list.GetSize());
325 EXPECT_EQ(PyObjectType::List, list.GetObjectType());
328 PythonObject chk_value1 = list.GetItemAtIndex(0);
329 PythonObject chk_value2 = list.GetItemAtIndex(1);
348 PythonList list(PyInitialValue::Empty);
350 PythonString string(string_value1);
352 list.AppendItem(integer);
353 list.AppendItem(string);
354 EXPECT_EQ(2U, list.GetSize());
357 PythonObject chk_value1 = list.GetItemAtIndex(0);
358 PythonObject chk_value2 = list.GetItemAtIndex(1);
374 PythonList list(PyInitialValue::Empty);
375 list.AppendItem(PythonInteger(long_value0));
376 list.AppendItem(PythonString(string_value1));
378 auto array_sp = list.CreateStructuredArray();
566 auto list = m_builtins_module.ResolveName("list").AsType<PythonCallable>();
572 PythonObject result = list({tuple_to_convert});
859 auto g = As<std::string>(globals.GetItem("g"));