Home
last modified time | relevance | path

Searched refs:json_string (Results 1 – 24 of 24) sorted by relevance

/third_party/json/test/src/
Dunit-unicode3.cpp57 static std::string json_string; in check_utf8dump() local
58 json_string.clear(); in check_utf8dump()
65 json_string += std::string(1, static_cast<char>(byte1)); in check_utf8dump()
69 json_string += std::string(1, static_cast<char>(byte2)); in check_utf8dump()
74 json_string += std::string(1, static_cast<char>(byte3)); in check_utf8dump()
79 json_string += std::string(1, static_cast<char>(byte4)); in check_utf8dump()
82 CAPTURE(json_string) in check_utf8dump()
87 j = json_string; in check_utf8dump()
88 j2 = "abc" + json_string + "xyz"; in check_utf8dump()
150 static std::string json_string; in check_utf8string() local
[all …]
Dunit-unicode5.cpp57 static std::string json_string; in check_utf8dump() local
58 json_string.clear(); in check_utf8dump()
65 json_string += std::string(1, static_cast<char>(byte1)); in check_utf8dump()
69 json_string += std::string(1, static_cast<char>(byte2)); in check_utf8dump()
74 json_string += std::string(1, static_cast<char>(byte3)); in check_utf8dump()
79 json_string += std::string(1, static_cast<char>(byte4)); in check_utf8dump()
82 CAPTURE(json_string) in check_utf8dump()
87 j = json_string; in check_utf8dump()
88 j2 = "abc" + json_string + "xyz"; in check_utf8dump()
150 static std::string json_string; in check_utf8string() local
[all …]
Dunit-unicode4.cpp57 static std::string json_string; in check_utf8dump() local
58 json_string.clear(); in check_utf8dump()
65 json_string += std::string(1, static_cast<char>(byte1)); in check_utf8dump()
69 json_string += std::string(1, static_cast<char>(byte2)); in check_utf8dump()
74 json_string += std::string(1, static_cast<char>(byte3)); in check_utf8dump()
79 json_string += std::string(1, static_cast<char>(byte4)); in check_utf8dump()
82 CAPTURE(json_string) in check_utf8dump()
87 j = json_string; in check_utf8dump()
88 j2 = "abc" + json_string + "xyz"; in check_utf8dump()
150 static std::string json_string; in check_utf8string() local
[all …]
Dunit-unicode2.cpp57 static std::string json_string; in check_utf8dump() local
58 json_string.clear(); in check_utf8dump()
65 json_string += std::string(1, static_cast<char>(byte1)); in check_utf8dump()
69 json_string += std::string(1, static_cast<char>(byte2)); in check_utf8dump()
74 json_string += std::string(1, static_cast<char>(byte3)); in check_utf8dump()
79 json_string += std::string(1, static_cast<char>(byte4)); in check_utf8dump()
82 CAPTURE(json_string) in check_utf8dump()
87 j = json_string; in check_utf8dump()
88 j2 = "abc" + json_string + "xyz"; in check_utf8dump()
150 static std::string json_string; in check_utf8string() local
[all …]
Dunit-testsuites.cpp130 auto TEST_DOUBLE = [](const std::string & json_string, const double expected)
132 CAPTURE(json_string) in __anonb2efde2c0102()
134 CHECK(json::parse(json_string)[0].get<double>() == Approx(expected)); in __anonb2efde2c0102()
262 auto TEST_STRING = [](const std::string & json_string, const std::string & expected)
264 CAPTURE(json_string) in __anonb2efde2c0202()
266 CHECK(json::parse(json_string)[0].get<std::string>() == expected); in __anonb2efde2c0202()
322 std::string json_string( (std::istreambuf_iterator<char>(f) ), variable
325 CAPTURE(json_string)
326 json j = json::parse(json_string);
327 CHECK(j.dump() == json_string);
/third_party/cef/libcef/common/
Djson_impl.cc34 CefRefPtr<CefValue> CefParseJSON(const CefString& json_string, in CefParseJSON() argument
36 const std::string& json = json_string.ToString(); in CefParseJSON()
57 const CefString& json_string, in CefParseJSONAndReturnError() argument
60 const std::string& json = json_string.ToString(); in CefParseJSONAndReturnError()
84 std::string json_string; in CefWriteJSON() local
86 *scoped_value.value(), GetJSONWriterOptions(options), &json_string)) { in CefWriteJSON()
87 return json_string; in CefWriteJSON()
/third_party/gstreamer/gstplugins_good/tests/examples/rpicamsrc/
Dwebrtc-unidirectional-h264.c245 gchar *json_string; in on_offer_created_cb() local
275 json_string = get_string_from_json_object (sdp_json); in on_offer_created_cb()
278 soup_websocket_connection_send_text (receiver_entry->connection, json_string); in on_offer_created_cb()
279 g_free (json_string); in on_offer_created_cb()
305 gchar *json_string; in on_ice_candidate_cb() local
316 json_string = get_string_from_json_object (ice_json); in on_ice_candidate_cb()
319 soup_websocket_connection_send_text (receiver_entry->connection, json_string); in on_ice_candidate_cb()
320 g_free (json_string); in on_ice_candidate_cb()
/third_party/cef/libcef_dll/
Dlibcef_dll.cc587 const cef_string_t* json_string, in cef_parse_json() argument
592 DCHECK(json_string); in cef_parse_json()
593 if (!json_string) in cef_parse_json()
597 CefRefPtr<CefValue> _retval = CefParseJSON(CefString(json_string), options); in cef_parse_json()
622 const cef_string_t* json_string, in cef_parse_jsonand_return_error() argument
628 DCHECK(json_string); in cef_parse_jsonand_return_error()
629 if (!json_string) in cef_parse_jsonand_return_error()
641 CefString(json_string), options, error_msg_outStr); in cef_parse_jsonand_return_error()
/third_party/cef/libcef_dll/wrapper/
Dlibcef_dll_wrapper.cc555 CEF_GLOBAL CefRefPtr<CefValue> CefParseJSON(const CefString& json_string, in CefParseJSON() argument
560 DCHECK(!json_string.empty()); in CefParseJSON()
561 if (json_string.empty()) in CefParseJSON()
565 cef_value_t* _retval = cef_parse_json(json_string.GetStruct(), options); in CefParseJSON()
591 const CefString& json_string, in CefParseJSONAndReturnError() argument
597 DCHECK(!json_string.empty()); in CefParseJSONAndReturnError()
598 if (json_string.empty()) in CefParseJSONAndReturnError()
603 json_string.GetStruct(), options, error_msg_out.GetWritableStruct()); in CefParseJSONAndReturnError()
Dlibcef_dll_dylib.cc1140 struct _cef_value_t* cef_parse_json(const cef_string_t* json_string, in cef_parse_json() argument
1142 return g_libcef_pointers.cef_parse_json(json_string, options); in cef_parse_json()
1154 const cef_string_t* json_string, in cef_parse_jsonand_return_error() argument
1157 return g_libcef_pointers.cef_parse_jsonand_return_error(json_string, options, in cef_parse_jsonand_return_error()
/third_party/cef/include/
Dcef_parser.h133 CefRefPtr<CefValue> CefParseJSON(const CefString& json_string,
153 const CefString& json_string,
/third_party/cef/include/capi/
Dcef_parser_capi.h140 const cef_string_t* json_string,
159 const cef_string_t* json_string,
/third_party/spirv-tools/test/fuzz/
Dfuzz_test_util.cpp147 std::string json_string; in DumpTransformationsJson() local
151 transformations, &json_string, json_options); in DumpTransformationsJson()
154 transformations_json_file << json_string; in DumpTransformationsJson()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/
Dfuzz_test_util.cpp147 std::string json_string; in DumpTransformationsJson() local
151 transformations, &json_string, json_options); in DumpTransformationsJson()
154 transformations_json_file << json_string; in DumpTransformationsJson()
/third_party/skia/third_party/externals/spirv-tools/test/fuzz/
Dfuzz_test_util.cpp147 std::string json_string; in DumpTransformationsJson() local
151 transformations, &json_string, json_options); in DumpTransformationsJson()
154 transformations_json_file << json_string; in DumpTransformationsJson()
/third_party/nghttp2/src/
Dnghttp.cc1514 json_object_set_new(log, "version", json_string("1.2")); in output_har()
1519 json_object_set_new(creator, "name", json_string("nghttp")); in output_har()
1520 json_object_set_new(creator, "version", json_string(NGHTTP2_VERSION)); in output_har()
1530 json_string(util::format_iso8601(timing.system_start_time).c_str())); in output_har()
1531 json_object_set_new(page, "id", json_string(PAGE_ID)); in output_har()
1532 json_object_set_new(page, "title", json_string("")); in output_har()
1588 json_string(util::format_iso8601(request_time).c_str())); in output_har()
1594 json_string(pushed ? "Pushed Object" : "")); in output_har()
1606 json_object_set_new(hd, "name", json_string(nv.name.c_str())); in output_har()
1607 json_object_set_new(hd, "value", json_string(nv.value.c_str())); in output_har()
[all …]
Ddeflatehd.cc93 json_object_set_new(obj, "wire", json_string("")); in output_to_json()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/fuzz/
Dfuzz.cpp694 std::string json_string; in DumpTransformationsJson() local
698 transformations, &json_string, json_options); in DumpTransformationsJson()
701 transformations_json_file << json_string; in DumpTransformationsJson()
826 std::string json_string; in main() local
830 transformations_applied, &json_string, json_options); in main()
839 transformations_json_file << json_string; in main()
/third_party/skia/third_party/externals/spirv-tools/tools/fuzz/
Dfuzz.cpp694 std::string json_string; in DumpTransformationsJson() local
698 transformations, &json_string, json_options); in DumpTransformationsJson()
701 transformations_json_file << json_string; in DumpTransformationsJson()
826 std::string json_string; in main() local
830 transformations_applied, &json_string, json_options); in main()
839 transformations_json_file << json_string; in main()
/third_party/spirv-tools/tools/fuzz/
Dfuzz.cpp681 std::string json_string; in DumpTransformationsJson() local
685 transformations, &json_string, json_options); in DumpTransformationsJson()
688 transformations_json_file << json_string; in DumpTransformationsJson()
814 std::string json_string; in main() local
818 transformations_applied, &json_string, json_options); in main()
827 transformations_json_file << json_string; in main()
/third_party/cef/libcef/browser/views/
Dview_impl.h462 std::string json_string; in ToString() local
463 base::JSONWriter::WriteWithOptions(*info, 0, &json_string); in ToString()
464 return json_string; in ToString()
/third_party/cef/tools/cefbuilds/
Dcef_json_builder.py232 def load(self, json_string, fatalerrors=True): argument
242 new_data = json.JSONDecoder(object_hook=cef_from_json).decode(json_string)
/third_party/rust/crates/nom/tests/
Djson.rs137 fn json_string() { in json_string() function
/third_party/chromium/patch/
D0003-ohos-1115.patch60549 + void SetJsonString(std::string json_string) { str_json_ = json_string; }