/external/deqp/framework/randomshaders/ |
D | rsgVariableValue.cpp | 91 bool aMin = a.component(ndx).getMin().asBool(); in compareValueRangesAllTrue() 92 bool aMax = a.component(ndx).getMax().asBool(); in compareValueRangesAllTrue() 93 bool bMin = b.component(ndx).getMin().asBool(); in compareValueRangesAllTrue() 94 bool bMax = b.component(ndx).getMax().asBool(); in compareValueRangesAllTrue() 253 bool aMin = a.component(ndx).getMin().asBool(); in computeIntersection() 254 bool aMax = a.component(ndx).getMax().asBool(); in computeIntersection() 255 bool bMin = b.component(ndx).getMin().asBool(); in computeIntersection() 256 bool bMax = b.component(ndx).getMax().asBool(); in computeIntersection()
|
D | rsgBinaryOps.cpp | 192 …dst.component(elemNdx).asBool(compNdx) = EvaluateLessThan()(a.component(elemNdx).asFloat(compNdx),… in evaluate() 423 ComputeValueRange()(state.getRandom(), dst.getMin().asBool(), dst.getMax().asBool(), in BinaryVecOp() 424 a.getMin().asBool(), a.getMax().asBool(), in BinaryVecOp() 425 b.getMin().asBool(), b.getMax().asBool()); in BinaryVecOp() 672 bool dstMin = valueRange.getMin().asBool(); in RelationalOp() 673 bool dstMax = valueRange.getMax().asBool(); in RelationalOp() 701 dst.asBool(compNdx) = EvaluateComp()(a.asFloat(compNdx), b.asFloat(compNdx)); in evaluate() 706 dst.asBool(compNdx) = EvaluateComp()(a.asInt(compNdx), b.asInt(compNdx)); in evaluate() 970 bool dstMin = valueRange.getMin().asBool(); in EqualityComparisonOp() 971 bool dstMax = valueRange.getMax().asBool(); in EqualityComparisonOp() [all …]
|
D | rsgExecutionContext.cpp | 99 newValue.asBool(i) = oldValue.asBool(i) && value.asBool(i); in andExecutionMask() 158 if (mask.asBool(compNdx)) in assignMasked()
|
D | rsgUtils.cpp | 76 int minVal = valueRange.component(ndx).getMin().asBool() ? 1 : 0; in computeRandomValue() 77 int maxVal = valueRange.component(ndx).getMin().asBool() ? 1 : 0; in computeRandomValue() 78 dst.component(ndx).asBool() = rnd.getInt(minVal, maxVal) == 1; in computeRandomValue() 197 valueRange.getMin().component(ndx).asBool() = minVal; in computeRandomValueRange() 198 valueRange.getMax().component(ndx).asBool() = maxVal; in computeRandomValueRange() 313 int minVal = valueRange.component(ndx).getMin().asBool() ? 1 : 0; in computeRangeLengthSum() 314 int maxVal = valueRange.component(ndx).getMin().asBool() ? 1 : 0; in computeRangeLengthSum()
|
D | rsgVariableValue.hpp | 103 bool asBool (void) const { DE_STATIC_ASSERT(Stride == 1); return m_value->boolVal; } in asBool() function in rsg::ConstStridedValueAccess 108 …bool asBool (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return m_value[n… in asBool() function in rsg::ConstStridedValueAccess 136 bool& asBool (void) { DE_STATIC_ASSERT(Stride == 1); return this->m_value->boolVal; } in asBool() function in rsg::StridedValueAccess 141 …bool& asBool (int ndx) { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return this->m_value[n… in asBool() function in rsg::StridedValueAccess 155 StridedValueAccess& operator= (bool boolVal) { asBool() = boolVal; return *this; } in operator =()
|
D | rsgStatement.cpp | 432 range.getMin().asBool() = false; in createNextChild() 433 range.getMax().asBool() = true; in createNextChild() 519 falseMask.asBool(i) = !trueMask.asBool(i); in execute()
|
D | rsgExpression.cpp | 491 minVal = valueRange.getMin().component(0).asBool() ? 1 : 0; in BoolLiteral() 492 maxVal = valueRange.getMax().component(0).asBool() ? 1 : 0; in BoolLiteral() 499 access.asBool(ndx) = value; in BoolLiteral() 511 access.asBool(ndx) = customValue; in BoolLiteral() 530 str << Token(m_value.getValue(VariableType::getScalarType(VariableType::TYPE_BOOL)).asBool(0)); in tokenize() 615 …<> inline bool getValueAccessValue<bool> (ConstValueAccess access) { return access.asBool(); } in getValueAccessValue() 620 template<> inline bool& getValueAccessValue<bool> (ValueAccess access) { return access.asBool();… in getValueAccessValue()
|
/external/jsoncpp/src/test_lib_json/ |
D | main.cpp | 524 JSONTEST_ASSERT_EQUAL(true, true_.asBool()); in JSONTEST_FIXTURE_LOCAL() 532 JSONTEST_ASSERT_EQUAL(false, false_.asBool()); in JSONTEST_FIXTURE_LOCAL() 589 JSONTEST_ASSERT_EQUAL(false, val.asBool()); in JSONTEST_FIXTURE_LOCAL() 617 JSONTEST_ASSERT_EQUAL(false, val.asBool()); in JSONTEST_FIXTURE_LOCAL() 645 JSONTEST_ASSERT_EQUAL(false, val.asBool()); in JSONTEST_FIXTURE_LOCAL() 673 JSONTEST_ASSERT_EQUAL(false, val.asBool()); in JSONTEST_FIXTURE_LOCAL() 701 JSONTEST_ASSERT_EQUAL(false, val.asBool()); in JSONTEST_FIXTURE_LOCAL() 729 JSONTEST_ASSERT_EQUAL(false, val.asBool()); in JSONTEST_FIXTURE_LOCAL() 756 JSONTEST_ASSERT_EQUAL(true, val.asBool()); in JSONTEST_FIXTURE_LOCAL() 784 JSONTEST_ASSERT_EQUAL(true, val.asBool()); in JSONTEST_FIXTURE_LOCAL() [all …]
|
/external/libcppbor/src/ |
D | cppbor.cpp | 240 const Bool* asBool = item->asSimple()->asBool(); in prettyPrintInternal() local 242 if (asBool != nullptr) { in prettyPrintInternal() 243 out.append(asBool->value() ? "true" : "false"); in prettyPrintInternal() 372 return *asBool() == *(other.asBool()); in operator ==()
|
/external/webrtc/test/ |
D | call_config_utils.cc | 46 receive_config.rtp.transport_cc = json["rtp"]["transport_cc"].asBool(); in ParseVideoReceiveStreamJsonConfig() 66 ext_json["encrypt"].asBool()); in ParseVideoReceiveStreamJsonConfig()
|
/external/openscreen/util/json/ |
D | json_helpers.h | 41 return value.asBool(); in ParseBool() 76 *out = value.asBool(); in ParseBool()
|
/external/jsoncpp/src/lib_json/ |
D | json_writer.cpp | 404 document_ += valueToString(value.asBool()); in writeValue() 475 pushValue(valueToString(value.asBool())); in writeValue() 693 pushValue(valueToString(value.asBool())); in writeValue() 968 pushValue(valueToString(value.asBool())); in writeValue() 1165 const bool eyc = settings_["enableYAMLCompatibility"].asBool(); in newStreamWriter() 1166 const bool dnp = settings_["dropNullPlaceholders"].asBool(); in newStreamWriter() 1167 const bool usf = settings_["useSpecialFloats"].asBool(); in newStreamWriter() 1168 const bool emitUTF8 = settings_["emitUTF8"].asBool(); in newStreamWriter()
|
D | json_reader.cpp | 1884 bool collectComments = settings_["collectComments"].asBool(); in newCharReader() 1886 features.allowComments_ = settings_["allowComments"].asBool(); in newCharReader() 1887 features.allowTrailingCommas_ = settings_["allowTrailingCommas"].asBool(); in newCharReader() 1888 features.strictRoot_ = settings_["strictRoot"].asBool(); in newCharReader() 1890 settings_["allowDroppedNullPlaceholders"].asBool(); in newCharReader() 1891 features.allowNumericKeys_ = settings_["allowNumericKeys"].asBool(); in newCharReader() 1892 features.allowSingleQuotes_ = settings_["allowSingleQuotes"].asBool(); in newCharReader() 1897 features.failIfExtra_ = settings_["failIfExtra"].asBool(); in newCharReader() 1898 features.rejectDupKeys_ = settings_["rejectDupKeys"].asBool(); in newCharReader() 1899 features.allowSpecialFloats_ = settings_["allowSpecialFloats"].asBool(); in newCharReader() [all …]
|
/external/perfetto/src/trace_processor/importers/json/ |
D | json_trace_parser.cc | 225 bool flow_out = event.isMember("flow_out") && event["flow_out"].asBool(); in MaybeAddFlow() 226 bool flow_in = event.isMember("flow_in") && event["flow_in"].asBool(); in MaybeAddFlow()
|
D | json_utils.cc | 211 inserter->AddArg(flat_key_id, key_id, Variadic::Boolean(value.asBool())); in AddJsonValueToArgs()
|
/external/webrtc/rtc_base/strings/ |
D | json.cc | 24 *out = rtc::ToString(in.asBool()); in GetStringFromJson() 84 *out = in.asBool(); in GetBoolFromJson()
|
/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | SimplifyBooleanExprCheck.cpp | 142 std::string asBool(StringRef text, bool NeedsStaticCast) { in asBool() function 247 return (asBool((getText(Result, *LHS) + " " + NegatedOperator + " " + in replacementExpression() 262 return ("!" + asBool(Text, NeedsStaticCast)); in replacementExpression() 281 return asBool(getText(Result, *E), NeedsStaticCast); in replacementExpression()
|
/external/protobuf/conformance/third_party/jsoncpp/ |
D | jsoncpp.cpp | 2108 bool collectComments = settings_["collectComments"].asBool(); in newCharReader() 2110 features.allowComments_ = settings_["allowComments"].asBool(); in newCharReader() 2111 features.strictRoot_ = settings_["strictRoot"].asBool(); in newCharReader() 2112 features.allowDroppedNullPlaceholders_ = settings_["allowDroppedNullPlaceholders"].asBool(); in newCharReader() 2113 features.allowNumericKeys_ = settings_["allowNumericKeys"].asBool(); in newCharReader() 2114 features.allowSingleQuotes_ = settings_["allowSingleQuotes"].asBool(); in newCharReader() 2116 features.failIfExtra_ = settings_["failIfExtra"].asBool(); in newCharReader() 2117 features.rejectDupKeys_ = settings_["rejectDupKeys"].asBool(); in newCharReader() 2118 features.allowSpecialFloats_ = settings_["allowSpecialFloats"].asBool(); in newCharReader() 3212 bool Value::asBool() const { in asBool() function in Json::Value [all …]
|
/external/shaderc/spirv-headers/tools/buildHeaders/jsoncpp/dist/ |
D | jsoncpp.cpp | 2082 bool collectComments = settings_["collectComments"].asBool(); in newCharReader() 2084 features.allowComments_ = settings_["allowComments"].asBool(); in newCharReader() 2085 features.strictRoot_ = settings_["strictRoot"].asBool(); in newCharReader() 2086 features.allowDroppedNullPlaceholders_ = settings_["allowDroppedNullPlaceholders"].asBool(); in newCharReader() 2087 features.allowNumericKeys_ = settings_["allowNumericKeys"].asBool(); in newCharReader() 2088 features.allowSingleQuotes_ = settings_["allowSingleQuotes"].asBool(); in newCharReader() 2090 features.failIfExtra_ = settings_["failIfExtra"].asBool(); in newCharReader() 2091 features.rejectDupKeys_ = settings_["rejectDupKeys"].asBool(); in newCharReader() 3180 bool Value::asBool() const { in asBool() function in Json::Value 4273 document_ += valueToString(value.asBool()); in writeValue() [all …]
|
/external/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/jsoncpp/dist/ |
D | jsoncpp.cpp | 2082 bool collectComments = settings_["collectComments"].asBool(); in newCharReader() 2084 features.allowComments_ = settings_["allowComments"].asBool(); in newCharReader() 2085 features.strictRoot_ = settings_["strictRoot"].asBool(); in newCharReader() 2086 features.allowDroppedNullPlaceholders_ = settings_["allowDroppedNullPlaceholders"].asBool(); in newCharReader() 2087 features.allowNumericKeys_ = settings_["allowNumericKeys"].asBool(); in newCharReader() 2088 features.allowSingleQuotes_ = settings_["allowSingleQuotes"].asBool(); in newCharReader() 2090 features.failIfExtra_ = settings_["failIfExtra"].asBool(); in newCharReader() 2091 features.rejectDupKeys_ = settings_["rejectDupKeys"].asBool(); in newCharReader() 3180 bool Value::asBool() const { in asBool() function in Json::Value 4273 document_ += valueToString(value.asBool()); in writeValue() [all …]
|
/external/angle/third_party/vulkan-deps/spirv-headers/src/tools/buildHeaders/jsoncpp/dist/ |
D | jsoncpp.cpp | 2082 bool collectComments = settings_["collectComments"].asBool(); in newCharReader() 2084 features.allowComments_ = settings_["allowComments"].asBool(); in newCharReader() 2085 features.strictRoot_ = settings_["strictRoot"].asBool(); in newCharReader() 2086 features.allowDroppedNullPlaceholders_ = settings_["allowDroppedNullPlaceholders"].asBool(); in newCharReader() 2087 features.allowNumericKeys_ = settings_["allowNumericKeys"].asBool(); in newCharReader() 2088 features.allowSingleQuotes_ = settings_["allowSingleQuotes"].asBool(); in newCharReader() 2090 features.failIfExtra_ = settings_["failIfExtra"].asBool(); in newCharReader() 2091 features.rejectDupKeys_ = settings_["rejectDupKeys"].asBool(); in newCharReader() 3180 bool Value::asBool() const { in asBool() function in Json::Value 4273 document_ += valueToString(value.asBool()); in writeValue() [all …]
|
/external/deqp-deps/SPIRV-Headers/tools/buildHeaders/jsoncpp/dist/ |
D | jsoncpp.cpp | 2082 bool collectComments = settings_["collectComments"].asBool(); in newCharReader() 2084 features.allowComments_ = settings_["allowComments"].asBool(); in newCharReader() 2085 features.strictRoot_ = settings_["strictRoot"].asBool(); in newCharReader() 2086 features.allowDroppedNullPlaceholders_ = settings_["allowDroppedNullPlaceholders"].asBool(); in newCharReader() 2087 features.allowNumericKeys_ = settings_["allowNumericKeys"].asBool(); in newCharReader() 2088 features.allowSingleQuotes_ = settings_["allowSingleQuotes"].asBool(); in newCharReader() 2090 features.failIfExtra_ = settings_["failIfExtra"].asBool(); in newCharReader() 2091 features.rejectDupKeys_ = settings_["rejectDupKeys"].asBool(); in newCharReader() 3180 bool Value::asBool() const { in asBool() function in Json::Value 4273 document_ += valueToString(value.asBool()); in writeValue() [all …]
|
/external/jsoncpp/include/json/ |
D | value.h | 396 bool asBool() const; 657 template <> inline bool Value::as<bool>() const { return asBool(); }
|
/external/libcppbor/tests/ |
D | cppbor_test.cpp | 807 EXPECT_NE(nullptr, item->asSimple()->asBool()); in TEST() 810 EXPECT_FALSE(item->asSimple()->asBool()->value()); in TEST() 923 EXPECT_EQ(nullptr, item->asSimple()->asBool()); in TEST() 1029 EXPECT_NE(clone->asSimple()->asBool(), nullptr); in TEST() 1030 EXPECT_EQ(item, *clone->asSimple()->asBool()); in TEST() 1031 EXPECT_EQ(*clone->asSimple()->asBool(), Bool(true)); in TEST()
|
/external/jsoncpp/src/jsontestrunner/ |
D | main.cpp | 98 fprintf(fout, "%s=%s\n", path.c_str(), value.asBool() ? "true" : "false"); in printValueTree()
|