Home | History | Annotate | Download | only in Interpreter

Lines Matching defs:PythonObject

35 // PythonObject
37 PythonObject::PythonObject (const lldb::ScriptInterpreterObjectSP &script_object_sp) :
45 PythonObject::Dump (Stream &strm) const
70 PythonObject::Repr ()
81 PythonObject::Str ()
96 PythonObject(py_obj)
100 PythonString::PythonString (const PythonObject &object) :
101 PythonObject(object.GetPythonObject())
106 PythonObject (script_object_sp)
111 PythonObject(PyString_FromString(string))
116 PythonObject()
128 return PythonObject::Reset(py_obj);
130 PythonObject::Reset(NULL);
153 PythonObject::Reset(PyString_FromString(string));
161 PythonObject(py_obj)
165 PythonInteger::PythonInteger (const PythonObject &object) :
166 PythonObject(object.GetPythonObject())
171 PythonObject (script_object_sp)
176 PythonObject(PyInt_FromLong(value))
189 return PythonObject::Reset(py_obj);
191 PythonObject::Reset(NULL);
207 PythonObject::Reset(PyInt_FromLong(value));
215 PythonObject(PyList_New(0))
220 PythonObject(PyList_New(count))
225 PythonObject(py_obj)
230 PythonList::PythonList (const PythonObject &object) :
231 PythonObject(object.GetPythonObject())
236 PythonObject (script_object_sp)
248 return PythonObject::Reset(py_obj);
250 PythonObject::Reset(NULL);
262 PythonObject
266 return PythonObject(PyList_GetItem(m_py_obj, index));
271 PythonList::SetItemAtIndex (uint32_t index, const PythonObject & object)
278 PythonList::AppendItem (const PythonObject &object)
289 PythonObject(PyDict_New())
294 PythonObject(py_obj)
299 PythonDictionary::PythonDictionary (const PythonObject &object) :
300 PythonObject(object.GetPythonObject())
305 PythonObject (script_object_sp)
317 return PythonObject::Reset(py_obj);
319 PythonObject::Reset(NULL);
331 PythonObject
343 PythonObject
347 return PythonObject(PyDict_GetItem(m_py_obj, key.GetPythonObject()));
348 return PythonObject();
407 PythonObject
418 return PythonObject(value);
420 return PythonObject();
424 PythonDictionary::SetItemForKey (const PythonString &key, const PythonObject &value)