Home
last modified time | relevance | path

Searched refs:boolValue (Results 1 - 5 of 5) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_boolean.cpp29 bool boolValue = GetCallArg(argv, 0)->ToBoolean(); in BooleanConstructor() local
33 return GetTaggedBoolean(boolValue); in BooleanConstructor()
42 JSTaggedValue objValue = boolValue ? JSTaggedValue::True() : JSTaggedValue::False(); in BooleanConstructor()
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dmcr_lowering.cpp648 GateRef boolValue = ConvertTaggedBooleanToBool(value); in LowerCheckTaggedBoolAndConvert() local
650 result = boolValue; in LowerCheckTaggedBoolAndConvert()
652 result = builder_.ZExtInt1ToInt32(boolValue); in LowerCheckTaggedBoolAndConvert()
654 result = builder_.BooleanToFloat64(boolValue); in LowerCheckTaggedBoolAndConvert()
/arkcompiler/ets_frontend/es2panda/compiler/core/emitter/
H A Demitter.cpp309 bool boolValue = elem->AsBooleanLiteral()->Value(); in ProcessArrayExpressionInLiteralArray() local
313 literals.emplace_back(pandasm::LiteralArray::Literal {panda::panda_file::LiteralTag::BOOL, boolValue}); in ProcessArrayExpressionInLiteralArray()
898 bool boolValue = value->AsBooleanLiteral()->Value(); in CreateAnnotationProp() local
900 panda::pandasm::ScalarValue::Create<panda::pandasm::Value::Type::U1>(boolValue)); in CreateAnnotationProp()
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
H A Dpeepholes.cpp2037 auto boolValue = inst->GetInput(0).GetInst()->GetInput(0).GetInst(); in TrySimplifyCompareNegation() local
2038 if (SkipThisPeepholeInOSR(inst, boolValue)) { in TrySimplifyCompareNegation()
2041 compareInst->SetInput(indexCast, boolValue); in TrySimplifyCompareNegation()
/arkcompiler/ets_runtime/ecmascript/napi/test/
H A Djsnapi_sample.cpp1733 Local<BooleanRef> boolValue = BooleanRef::New(vm_, inputBool); in HWTEST_F_L0() local
1735 ArrayRef::SetValueAt(vm_, arrayObject, i, boolValue); in HWTEST_F_L0()
1736 GTEST_LOG_(INFO) << "sample_setBoolValue_index_" << i << ": " << boolValue->Value(); in HWTEST_F_L0()
1740 bool setResult = ArrayRef::SetValueAt(vm_, arrayObject, arrayLength, boolValue); in HWTEST_F_L0()
1741 GTEST_LOG_(INFO) << "sample_setBoolValue_index_5: " << boolValue->Value() << " setResult: " << setResult; in HWTEST_F_L0()

Completed in 19 milliseconds