Lines Matching refs:PythonObject

62   PythonObject owned(PyRefType::Owned, obj);
67 PythonObject strong_ref(owned);
103 PythonObject sys_module = m_main_module.ResolveName("sys");
110 PythonObject sys_path = m_sys_module.ResolveName("path");
111 PythonObject sys_version_info = m_sys_module.ResolveName("version_info");
119 PythonObject sys_version_info = m_sys_module.ResolveName("version_info");
121 PythonObject version_info_type(PyRefType::Owned,
124 PythonObject major_version_field = version_info_type.ResolveName("major");
129 PythonObject sys_version_info = m_sys_module.ResolveName("version_info");
130 PythonObject major_version_field = sys_version_info.ResolveName("major");
131 PythonObject minor_version_field = sys_version_info.ResolveName("minor");
144 PythonObject sys_path = m_main_module.ResolveName("sys.path");
165 PythonObject::ResolveNameWithDictionary("sys.version_info.major", dict));
168 PythonObject::ResolveNameWithDictionary("sys.version_info.minor", dict));
317 PythonObject list_items[list_size];
328 PythonObject chk_value1 = list.GetItemAtIndex(0);
329 PythonObject chk_value2 = list.GetItemAtIndex(1);
357 PythonObject chk_value1 = list.GetItemAtIndex(0);
358 PythonObject chk_value2 = list.GetItemAtIndex(1);
404 PythonObject none_value(PyRefType::Borrowed, Py_None);
418 PythonObject none_value(PyRefType::Borrowed, Py_None);
430 PythonObject none_value(PyRefType::Borrowed, Py_None);
463 PythonObject py_keys[dict_entries];
464 PythonObject py_values[dict_entries];
481 PythonObject chk_value1 = dict.GetItemForKey(py_keys[0]);
482 PythonObject chk_value2 = dict.GetItemForKey(py_keys[1]);
504 PythonObject values[dict_entries];
521 PythonObject chk_value1 = dict.GetItemForKey(keys[0]);
522 PythonObject chk_value2 = dict.GetItemForKey(keys[1]);
558 PythonObject sys_exc_info = m_sys_module.ResolveName("exc_info");
559 PythonObject none(PyRefType::Borrowed, Py_None);
572 PythonObject result = list({tuple_to_convert});
718 Take<PythonObject>(o);
845 Expected<PythonObject> r = runStringOneLine("n = 42", globals, globals);