/third_party/json/docs/examples/ |
D | is_boolean.cpp | 21 std::cout << j_null.is_boolean() << '\n'; in main() 22 std::cout << j_boolean.is_boolean() << '\n'; in main() 23 std::cout << j_number_integer.is_boolean() << '\n'; in main() 24 std::cout << j_number_unsigned_integer.is_boolean() << '\n'; in main() 25 std::cout << j_number_float.is_boolean() << '\n'; in main() 26 std::cout << j_object.is_boolean() << '\n'; in main() 27 std::cout << j_array.is_boolean() << '\n'; in main() 28 std::cout << j_string.is_boolean() << '\n'; in main() 29 std::cout << j_binary.is_boolean() << '\n'; in main()
|
/third_party/json/docs/mkdocs/docs/api/basic_json/ |
D | is_boolean.md | 1 # <small>nlohmann::basic_json::</small>is_boolean 4 constexpr bool is_boolean() const noexcept; 25 The following code exemplifies `is_boolean()` for all JSON types. 28 --8<-- "examples/is_boolean.cpp" 34 --8<-- "examples/is_boolean.output"
|
D | is_primitive.md | 27 return is_null() || is_string() || is_boolean() || is_number() || is_binary(); 62 - [is_boolean()](is_boolean.md) returns whether JSON value is a boolean
|
D | value_t.md | 20 [`is_boolean`](is_boolean.md), [`is_number`](is_number.md) (with [`is_number_integer`](is_number_in…
|
D | index.md | 163 - [**is_boolean**](is_boolean.md) - return whether value is a boolean
|
/third_party/json/tests/src/ |
D | unit-inspection.cpp | 26 CHECK(!j.is_boolean()); 44 CHECK(!j.is_boolean()); 62 CHECK(!j.is_boolean()); 80 CHECK(j.is_boolean()); 98 CHECK(!j.is_boolean()); 116 CHECK(!j.is_boolean()); 134 CHECK(!j.is_boolean()); 152 CHECK(!j.is_boolean()); 170 CHECK(!j.is_boolean()); 188 CHECK(!j.is_boolean());
|
D | unit-algorithms.cpp | 148 return value.is_boolean(); in __anonea5e71290c02()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | ir_validate.cpp | 313 assert(ir->type->is_boolean()); in visit_leave() 314 assert(ir->operands[0]->type->is_boolean()); in visit_leave() 358 assert(ir->type->is_boolean()); in visit_leave() 363 assert(ir->type->is_boolean()); in visit_leave() 366 assert(ir->operands[0]->type->is_boolean()); in visit_leave() 370 assert(ir->operands[0]->type->is_boolean()); in visit_leave() 375 assert(ir->type->is_boolean()); in visit_leave() 378 assert(ir->operands[0]->type->is_boolean()); in visit_leave() 444 assert(ir->type->is_boolean()); in visit_leave() 471 assert(ir->operands[0]->type->is_boolean()); in visit_leave() [all …]
|
D | ir_set_program_inouts.cpp | 270 type->fields.array->is_boolean())))) { in try_mark_partial_variable()
|
D | glsl_to_nir.cpp | 915 unsigned bit_size = type->is_boolean() ? 32 : glsl_get_bit_size(type); in intrinsic_set_std430_align() 1489 if (val->type->is_boolean()) in visit() 1514 unsigned bit_size = type->is_boolean() ? 32 : glsl_get_bit_size(type); in visit() 1521 if (type->is_boolean()) in visit() 1543 if (val->type->is_boolean()) in visit()
|
D | ast_to_hir.cpp | 1219 if (val->type->is_boolean() && val->type->is_scalar()) in get_scalar_boolean_operand() 1509 || (type->is_boolean() && type->is_scalar())); in do_hir() 5360 (var->type->is_numeric() || var->type->is_boolean())) { in hir() 5508 if (check_type->is_boolean() || in hir() 5952 (var->type->is_numeric() || var->type->is_boolean())) { in hir() 6669 if (!condition->type->is_boolean() || !condition->type->is_scalar()) { in hir() 7137 || !cond->type->is_boolean() || !cond->type->is_scalar()) { in condition_to_hir()
|
D | ir_constant_expression.cpp | 1132 if (!cond || !cond->type->is_boolean()) in constant_expression_evaluate_expression_list()
|
D | ast_function.cpp | 565 if (formal->type->is_numeric() || formal->type->is_boolean()) { in generate_call() 2099 return type->is_numeric() || type->is_boolean() || in is_valid_constructor()
|
D | lower_precision.cpp | 749 if (!ir->type->is_boolean()) in handle_rvalue()
|
D | ir.cpp | 1573 if (int(bool(i)) != i && this->type->is_boolean()) in is_value()
|
/third_party/libfuse/example/ |
D | cxxopts.hpp | 321 is_boolean() const = 0; 860 is_boolean() const in is_boolean() function in cxxopts::values::abstract_value 1028 bool is_boolean; member 1421 if (!o.is_boolean) in format_option() 1446 if (o.has_default && (!o.is_boolean || o.default_value != "false")) in format_description() 1931 value->is_boolean()}); in add_option()
|
/third_party/mesa3d/src/compiler/ |
D | glsl_types.h | 939 bool is_boolean() const in is_boolean() function
|
D | nir_types.cpp | 430 return type->is_boolean(); in glsl_type_is_boolean()
|
/third_party/json/include/nlohmann/detail/conversions/ |
D | from_json.hpp | 86 if (JSON_HEDLEY_UNLIKELY(!j.is_boolean())) in from_json()
|
/third_party/json/include/nlohmann/ |
D | json.hpp | 1290 return is_null() || is_string() || is_boolean() || is_number() || is_binary(); in is_primitive() 1309 constexpr bool is_boolean() const noexcept in is_boolean() function in basic_json 1394 if (JSON_HEDLEY_LIKELY(is_boolean())) in get_impl() 1441 return is_boolean() ? &m_value.boolean : nullptr; in get_impl_ptr() 1447 return is_boolean() ? &m_value.boolean : nullptr; in get_impl_ptr()
|
/third_party/protobuf/src/google/protobuf/compiler/js/ |
D | js_generator.cc | 2294 const bool is_boolean = field->cpp_type() == FieldDescriptor::CPPTYPE_BOOL; in GenerateFieldValueExpression() local 2304 if (is_boolean) { in GenerateFieldValueExpression()
|
/third_party/mesa3d/src/mesa/main/ |
D | uniform_query.cpp | 1296 if (!uni->type->is_boolean() && !copy_as_uint64 && !copy_to_float16) { in copy_uniforms_to_storage()
|
/third_party/json/tests/abi/include/nlohmann/ |
D | json_v3_10_5.hpp | 3883 if (JSON_HEDLEY_UNLIKELY(!j.is_boolean())) in from_json() 18457 return is_null() || is_string() || is_boolean() || is_number() || is_binary(); in is_primitive() 18476 constexpr bool is_boolean() const noexcept in is_boolean() function in nlohmann::basic_json 18561 if (JSON_HEDLEY_LIKELY(is_boolean())) in get_impl() 18608 return is_boolean() ? &m_value.boolean : nullptr; in get_impl_ptr() 18614 return is_boolean() ? &m_value.boolean : nullptr; in get_impl_ptr()
|
/third_party/json/single_include/nlohmann/ |
D | json.hpp | 4642 if (JSON_HEDLEY_UNLIKELY(!j.is_boolean())) in from_json() 20468 return is_null() || is_string() || is_boolean() || is_number() || is_binary(); in is_primitive() 20487 constexpr bool is_boolean() const noexcept in is_boolean() function in basic_json 20572 if (JSON_HEDLEY_LIKELY(is_boolean())) in get_impl() 20619 return is_boolean() ? &m_value.boolean : nullptr; in get_impl_ptr() 20625 return is_boolean() ? &m_value.boolean : nullptr; in get_impl_ptr()
|
/third_party/json/ |
D | README.md | 500 j.is_boolean();
|