/prebuilts/go/darwin-x86/test/ |
named1.go | 23 func asBool(Bool) {} 36 asBool(b) 37 asBool(!b) 38 asBool(true) 39 asBool(*&b) 40 asBool(Bool(true)) 41 asBool(1 != 2) // ok now 42 asBool(i < j) // ok now 57 asBool(bb) // ERROR "cannot use.*type bool.*as type Bool"
|
named.go | 24 func asBool(Bool) {} 66 asBool(b) 68 asBool(!b) 70 asBool(true) 71 asBool(*&b) 73 asBool(Bool(true))
|
/prebuilts/go/linux-x86/test/ |
named1.go | 23 func asBool(Bool) {} 36 asBool(b) 37 asBool(!b) 38 asBool(true) 39 asBool(*&b) 40 asBool(Bool(true)) 41 asBool(1 != 2) // ok now 42 asBool(i < j) // ok now 57 asBool(bb) // ERROR "cannot use.*type bool.*as type Bool"
|
named.go | 24 func asBool(Bool) {} 66 asBool(b) 68 asBool(!b) 70 asBool(true) 71 asBool(*&b) 73 asBool(Bool(true))
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
WifiHelper.java | 168 return asBool(runWifiUtil("enableWifi")); 176 return asBool(runWifiUtil("disableWifi")); 225 if (!asBool(runWifiUtil("removeNetwork", "id", Integer.toString(networkId)))) { 228 if (!asBool(runWifiUtil("saveConfiguration"))) { 253 if (!asBool(runWifiUtil("associateNetwork", "id", Integer.toString(id)))) { 256 if (!asBool(runWifiUtil("saveConfiguration"))) { 281 if (!asBool(runWifiUtil("associateNetwork", "id", Integer.toString(id)))) { 284 if (!asBool(runWifiUtil("saveConfiguration"))) { 344 if (!asBool(runWifiUtil("removeAllNetworks"))) { 347 if (!asBool(runWifiUtil("saveConfiguration"))) [all...] |
/external/deqp/framework/randomshaders/ |
rsgExecutionContext.cpp | 99 newValue.asBool(i) = oldValue.asBool(i) && value.asBool(i); 158 if (mask.asBool(compNdx))
|
rsgVariableValue.cpp | 91 bool aMin = a.component(ndx).getMin().asBool(); 92 bool aMax = a.component(ndx).getMax().asBool(); 93 bool bMin = b.component(ndx).getMin().asBool(); 94 bool bMax = b.component(ndx).getMax().asBool(); 253 bool aMin = a.component(ndx).getMin().asBool(); 254 bool aMax = a.component(ndx).getMax().asBool(); 255 bool bMin = b.component(ndx).getMin().asBool(); 256 bool bMax = b.component(ndx).getMax().asBool();
|
rsgBinaryOps.cpp | 173 ComputeValueRange()(state.getRandom(), dst.getMin().asBool(), dst.getMax().asBool(), 174 a.getMin().asBool(), a.getMax().asBool(), 175 b.getMin().asBool(), b.getMax().asBool()); 422 bool dstMin = valueRange.getMin().asBool(); 423 bool dstMax = valueRange.getMax().asBool(); 451 dst.asBool(compNdx) = EvaluateComp()(a.asFloat(compNdx), b.asFloat(compNdx)); 456 dst.asBool(compNdx) = EvaluateComp()(a.asInt(compNdx), b.asInt(compNdx)) [all...] |
rsgUtils.cpp | 76 int minVal = valueRange.component(ndx).getMin().asBool() ? 1 : 0; 77 int maxVal = valueRange.component(ndx).getMin().asBool() ? 1 : 0; 78 dst.component(ndx).asBool() = rnd.getInt(minVal, maxVal) == 1; 197 valueRange.getMin().component(ndx).asBool() = minVal; 198 valueRange.getMax().component(ndx).asBool() = maxVal; 313 int minVal = valueRange.component(ndx).getMin().asBool() ? 1 : 0; 314 int maxVal = valueRange.component(ndx).getMin().asBool() ? 1 : 0;
|
rsgVariableValue.hpp | 103 bool asBool (void) const { DE_STATIC_ASSERT(Stride == 1); return m_value->boolVal; } 108 bool asBool (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return m_value[ndx].boolVal; } 136 bool& asBool (void) { DE_STATIC_ASSERT(Stride == 1); return this->m_value->boolVal; } 141 bool& asBool (int ndx) { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return this->m_value[ndx].boolVal; } 155 StridedValueAccess& operator= (bool boolVal) { asBool() = boolVal; return *this; }
|
rsgStatement.cpp | 432 range.getMin().asBool() = false; 433 range.getMax().asBool() = true; 519 falseMask.asBool(i) = !trueMask.asBool(i);
|
rsgExpression.cpp | 479 minVal = valueRange.getMin().component(0).asBool() ? 1 : 0; 480 maxVal = valueRange.getMax().component(0).asBool() ? 1 : 0; 487 access.asBool(ndx) = value; 505 str << Token(m_value.getValue(VariableType::getScalarType(VariableType::TYPE_BOOL)).asBool(0)); 590 template<> inline bool getValueAccessValue<bool> (ConstValueAccess access) { return access.asBool(); } 595 template<> inline bool& getValueAccessValue<bool> (ValueAccess access) { return access.asBool(); } [all...] |
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/ |
CommandInterceptor.java | 104 boolean enabled = asBool(tokens[1]); 117 boolean enabled = asBool(tokens[1]); 130 boolean enabled = asBool(tokens[1]); 143 boolean enabled = asBool(tokens[1]); 156 boolean enabled = asBool(tokens[1]); 191 private final boolean asBool(String val) {
|
/external/jsoncpp/src/test_lib_json/ |
main.cpp | 324 JSONTEST_ASSERT_EQUAL(true, true_.asBool()); 332 JSONTEST_ASSERT_EQUAL(false, false_.asBool()); 389 JSONTEST_ASSERT_EQUAL(false, val.asBool()); 417 JSONTEST_ASSERT_EQUAL(false, val.asBool()); 445 JSONTEST_ASSERT_EQUAL(false, val.asBool()); 473 JSONTEST_ASSERT_EQUAL(false, val.asBool()); 501 JSONTEST_ASSERT_EQUAL(false, val.asBool()); 529 JSONTEST_ASSERT_EQUAL(false, val.asBool()); 556 JSONTEST_ASSERT_EQUAL(true, val.asBool()); 584 JSONTEST_ASSERT_EQUAL(true, val.asBool()); [all...] |
/external/xmlrpcpp/src/ |
XmlRpcValue.cpp | 127 case TypeBoolean: _value.asBool = rhs._value.asBool; break; 155 case TypeBoolean: return ( !_value.asBool && !other._value.asBool) || 156 ( _value.asBool && other._value.asBool); 303 _value.asBool = (ivalue == 1); 312 xml += (_value.asBool ? "1" : "0"); 566 case TypeBoolean: os << _value.asBool; break;
|
XmlRpcValue.h | 47 XmlRpcValue(bool value) : _type(TypeBoolean) { _value.asBool = value; } 88 operator bool&() { assertTypeOrInvalid(TypeBoolean); return _value.asBool; } 177 bool asBool;
|
/frameworks/compile/slang/ |
slang_rs_reflection_cpp.h | 82 void genInitValue(const clang::APValue &Val, bool asBool = false);
|
/external/skia/experimental/skottie/ |
SkottieParser.cpp | 40 *v = jv.asBool();
|
/external/skqp/experimental/skottie/ |
SkottieParser.cpp | 40 *v = jv.asBool();
|
/external/webrtc/webrtc/base/ |
json.cc | 25 s << std::boolalpha << in.asBool(); 87 *out = in.asBool();
|
/external/jsoncpp/src/lib_json/ |
json_writer.cpp | 217 document_ += valueToString(value.asBool()); 281 pushValue(valueToString(value.asBool())); 504 pushValue(valueToString(value.asBool()));
|
/device/google/cuttlefish_common/host/libs/config/ |
cuttlefish_config.cpp | 333 return (*dictionary_)[kDisableDacSecurity].asBool(); 340 return (*dictionary_)[kDisableAppArmorSecurity].asBool();
|
/system/extras/libperfmgr/ |
HintManager.cc | 223 reset = nodes[i]["ResetOnInit"].asBool(); 232 hold_fd = nodes[i]["HoldFd"].asBool();
|
/external/protobuf/conformance/third_party/jsoncpp/ |
jsoncpp.cpp | [all...] |
/external/jsoncpp/src/jsontestrunner/ |
main.cpp | 93 fprintf(fout, "%s=%s\n", path.c_str(), value.asBool() ? "true" : "false");
|