Home
last modified time | relevance | path

Searched refs:asBool (Results 1 – 25 of 28) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorRuntimeAgent.cpp49 static bool asBool(const bool* const b) in asBool() function
82 if (asBool(doNotPauseOnExceptionsAndMuteConsole)) in evaluate()
84 if (asBool(doNotPauseOnExceptionsAndMuteConsole)) in evaluate()
87 … expression, objectGroup ? *objectGroup : "", asBool(includeCommandLineAPI), asBool(returnByValue)… in evaluate()
89 if (asBool(doNotPauseOnExceptionsAndMuteConsole)) { in evaluate()
107 if (asBool(doNotPauseOnExceptionsAndMuteConsole)) in callFunctionOn()
109 if (asBool(doNotPauseOnExceptionsAndMuteConsole)) in callFunctionOn()
112 ….callFunctionOn(errorString, objectId, expression, arguments, asBool(returnByValue), asBool(genera… in callFunctionOn()
114 if (asBool(doNotPauseOnExceptionsAndMuteConsole)) { in callFunctionOn()
DTraceEventDispatcher.h96 bool asBool(const char* name) const in asBool() function
/external/deqp/framework/randomshaders/
DrsgVariableValue.cpp91 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()
DrsgBinaryOps.cpp173 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 …]
DrsgExecutionContext.cpp99 newValue.asBool(i) = oldValue.asBool(i) && value.asBool(i); in andExecutionMask()
158 if (mask.asBool(compNdx)) in assignMasked()
DrsgUtils.cpp76 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()
DrsgVariableValue.hpp103 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 =()
DrsgStatement.cpp432 range.getMin().asBool() = false; in createNextChild()
433 range.getMax().asBool() = true; in createNextChild()
519 falseMask.asBool(i) = !trueMask.asBool(i); in execute()
DrsgExpression.cpp479 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()
589 …<> inline bool getValueAccessValue<bool> (ConstValueAccess access) { return access.asBool(); } in getValueAccessValue()
594 template<> inline bool& getValueAccessValue<bool> (ValueAccess access) { return access.asBool();… in getValueAccessValue()
/external/jsoncpp/src/test_lib_json/
Dmain.cpp341 JSONTEST_ASSERT_EQUAL(true, true_.asBool()); in JSONTEST_FIXTURE()
349 JSONTEST_ASSERT_EQUAL(false, false_.asBool()); in JSONTEST_FIXTURE()
408 JSONTEST_ASSERT_EQUAL(false, val.asBool()); in JSONTEST_FIXTURE()
436 JSONTEST_ASSERT_EQUAL(false, val.asBool()); in JSONTEST_FIXTURE()
464 JSONTEST_ASSERT_EQUAL(false, val.asBool()); in JSONTEST_FIXTURE()
492 JSONTEST_ASSERT_EQUAL(false, val.asBool()); in JSONTEST_FIXTURE()
520 JSONTEST_ASSERT_EQUAL(false, val.asBool()); in JSONTEST_FIXTURE()
548 JSONTEST_ASSERT_EQUAL(false, val.asBool()); in JSONTEST_FIXTURE()
575 JSONTEST_ASSERT_EQUAL(true, val.asBool()); in JSONTEST_FIXTURE()
603 JSONTEST_ASSERT_EQUAL(true, val.asBool()); in JSONTEST_FIXTURE()
[all …]
/external/jsoncpp/src/lib_json/
Djson_writer.cpp238 document_ += valueToString( value.asBool() ); in writeValue()
322 pushValue( valueToString( value.asBool() ) ); in writeValue()
599 pushValue( valueToString( value.asBool() ) ); in writeValue()
/external/chromium_org/third_party/libjingle/source/talk/base/
Djson.cc40 s << std::boolalpha << in.asBool(); in GetStringFromJson()
102 *out = in.asBool(); in GetBoolFromJson()
Djson_unittest.cc269 EXPECT_EQ(in[i], out[i].asBool()); in TEST()
/external/chromium_org/third_party/webrtc/base/
Djson.cc23 s << std::boolalpha << in.asBool(); in GetStringFromJson()
85 *out = in.asBool(); in GetBoolFromJson()
Djson_unittest.cc252 EXPECT_EQ(in[i], out[i].asBool()); in TEST()
/external/skia/gm/
Dgm_expectations.cpp151 fIgnoreFailure = ignoreFailure.asBool(); in Expectations()
/external/chromium_org/third_party/skia/gm/
Dgm_expectations.cpp151 fIgnoreFailure = ignoreFailure.asBool(); in Expectations()
/external/chromium_org/third_party/webrtc/modules/video_capture/android/
Ddevice_info_android.cc127 info.front_facing = camera["front_facing"].asBool(); in Initialize()
/external/jsoncpp/src/jsontestrunner/
Dmain.cpp83 fprintf( fout, "%s=%s\n", path.c_str(), value.asBool() ? "true" : "false" ); in printValueTree()
/external/jsoncpp/doc/
Djsoncpp.dox63 setIndentUseSpace( root["indent"].get("use_space", true).asBool() );
/external/chromium_org/third_party/jsoncpp/overrides/include/json/
Dvalue.h278 bool asBool() const;
/external/deqp/modules/glshared/
DglsRandomShaderCase.cpp377 …case rsg::VariableType::TYPE_BOOL: message << (value.component(elementNdx).asBool() ? "true" : "… in operator <<()
/external/jsoncpp/chromium-overrides/include/json/
Dvalue.h278 bool asBool() const;
/external/jsoncpp/include/json/
Dvalue.h278 bool asBool() const;
/external/deqp/framework/common/
DtcuVector.hpp153 Vector<bool, Size> asBool (void) const { return cast<bool>(); } in asBool() function in tcu::Vector

12