Home
last modified time | relevance | path

Searched refs:value_t (Results 1 - 25 of 64) sorted by relevance

123

/third_party/json/include/nlohmann/detail/iterators/
H A Diter_impl.hpp20 #include <nlohmann/detail/value_t.hpp>
106 case value_t::object: in m_object()
112 case value_t::array: in m_object()
118 case value_t::null: in m_object()
119 case value_t::string: in m_object()
120 case value_t::boolean: in m_object()
121 case value_t::number_integer: in m_object()
122 case value_t::number_unsigned: in m_object()
123 case value_t::number_float: in m_object()
124 case value_t in m_object()
[all...]
H A Diteration_proxy.hpp23 #include <nlohmann/detail/value_t.hpp>
121 case value_t::array: in key()
132 case value_t::object: in key()
136 case value_t::null: in key()
137 case value_t::string: in key()
138 case value_t::boolean: in key()
139 case value_t::number_integer: in key()
140 case value_t::number_unsigned: in key()
141 case value_t::number_float: in key()
142 case value_t in key()
[all...]
/third_party/json/include/nlohmann/detail/
H A Djson_pointer.hpp28 #include <nlohmann/detail/value_t.hpp>
284 case detail::value_t::null: in get_and_create()
299 case detail::value_t::object: in get_and_create()
306 case detail::value_t::array: in get_and_create()
319 case detail::value_t::string: in get_and_create()
320 case detail::value_t::boolean: in get_and_create()
321 case detail::value_t::number_integer: in get_and_create()
322 case detail::value_t::number_unsigned: in get_and_create()
323 case detail::value_t::number_float: in get_and_create()
324 case detail::value_t in get_and_create()
[all...]
H A Dhash.hpp16 #include <nlohmann/detail/value_t.hpp>
51 case BasicJsonType::value_t::null: in hash()
52 case BasicJsonType::value_t::discarded: in hash()
57 case BasicJsonType::value_t::object: in hash()
69 case BasicJsonType::value_t::array: in hash()
79 case BasicJsonType::value_t::string: in hash()
85 case BasicJsonType::value_t::boolean: in hash()
91 case BasicJsonType::value_t::number_integer: in hash()
97 case BasicJsonType::value_t::number_unsigned: in hash()
103 case BasicJsonType::value_t in hash()
[all...]
H A Dvalue_t.hpp48 @sa see @ref basic_json::basic_json(const value_t value_type) -- create a JSON
53 enum class value_t : std::uint8_t class
81 inline std::partial_ordering operator<=>(const value_t lhs, const value_t rhs) noexcept // *NOPAD*
83 inline bool operator<(const value_t lhs, const value_t rhs) noexcept
111 inline bool operator<(const value_t lhs, const value_t rhs) noexcept
H A Dexceptions.hpp17 #include <nlohmann/detail/value_t.hpp>
71 case value_t::array: in diagnostics()
84 case value_t::object: in diagnostics()
97 case value_t::null: // LCOV_EXCL_LINE in diagnostics()
98 case value_t::string: // LCOV_EXCL_LINE in diagnostics()
99 case value_t::boolean: // LCOV_EXCL_LINE in diagnostics()
100 case value_t::number_integer: // LCOV_EXCL_LINE in diagnostics()
101 case value_t::number_unsigned: // LCOV_EXCL_LINE in diagnostics()
102 case value_t::number_float: // LCOV_EXCL_LINE in diagnostics()
103 case value_t in diagnostics()
[all...]
/third_party/json/docs/examples/
H A Doperator__value_t.cpp18 // call operator value_t() in main()
19 json::value_t t_null = j_null; in main()
20 json::value_t t_boolean = j_boolean; in main()
21 json::value_t t_number_integer = j_number_integer; in main()
22 json::value_t t_number_unsigned = j_number_unsigned; in main()
23 json::value_t t_number_float = j_number_float; in main()
24 json::value_t t_object = j_object; in main()
25 json::value_t t_array = j_array; in main()
26 json::value_t t_string = j_string; in main()
30 std::cout << (t_null == json::value_t in main()
[all...]
H A Dtype.cpp20 std::cout << (j_null.type() == json::value_t::null) << '\n'; in main()
21 std::cout << (j_boolean.type() == json::value_t::boolean) << '\n'; in main()
22 std::cout << (j_number_integer.type() == json::value_t::number_integer) << '\n'; in main()
23 std::cout << (j_number_unsigned.type() == json::value_t::number_unsigned) << '\n'; in main()
24 std::cout << (j_number_float.type() == json::value_t::number_float) << '\n'; in main()
25 std::cout << (j_object.type() == json::value_t::object) << '\n'; in main()
26 std::cout << (j_array.type() == json::value_t::array) << '\n'; in main()
27 std::cout << (j_string.type() == json::value_t::string) << '\n'; in main()
H A Dbasic_json__value_t.cpp9 json j_null(json::value_t::null); in main()
10 json j_boolean(json::value_t::boolean); in main()
11 json j_number_integer(json::value_t::number_integer); in main()
12 json j_number_float(json::value_t::number_float); in main()
13 json j_object(json::value_t::object); in main()
14 json j_array(json::value_t::array); in main()
15 json j_string(json::value_t::string); in main()
/third_party/json/include/nlohmann/
H A Djson.hpp60 #include <nlohmann/detail/value_t.hpp>
82 - If `m_type == value_t::object`, then `m_value.object != nullptr`.
83 - If `m_type == value_t::array`, then `m_value.array != nullptr`.
84 - If `m_type == value_t::string`, then `m_value.string != nullptr`.
98 template<detail::value_t> friend struct detail::external_constructor;
160 using value_t = detail::value_t;
403 defined in @ref value_t.
405 JSON type | value_t type | used type
453 json_value(value_t
892 basic_json(initializer_list_t init, bool type_deduction = true, value_t manual_type = value_t::array) basic_json() argument
[all...]
/third_party/json/tests/src/
H A Dunit-constructor1.cpp30 auto t = json::value_t::null;
37 auto t = json::value_t::discarded;
44 auto t = json::value_t::object;
51 auto t = json::value_t::array;
58 auto t = json::value_t::boolean;
66 auto t = json::value_t::string;
74 auto t = json::value_t::number_integer;
82 auto t = json::value_t::number_unsigned;
90 auto t = json::value_t::number_float;
98 auto t = json::value_t
[all...]
H A Dunit-conversions.cpp85 json(json::value_t::null).get<json::object_t>(),
88 json(json::value_t::array).get<json::object_t>(),
91 json(json::value_t::string).get<json::object_t>(),
93 CHECK_THROWS_WITH_AS(json(json::value_t::boolean).get<json::object_t>(),
97 json(json::value_t::number_integer).get<json::object_t>(),
100 json(json::value_t::number_unsigned).get<json::object_t>(),
103 json(json::value_t::number_float).get<json::object_t>(),
223 json(json::value_t::null).get<std::forward_list<json>>(),
233 json(json::value_t::null).get<std::vector<json>>(),
270 json(json::value_t
[all...]
H A Dunit-element_access2.cpp86 Json j_nonobject(Json::value_t::null);
99 Json j_nonobject(Json::value_t::boolean);
112 Json j_nonobject(Json::value_t::string);
125 Json j_nonobject(Json::value_t::array);
138 Json j_nonobject(Json::value_t::number_integer);
151 Json j_nonobject(Json::value_t::number_unsigned);
164 Json j_nonobject(Json::value_t::number_float);
277 Json j_nonobject(Json::value_t::null);
278 const Json j_nonobject_const(Json::value_t::null);
290 Json j_nonobject(Json::value_t
[all...]
H A Dunit-convenience.cpp111 CHECK(std::string(json(json::value_t::null).type_name()) == "null");
112 CHECK(std::string(json(json::value_t::object).type_name()) == "object");
113 CHECK(std::string(json(json::value_t::array).type_name()) == "array");
114 CHECK(std::string(json(json::value_t::number_integer).type_name()) == "number");
115 CHECK(std::string(json(json::value_t::number_unsigned).type_name()) == "number");
116 CHECK(std::string(json(json::value_t::number_float).type_name()) == "number");
117 CHECK(std::string(json(json::value_t::binary).type_name()) == "binary");
118 CHECK(std::string(json(json::value_t::boolean).type_name()) == "boolean");
119 CHECK(std::string(json(json::value_t::string).type_name()) == "string");
120 CHECK(std::string(json(json::value_t
[all...]
H A Dunit-element_access1.cpp57 json j_nonarray(json::value_t::null);
66 json j_nonarray(json::value_t::boolean);
75 json j_nonarray(json::value_t::string);
84 json j_nonarray(json::value_t::object);
93 json j_nonarray(json::value_t::number_integer);
102 json j_nonarray(json::value_t::number_unsigned);
111 json j_nonarray(json::value_t::number_float);
157 json j_nonarray(json::value_t::null);
173 json j_nonarray(json::value_t::boolean);
181 json j_nonarray(json::value_t
[all...]
H A Dunit-inspection.cpp168 json j(json::value_t::binary);
186 json j(json::value_t::discarded);
302 json j_discarded(json::value_t::discarded);
348 CHECK(j.type() == json::value_t::null);
354 CHECK(j.type() == json::value_t::object);
360 CHECK(j.type() == json::value_t::array);
366 CHECK(j.type() == json::value_t::boolean);
372 CHECK(j.type() == json::value_t::string);
378 CHECK(j.type() == json::value_t::number_integer);
384 CHECK(j.type() == json::value_t
[all...]
H A Dunit-modifiers.cpp25 CHECK(j == json(json::value_t::boolean));
35 CHECK(j == json(json::value_t::string));
48 CHECK(j == json(json::value_t::array));
59 CHECK(j == json(json::value_t::array));
73 CHECK(j == json(json::value_t::object));
84 CHECK(j == json(json::value_t::object));
98 CHECK(j == json(json::value_t::binary));
109 CHECK(j == json(json::value_t::binary));
120 CHECK(j == json(json::value_t::number_integer));
130 CHECK(j == json(json::value_t
[all...]
H A Dunit-class_const_iterator.cpp23 json j(json::value_t::null);
29 json j(json::value_t::object);
35 json j(json::value_t::array);
42 json j(json::value_t::null);
71 json j(json::value_t::null);
79 json j(json::value_t::object);
87 json j(json::value_t::array);
98 json j(json::value_t::null);
106 json j(json::value_t::object);
114 json j(json::value_t
[all...]
H A Dunit-class_iterator.cpp29 json j(json::value_t::null);
35 json j(json::value_t::object);
41 json j(json::value_t::array);
48 json j(json::value_t::null);
61 json j(json::value_t::null);
69 json j(json::value_t::object);
77 json j(json::value_t::array);
88 json j(json::value_t::null);
96 json j(json::value_t::object);
104 json j(json::value_t
[all...]
/third_party/json/include/nlohmann/detail/conversions/
H A Dto_json.hpp25 #include <nlohmann/detail/value_t.hpp>
42 template<value_t> struct external_constructor;
45 struct external_constructor<value_t::boolean>
51 j.m_type = value_t::boolean;
58 struct external_constructor<value_t::string>
64 j.m_type = value_t::string; in construct()
73 j.m_type = value_t::string; in construct()
84 j.m_type = value_t::string; in construct()
91 struct external_constructor<value_t::binary>
97 j.m_type = value_t in construct()
[all...]
H A Dfrom_json.hpp30 #include <nlohmann/detail/value_t.hpp>
53 switch (static_cast<value_t>(j)) in get_arithmetic_value()
55 case value_t::number_unsigned: in get_arithmetic_value()
60 case value_t::number_integer: in get_arithmetic_value()
65 case value_t::number_float: in get_arithmetic_value()
71 case value_t::null: in get_arithmetic_value()
72 case value_t::object: in get_arithmetic_value()
73 case value_t::array: in get_arithmetic_value()
74 case value_t::string: in get_arithmetic_value()
75 case value_t in get_arithmetic_value()
[all...]
/third_party/json/tests/abi/include/nlohmann/
H A Djson_v3_10_5.hpp89 // #include <nlohmann/detail/value_t.hpp>
124 @sa see @ref basic_json::basic_json(const value_t value_type) -- create a JSON
129 enum class value_t : std::uint8_t class
156 inline bool operator<(const value_t lhs, const value_t rhs) noexcept
2268 using value_t = std::false_type;
2275 using value_t = std::true_type;
2280 using is_detected = typename detector<nonesuch, void, Op, Args...>::value_t;
2838 case value_t::array: in diagnostics()
2851 case value_t in diagnostics()
[all...]
/third_party/json/include/nlohmann/detail/output/
H A Dbinary_writer.hpp58 @pre j.type() == value_t::object
64 case value_t::object: in write_bson()
70 case value_t::null: in write_bson()
71 case value_t::array: in write_bson()
72 case value_t::string: in write_bson()
73 case value_t::boolean: in write_bson()
74 case value_t::number_integer: in write_bson()
75 case value_t::number_unsigned: in write_bson()
76 case value_t::number_float: in write_bson()
77 case value_t in write_bson()
[all...]
/third_party/cups-filters/filter/pdftopdf/
H A Dintervalset.h9 typedef std::pair<key_t,key_t> value_t; typedef in IntervalSet
10 typedef std::vector<value_t> data_t;
28 bool intersect(const value_t &a,const value_t &b) const;
29 void unite(value_t &aret,const value_t &b) const;
/third_party/json/single_include/nlohmann/
H A Djson.hpp190 // #include <nlohmann/detail/value_t.hpp>
280 using value_t = std::false_type;
287 using value_t = std::true_type;
292 using is_detected = typename detector<nonesuch, void, Op, Args...>::value_t;
2851 @sa see @ref basic_json::basic_json(const value_t value_type) -- create a JSON
2856 enum class value_t : std::uint8_t class
2884 inline std::partial_ordering operator<=>(const value_t lhs, const value_t rhs) noexcept // *NOPAD*
2886 inline bool operator<(const value_t lhs, const value_t rh
[all...]

Completed in 24 milliseconds

123