Searched refs:unicode_str (Results 1 – 2 of 2) sorted by relevance
39 PyObject *unicode_str; in python_string_to_unicode() local45 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() argument66 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() argument82 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() argument93 (unicode_str, in unicode_to_target_string()[all …]
883 gdb::unique_xmalloc_ptr<char> unicode_to_target_string (PyObject *unicode_str);