Home
last modified time | relevance | path

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

12

/third_party/json/tests/src/
Dunit-unicode4.cpp36 static std::string json_string; in check_utf8dump() local
37 json_string.clear(); in check_utf8dump()
44 json_string += std::string(1, static_cast<char>(byte1)); in check_utf8dump()
48 json_string += std::string(1, static_cast<char>(byte2)); in check_utf8dump()
53 json_string += std::string(1, static_cast<char>(byte3)); in check_utf8dump()
58 json_string += std::string(1, static_cast<char>(byte4)); in check_utf8dump()
61 CAPTURE(json_string) in check_utf8dump()
66 j = json_string; in check_utf8dump()
67 j2 = "abc" + json_string + "xyz"; in check_utf8dump()
129 static std::string json_string; in check_utf8string() local
[all …]
Dunit-unicode3.cpp36 static std::string json_string; in check_utf8dump() local
37 json_string.clear(); in check_utf8dump()
44 json_string += std::string(1, static_cast<char>(byte1)); in check_utf8dump()
48 json_string += std::string(1, static_cast<char>(byte2)); in check_utf8dump()
53 json_string += std::string(1, static_cast<char>(byte3)); in check_utf8dump()
58 json_string += std::string(1, static_cast<char>(byte4)); in check_utf8dump()
61 CAPTURE(json_string) in check_utf8dump()
66 j = json_string; in check_utf8dump()
67 j2 = "abc" + json_string + "xyz"; in check_utf8dump()
129 static std::string json_string; in check_utf8string() local
[all …]
Dunit-unicode5.cpp36 static std::string json_string; in check_utf8dump() local
37 json_string.clear(); in check_utf8dump()
44 json_string += std::string(1, static_cast<char>(byte1)); in check_utf8dump()
48 json_string += std::string(1, static_cast<char>(byte2)); in check_utf8dump()
53 json_string += std::string(1, static_cast<char>(byte3)); in check_utf8dump()
58 json_string += std::string(1, static_cast<char>(byte4)); in check_utf8dump()
61 CAPTURE(json_string) in check_utf8dump()
66 j = json_string; in check_utf8dump()
67 j2 = "abc" + json_string + "xyz"; in check_utf8dump()
129 static std::string json_string; in check_utf8string() local
[all …]
Dunit-unicode2.cpp36 static std::string json_string; in check_utf8dump() local
37 json_string.clear(); in check_utf8dump()
44 json_string += std::string(1, static_cast<char>(byte1)); in check_utf8dump()
48 json_string += std::string(1, static_cast<char>(byte2)); in check_utf8dump()
53 json_string += std::string(1, static_cast<char>(byte3)); in check_utf8dump()
58 json_string += std::string(1, static_cast<char>(byte4)); in check_utf8dump()
61 CAPTURE(json_string) in check_utf8dump()
66 j = json_string; in check_utf8dump()
67 j2 = "abc" + json_string + "xyz"; in check_utf8dump()
129 static std::string json_string; in check_utf8string() local
[all …]
Dunit-testsuites.cpp109 auto TEST_DOUBLE = [](const std::string & json_string, const double expected)
111 CAPTURE(json_string) in __anon6980bbe00102()
113 CHECK(json::parse(json_string)[0].get<double>() == Approx(expected)); in __anon6980bbe00102()
241 auto TEST_STRING = [](const std::string & json_string, const std::string & expected)
243 CAPTURE(json_string) in __anon6980bbe00202()
245 CHECK(json::parse(json_string)[0].get<std::string>() == expected); in __anon6980bbe00202()
301 std::string json_string( (std::istreambuf_iterator<char>(f) ), variable
304 CAPTURE(json_string)
305 json j = json::parse(json_string);
306 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.cc1513 json_object_set_new(log, "version", json_string("1.2")); in output_har()
1518 json_object_set_new(creator, "name", json_string("nghttp")); in output_har()
1519 json_object_set_new(creator, "version", json_string(NGHTTP2_VERSION)); in output_har()
1529 json_string(util::format_iso8601(timing.system_start_time).c_str())); in output_har()
1530 json_object_set_new(page, "id", json_string(PAGE_ID)); in output_har()
1531 json_object_set_new(page, "title", json_string("")); in output_har()
1587 json_string(util::format_iso8601(request_time).c_str())); in output_har()
1593 json_string(pushed ? "Pushed Object" : "")); in output_har()
1605 json_object_set_new(hd, "name", json_string(nv.name.c_str())); in output_har()
1606 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/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/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/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/node/deps/v8/include/
Dv8-json.h31 Local<Context> context, Local<String> json_string);
/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/node/deps/v8/src/api/
Dapi.cc3266 Local<String> json_string) { in Parse() argument
3268 i::Handle<i::String> string = Utils::OpenHandle(*json_string); in Parse()

12