Home
last modified time | relevance | path

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

/base/hiviewdfx/hiview/base/utility/
Dstring_util.cpp329 std::string escapeValue; in EscapeJsonStringValue() local
333 escapeValue.push_back('\\'); in EscapeJsonStringValue()
334 escapeValue.push_back('\\'); in EscapeJsonStringValue()
337 escapeValue.push_back('\\'); in EscapeJsonStringValue()
338 escapeValue.push_back('"'); in EscapeJsonStringValue()
341 escapeValue.push_back('\\'); in EscapeJsonStringValue()
342 escapeValue.push_back('b'); in EscapeJsonStringValue()
345 escapeValue.push_back('\\'); in EscapeJsonStringValue()
346 escapeValue.push_back('f'); in EscapeJsonStringValue()
349 escapeValue.push_back('\\'); in EscapeJsonStringValue()
[all …]
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/
Dhiappevent_verify.cpp78 std::string escapeValue; in EscapeStringValue() local
82 escapeValue.append("\\\\"); in EscapeStringValue()
85 escapeValue.append("\\\""); in EscapeStringValue()
88 escapeValue.append("\\b"); in EscapeStringValue()
91 escapeValue.append("\\f"); in EscapeStringValue()
94 escapeValue.append("\\n"); in EscapeStringValue()
97 escapeValue.append("\\r"); in EscapeStringValue()
100 escapeValue.append("\\t"); in EscapeStringValue()
103 escapeValue.push_back(*it); in EscapeStringValue()
107 value = escapeValue; in EscapeStringValue()