Home
last modified time | relevance | path

Searched refs:escaped_str (Results 1 – 3 of 3) sorted by relevance

/external/pigweed/pw_tokenizer/py/
Dgenerate_hash_test_data.py99 escaped_str = data.decode().replace('"', r'\"')
101 escaped_str = ''.join(r'\x{:02x}'.format(b) for b in data)
104 str=escaped_str,
/external/cronet/base/test/
Dscoped_feature_list.cc161 std::string escaped_str; in EscapeValue() local
164 escaped_str.append(base::StringPrintf("%%%02X", ch)); in EscapeValue()
166 escaped_str.append(1, ch); in EscapeValue()
169 return escaped_str; in EscapeValue()
/external/python/cpython3/Python/
Dsysmodule.c630 PyObject *encoded, *escaped_str, *repr_str, *buffer, *result; in sys_displayhook_unencodable() local
664 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()