Home
last modified time | relevance | path

Searched refs:str_obj (Results 1 – 5 of 5) sorted by relevance

/dragonfly/contrib/gdb-7/gdb/python/
HDpy-lazy-string.c90 lazy_string_object *str_obj = (lazy_string_object *) self; in stpy_get_type() local
92 return type_to_type_object (str_obj->type); in stpy_get_type()
130 lazy_string_object *str_obj = NULL; in gdbpy_create_lazy_string_object() local
147 str_obj = PyObject_New (lazy_string_object, &lazy_string_object_type); in gdbpy_create_lazy_string_object()
148 if (!str_obj) in gdbpy_create_lazy_string_object()
151 str_obj->address = address; in gdbpy_create_lazy_string_object()
152 str_obj->length = length; in gdbpy_create_lazy_string_object()
154 str_obj->encoding = NULL; in gdbpy_create_lazy_string_object()
156 str_obj->encoding = xstrdup (encoding); in gdbpy_create_lazy_string_object()
157 str_obj->type = type; in gdbpy_create_lazy_string_object()
[all …]
HDpy-utils.c227 PyObject *str_obj = PyObject_Str (obj); in gdbpy_obj_to_string() local
229 if (str_obj != NULL) in gdbpy_obj_to_string()
232 char *msg = python_string_to_host_string (str_obj); in gdbpy_obj_to_string()
234 char *msg = xstrdup (PyString_AsString (str_obj)); in gdbpy_obj_to_string()
237 Py_DECREF (str_obj); in gdbpy_obj_to_string()
HDpy-symtab.c102 PyObject *str_obj; in stpy_get_filename() local
109 str_obj = PyString_Decode (filename, strlen (filename), in stpy_get_filename()
111 return str_obj; in stpy_get_filename()
HDpython.c580 PyObject *str_obj; in gdbpy_solib_name() local
588 str_obj = PyString_Decode (soname, strlen (soname), host_charset (), NULL); in gdbpy_solib_name()
591 str_obj = Py_None; in gdbpy_solib_name()
595 return str_obj; in gdbpy_solib_name()
HDpy-value.c367 PyObject *str_obj = NULL; in valpy_lazy_string() local
381 str_obj = gdbpy_create_lazy_string_object (value_address (value), length, in valpy_lazy_string()
389 return str_obj; in valpy_lazy_string()