Home
last modified time | relevance | path

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

/external/cronet/base/json/
Dstring_escape_unittest.cc72 EscapeJSONString(in_ptr, false, &out); in TEST()
77 EscapeJSONString(in_str, false, &out); in TEST()
88 EscapeJSONString(in, false, &out); in TEST()
93 EscapeJSONString(in, true, &out_quoted); in TEST()
105 EscapeJSONString(in, false, &out); in TEST()
166 EscapeJSONString(in, false, &out); in TEST()
177 EscapeJSONString(in, false, &out); in TEST()
182 EscapeJSONString(in, true, &out_quoted); in TEST()
194 EscapeJSONString(in, false, &out); in TEST()
208 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.cc115 bool EscapeJSONString(StringPiece str, bool put_in_quotes, std::string* dest) { in EscapeJSONString() function
119 bool EscapeJSONString(StringPiece16 str, in EscapeJSONString() function
Djson_writer.cc110 EscapeJSONString(node, true, json_string_); in BuildJSONString()
150 EscapeJSONString(key, true, json_string_); in BuildJSONString()
/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()
/external/cronet/net/base/
Ddirectory_listing.cc31 base::EscapeJSONString(title, true, &result); in GetDirectoryListingHeader()
44 base::EscapeJSONString(name, true, &result); in GetDirectoryListingEntry()
47 base::EscapeJSONString(base::EscapePath(base::UTF16ToUTF8(name)), true, in GetDirectoryListingEntry()
50 base::EscapeJSONString(base::EscapePath(raw_bytes), true, &result); in GetDirectoryListingEntry()
67 base::EscapeJSONString(size_string, true, &result); in GetDirectoryListingEntry()
87 base::EscapeJSONString(modified_str, true, &result); in GetDirectoryListingEntry()
/external/cronet/base/trace_event/
Dlog_message.cc27 base::EscapeJSONString(message_, true, out); in AppendAsTraceFormat()
Dtrace_event_impl.cc194 EscapeJSONString(name_, true, out); in AppendAsJSON()
Dtrace_arguments.cc207 EscapeJSONString(this->as_string ? this->as_string : "NULL", true, out); in Append()
Dtraced_value.cc227 EscapeJSONString(ReadKeyName(*it), true, out); in AppendAsTraceFormat()
/external/libchrome/base/trace_event/
Dtrace_event_impl.cc269 EscapeJSONString(value.as_string ? value.as_string : "NULL", true, out); in AppendValueAsJSON()
299 EscapeJSONString(name_, true, out); in AppendAsJSON()
Dtrace_event_argument.cc473 EscapeJSONString(ReadKeyName(*it), true, out); in AppendAsTraceFormat()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_graph_dumper.cc1877 StrAppend(out, EscapeJSONString(dot));
1883 EscapeJSONString(p.label),
1884 EscapeJSONString(p.to_highlight)));