Searched refs:escaped_str (Results 1 – 2 of 2) sorted by relevance
630 PyObject *encoded, *escaped_str, *repr_str, *buffer, *result; in sys_displayhook_unencodable() local664 escaped_str = PyUnicode_FromEncodedObject(encoded, in sys_displayhook_unencodable()668 if (PyFile_WriteObject(escaped_str, outf, Py_PRINT_RAW) != 0) { in sys_displayhook_unencodable()669 Py_DECREF(escaped_str); in sys_displayhook_unencodable()672 Py_DECREF(escaped_str); in sys_displayhook_unencodable()
315 char *escaped_str, *p; in hex_escape_buffer() local332 escaped_str = g_malloc (len + num_invalid*3 + 1); in hex_escape_buffer()334 p = escaped_str; in hex_escape_buffer()351 return escaped_str; in hex_escape_buffer()