Lines Matching refs:str
51 template <class STR>
52 void JsonDoubleQuoteT(const STR& str,
58 for (typename STR::const_iterator it = str.begin(); it != str.end(); ++it) {
59 typename ToUnsigned<typename STR::value_type>::Unsigned c = *it;
80 void JsonDoubleQuote(const std::string& str,
83 JsonDoubleQuoteT(str, put_in_quotes, dst);
86 std::string GetDoubleQuotedJson(const std::string& str) {
88 JsonDoubleQuote(str, true, &dst);
92 void JsonDoubleQuote(const string16& str,
95 JsonDoubleQuoteT(str, put_in_quotes, dst);
98 std::string GetDoubleQuotedJson(const string16& str) {
100 JsonDoubleQuote(str, true, &dst);