Home
last modified time | relevance | path

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

/external/chromium_org/base/json/
Dstring_escape_unittest.cc31 EscapeJSONString(in_ptr, false, &out); in TEST()
36 bool convert_ok = EscapeJSONString(in_str, false, &out); in TEST()
49 EscapeJSONString(in, false, &out); in TEST()
54 EscapeJSONString(in, true, &out_quoted); in TEST()
66 EscapeJSONString(in, false, &out); in TEST()
88 EscapeJSONString(in, false, &out); in TEST()
99 EscapeJSONString(in, false, &out); in TEST()
104 EscapeJSONString(in, true, &out_quoted); in TEST()
116 EscapeJSONString(in, false, &out); in TEST()
130 EXPECT_TRUE(EscapeJSONString(test, false, &actual)); in TEST()
[all …]
Dstring_escape.h28 BASE_EXPORT bool EscapeJSONString(const StringPiece& str,
35 BASE_EXPORT bool EscapeJSONString(const StringPiece16& str,
Dstring_escape.cc104 bool EscapeJSONString(const StringPiece& str, in EscapeJSONString() function
110 bool EscapeJSONString(const StringPiece16& str, in EscapeJSONString() function
Djson_writer.cc112 EscapeJSONString(value, true, json_string_); in BuildJSONString()
174 EscapeJSONString(itr.key(), true, json_string_); in BuildJSONString()
/external/chromium_org/sync/internal_api/public/base/
Dprogress_marker_map.cc19 base::EscapeJSONString( in ProgressMarkerMapToValue()
/external/chromium_org/tools/gn/
Dtrace.cc264 base::EscapeJSONString(item.name(), true, &quote_buffer); in SaveTraces()
303 base::EscapeJSONString(item.toolchain(), true, &quote_buffer); in SaveTraces()
309 base::EscapeJSONString(item.cmdline(), true, &quote_buffer); in SaveTraces()
/external/chromium_org/net/base/
Dnet_util_icu.cc592 base::EscapeJSONString(name, true, &result); in GetDirectoryListingEntry()
595 base::EscapeJSONString(EscapePath(base::UTF16ToUTF8(name)), true, &result); in GetDirectoryListingEntry()
597 base::EscapeJSONString(EscapePath(raw_bytes), true, &result); in GetDirectoryListingEntry()
609 base::EscapeJSONString(size_string, true, &result); in GetDirectoryListingEntry()
618 base::EscapeJSONString(modified_str, true, &result); in GetDirectoryListingEntry()
Dnet_util.cc241 base::EscapeJSONString(title, true, &result); in GetDirectoryListingHeader()
/external/chromium_org/base/metrics/
Dstatistics_recorder.cc175 EscapeJSONString(query, true, &output); in ToJSON()
/external/chromium_org/base/test/launcher/
Dtest_results_tracker.cc301 bool losless_snippet = EscapeJSONString( in SaveSummaryAsJSON()
/external/chromium_org/base/debug/
Dtrace_event_impl.cc685 EscapeJSONString(value.as_string ? value.as_string : "NULL", true, out); in AppendValueAsJSON()