Home
last modified time | relevance | path

Searched refs:unicode_str (Results 1 – 2 of 2) sorted by relevance

/netbsd/src/external/gpl3/gdb/dist/gdb/python/
Dpy-utils.c39 PyObject *unicode_str; in python_string_to_unicode() local
45 unicode_str = obj; in python_string_to_unicode()
52 unicode_str = NULL; in python_string_to_unicode()
55 return gdbpy_ref<> (unicode_str); in python_string_to_unicode()
63 unicode_to_encoded_string (PyObject *unicode_str, const char *charset) in unicode_to_encoded_string() argument
66 gdbpy_ref<> string (PyUnicode_AsEncodedString (unicode_str, charset, NULL)); in unicode_to_encoded_string()
79 unicode_to_encoded_python_string (PyObject *unicode_str, const char *charset) in unicode_to_encoded_python_string() argument
82 return gdbpy_ref<> (PyUnicode_AsEncodedString (unicode_str, charset, NULL)); in unicode_to_encoded_python_string()
90 unicode_to_target_string (PyObject *unicode_str) in unicode_to_target_string() argument
93 (unicode_str, in unicode_to_target_string()
[all …]
Dpython-internal.h883 gdb::unique_xmalloc_ptr<char> unicode_to_target_string (PyObject *unicode_str);