Home
last modified time | relevance | path

Searched refs:boolean_t (Results 1 – 13 of 13) sorted by relevance

/third_party/json/test/src/
Dunit-reference_access.cpp75 CHECK_THROWS_AS(value.get_ref<json::boolean_t&>(), json::type_error&);
76 CHECK_THROWS_WITH(value.get_ref<json::boolean_t&>(),
125 CHECK_THROWS_AS(value.get_ref<json::boolean_t&>(), json::type_error&);
126 CHECK_THROWS_WITH(value.get_ref<json::boolean_t&>(),
161 CHECK_THROWS_AS(value.get_ref<json::boolean_t&>(), json::type_error&);
162 CHECK_THROWS_WITH(value.get_ref<json::boolean_t&>(),
177 using test_type = json::boolean_t;
199 CHECK_NOTHROW(value.get_ref<json::boolean_t&>());
235 CHECK_THROWS_AS(value.get_ref<json::boolean_t&>(), json::type_error&);
236 CHECK_THROWS_WITH(value.get_ref<json::boolean_t&>(),
[all …]
Dunit-pointer_access.cpp59 CHECK(value.get_ptr<json::boolean_t*>() == nullptr);
88 CHECK(value.get_ptr<const json::boolean_t*>() == nullptr);
117 CHECK(value.get_ptr<json::boolean_t*>() == nullptr);
146 CHECK(value.get_ptr<const json::boolean_t*>() == nullptr);
175 CHECK(value.get_ptr<json::boolean_t*>() == nullptr);
204 CHECK(value.get_ptr<const json::boolean_t*>() == nullptr);
213 using test_type = json::boolean_t;
233 CHECK(value.get_ptr<json::boolean_t*>() != nullptr);
242 using test_type = const json::boolean_t;
262 CHECK(value.get_ptr<const json::boolean_t*>() != nullptr);
[all …]
Dunit-conversions.cpp636 json::boolean_t b_reference{true};
641 json::boolean_t b = j.get<json::boolean_t>();
659 CHECK_THROWS_AS(json(json::value_t::null).get<json::boolean_t>(),
661 CHECK_THROWS_AS(json(json::value_t::object).get<json::boolean_t>(),
663 CHECK_THROWS_AS(json(json::value_t::array).get<json::boolean_t>(),
665 CHECK_THROWS_AS(json(json::value_t::string).get<json::boolean_t>(),
670 json(json::value_t::number_integer).get<json::boolean_t>(),
673 json(json::value_t::number_unsigned).get<json::boolean_t>(),
675 CHECK_THROWS_AS(json(json::value_t::number_float).get<json::boolean_t>(),
679 json(json::value_t::null).get<json::boolean_t>(),
[all …]
Dunit-constructor1.cpp466 json::boolean_t b{};
/third_party/selinux/libselinux/src/
Daudit2why.c33 struct boolean_t { struct
38 static struct boolean_t **boollist = NULL; argument
57 boollist[boolcnt] = malloc(sizeof(struct boolean_t)); in load_booleans()
64 static int check_booleans(struct boolean_t **bools) in check_booleans()
151 *bools = calloc(sizeof(struct boolean_t), fcnt + 1); in check_booleans()
152 struct boolean_t *b = *bools; in check_booleans()
317 struct boolean_t *bools; in analyze()
396 struct boolean_t *b = bools; in analyze()
/third_party/json/include/nlohmann/detail/conversions/
Dfrom_json.hpp38 !std::is_same<ArithmeticType, typename BasicJsonType::boolean_t>::value,
66 void from_json(const BasicJsonType& j, typename BasicJsonType::boolean_t& b) in from_json()
72 b = *j.template get_ptr<const typename BasicJsonType::boolean_t*>(); in from_json()
294 !std::is_same<ArithmeticType, typename BasicJsonType::boolean_t>::value,
317 …val = static_cast<ArithmeticType>(*j.template get_ptr<const typename BasicJsonType::boolean_t*>()); in from_json()
Dto_json.hpp31 static void construct(BasicJsonType& j, typename BasicJsonType::boolean_t b) noexcept in construct()
223 enable_if_t<std::is_same<T, typename BasicJsonType::boolean_t>::value, int> = 0>
/third_party/json/doc/mkdocs/docs/features/
Dtypes.md41 boolean_t boolean
55 + <u>typedef</u> boolean_t
98 using boolean_t = BooleanType;
218 With the default values for *BooleanType* (`#!cpp bool`), the default value for `boolean_t` is `#!c…
/third_party/json/include/nlohmann/
Djson.hpp628 using boolean_t = BooleanType; typedef in nlohmann::basic_json
973 boolean_t boolean;
984 json_value(boolean_t v) noexcept : boolean(v) {} in json_value()
1022 boolean = boolean_t(false); in json_value()
1478 using other_boolean_t = typename BasicJsonType::boolean_t; in basic_json()
2695 boolean_t get_impl(boolean_t* /*unused*/) const in get_impl()
2742 boolean_t* get_impl_ptr(boolean_t* /*unused*/) noexcept in get_impl_ptr() argument
2748 constexpr const boolean_t* get_impl_ptr(const boolean_t* /*unused*/) const noexcept in get_impl_ptr()
/third_party/json/doc/mkdocs/docs/api/basic_json/
Dindex.md81 - boolean_t
/third_party/json/single_include/nlohmann/
Djson.hpp3438 !std::is_same<ArithmeticType, typename BasicJsonType::boolean_t>::value,
3466 void from_json(const BasicJsonType& j, typename BasicJsonType::boolean_t& b) in from_json()
3472 b = *j.template get_ptr<const typename BasicJsonType::boolean_t*>(); in from_json()
3694 !std::is_same<ArithmeticType, typename BasicJsonType::boolean_t>::value,
3717 …val = static_cast<ArithmeticType>(*j.template get_ptr<const typename BasicJsonType::boolean_t*>()); in from_json()
4020 static void construct(BasicJsonType& j, typename BasicJsonType::boolean_t b) noexcept in construct()
4212 enable_if_t<std::is_same<T, typename BasicJsonType::boolean_t>::value, int> = 0>
17116 using boolean_t = BooleanType; typedef in nlohmann::basic_json
17461 boolean_t boolean;
17472 json_value(boolean_t v) noexcept : boolean(v) {} in json_value()
[all …]
/third_party/json/doc/
Dindex.md67 - @link nlohmann::basic_json::boolean_t booleans @endlink
/third_party/json/doc/mkdocs/docs/home/
Dreleases.md1153 - Added **`noexcept`** specifier to `basic_json(boolean_t)`, `basic_json(const number_integer_t)`, …