/third_party/json/test/src/ |
D | unit-capacity.cpp | 41 json j = true; variable 59 json j = "hello world"; variable 79 json j = json::array(); variable 97 json j = {1, 2, 3}; variable 118 json j = json::object(); variable 136 json j = {{"one", 1}, {"two", 2}, {"three", 3}}; variable 155 json j = -23; variable 173 json j = 23u; variable 191 json j = 23.42; variable 209 json j = nullptr; variable [all …]
|
D | unit-element_access1.cpp | 39 json j = {1, 1u, true, nullptr, "string", 42.23, json::object(), {1, 2, 3}}; variable 514 json j; variable 521 const json j{}; variable 532 json j = "foo"; variable 537 const json j = "bar"; variable 546 json j = false; variable 551 const json j = true; variable 560 json j = 17; variable 565 const json j = 17; variable 574 json j = 17u; variable [all …]
|
D | unit-modifiers.cpp | 41 json j = true; variable 51 json j = "hello world"; variable 63 json j = json::array(); variable 74 json j = {1, 2, 3}; variable 88 json j = json::object(); variable 99 json j = {{"one", 1}, {"two", 2}, {"three", 3}}; variable 113 json j = json::binary({}); variable 124 json j = json::binary({1, 2, 3, 4, 5}); variable 136 json j = 23; variable 146 json j = 23u; variable [all …]
|
D | unit-constructor2.cpp | 41 json j {{"foo", 1}, {"bar", false}}; variable 48 json j {"foo", 1, 42.23, false}; variable 69 json j("Hello world"); variable 76 json j(42); variable 83 json j(42u); variable 90 json j(42.23); variable 97 json j = json::binary({1, 2, 3}); variable 105 json j {{"foo", "bar"}, {"baz", {1, 2, 3, 4}}, {"a", 42u}, {"b", 42.23}, {"c", nullptr}}; variable 116 json j {{"foo", 1}, {"bar", false}}; variable 124 json j {"foo", 1, 42.23, false}; variable [all …]
|
D | unit-inspection.cpp | 45 json j {{"foo", 1}, {"bar", false}}; variable 63 json j {"foo", 1, 1u, 42.23, false}; variable 117 json j("Hello world"); variable 135 json j(42); variable 153 json j(42u); variable 171 json j(42.23); variable 226 …json j {{"object", json::object()}, {"array", {1, 2, 3, 4}}, {"number", 42}, {"boolean", false}, {… variable 368 json j = nullptr; variable 374 json j = {{"foo", "bar"}}; variable 380 json j = {1, 2, 3, 4}; variable [all …]
|
D | unit-items.cpp | 54 json j = { {"A", 1}, {"B", 2} }; variable 87 json j = { {"A", 1}, {"B", 2} }; variable 131 json j = { {"A", 1}, {"B", 2} }; variable 164 json j = { {"A", 1}, {"B", 2} }; variable 200 const json j = { {"A", 1}, {"B", 2} }; variable 233 const json j = { {"A", 1}, {"B", 2} }; variable 266 const json j = { {"A", 1}, {"B", 2} }; variable 299 const json j = { {"A", 1}, {"B", 2} }; variable 335 json j = { "A", "B" }; variable 368 json j = { "A", "B" }; variable [all …]
|
D | unit-constructor1.cpp | 130 json j{}; variable 221 …json j({{"a", json(1)}, {"b", json(1u)}, {"c", json(2.2)}, {"d", json(false)}, {"e", json("string"… variable 272 json j{1, 2.0, "string"}; variable 296 json j{1, 2.0, "string", 42}; variable 306 json j{1}; variable 399 json j({json(1), json(1u), json(2.2), json(false), json("string"), json()}); variable 454 json j("Hello world"); variable 782 json j(42); variable 789 json j(42u); variable 796 json j(42L); variable [all …]
|
D | unit-class_const_iterator.cpp | 79 json j; variable 157 json j(17); variable 167 json j({{"foo", "bar"}}); variable 174 json j({1, 2, 3, 4}); variable 192 json j(17); variable 202 json j({{"foo", "bar"}}); variable 209 json j({1, 2, 3, 4}); variable 231 json j(17); variable 242 json j({{"foo", "bar"}}); variable 251 json j({1, 2, 3, 4}); variable [all …]
|
D | unit-class_iterator.cpp | 141 json j(17); variable 151 json j({{"foo", "bar"}}); variable 158 json j({1, 2, 3, 4}); variable 176 json j(17); variable 186 json j({{"foo", "bar"}}); variable 193 json j({1, 2, 3, 4}); variable 215 json j(17); variable 226 json j({{"foo", "bar"}}); variable 235 json j({1, 2, 3, 4}); variable 266 json j(17); variable [all …]
|
D | unit-json_patch.cpp | 627 json j = "string"; variable 657 json j = {"good", "bad", "ugly"}; variable 682 json j; variable 691 json j; variable 703 json j; variable 715 json j; variable 727 json j; variable 742 json j; variable 754 json j; variable 766 json j; variable [all …]
|
D | unit-serialization.cpp | 45 json j = {"foo", 1, 2, 3, false, {{"one", 1}}}; variable 53 json j = {"foo", 1, 2, 3, false, {{"one", 1}}}; variable 62 json j = {"foo", 1, 2, 3, false, {{"one", 1}}}; variable 74 json j = {"foo", 1, 2, 3, false, {{"one", 1}}}; variable 82 json j = {"foo", 1, 2, 3, false, {{"one", 1}}}; variable 92 json j = {"foo", 1, 2, 3, false, {{"one", 1}}}; variable 105 json j = "ä\xA9ü"; variable 118 json j = "123\xC2"; variable 130 json j = "123\xF1\xB0\x34\x35\x36"; variable 148 json j = input; in __anon4e96612c0102() local [all …]
|
D | unit-ubjson.cpp | 126 json j = json::value_t::discarded; variable 133 json j = nullptr; variable 147 json j = true; variable 159 json j = false; variable 316 json j = -9263; variable 758 json j = v; variable 778 const auto j = json::from_ubjson(vec); variable 786 const auto j = json::from_ubjson(vec); variable 794 const auto j = json::from_ubjson(vec); variable 820 json j = 11111111111111111111ULL; variable [all …]
|
D | unit-testsuites.cpp | 102 json j; variable 118 json j; variable 339 json j; variable 354 json j; variable 361 json j; variable 368 json j; variable 375 json j; variable 382 json j; variable 602 json j; variable 844 json j; variable [all …]
|
D | unit-json_pointer.cpp | 74 json j = R"( variable 179 const json j = R"( variable 248 json j = R"( variable 282 json j = {1, 2, 3}; variable 418 const json j = {1, 2, 3}; variable 450 json j = variable 552 json j; variable 560 json j; variable 569 const json j = variable 645 const json j = variable
|
D | unit-diagnostics.cpp | 45 json j = 1; variable 52 json j; variable 60 json j; variable 67 json j; variable 74 json j; variable 81 json j; variable 88 json j; variable 108 json j; variable 180 nlohmann::ordered_json j; variable
|
D | unit-cbor.cpp | 128 json j = json::value_t::discarded; variable 136 json j = std::numeric_limits<json::number_float_t>::quiet_NaN(); variable 145 json j = std::numeric_limits<json::number_float_t>::infinity(); variable 153 json j = nullptr; variable 167 json j = true; variable 179 json j = false; variable 342 json j = -9263; variable 842 json j = v; variable 863 json j = v; variable 877 json j = v; variable [all …]
|
D | unit-regression2.cpp | 102 void from_json(const json& j, Data& data) in from_json() 171 explicit sax_no_exception(json& j) : nlohmann::detail::json_sax_dom_parser<json>(j, false) {} in sax_no_exception() 266 auto j = json::parse(geojsonExample, cb, true); variable 272 float_json j = 1000.0; variable 314 json j = variable 403 json j = json::parse("[-9223372036854775808]"); variable 410 json j = smallest; variable 416 json j = {{"root", {{"settings", {{"logging", true}}}}}}; variable 428 json j; variable 436 json j = val; variable [all …]
|
D | unit-bson.cpp | 46 json j = nullptr; variable 55 json j = true; variable 62 json j = false; variable 70 json j = 42; variable 77 json j = 4.2; variable 84 json j = "not supported"; variable 99 json j = variable 130 json j = json::object(); variable 148 json j = variable 172 json j = variable [all …]
|
D | unit-regression1.cpp | 127 friend void to_json(json& j, const nocopy& n) in to_json() 141 json j = json::parse(s); variable 196 json j = json::array(); variable 259 json j; variable 275 custom_json j; variable 367 json j; variable 378 json j; variable 414 json j; variable 462 json j; variable 620 json j = variable [all …]
|
D | unit-msgpack.cpp | 127 json j = json::value_t::discarded; variable 134 json j = nullptr; variable 148 json j = true; variable 160 json j = false; variable 433 json j = -9263; variable 774 json j = v; variable 791 json j = v; variable 808 json j = v; variable 843 json j = s; variable 880 json j = s; variable [all …]
|
D | unit-comparison.cpp | 80 for (size_t j = 0; j < j_types.size(); ++j) variable 133 for (size_t j = 0; j < j_values.size(); ++j) variable 163 for (size_t j = 0; j < j_values.size(); ++j) variable 206 for (size_t j = 0; j < j_values.size(); ++j) variable 232 for (size_t j = 0; j < j_values.size(); ++j) variable 246 for (size_t j = 0; j < j_values.size(); ++j) variable 260 for (size_t j = 0; j < j_values.size(); ++j) variable
|
D | unit-udt.cpp | 103 static void to_json(BasicJsonType& j, age a) in to_json() 109 static void to_json(BasicJsonType& j, const name& n) in to_json() 115 static void to_json(BasicJsonType& j, country c) in to_json() 134 static void to_json(BasicJsonType& j, const person& p) in to_json() 139 static void to_json(nlohmann::json& j, const address& a) in to_json() 144 static void to_json(nlohmann::json& j, const contact& c) in to_json() 149 static void to_json(nlohmann::json& j, const contact_book& cb) in to_json() 192 static void from_json(const BasicJsonType& j, age& a) in from_json() 198 static void from_json(const BasicJsonType& j, name& n) in from_json() 204 static void from_json(const BasicJsonType& j, country& c) in from_json() [all …]
|
/third_party/json/include/nlohmann/detail/conversions/ |
D | from_json.hpp | 27 void from_json(const BasicJsonType& j, typename std::nullptr_t& n) in from_json() 41 void get_arithmetic_value(const BasicJsonType& j, ArithmeticType& val) in get_arithmetic_value() 74 void from_json(const BasicJsonType& j, typename BasicJsonType::boolean_t& b) in from_json() 84 void from_json(const BasicJsonType& j, typename BasicJsonType::string_t& s) in from_json() 100 void from_json(const BasicJsonType& j, ConstructibleStringType& s) in from_json() 111 void from_json(const BasicJsonType& j, typename BasicJsonType::number_float_t& val) in from_json() 117 void from_json(const BasicJsonType& j, typename BasicJsonType::number_unsigned_t& val) in from_json() 123 void from_json(const BasicJsonType& j, typename BasicJsonType::number_integer_t& val) in from_json() 130 void from_json(const BasicJsonType& j, EnumType& e) in from_json() 140 void from_json(const BasicJsonType& j, std::forward_list<T, Allocator>& l) in from_json() [all …]
|
D | to_json.hpp | 255 void to_json(BasicJsonType& j, T b) noexcept in to_json() 262 void to_json(BasicJsonType& j, const CompatibleString& s) in to_json() 268 void to_json(BasicJsonType& j, typename BasicJsonType::string_t&& s) in to_json() 275 void to_json(BasicJsonType& j, FloatType val) noexcept in to_json() 282 void to_json(BasicJsonType& j, CompatibleNumberUnsignedType val) noexcept in to_json() 289 void to_json(BasicJsonType& j, CompatibleNumberIntegerType val) noexcept in to_json() 296 void to_json(BasicJsonType& j, EnumType e) noexcept in to_json() 303 void to_json(BasicJsonType& j, const std::vector<bool>& e) in to_json() 316 void to_json(BasicJsonType& j, const CompatibleArrayType& arr) in to_json() 322 void to_json(BasicJsonType& j, const typename BasicJsonType::binary_t& bin) in to_json() [all …]
|
/third_party/flutter/skia/tests/ |
D | SkRasterPipelineTest.cpp | 117 for (unsigned j = 0; j < i; j++) { in DEF_TEST() local 124 for (int j = i; j < 4; j++) { in DEF_TEST() local 151 for (unsigned j = 0; j < i; j++) { in DEF_TEST() local 164 for (int j = i; j < 4; j++) { in DEF_TEST() local 191 for (unsigned j = 0; j < i; j++) { in DEF_TEST() local 198 for (int j = i; j < 4; j++) { in DEF_TEST() local 223 for (unsigned j = 0; j < i; j++) { in DEF_TEST() local 227 for (int j = i; j < 4; j++) { in DEF_TEST() local 252 for (unsigned j = 0; j < i; j++) { in DEF_TEST() local 256 for (int j = i; j < 4; j++) { in DEF_TEST() local [all …]
|