Lines Matching refs:std
5 std::string EscapeJsonChars(std::string_view str) {
9 static constexpr std::string_view control_symbols[0x20] = {
17 std::string ret;
21 std::string replace;
46 std::string Reindent(const std::string& str, int indent_depth) {
48 const std::string indent(indent_depth, ' ');
49 std::string out;
50 std::string::size_type pos = 0;
52 std::string::size_type prev_pos = pos;
57 if (pos == std::string::npos) {
58 out.append(str, prev_pos, std::string::npos);