/third_party/json/tests/src/ |
H A D | unit-pointer_access.cpp | 38 CHECK(value.get_ptr<json::boolean_t*>() == nullptr); 67 CHECK(value.get_ptr<const json::boolean_t*>() == nullptr); 96 CHECK(value.get_ptr<json::boolean_t*>() == nullptr); 125 CHECK(value.get_ptr<const json::boolean_t*>() == nullptr); 154 CHECK(value.get_ptr<json::boolean_t*>() == nullptr); 183 CHECK(value.get_ptr<const json::boolean_t*>() == nullptr); 190 SECTION("pointer access to boolean_t") 192 using test_type = json::boolean_t; 212 CHECK(value.get_ptr<json::boolean_t*>() != nullptr); 219 SECTION("pointer access to const boolean_t") [all...] |
H A D | unit-reference_access.cpp | 51 CHECK_THROWS_WITH_AS(value.get_ref<json::boolean_t&>(), 95 CHECK_THROWS_WITH_AS(value.get_ref<json::boolean_t&>(), 125 CHECK_THROWS_WITH_AS(value.get_ref<json::boolean_t&>(), 135 SECTION("reference access to boolean_t") 137 using test_type = json::boolean_t; 156 CHECK_NOTHROW(value.get_ref<json::boolean_t&>()); 186 CHECK_THROWS_WITH_AS(value.get_ref<json::boolean_t&>(), 216 CHECK_THROWS_WITH_AS(value.get_ref<json::boolean_t&>(), 242 CHECK_THROWS_WITH_AS(value.get_ref<json::boolean_t&>(), "[json.exception.type_error.303] incompatible ReferenceType for get_ref, actual type is number", json::type_error&);
|
H A D | unit-conversions.cpp | 547 json::boolean_t b_reference{true}; 550 SECTION("boolean_t") 552 auto b = j.get<json::boolean_t>(); 574 json(json::value_t::null).get<json::boolean_t>(), 576 CHECK_THROWS_WITH_AS(json(json::value_t::object).get<json::boolean_t>(), 580 json(json::value_t::array).get<json::boolean_t>(), 582 CHECK_THROWS_WITH_AS(json(json::value_t::string).get<json::boolean_t>(), 586 json(json::value_t::number_integer).get<json::boolean_t>(), 590 json(json::value_t::number_unsigned).get<json::boolean_t>(), 594 json(json::value_t::number_float).get<json::boolean_t>(), [all...] |
H A D | unit-constructor1.cpp | 440 json::boolean_t b{};
|
/third_party/selinux/libselinux/src/ |
H A D | audit2why.c | 33 struct boolean_t { struct 38 static struct boolean_t **boollist = NULL; 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() 323 struct boolean_t *bools; in analyze() 402 struct boolean_t *b = bools; in analyze()
|
/third_party/json/include/nlohmann/detail/conversions/ |
H A D | to_json.hpp | 48 static void construct(BasicJsonType& j, typename BasicJsonType::boolean_t b) noexcept 264 enable_if_t<std::is_same<T, typename BasicJsonType::boolean_t>::value, int> = 0> 273 && !std::is_same <std::vector<bool>::reference, typename BasicJsonType::boolean_t&>::value) 276 typename BasicJsonType::boolean_t >::value)) 277 && std::is_convertible<const BoolRef&, typename BasicJsonType::boolean_t>::value, int > = 0 > 280 external_constructor<value_t::boolean>::construct(j, static_cast<typename BasicJsonType::boolean_t>(b));
|
H A D | from_json.hpp | 49 !std::is_same<ArithmeticType, typename BasicJsonType::boolean_t>::value, 84 inline void from_json(const BasicJsonType& j, typename BasicJsonType::boolean_t& b) in from_json() 90 b = *j.template get_ptr<const typename BasicJsonType::boolean_t*>(); in from_json() 330 // overloads for boolean_t etc. in case of a custom BooleanType which is not 338 !std::is_same<ArithmeticType, typename BasicJsonType::boolean_t>::value, 361 val = static_cast<ArithmeticType>(*j.template get_ptr<const typename BasicJsonType::boolean_t*>()); in from_json()
|
/third_party/rust/crates/libc/src/unix/bsd/apple/b64/x86_64/ |
H A D | mod.rs | 1 pub type boolean_t = ::c_uint; types 171 ) -> ::boolean_t>,
|
/third_party/rust/crates/libc/src/unix/bsd/apple/b64/aarch64/ |
H A D | mod.rs | 1 pub type boolean_t = ::c_int; types
|
/third_party/json/docs/examples/ |
H A D | boolean_t.cpp | 9 std::cout << std::boolalpha << std::is_same<bool, json::boolean_t>::value << std::endl; in main()
|
/third_party/rust/crates/libc/src/unix/bsd/apple/b32/ |
H A D | mod.rs | 5 pub type boolean_t = ::c_int; types
|
/third_party/json/include/nlohmann/ |
H A D | json.hpp | 348 /// @sa https://json.nlohmann.me/api/basic_json/boolean_t/ 349 using boolean_t = BooleanType; 410 boolean | boolean | @ref boolean_t 434 boolean_t boolean; 445 json_value(boolean_t v) noexcept : boolean(v) {} in boolean() 483 boolean = static_cast<boolean_t>(false); in json_value() 841 using other_boolean_t = typename BasicJsonType::boolean_t; in basic_json() 1392 boolean_t get_impl(boolean_t* /*unused*/) const in get_impl() 1439 boolean_t* get_impl_pt [all...] |
/third_party/rust/crates/libc/src/unix/bsd/apple/ |
H A D | mod.rs | 546 pub xsu_encrypted: ::boolean_t, 743 pub timeshare: boolean_t, 750 pub preemptible: boolean_t, 1161 pub running: ::boolean_t, 1163 pub is_master: ::boolean_t, 5301 get_default: *mut boolean_t, in thread_policy_get() 5655 pub fn malloc_zone_check(zone: *mut ::malloc_zone_t) -> ::boolean_t; in malloc_zone_check() 5656 pub fn malloc_zone_print(zone: *mut ::malloc_zone_t, verbose: ::boolean_t); in malloc_zone_print() 5749 copy: ::boolean_t, in mach_vm_map() 5791 inherit_memory: ::boolean_t, in task_create() [all...] |
/third_party/json/single_include/nlohmann/ |
H A D | json.hpp | 4605 !std::is_same<ArithmeticType, typename BasicJsonType::boolean_t>::value, 4640 inline void from_json(const BasicJsonType& j, typename BasicJsonType::boolean_t& b) in from_json() 4646 b = *j.template get_ptr<const typename BasicJsonType::boolean_t*>(); in from_json() 4886 // overloads for boolean_t etc. in case of a custom BooleanType which is not 4894 !std::is_same<ArithmeticType, typename BasicJsonType::boolean_t>::value, 4917 val = static_cast<ArithmeticType>(*j.template get_ptr<const typename BasicJsonType::boolean_t*>()); in from_json() 5354 static void construct(BasicJsonType& j, typename BasicJsonType::boolean_t b) noexcept 5570 enable_if_t<std::is_same<T, typename BasicJsonType::boolean_t>::value, int> = 0> 5579 && !std::is_same <std::vector<bool>::reference, typename BasicJsonType::boolean_t&>::value) 5582 typename BasicJsonType::boolean_t > [all...] |
/third_party/json/docs/docset/ |
H A D | docSet.sql | 25 INSERT INTO searchIndex(name, type, path) VALUES ('basic_json::boolean_t', 'Type', 'api/basic_json/boolean_t/index.html');
|
/third_party/json/tests/abi/include/nlohmann/ |
H A D | json_v3_10_5.hpp | 3846 !std::is_same<ArithmeticType, typename BasicJsonType::boolean_t>::value, 3881 void from_json(const BasicJsonType& j, typename BasicJsonType::boolean_t& b) 3887 b = *j.template get_ptr<const typename BasicJsonType::boolean_t*>(); 4125 // overloads for boolean_t etc. in case of a custom BooleanType which is not 4133 !std::is_same<ArithmeticType, typename BasicJsonType::boolean_t>::value, 4156 val = static_cast<ArithmeticType>(*j.template get_ptr<const typename BasicJsonType::boolean_t*>()); 4536 static void construct(BasicJsonType& j, typename BasicJsonType::boolean_t b) noexcept 4752 enable_if_t<std::is_same<T, typename BasicJsonType::boolean_t>::value, int> = 0> 17520 /// @sa https://json.nlohmann.me/api/basic_json/boolean_t/ 17521 using boolean_t [all...] |