/external/deqp/framework/randomshaders/ |
D | rsgBinaryOps.cpp | 173 ComputeValueRange()(state.getRandom(), dst.getMin().asBool(), dst.getMax().asBool(), in BinaryVecOp() 174 a.getMin().asBool(), a.getMax().asBool(), in BinaryVecOp() 175 b.getMin().asBool(), b.getMax().asBool()); in BinaryVecOp() 422 bool dstMin = valueRange.getMin().asBool(); in RelationalOp() 423 bool dstMax = valueRange.getMax().asBool(); in RelationalOp() 451 dst.asBool(compNdx) = EvaluateComp()(a.asFloat(compNdx), b.asFloat(compNdx)); in evaluate() 456 dst.asBool(compNdx) = EvaluateComp()(a.asInt(compNdx), b.asInt(compNdx)); in evaluate() 720 bool dstMin = valueRange.getMin().asBool(); in EqualityComparisonOp() 721 bool dstMax = valueRange.getMax().asBool(); in EqualityComparisonOp() 738 a.getMin().asBool(), a.getMax().asBool(), in EqualityComparisonOp() [all …]
|
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 | 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 | 479 minVal = valueRange.getMin().component(0).asBool() ? 1 : 0; in BoolLiteral() 480 maxVal = valueRange.getMax().component(0).asBool() ? 1 : 0; in BoolLiteral() 487 access.asBool(ndx) = value; in BoolLiteral() 505 str << Token(m_value.getValue(VariableType::getScalarType(VariableType::TYPE_BOOL)).asBool(0)); in tokenize() 590 …<> inline bool getValueAccessValue<bool> (ConstValueAccess access) { return access.asBool(); } in getValueAccessValue() 595 template<> inline bool& getValueAccessValue<bool> (ValueAccess access) { return access.asBool();… in getValueAccessValue()
|
/external/jsoncpp/src/test_lib_json/ |
D | main.cpp | 324 JSONTEST_ASSERT_EQUAL(true, true_.asBool()); in JSONTEST_FIXTURE() 332 JSONTEST_ASSERT_EQUAL(false, false_.asBool()); in JSONTEST_FIXTURE() 389 JSONTEST_ASSERT_EQUAL(false, val.asBool()); in JSONTEST_FIXTURE() 417 JSONTEST_ASSERT_EQUAL(false, val.asBool()); in JSONTEST_FIXTURE() 445 JSONTEST_ASSERT_EQUAL(false, val.asBool()); in JSONTEST_FIXTURE() 473 JSONTEST_ASSERT_EQUAL(false, val.asBool()); in JSONTEST_FIXTURE() 501 JSONTEST_ASSERT_EQUAL(false, val.asBool()); in JSONTEST_FIXTURE() 529 JSONTEST_ASSERT_EQUAL(false, val.asBool()); in JSONTEST_FIXTURE() 556 JSONTEST_ASSERT_EQUAL(true, val.asBool()); in JSONTEST_FIXTURE() 584 JSONTEST_ASSERT_EQUAL(true, val.asBool()); in JSONTEST_FIXTURE() [all …]
|
/external/xmlrpcpp/src/ |
D | XmlRpcValue.cpp | 127 case TypeBoolean: _value.asBool = rhs._value.asBool; break; in operator =() 155 case TypeBoolean: return ( !_value.asBool && !other._value.asBool) || in operator ==() 156 ( _value.asBool && other._value.asBool); in operator ==() 303 _value.asBool = (ivalue == 1); in boolFromXml() 312 xml += (_value.asBool ? "1" : "0"); in boolToXml() 566 case TypeBoolean: os << _value.asBool; break; in write()
|
D | XmlRpcValue.h | 47 XmlRpcValue(bool value) : _type(TypeBoolean) { _value.asBool = value; } in XmlRpcValue() 88 operator bool&() { assertTypeOrInvalid(TypeBoolean); return _value.asBool; } 177 bool asBool; member
|
/external/jsoncpp/src/lib_json/ |
D | json_writer.cpp | 217 document_ += valueToString(value.asBool()); in writeValue() 281 pushValue(valueToString(value.asBool())); in writeValue() 504 pushValue(valueToString(value.asBool())); in writeValue()
|
D | json_value.cpp | 702 bool Value::asBool() const { in asBool() function in Json::Value
|
/external/webrtc/webrtc/base/ |
D | json.cc | 25 s << std::boolalpha << in.asBool(); in GetStringFromJson() 87 *out = in.asBool(); in GetBoolFromJson()
|
D | json_unittest.cc | 256 EXPECT_EQ(in[i], out[i].asBool()); in TEST()
|
/external/skia/tools/json/ |
D | SkJSONRenderer.cpp | 393 target->setAntiAlias(jsonPaint[SKJSONCANVAS_ATTRIBUTE_ANTIALIAS].asBool()); in apply_paint_antialias() 830 command[SKJSONCANVAS_ATTRIBUTE_ANTIALIAS].asBool()); in processClipRect() 837 command[SKJSONCANVAS_ATTRIBUTE_ANTIALIAS].asBool()); in processClipRRect() 844 command[SKJSONCANVAS_ATTRIBUTE_ANTIALIAS].asBool()); in processClipPath() 884 command[SKJSONCANVAS_ATTRIBUTE_STRICT].asBool()) { in processImageRect() 938 command[SKJSONCANVAS_ATTRIBUTE_STRICT].asBool()) { in processBitmapRect()
|
/external/jsoncpp/src/jsontestrunner/ |
D | main.cpp | 93 fprintf(fout, "%s=%s\n", path.c_str(), value.asBool() ? "true" : "false"); in printValueTree()
|
/external/jsoncpp/doc/ |
D | jsoncpp.dox | 64 setIndentUseSpace( root["indent"].get("use_space", true).asBool() );
|
/external/skia/tools/debugger/ |
D | SkDrawCommand.cpp | 1308 target->setAntiAlias(jsonPaint[SKDEBUGCANVAS_ATTRIBUTE_ANTIALIAS].asBool()); in extract_json_paint_antialias() 1314 target->setDither(jsonPaint[SKDEBUGCANVAS_ATTRIBUTE_DITHER].asBool()); in extract_json_paint_dither() 1600 command[SKDEBUGCANVAS_ATTRIBUTE_ANTIALIAS].asBool()); in fromJSON() 1657 command[SKDEBUGCANVAS_ATTRIBUTE_ANTIALIAS].asBool()); in fromJSON() 1694 command[SKDEBUGCANVAS_ATTRIBUTE_ANTIALIAS].asBool()); in fromJSON() 1933 command[SKDEBUGCANVAS_ATTRIBUTE_STRICT].asBool()) { in fromJSON() 2101 command[SKDEBUGCANVAS_ATTRIBUTE_STRICT].asBool()) { in fromJSON()
|
/external/jsoncpp/include/json/ |
D | value.h | 274 bool asBool() const;
|
/external/deqp/modules/glshared/ |
D | glsRandomShaderCase.cpp | 439 …case rsg::VariableType::TYPE_BOOL: message << (value.component(elementNdx).asBool() ? "true" : "… in operator <<()
|
/external/deqp/framework/common/ |
D | tcuVector.hpp | 152 Vector<bool, Size> asBool (void) const { return cast<bool>(); } in asBool() function in tcu::Vector
|