• Home
  • Raw
  • Download

Lines Matching +full:- +full:- +full:output

2  * Copyright (c) 2023-2024 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
78 void JsonHelper::AppendValueToQuotedString(const CString& str, CString& output) in AppendValueToQuotedString() argument
80 output += "\""; in AppendValueToQuotedString()
83 output += str; in AppendValueToQuotedString()
84 output += "\""; in AppendValueToQuotedString()
91 output += "\\\""; in AppendValueToQuotedString()
94 output += "\\\\"; in AppendValueToQuotedString()
97 output += "\\b"; in AppendValueToQuotedString()
100 output += "\\f"; in AppendValueToQuotedString()
103 output += "\\n"; in AppendValueToQuotedString()
106 output += "\\r"; in AppendValueToQuotedString()
109 output += "\\t"; in AppendValueToQuotedString()
112 output += "\\u0000"; in AppendValueToQuotedString()
124 AppendUnicodeEscape(static_cast<uint32_t>(unicodeRes.first), output); in AppendValueToQuotedString()
131 AppendUnicodeEscape(static_cast<uint32_t>(ch), output); in AppendValueToQuotedString()
133 output += ch; in AppendValueToQuotedString()
137 output += "\""; in AppendValueToQuotedString()
140 void JsonHelper::AppendValueToQuotedString(const Span<const uint8_t>& sp, CString& output) in AppendValueToQuotedString() argument
142 output += "\""; in AppendValueToQuotedString()
145 output.append(reinterpret_cast<const char*>(sp.data()), sp.size()); in AppendValueToQuotedString()
146 output += "\""; in AppendValueToQuotedString()
153 output += "\\\""; in AppendValueToQuotedString()
156 output += "\\\\"; in AppendValueToQuotedString()
159 output += "\\b"; in AppendValueToQuotedString()
162 output += "\\f"; in AppendValueToQuotedString()
165 output += "\\n"; in AppendValueToQuotedString()
168 output += "\\r"; in AppendValueToQuotedString()
171 output += "\\t"; in AppendValueToQuotedString()
174 output += "\\u0000"; in AppendValueToQuotedString()
185 AppendUnicodeEscape(static_cast<uint32_t>(unicodeRes.first), output); in AppendValueToQuotedString()
192 AppendUnicodeEscape(static_cast<uint32_t>(ch), output); in AppendValueToQuotedString()
194 output += ch; in AppendValueToQuotedString()
198 output += "\""; in AppendValueToQuotedString()