Home
last modified time | relevance | path

Searched refs:EscapeJSONString (Results 1 – 5 of 5) sorted by relevance

/external/libchrome/base/json/
Dstring_escape_unittest.cc36 EscapeJSONString(in_ptr, false, &out); in TEST()
41 bool convert_ok = EscapeJSONString(in_str, false, &out); in TEST()
54 EscapeJSONString(in, false, &out); in TEST()
59 EscapeJSONString(in, true, &out_quoted); in TEST()
71 EscapeJSONString(in, false, &out); in TEST()
95 EscapeJSONString(in, false, &out); in TEST()
106 EscapeJSONString(in, false, &out); in TEST()
111 EscapeJSONString(in, true, &out_quoted); in TEST()
123 EscapeJSONString(in, false, &out); in TEST()
137 EXPECT_TRUE(EscapeJSONString(test, false, &actual)); in TEST()
[all …]
Dstring_escape.h29 BASE_EXPORT bool EscapeJSONString(StringPiece str,
36 BASE_EXPORT bool EscapeJSONString(StringPiece16 str,
Dstring_escape_fuzzer.cc24 base::EscapeJSONString(input_string, put_in_quotes, &escaped_string); in LLVMFuzzerTestOneInput()
34 base::EscapeJSONString(input_string16, put_in_quotes, &escaped_string); in LLVMFuzzerTestOneInput()
Dstring_escape.cc119 bool EscapeJSONString(StringPiece str, bool put_in_quotes, std::string* dest) { in EscapeJSONString() function
123 bool EscapeJSONString(StringPiece16 str, in EscapeJSONString() function
Djson_writer.cc117 EscapeJSONString(value, true, json_string_); in BuildJSONString()
176 EscapeJSONString(itr.key(), true, json_string_); in BuildJSONString()