Home
last modified time | relevance | path

Searched refs:value_t (Results 1 – 25 of 90) sorted by relevance

1234

/third_party/json/include/nlohmann/detail/iterators/
Diter_impl.hpp95 case value_t::object: in iter_impl()
101 case value_t::array: in iter_impl()
107 case value_t::null: in iter_impl()
108 case value_t::string: in iter_impl()
109 case value_t::boolean: in iter_impl()
110 case value_t::number_integer: in iter_impl()
111 case value_t::number_unsigned: in iter_impl()
112 case value_t::number_float: in iter_impl()
113 case value_t::binary: in iter_impl()
114 case value_t::discarded: in iter_impl()
[all …]
Diteration_proxy.hpp85 case value_t::array: in key()
96 case value_t::object: in key()
100 case value_t::null: in key()
101 case value_t::string: in key()
102 case value_t::boolean: in key()
103 case value_t::number_integer: in key()
104 case value_t::number_unsigned: in key()
105 case value_t::number_float: in key()
106 case value_t::binary: in key()
107 case value_t::discarded: in key()
/third_party/json/include/nlohmann/detail/
Djson_pointer.hpp409 case detail::value_t::null: in get_and_create()
424 case detail::value_t::object: in get_and_create()
431 case detail::value_t::array: in get_and_create()
444 case detail::value_t::string: in get_and_create()
445 case detail::value_t::boolean: in get_and_create()
446 case detail::value_t::number_integer: in get_and_create()
447 case detail::value_t::number_unsigned: in get_and_create()
448 case detail::value_t::number_float: in get_and_create()
449 case detail::value_t::binary: in get_and_create()
450 case detail::value_t::discarded: in get_and_create()
[all …]
Dhash.hpp44 case BasicJsonType::value_t::null: in hash()
45 case BasicJsonType::value_t::discarded: in hash()
50 case BasicJsonType::value_t::object: in hash()
62 case BasicJsonType::value_t::array: in hash()
72 case BasicJsonType::value_t::string: in hash()
78 case BasicJsonType::value_t::boolean: in hash()
84 case BasicJsonType::value_t::number_integer: in hash()
90 case BasicJsonType::value_t::number_unsigned: in hash()
96 case BasicJsonType::value_t::number_float: in hash()
102 case BasicJsonType::value_t::binary: in hash()
Dexceptions.hpp79 case value_t::array: in diagnostics()
92 case value_t::object: in diagnostics()
105 case value_t::null: // LCOV_EXCL_LINE in diagnostics()
106 case value_t::string: // LCOV_EXCL_LINE in diagnostics()
107 case value_t::boolean: // LCOV_EXCL_LINE in diagnostics()
108 case value_t::number_integer: // LCOV_EXCL_LINE in diagnostics()
109 case value_t::number_unsigned: // LCOV_EXCL_LINE in diagnostics()
110 case value_t::number_float: // LCOV_EXCL_LINE in diagnostics()
111 case value_t::binary: // LCOV_EXCL_LINE in diagnostics()
112 case value_t::discarded: // LCOV_EXCL_LINE in diagnostics()
/third_party/json/include/nlohmann/
Djson.hpp179 template<detail::value_t> friend struct detail::external_constructor;
237 using value_t = detail::value_t; typedef in nlohmann::basic_json
1004 json_value(value_t t) in json_value()
1008 case value_t::object: in json_value()
1014 case value_t::array: in json_value()
1020 case value_t::string: in json_value()
1026 case value_t::binary: in json_value()
1032 case value_t::boolean: in json_value()
1038 case value_t::number_integer: in json_value()
1044 case value_t::number_unsigned: in json_value()
[all …]
/third_party/json/doc/examples/
Doperator__value_t.cpp19 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::null) << '\n'; in main()
31 std::cout << (t_boolean == json::value_t::boolean) << '\n'; in main()
[all …]
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()
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/doc/mkdocs/docs/api/basic_json/
Doperator_value_t.md1 # basic_json::operator value_t
4 constexpr operator value_t() const noexcept;
7 Return the type of the JSON value as a value from the [`value_t`](value_t.md) enumeration.
15 `#!json null` | `value_t::null`
16 boolean | `value_t::boolean`
17 string | `value_t::string`
18 number (integer) | `value_t::number_integer`
19 number (unsigned integer) | `value_t::number_unsigned`
20 number (floating-point) | `value_t::number_float`
21 object | `value_t::object`
[all …]
Dtype.md4 constexpr value_t type() const noexcept;
7 Return the type of the JSON value as a value from the [`value_t`](value_t.md) enumeration.
15 `#!json null` | `value_t::null`
16 boolean | `value_t::boolean`
17 string | `value_t::string`
18 number (integer) | `value_t::number_integer`
19 number (unsigned integer) | `value_t::number_unsigned`
20 number (floating-point) | `value_t::number_float`
21 object | `value_t::object`
22 array | `value_t::array`
[all …]
/third_party/json/include/nlohmann/detail/conversions/
Dto_json.hpp32 template<value_t> struct external_constructor;
35 struct external_constructor<value_t::boolean>
41 j.m_type = value_t::boolean; in construct()
48 struct external_constructor<value_t::string>
54 j.m_type = value_t::string; in construct()
63 j.m_type = value_t::string; in construct()
74 j.m_type = value_t::string; in construct()
81 struct external_constructor<value_t::binary>
87 j.m_type = value_t::binary; in construct()
96 j.m_type = value_t::binary; in construct()
[all …]
Dfrom_json.hpp43 switch (static_cast<value_t>(j)) in get_arithmetic_value()
45 case value_t::number_unsigned: in get_arithmetic_value()
50 case value_t::number_integer: in get_arithmetic_value()
55 case value_t::number_float: in get_arithmetic_value()
61 case value_t::null: in get_arithmetic_value()
62 case value_t::object: in get_arithmetic_value()
63 case value_t::array: in get_arithmetic_value()
64 case value_t::string: in get_arithmetic_value()
65 case value_t::boolean: in get_arithmetic_value()
66 case value_t::binary: in get_arithmetic_value()
[all …]
/third_party/json/test/src/
Dunit-constructor1.cpp51 auto t = json::value_t::null;
58 auto t = json::value_t::discarded;
65 auto t = json::value_t::object;
72 auto t = json::value_t::array;
79 auto t = json::value_t::boolean;
87 auto t = json::value_t::string;
95 auto t = json::value_t::number_integer;
103 auto t = json::value_t::number_unsigned;
111 auto t = json::value_t::number_float;
119 auto t = json::value_t::binary;
[all …]
Dunit-element_access2.cpp79 json j_nonobject(json::value_t::null);
89 json j_nonobject(json::value_t::boolean);
99 json j_nonobject(json::value_t::string);
109 json j_nonobject(json::value_t::array);
119 json j_nonobject(json::value_t::number_integer);
129 json j_nonobject(json::value_t::number_unsigned);
139 json j_nonobject(json::value_t::number_float);
204 json j_nonobject(json::value_t::null);
205 const json j_nonobject_const(json::value_t::null);
216 json j_nonobject(json::value_t::boolean);
[all …]
Dunit-conversions.cpp104 CHECK_THROWS_AS(json(json::value_t::null).get<json::object_t>(),
106 CHECK_THROWS_AS(json(json::value_t::array).get<json::object_t>(),
108 CHECK_THROWS_AS(json(json::value_t::string).get<json::object_t>(),
110 CHECK_THROWS_AS(json(json::value_t::boolean).get<json::object_t>(),
112 CHECK_THROWS_AS(json(json::value_t::number_integer).get<json::object_t>(),
115 json(json::value_t::number_unsigned).get<json::object_t>(),
117 CHECK_THROWS_AS(json(json::value_t::number_float).get<json::object_t>(),
121 json(json::value_t::null).get<json::object_t>(),
124 json(json::value_t::array).get<json::object_t>(),
127 json(json::value_t::string).get<json::object_t>(),
[all …]
Dunit-convenience.cpp54 CHECK(std::string(json(json::value_t::null).type_name()) == "null");
55 CHECK(std::string(json(json::value_t::object).type_name()) == "object");
56 CHECK(std::string(json(json::value_t::array).type_name()) == "array");
57 CHECK(std::string(json(json::value_t::number_integer).type_name()) == "number");
58 CHECK(std::string(json(json::value_t::number_unsigned).type_name()) == "number");
59 CHECK(std::string(json(json::value_t::number_float).type_name()) == "number");
60 CHECK(std::string(json(json::value_t::binary).type_name()) == "binary");
61 CHECK(std::string(json(json::value_t::boolean).type_name()) == "boolean");
62 CHECK(std::string(json(json::value_t::string).type_name()) == "string");
63 CHECK(std::string(json(json::value_t::discarded).type_name()) == "discarded");
Dunit-comparison.cpp39 template <typename A, typename B, typename U = std::less<json::value_t>>
50 std::vector<json::value_t> j_types =
52 json::value_t::null,
53 json::value_t::boolean,
54 json::value_t::number_integer,
55 json::value_t::number_unsigned,
56 json::value_t::number_float,
57 json::value_t::object,
58 json::value_t::array,
59 json::value_t::string,
[all …]
Dunit-element_access1.cpp80 json j_nonarray(json::value_t::null);
91 json j_nonarray(json::value_t::boolean);
102 json j_nonarray(json::value_t::string);
113 json j_nonarray(json::value_t::object);
124 json j_nonarray(json::value_t::number_integer);
135 json j_nonarray(json::value_t::number_unsigned);
146 json j_nonarray(json::value_t::number_float);
194 json j_nonarray(json::value_t::null);
211 json j_nonarray(json::value_t::boolean);
221 json j_nonarray(json::value_t::string);
[all …]
Dunit-inspection.cpp189 json j(json::value_t::binary);
207 json j(json::value_t::discarded);
323 json j_discarded(json::value_t::discarded);
369 CHECK(j.type() == json::value_t::null);
375 CHECK(j.type() == json::value_t::object);
381 CHECK(j.type() == json::value_t::array);
387 CHECK(j.type() == json::value_t::boolean);
393 CHECK(j.type() == json::value_t::string);
399 CHECK(j.type() == json::value_t::number_integer);
405 CHECK(j.type() == json::value_t::number_unsigned);
[all …]
Dunit-modifiers.cpp45 CHECK(j == json(json::value_t::boolean));
55 CHECK(j == json(json::value_t::string));
68 CHECK(j == json(json::value_t::array));
79 CHECK(j == json(json::value_t::array));
93 CHECK(j == json(json::value_t::object));
104 CHECK(j == json(json::value_t::object));
118 CHECK(j == json(json::value_t::binary));
129 CHECK(j == json(json::value_t::binary));
140 CHECK(j == json(json::value_t::number_integer));
150 CHECK(j == json(json::value_t::number_integer));
[all …]
Dunit-class_iterator.cpp44 json j(json::value_t::null);
50 json j(json::value_t::object);
56 json j(json::value_t::array);
63 json j(json::value_t::null);
76 json j(json::value_t::null);
84 json j(json::value_t::object);
92 json j(json::value_t::array);
103 json j(json::value_t::null);
111 json j(json::value_t::object);
119 json j(json::value_t::array);
[all …]
/third_party/json/include/nlohmann/detail/output/
Dbinary_writer.hpp53 case value_t::object: in write_bson()
59 case value_t::null: in write_bson()
60 case value_t::array: in write_bson()
61 case value_t::string: in write_bson()
62 case value_t::boolean: in write_bson()
63 case value_t::number_integer: in write_bson()
64 case value_t::number_unsigned: in write_bson()
65 case value_t::number_float: in write_bson()
66 case value_t::binary: in write_bson()
67 case value_t::discarded: in write_bson()
[all …]
/third_party/json/single_include/nlohmann/
Djson.hpp120 enum class value_t : std::uint8_t enum
147 inline bool operator<(const value_t lhs, const value_t rhs) noexcept in operator <()
2675 case value_t::array: in diagnostics()
2688 case value_t::object: in diagnostics()
2701 case value_t::null: // LCOV_EXCL_LINE in diagnostics()
2702 case value_t::string: // LCOV_EXCL_LINE in diagnostics()
2703 case value_t::boolean: // LCOV_EXCL_LINE in diagnostics()
2704 case value_t::number_integer: // LCOV_EXCL_LINE in diagnostics()
2705 case value_t::number_unsigned: // LCOV_EXCL_LINE in diagnostics()
2706 case value_t::number_float: // LCOV_EXCL_LINE in diagnostics()
[all …]
/third_party/cups-filters/filter/pdftopdf/
Dintervalset.h9 typedef std::pair<key_t,key_t> value_t; typedef
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;

1234