Home | History | Annotate | Download | only in Interpreter

Lines Matching refs:m_py_obj

38     m_py_obj (NULL)
47 if (m_py_obj)
52 ::PyObject_Print (m_py_obj, file, 0);
72 if (!m_py_obj)
74 PyObject *repr = PyObject_Repr(m_py_obj);
83 if (!m_py_obj)
85 PyObject *str = PyObject_Str(m_py_obj);
137 if (m_py_obj)
138 return PyString_AsString(m_py_obj);
145 if (m_py_obj)
146 return PyString_Size(m_py_obj);
198 if (m_py_obj)
199 return PyInt_AsLong(m_py_obj);
257 if (m_py_obj)
258 return PyList_GET_SIZE(m_py_obj);
265 if (m_py_obj)
266 return PythonObject(PyList_GetItem(m_py_obj, index));
273 if (m_py_obj && object)
274 PyList_SetItem(m_py_obj, index, object.GetPythonObject());
280 if (m_py_obj && object)
281 PyList_Append(m_py_obj, object.GetPythonObject());
326 if (m_py_obj)
327 return PyDict_Size(m_py_obj);
346 if (m_py_obj && key)
347 return PythonObject(PyDict_GetItem(m_py_obj, key.GetPythonObject()));
355 if (m_py_obj && key)
357 PyObject *py_obj = PyDict_GetItem(m_py_obj, key.GetPythonObject());
367 if (m_py_obj && key)
369 PyObject *py_obj = PyDict_GetItem(m_py_obj, key.GetPythonObject());
385 if (m_py_obj)
386 return PythonList(PyDict_Keys(m_py_obj));
396 if (m_py_obj)
398 while (PyDict_Next(m_py_obj, &pos_iter, &key, &value))
413 if (!m_py_obj)
416 while (PyDict_Next(m_py_obj, &pos_iter, &key, &value)) {
426 if (m_py_obj && key && value)
427 PyDict_SetItem(m_py_obj, key.GetPythonObject(), value.GetPythonObject());