Lines Matching refs:PythonObject
58 PythonObject owned_long(PyRefType::Owned, obj); in TEST_F()
62 PythonObject strong_ref(owned_long); in TEST_F()
93 PythonObject sys_module = m_main_module.ResolveName("sys"); in TEST_F()
100 PythonObject sys_path = m_sys_module.ResolveName("path"); in TEST_F()
101 PythonObject sys_version_info = m_sys_module.ResolveName("version_info"); in TEST_F()
109 PythonObject sys_version_info = m_sys_module.ResolveName("version_info"); in TEST_F()
111 PythonObject version_info_type(PyRefType::Owned, in TEST_F()
114 PythonObject major_version_field = version_info_type.ResolveName("major"); in TEST_F()
119 PythonObject sys_version_info = m_sys_module.ResolveName("version_info"); in TEST_F()
120 PythonObject major_version_field = sys_version_info.ResolveName("major"); in TEST_F()
121 PythonObject minor_version_field = sys_version_info.ResolveName("minor"); in TEST_F()
134 PythonObject sys_path = m_main_module.ResolveName("sys.path"); in TEST_F()
155 PythonObject::ResolveNameWithDictionary("sys.version_info.major", dict)); in TEST_F()
158 PythonObject::ResolveNameWithDictionary("sys.version_info.minor", dict)); in TEST_F()
322 PythonObject list_items[list_size]; in TEST_F()
333 PythonObject chk_value1 = list.GetItemAtIndex(0); in TEST_F()
334 PythonObject chk_value2 = list.GetItemAtIndex(1); in TEST_F()
362 PythonObject chk_value1 = list.GetItemAtIndex(0); in TEST_F()
363 PythonObject chk_value2 = list.GetItemAtIndex(1); in TEST_F()
409 PythonObject none_value(PyRefType::Borrowed, Py_None); in TEST_F()
423 PythonObject none_value(PyRefType::Borrowed, Py_None); in TEST_F()
435 PythonObject none_value(PyRefType::Borrowed, Py_None); in TEST_F()
468 PythonObject py_keys[dict_entries]; in TEST_F()
469 PythonObject py_values[dict_entries]; in TEST_F()
486 PythonObject chk_value1 = dict.GetItemForKey(py_keys[0]); in TEST_F()
487 PythonObject chk_value2 = dict.GetItemForKey(py_keys[1]); in TEST_F()
509 PythonObject values[dict_entries]; in TEST_F()
523 PythonObject chk_value1 = dict.GetItemForKey(keys[0]); in TEST_F()
524 PythonObject chk_value2 = dict.GetItemForKey(keys[1]); in TEST_F()
560 PythonObject sys_exc_info = m_sys_module.ResolveName("exc_info"); in TEST_F()
561 PythonObject none(PyRefType::Borrowed, Py_None); in TEST_F()
574 PythonObject result = list({tuple_to_convert}); in TEST_F()
720 Take<PythonObject>(o); in TEST_F()
845 Expected<PythonObject> r = runStringOneLine("n = 42", globals, globals); in TEST_F()