Home
last modified time | relevance | path

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

123456

/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/include/nlohmann/detail/conversions/
Dto_json.hpp25 template<value_t> struct external_constructor;
28 struct external_constructor<value_t::boolean>
33 j.m_type = value_t::boolean; in construct()
40 struct external_constructor<value_t::string>
45 j.m_type = value_t::string; in construct()
53 j.m_type = value_t::string; in construct()
63 j.m_type = value_t::string; in construct()
70 struct external_constructor<value_t::binary>
75 j.m_type = value_t::binary; in construct()
84 j.m_type = value_t::binary; in construct()
[all …]
/third_party/json/test/src/
Dunit-constructor1.cpp53 auto t = json::value_t::null;
60 auto t = json::value_t::discarded;
67 auto t = json::value_t::object;
74 auto t = json::value_t::array;
81 auto t = json::value_t::boolean;
89 auto t = json::value_t::string;
97 auto t = json::value_t::number_integer;
105 auto t = json::value_t::number_unsigned;
113 auto t = json::value_t::number_float;
121 auto t = json::value_t::binary;
[all …]
Dunit-conversions.cpp105 CHECK_THROWS_AS(json(json::value_t::null).get<json::object_t>(),
107 CHECK_THROWS_AS(json(json::value_t::array).get<json::object_t>(),
109 CHECK_THROWS_AS(json(json::value_t::string).get<json::object_t>(),
111 CHECK_THROWS_AS(json(json::value_t::boolean).get<json::object_t>(),
113 CHECK_THROWS_AS(json(json::value_t::number_integer).get<json::object_t>(),
116 json(json::value_t::number_unsigned).get<json::object_t>(),
118 CHECK_THROWS_AS(json(json::value_t::number_float).get<json::object_t>(),
122 json(json::value_t::null).get<json::object_t>(),
125 json(json::value_t::array).get<json::object_t>(),
128 json(json::value_t::string).get<json::object_t>(),
[all …]
Dunit-convenience.cpp55 CHECK(std::string(json(json::value_t::null).type_name()) == "null");
56 CHECK(std::string(json(json::value_t::object).type_name()) == "object");
57 CHECK(std::string(json(json::value_t::array).type_name()) == "array");
58 CHECK(std::string(json(json::value_t::number_integer).type_name()) == "number");
59 CHECK(std::string(json(json::value_t::number_unsigned).type_name()) == "number");
60 CHECK(std::string(json(json::value_t::number_float).type_name()) == "number");
61 CHECK(std::string(json(json::value_t::binary).type_name()) == "binary");
62 CHECK(std::string(json(json::value_t::boolean).type_name()) == "boolean");
63 CHECK(std::string(json(json::value_t::string).type_name()) == "string");
64 CHECK(std::string(json(json::value_t::discarded).type_name()) == "discarded");
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);
216 json j_nonobject(json::value_t::boolean);
228 json j_nonobject(json::value_t::string);
[all …]
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 …]
/third_party/json/include/nlohmann/
Djson.hpp172 template<detail::value_t> friend struct detail::external_constructor;
226 using value_t = detail::value_t; typedef in nlohmann::basic_json
992 json_value(value_t t) in json_value()
996 case value_t::object: in json_value()
1002 case value_t::array: in json_value()
1008 case value_t::string: in json_value()
1014 case value_t::binary: in json_value()
1020 case value_t::boolean: in json_value()
1026 case value_t::number_integer: in json_value()
1032 case value_t::number_unsigned: in json_value()
[all …]
/third_party/json/include/nlohmann/detail/iterators/
Diter_impl.hpp91 case value_t::object: in iter_impl()
97 case value_t::array: in iter_impl()
177 case value_t::object: in set_begin()
183 case value_t::array: in set_begin()
189 case value_t::null: in set_begin()
214 case value_t::object: in set_end()
220 case value_t::array: in set_end()
245 case value_t::object: in operator *()
251 case value_t::array: in operator *()
257 case value_t::null: in operator *()
[all …]
/third_party/boost/boost/gil/extension/toolbox/color_spaces/
Dhsv.hpp31 struct value_t {}; struct
40 hsv_color_space::value_t
116 get_color( dst, value_t() ) = value; in operator ()()
136 red = get_color( src, value_t() ); in operator ()()
137 green = get_color( src, value_t() ); in operator ()()
138 blue = get_color( src, value_t() ); in operator ()()
153 p = get_color( src, value_t() ) in operator ()()
156 q = get_color( src, value_t() ) in operator ()()
159 t = get_color( src, value_t() ) in operator ()()
166 red = get_color( src, value_t() ); in operator ()()
[all …]
/third_party/boost/libs/range/test/adaptor_test/
Dadjacent_filtered.cpp32 typedef BOOST_DEDUCED_TYPENAME Container::value_type value_t; in adjacent_filtered_test_impl() typedef
35 std::vector< value_t > test_result1 in adjacent_filtered_test_impl()
36 = boost::copy_range< std::vector< value_t > >( in adjacent_filtered_test_impl()
37 c | adjacent_filtered(std::not_equal_to< value_t >())); in adjacent_filtered_test_impl()
40 std::vector< value_t > test_result2 in adjacent_filtered_test_impl()
41 = boost::copy_range< std::vector< value_t > >( in adjacent_filtered_test_impl()
42 adaptors::adjacent_filter(c, std::not_equal_to< value_t >())); in adjacent_filtered_test_impl()
45 std::vector< value_t > reference_result; in adjacent_filtered_test_impl()
47 value_t prev_v = value_t(); in adjacent_filtered_test_impl()
/third_party/json/include/nlohmann/detail/
Dhash.hpp40 case BasicJsonType::value_t::null: in hash()
41 case BasicJsonType::value_t::discarded: in hash()
46 case BasicJsonType::value_t::object: in hash()
58 case BasicJsonType::value_t::array: in hash()
68 case BasicJsonType::value_t::string: in hash()
74 case BasicJsonType::value_t::boolean: in hash()
80 case BasicJsonType::value_t::number_integer: in hash()
86 case nlohmann::detail::value_t::number_unsigned: in hash()
92 case nlohmann::detail::value_t::number_float: in hash()
98 case nlohmann::detail::value_t::binary: in hash()
Djson_pointer.hpp408 case detail::value_t::null: in get_and_create()
423 case detail::value_t::object: in get_and_create()
430 case detail::value_t::array: in get_and_create()
487 ? detail::value_t::array in get_unchecked()
488 : detail::value_t::object; in get_unchecked()
493 case detail::value_t::object: in get_unchecked()
500 case detail::value_t::array: in get_unchecked()
535 case detail::value_t::object: in get_checked()
542 case detail::value_t::array: in get_checked()
584 case detail::value_t::object: in get_unchecked()
[all …]
/third_party/boost/libs/range/test/algorithm_test/
Dinplace_merge.cpp29 typedef BOOST_DEDUCED_TYPENAME Container1::value_type value_t; in test() typedef
31 typedef BOOST_DEDUCED_TYPENAME std::vector<value_t>::iterator in test()
34 std::vector<value_t> reference_target(cont1.begin(), cont1.end()); in test()
38 std::vector<value_t> test_target(reference_target); in test()
39 std::vector<value_t> test_target2(reference_target); in test()
65 typedef BOOST_DEDUCED_TYPENAME Container::value_type value_t; in sort_container() typedef
67 std::vector<value_t> temp(cont.begin(), cont.end()); in sort_container()
77 typedef BOOST_DEDUCED_TYPENAME Container1::value_type value_t; in test_pred() typedef
78 typedef BOOST_DEDUCED_TYPENAME std::vector<value_t>::iterator in test_pred()
84 std::vector<value_t> reference_target(cont1.begin(), cont1.end()); in test_pred()
[all …]
Dlexicographical_compare.cpp66 typedef BOOST_DEDUCED_TYPENAME boost::range_value<Container1>::type value_t; in test_lexicographical_compare_impl() typedef
69 test_lexicographical_compare_impl_pred(cont1, cont2, std::less<value_t>()); in test_lexicographical_compare_impl()
70 test_lexicographical_compare_impl_pred(cont1, cont2, std::greater<value_t>()); in test_lexicographical_compare_impl()
125 typedef BOOST_DEDUCED_TYPENAME range_value<Container1>::type value_t; in test_lexicographical_compare_rhs() typedef
127 test_lexicographical_compare_impl<Container1, const std::vector<value_t> >(); in test_lexicographical_compare_rhs()
128 test_lexicographical_compare_impl<Container1, const std::deque<value_t> >(); in test_lexicographical_compare_rhs()
129 test_lexicographical_compare_impl<Container1, const std::list<value_t> >(); in test_lexicographical_compare_rhs()
130 test_lexicographical_compare_impl<Container1, std::vector<value_t> >(); in test_lexicographical_compare_rhs()
131 test_lexicographical_compare_impl<Container1, std::deque<value_t> >(); in test_lexicographical_compare_rhs()
132 test_lexicographical_compare_impl<Container1, std::list<value_t> >(); in test_lexicographical_compare_rhs()
Dset_union.cpp48 typedef BOOST_DEDUCED_TYPENAME Container1::value_type value_t; in test() typedef
49 typedef BOOST_DEDUCED_TYPENAME std::vector<value_t>::iterator iterator_t; in test()
51 std::vector<value_t> reference(cont1.size() + cont2.size()); in test()
52 std::vector<value_t> test_cont(reference); in test()
89 typedef BOOST_DEDUCED_TYPENAME Container::value_type value_t; in sort_container() typedef
91 std::vector<value_t> temp(cont.begin(), cont.end()); in sort_container()
102 typedef BOOST_DEDUCED_TYPENAME Container1::value_type value_t; in test_pred() typedef
103 typedef BOOST_DEDUCED_TYPENAME std::vector<value_t>::iterator iterator_t; in test_pred()
108 std::vector<value_t> reference(cont1.size() + cont2.size()); in test_pred()
109 std::vector<value_t> test_cont(reference); in test_pred()
Dset_symmetric_difference.cpp48 typedef BOOST_DEDUCED_TYPENAME Container1::value_type value_t; in test() typedef
49 typedef BOOST_DEDUCED_TYPENAME std::vector<value_t>::iterator iterator_t; in test()
51 std::vector<value_t> reference(cont1.size() + cont2.size()); in test()
52 std::vector<value_t> test_cont(reference); in test()
92 typedef BOOST_DEDUCED_TYPENAME Container::value_type value_t; in sort_container() typedef
94 std::vector<value_t> temp(cont.begin(), cont.end()); in sort_container()
105 typedef BOOST_DEDUCED_TYPENAME Container1::value_type value_t; in test_pred() typedef
106 typedef BOOST_DEDUCED_TYPENAME std::vector<value_t>::iterator iterator_t; in test_pred()
111 std::vector<value_t> reference(cont1.size() + cont2.size()); in test_pred()
112 std::vector<value_t> test_cont(reference); in test_pred()
Dset_difference.cpp48 typedef BOOST_DEDUCED_TYPENAME Container1::value_type value_t; in test() typedef
49 typedef BOOST_DEDUCED_TYPENAME std::vector<value_t>::iterator iterator_t; in test()
51 std::vector<value_t> reference(cont1.size() + cont2.size()); in test()
52 std::vector<value_t> test_cont(reference); in test()
91 typedef BOOST_DEDUCED_TYPENAME Container::value_type value_t; in sort_container() typedef
93 std::vector<value_t> temp(cont.begin(), cont.end()); in sort_container()
104 typedef BOOST_DEDUCED_TYPENAME Container1::value_type value_t; in test_pred() typedef
105 typedef BOOST_DEDUCED_TYPENAME std::vector<value_t>::iterator iterator_t; in test_pred()
110 std::vector<value_t> reference(cont1.size() + cont2.size()); in test_pred()
111 std::vector<value_t> test_cont(reference); in test_pred()
Dset_intersection.cpp48 typedef BOOST_DEDUCED_TYPENAME Container1::value_type value_t; in test() typedef
49 typedef BOOST_DEDUCED_TYPENAME std::vector<value_t>::iterator iterator_t; in test()
51 std::vector<value_t> reference(cont1.size() + cont2.size()); in test()
52 std::vector<value_t> test_cont(reference); in test()
91 typedef BOOST_DEDUCED_TYPENAME Container::value_type value_t; in sort_container() typedef
93 std::vector<value_t> temp(cont.begin(), cont.end()); in sort_container()
104 typedef BOOST_DEDUCED_TYPENAME Container1::value_type value_t; in test_pred() typedef
105 typedef BOOST_DEDUCED_TYPENAME std::vector<value_t>::iterator iterator_t; in test_pred()
110 std::vector<value_t> reference(cont1.size() + cont2.size()); in test_pred()
111 std::vector<value_t> test_cont(reference); in test_pred()
/third_party/json/include/nlohmann/detail/output/
Dbinary_writer.hpp52 case value_t::object: in write_bson()
72 case value_t::null: in write_cbor()
78 case value_t::boolean: in write_cbor()
86 case value_t::number_integer: in write_cbor()
151 case value_t::number_unsigned: in write_cbor()
180 case value_t::number_float: in write_cbor()
203 case value_t::string: in write_cbor()
241 case value_t::array: in write_cbor()
280 case value_t::binary: in write_cbor()
325 case value_t::object: in write_cbor()
[all …]
/third_party/boost/libs/geometry/index/test/rtree/
Drtree_non_cartesian.cpp34 typedef typename Rtree::value_type value_t; in test_rtree() typedef
37 value_t v; in test_rtree()
55 std::vector<value_t> res; in test_rtree()
71 std::vector<value_t> res; in test_rtree()
114 typedef std::pair<Point, unsigned> value_t; in test_cs() typedef
115 test_ticket_12413<bgi::rtree<value_t, bgi::linear<4> > >(); in test_cs()
116 test_ticket_12413<bgi::rtree<value_t, bgi::quadratic<4> > >(); in test_cs()
117 test_ticket_12413<bgi::rtree<value_t, bgi::rstar<4> > >(); in test_cs()

123456