Lines Matching refs:dst
16 // returns true and appends the escape sequence to |dst|. This isn't required
19 static bool JsonSingleEscapeChar(const CHAR c, std::string* dst) {
25 dst->append("\\b");
28 dst->append("\\f");
31 dst->append("\\n");
34 dst->append("\\r");
37 dst->append("\\t");
40 dst->append("\\\\");
43 dst->append("\\\"");
54 std::string* dst) {
56 dst->push_back('"');
60 if (!JsonSingleEscapeChar(c, dst)) {
66 StringAppendF(dst, "\\u%04X", as_uint);
69 dst->push_back(ascii);
75 dst->push_back('"');
82 std::string* dst) {
83 JsonDoubleQuoteT(str, put_in_quotes, dst);
87 std::string dst;
88 JsonDoubleQuote(str, true, &dst);
89 return dst;
94 std::string* dst) {
95 JsonDoubleQuoteT(str, put_in_quotes, dst);
99 std::string dst;
100 JsonDoubleQuote(str, true, &dst);
101 return dst;