Lines Matching refs:PyObject
95 static PyObject *set_doc_cst;
96 static PyObject *show_doc_cst;
101 static PyObject *
102 get_attr (PyObject *obj, PyObject *attr_name) in get_attr()
122 set_parameter_value (parmpy_object *self, PyObject *value) in set_parameter_value()
280 set_attr (PyObject *obj, PyObject *attr_name, PyObject *val) in set_attr()
305 get_doc_string (PyObject *object, PyObject *attr) in get_doc_string()
311 PyObject *ds_obj = PyObject_GetAttr (object, attr); in get_doc_string()
331 call_doc_function (PyObject *obj, PyObject *method, PyObject *arg) in call_doc_function()
334 PyObject *result = PyObject_CallMethodObjArgs (obj, method, arg, NULL); in call_doc_function()
367 PyObject *obj = (PyObject *) get_cmd_context (c); in get_set_value()
371 PyObject *set_doc_func = PyString_FromString ("get_set_string"); in get_set_value()
415 PyObject *obj = (PyObject *) get_cmd_context (c); in get_show_value()
419 PyObject *show_doc_func = PyString_FromString ("get_show_string"); in get_show_value()
428 PyObject *val_obj = PyString_FromString (value); in get_show_value()
569 compute_enum_values (parmpy_object *self, PyObject *enum_values) in compute_enum_values()
604 PyObject *item = PySequence_GetItem (enum_values, i); in compute_enum_values()
655 parmpy_init (PyObject *self, PyObject *args, PyObject *kwds) in parmpy_init()
662 PyObject *enum_values = NULL; in parmpy_init()
777 (PyObject *) &parmpy_object_type); in gdbpy_initialize_parameters()