Home
last modified time | relevance | path

Searched refs:is_boolean (Results 1 – 25 of 27) sorted by relevance

12

/third_party/json/doc/examples/
Dis_boolean.cpp21 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/test/src/
Dunit-inspection.cpp47 CHECK(!j.is_boolean());
65 CHECK(!j.is_boolean());
83 CHECK(!j.is_boolean());
101 CHECK(j.is_boolean());
119 CHECK(!j.is_boolean());
137 CHECK(!j.is_boolean());
155 CHECK(!j.is_boolean());
173 CHECK(!j.is_boolean());
191 CHECK(!j.is_boolean());
209 CHECK(!j.is_boolean());
Dunit-algorithms.cpp169 return value.is_boolean(); in __anon133ecc890c02()
/third_party/mesa3d/src/compiler/glsl/
Dir_validate.cpp313 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 …]
Dir_set_program_inouts.cpp270 type->fields.array->is_boolean())))) { in try_mark_partial_variable()
Dglsl_to_nir.cpp878 unsigned bit_size = type->is_boolean() ? 32 : glsl_get_bit_size(type); in intrinsic_set_std430_align()
1435 if (val->type->is_boolean()) in visit()
1460 unsigned bit_size = type->is_boolean() ? 32 : glsl_get_bit_size(type); in visit()
1467 if (type->is_boolean()) in visit()
1489 if (val->type->is_boolean()) in visit()
Dast_to_hir.cpp1218 if (val->type->is_boolean() && val->type->is_scalar()) in get_scalar_boolean_operand()
1508 || (type->is_boolean() && type->is_scalar())); in do_hir()
5336 (var->type->is_numeric() || var->type->is_boolean())) { in hir()
5483 if (check_type->is_boolean() || in hir()
5927 (var->type->is_numeric() || var->type->is_boolean())) { in hir()
6644 if (!condition->type->is_boolean() || !condition->type->is_scalar()) { in hir()
7112 || !cond->type->is_boolean() || !cond->type->is_scalar()) { in condition_to_hir()
Dir_constant_expression.cpp1142 if (!cond || !cond->type->is_boolean()) in constant_expression_evaluate_expression_list()
Dast_function.cpp564 if (formal->type->is_numeric() || formal->type->is_boolean()) { in generate_call()
2099 return type->is_numeric() || type->is_boolean() || in is_valid_constructor()
Dlower_precision.cpp740 if (!ir->type->is_boolean()) in handle_rvalue()
Dir.cpp1582 if (int(bool(i)) != i && this->type->is_boolean()) in is_value()
/third_party/mindspore/mindspore/ccsrc/debug/
Denv_config_parser.cc183 if (!content.is_boolean()) { in ParseSysMemReuse()
235 if (!content.is_boolean()) { in ParseRdrEnable()
/third_party/grpc/third_party/upb/third_party/lunit/
Dlunit.lua146 local is_boolean = is_boolean
/third_party/json/doc/mkdocs/docs/api/basic_json/
Dindex.md109 - is_boolean - return whether value is a boolean
/third_party/json/include/nlohmann/detail/conversions/
Dfrom_json.hpp68 if (JSON_HEDLEY_UNLIKELY(!j.is_boolean())) in from_json()
/third_party/mesa3d/src/compiler/
Dglsl_types.h931 bool is_boolean() const in is_boolean() function
Dnir_types.cpp385 return type->is_boolean(); in glsl_type_is_boolean()
/third_party/json/include/nlohmann/
Djson.hpp2357 return is_null() || is_string() || is_boolean() || is_number() || is_binary(); in is_primitive()
2426 constexpr bool is_boolean() const noexcept in is_boolean() function in nlohmann::basic_json
2697 if (JSON_HEDLEY_LIKELY(is_boolean())) in get_impl()
2744 return is_boolean() ? &m_value.boolean : nullptr; in get_impl_ptr()
2750 return is_boolean() ? &m_value.boolean : nullptr; in get_impl_ptr()
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/common/
Dshard_pybind.cc295 } else if (j.is_boolean()) { in FromJsonImpl()
/third_party/json/doc/
Dindex.md17 @link nlohmann::basic_json::is_boolean is_boolean @endlink,
/third_party/mindspore/mindspore/ccsrc/debug/data_dump/
Ddump_json_parser.cc458 if (!content.is_boolean()) { in ParseEnable()
/third_party/protobuf/src/google/protobuf/compiler/js/
Djs_generator.cc2294 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/
Duniform_query.cpp1124 if (!uni->type->is_boolean() && !copy_as_uint64 && !copy_to_float16) { in copy_uniforms_to_storage()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.cpp1698 if (ir->operands[0]->type->is_boolean() && in visit_expression()
1758 if (ir->operands[0]->type->is_boolean() && in visit_expression()
2183 if (ir->type->is_boolean()) { in visit_expression()
/third_party/json/single_include/nlohmann/
Djson.hpp3468 if (JSON_HEDLEY_UNLIKELY(!j.is_boolean())) in from_json()
18845 return is_null() || is_string() || is_boolean() || is_number() || is_binary(); in is_primitive()
18914 constexpr bool is_boolean() const noexcept in is_boolean() function in nlohmann::basic_json
19185 if (JSON_HEDLEY_LIKELY(is_boolean())) in get_impl()
19232 return is_boolean() ? &m_value.boolean : nullptr; in get_impl_ptr()
19238 return is_boolean() ? &m_value.boolean : nullptr; in get_impl_ptr()

12