/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | ic_stub_builder.h | 47 void LoadICByName(Variable* result, Label* tryFastPath, Label *slowPath, Label *success, 49 void StoreICByName(Variable* result, Label* tryFastPath, Label *slowPath, Label *success); 50 void LoadICByValue(Variable* result, Label* tryFastPath, Label *slowPath, Label *success, 52 void StoreICByValue(Variable* result, Label* tryFastPath, Label *slowPath, Label *success); 53 void TryLoadGlobalICByName(Variable* result, Label* tryFastPath, Label *slowPath, Label *success); 54 void TryStoreGlobalICByName(Variable* result, Label* tryFastPath, Label *slowPath, Label *success); 58 void SetLabels(Label* tryFastPath, Label *slowPath, Label *success) in SetLabels() argument 62 success_ = success; in SetLabels()
|
H A D | ic_stub_builder.cpp | 152 Variable *result, Label *tryFastPath, Label *slowPath, Label *success, ProfileOperation callback) in LoadICByName() 157 SetLabels(tryFastPath, slowPath, success); in LoadICByName() 168 void ICStubBuilder::StoreICByName(Variable* result, Label* tryFastPath, Label *slowPath, Label *success) in StoreICByName() argument 173 SetLabels(tryFastPath, slowPath, success); in StoreICByName() 187 Variable *result, Label *tryFastPath, Label *slowPath, Label *success, ProfileOperation callback) in LoadICByValue() 199 SetLabels(tryFastPath, slowPath, success); in LoadICByValue() 247 void ICStubBuilder::StoreICByValue(Variable* result, Label* tryFastPath, Label *slowPath, Label *success) in StoreICByValue() argument 252 SetLabels(tryFastPath, slowPath, success); in StoreICByValue() 272 void ICStubBuilder::TryLoadGlobalICByName(Variable* result, Label* tryFastPath, Label *slowPath, Label *success) in TryLoadGlobalICByName() argument 277 SetLabels(tryFastPath, slowPath, success); in TryLoadGlobalICByName() 151 LoadICByName( Variable *result, Label *tryFastPath, Label *slowPath, Label *success, ProfileOperation callback) LoadICByName() argument 186 LoadICByValue( Variable *result, Label *tryFastPath, Label *slowPath, Label *success, ProfileOperation callback) LoadICByValue() argument 293 TryStoreGlobalICByName(Variable* result, Label* tryFastPath, Label *slowPath, Label *success) TryStoreGlobalICByName() argument [all...] |
H A D | circuit_builder-inl.h | 83 void CircuitBuilder::HandleException(GateRef result, Label *success, Label *fail, Label *exit) in HandleException() argument 85 BRANCH_CIR2(Equal(result, ExceptionConstant()), fail, success); in HandleException() local 92 void CircuitBuilder::HandleException(GateRef result, Label *success, Label *fail, Label *exit, GateRef exceptionVal) in HandleException() argument 94 BRANCH_CIR2(Equal(result, exceptionVal), fail, success); in HandleException() local
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/gc/ |
H A D | pending_exception_test.cpp | 41 bool success = Runtime::Create(options); variable 42 ASSERT_TRUE(success) << "Cannot create Runtime"; 47 bool success = Runtime::Destroy(); variable 48 ASSERT_TRUE(success) << "Cannot destroy Runtime";
|
/arkcompiler/runtime_core/static_core/runtime/tests/ |
H A D | stack_walker_test.cpp | 171 bool success = false; in TEST_F() 176 success = walker.IterateVRegsWithInfo([&wasSet, &walker](const auto ®Info, const auto ®) { in TEST_F() 184 HOOK_ASSERT(success, return 1); in TEST_F() 189 success = walker.IterateVRegsWithInfo([&walker](const auto ®Info, const auto ®) { in TEST_F() 196 HOOK_ASSERT(success, return 1); in TEST_F() 200 success = walker.IterateVRegsWithInfo([&walker](const auto ®Info, const auto ®) { in TEST_F() 207 HOOK_ASSERT(success, return 1); in TEST_F() 210 success = walker.IterateVRegsWithInfo([](const auto ®Info, const auto ®) { in TEST_F() 216 HOOK_ASSERT(success, return 1); in TEST_F() 220 success in TEST_F() [all...] |
H A D | mem_stats_gc_test.cpp | 40 bool success = Runtime::Create(options); in SetupRuntime() local 41 ASSERT_TRUE(success) << "Cannot create Runtime"; in SetupRuntime() 52 bool success = Runtime::Destroy(); variable 53 ASSERT_TRUE(success) << "Cannot destroy Runtime";
|
/arkcompiler/toolchain/tooling/test/client_utils/ |
H A D | test_util.cpp | 76 std::vector<std::string> cliCmdStr = { "success" }; in NotifySuccess() 79 LOG_DEBUGGER(ERROR) << "ExecCommand Test.success fail"; in NotifySuccess() 117 bool success = true; in ForkSocketClient() local 121 success = (cmd.ExecCommand() == ErrCode::ERR_OK); in ForkSocketClient() 125 HandleAcceptanceMessages(action, client, recv, success); in ForkSocketClient() 130 if (!success) { in ForkSocketClient() 144 void TestUtil::HandleAcceptanceMessages(ActionInfo action, WebSocketClient &client, std::string &recv, bool &success) in HandleAcceptanceMessages() argument 160 success = (recv == action.message); in HandleAcceptanceMessages() 164 success = (recv.find(action.message) != std::string::npos); in HandleAcceptanceMessages() 169 success in HandleAcceptanceMessages() [all...] |
/arkcompiler/runtime_core/static_core/runtime/tests/intrusive-tests/interrupt_release_pages_test/ |
H A D | interrupt_release_pages_test.cpp | 41 [[maybe_unused]] bool success = Runtime::Create(options); in IntrusiveInterruptReleasePagesTest() local 42 ASSERT(success); in IntrusiveInterruptReleasePagesTest() 51 [[maybe_unused]] bool success = Runtime::Destroy(); in ~IntrusiveInterruptReleasePagesTest() local 52 ASSERT(success); in ~IntrusiveInterruptReleasePagesTest()
|
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/topLevelStmts/ |
H A D | topLevelStmts.cpp | 41 bool success = true; in CheckProgramSourcesConsistency() local 43 success &= CheckSourceConsistency(name, programs); in CheckProgramSourcesConsistency() 46 success &= CheckSourceConsistency(name, programs); in CheckProgramSourcesConsistency() 48 return success; in CheckProgramSourcesConsistency()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/ |
H A D | pipeline.cpp | 114 bool success = pipeline->RunOptimizations(); in Run() local 115 CompilerTaskRunner<RUNNER_MODE>::EndTask(std::move(taskRunner), success); in Run() local 154 bool success = RunCodegenPass(nextRunner.GetContext().GetPipeline()->GetGraph()); in RunRegAllocAndCodeGenPass() 155 CompilerTaskRunner<RUNNER_MODE>::EndTask(std::move(nextRunner), success); in RunRegAllocAndCodeGenPass() 157 bool success = RegAlloc(graph); in RunRegAllocAndCodeGenPass() local 158 if (!success && fatalOnErr) { in RunRegAllocAndCodeGenPass() 161 CompilerTaskRunner<RUNNER_MODE>::EndTask(std::move(taskRunner), success); in RunRegAllocAndCodeGenPass() local
|
/arkcompiler/ets_runtime/ecmascript/ic/ |
H A D | ic_runtime.cpp | 351 bool success = JSTaggedValue::SetProperty(GetThread(), receiver, key, value, true); in StoreMiss() local 353 return success ? JSTaggedValue::Undefined() : JSTaggedValue::Exception(); in StoreMiss() 376 bool success = JSSharedArray::SetProperty(thread_, receiver, key, value, true, SCheckMode::CHECK); in StoreMiss() local 378 if (success) { in StoreMiss() 404 bool success = false; in StoreMiss() local 408 success = JSObject::DefineOwnProperty(thread_, &op, desc); in StoreMiss() 410 success = JSObject::SetProperty(&op, value, true); in StoreMiss() 416 return success ? JSTaggedValue::Undefined() : JSTaggedValue::Exception(); in StoreMiss() 422 return success ? JSTaggedValue::Undefined() : JSTaggedValue::Exception(); in StoreMiss() 424 if (success) { in StoreMiss() 455 bool success = JSTaggedValue::SetProperty(GetThread(), receiver, propKey, value, true); StoreTypedArrayValueMiss() local 468 bool success = JSObject::SetProperty(&op, value, true); StoreTypedArrayValueMiss() local [all...] |
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/ |
H A D | escompat_Date.cpp | 37 UErrorCode success = U_ZERO_ERROR; in EscompatDateGetLocalTimezoneOffset() local 41 tzlocal->getOffset(ms, 1, stdOffset, dstOffset, success); in EscompatDateGetLocalTimezoneOffset() 48 UErrorCode success = U_ZERO_ERROR; in EscompatDateGetTimezoneName() local 54 tzlocal->getOffset(ms, 0, stdOffset, dstOffset, success); in EscompatDateGetTimezoneName()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/ |
H A D | reg_alloc.cpp | 44 bool success = false; in PhaseRun() local 45 while (!success) { in PhaseRun() 69 success = regAllocator->AllocateRegisters(); in PhaseRun()
|
/arkcompiler/runtime_core/static_core/abc2program/ |
H A D | abc2program_compiler.cpp | 47 bool success = fileProcessor.ProcessFile(); in FillProgramData() local 48 return success; in FillProgramData()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/ |
H A D | object_type_check_elimination.cpp | 169 bool success = false; in IsMember() local 172 success = (userInst->CastToCheckCast()->GetTypeId() == typeId); in IsMember() 175 success = IsSuccessfulIsInstance(userInst->CastToIsInstance(), typeId, refUser); in IsMember() 178 success = IsMember(userInst, typeId, refUser); in IsMember() 183 if (success) { in IsMember()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | tagged_tree_test.cpp | 333 bool success = tmap->HasValue(thread, keyValue[1].GetTaggedValue()); // 1 : value index in HWTEST_F_L0() local 334 EXPECT_TRUE(success); in HWTEST_F_L0() 781 bool success = IsVaildRBTree<TaggedTreeMap>(thread, tmap, tmap->GetRootEntries()); in RTCommon() local 782 EXPECT_TRUE(success); in RTCommon() 790 bool success = IsVaildRBTree<TaggedTreeMap>(thread, tmap, tmap->GetRootEntries()); in RTCommon() local 791 EXPECT_TRUE(success); in RTCommon() 805 bool success = IsVaildRBTree<TaggedTreeSet>(thread, tset, tset->GetRootEntries()); in SetCommon() local 806 EXPECT_TRUE(success); in SetCommon() 812 bool success = IsVaildRBTree<TaggedTreeSet>(thread, tset, tset->GetRootEntries()); in SetCommon() local 813 EXPECT_TRUE(success); in SetCommon() 846 bool success = IsVaildRBTree<TaggedTreeMap>(thread, tmap, tmap->GetRootEntries()); HWTEST_F_L0() local 859 bool success = IsVaildRBTree<TaggedTreeSet>(thread, tset, tset->GetRootEntries()); HWTEST_F_L0() local 884 bool success = IsVaildRBTree<TaggedTreeMap>(thread, tmap, tmap->GetRootEntries()); HWTEST_F_L0() local 893 bool success = IsVaildRBTree<TaggedTreeMap>(thread, tmap, tmap->GetRootEntries()); HWTEST_F_L0() local 915 bool success = IsVaildRBTree<TaggedTreeSet>(thread, tset, tset->GetRootEntries()); HWTEST_F_L0() local 922 bool success = IsVaildRBTree<TaggedTreeSet>(thread, tset, tset->GetRootEntries()); HWTEST_F_L0() local 954 bool success = IsVaildRBTree<TaggedTreeMap>(thread, tmap, tmap->GetRootEntries()); HWTEST_F_L0() local 962 bool success = IsVaildRBTree<TaggedTreeMap>(thread, tmap, tmap->GetRootEntries()); HWTEST_F_L0() local 978 bool success = IsVaildRBTree<TaggedTreeMap>(thread, newMap, newMap->GetRootEntries()); HWTEST_F_L0() local 989 bool success = IsVaildRBTree<TaggedTreeSet>(thread, tset, tset->GetRootEntries()); HWTEST_F_L0() local 997 bool success = IsVaildRBTree<TaggedTreeSet>(thread, tset, tset->GetRootEntries()); HWTEST_F_L0() local 1015 bool success = IsVaildRBTree<TaggedTreeSet>(thread, newSet, newSet->GetRootEntries()); HWTEST_F_L0() local [all...] |
H A D | js_api_tree_set_test.cpp | 110 bool success = JSAPITreeSet::Delete(thread, tset, key); in HWTEST_F_L0() local 111 EXPECT_EQ(success, false); in HWTEST_F_L0() 117 bool success = JSAPITreeSet::Delete(thread, tset, key); in HWTEST_F_L0() local 118 EXPECT_EQ(success, true); in HWTEST_F_L0() 244 bool success = JSAPITreeSet::Delete(thread, tset, key); in HWTEST_F_L0() local 245 EXPECT_EQ(success, true); in HWTEST_F_L0()
|
/arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/ |
H A D | cpu_affinity.cpp | 235 bool success = sched_getaffinity(tid, sizeof(CpuSetType), cpuset.GetData()) == 0; in GetThreadAffinity() local 236 LOG_IF(!success, DEBUG, COMMON) << "Couldn't get affinity for thread with tid = " in GetThreadAffinity() 239 return success; in GetThreadAffinity() 255 bool success = sched_setaffinity(tid, sizeof(CpuSetType), cpuset.GetData()) == 0; in SetAffinityForThread() local 256 LOG_IF(!success, DEBUG, COMMON) << "Couldn't set affinity with mask " << CpuSetToString(cpuset) in SetAffinityForThread() 259 return success; in SetAffinityForThread()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_tagged_value.cpp | 1041 // 4. Let success be O.[[Set]](P, V, O). in SetProperty() 1042 bool success = false; in SetProperty() local 1044 success = JSProxy::SetProperty(thread, JSHandle<JSProxy>(obj), key, value, mayThrow); in SetProperty() 1046 success = JSTypedArray::SetProperty(thread, obj, key, value, mayThrow); in SetProperty() 1048 success = ModuleNamespace::SetProperty(thread, mayThrow); in SetProperty() 1050 success = SetJSAPIProperty(thread, obj, key, value); in SetProperty() 1052 success = JSObject::SetProperty(thread, obj, key, value, mayThrow, checkMode); in SetProperty() 1054 // 5. ReturnIfAbrupt(success). in SetProperty() 1055 RETURN_VALUE_IF_ABRUPT_COMPLETION(thread, success); in SetProperty() 1056 // 6. If success i in SetProperty() 1069 bool success = false; SetProperty() local 1102 bool success = false; SetProperty() local 1153 bool success = DeleteProperty(thread, obj, key); DeletePropertyOrThrow() local 1173 bool success = DefineOwnProperty(thread, obj, key, desc); DefinePropertyOrThrow() local [all...] |
/arkcompiler/ets_runtime/ecmascript/serializer/tests/ |
H A D | serializer_test.cpp | 1252 bool success = serializer->WriteValue(thread, JSHandle<JSTaggedValue>(obj), in HWTEST_F_L0() local 1255 EXPECT_FALSE(success); in HWTEST_F_L0() 1343 bool success = serializer->WriteValue(thread, JSHandle<JSTaggedValue>(obj), in HWTEST_F_L0() local 1346 EXPECT_TRUE(success); in HWTEST_F_L0() 1373 bool success = serializer->WriteValue(thread, JSHandle<JSTaggedValue>(obj), in HWTEST_F_L0() local 1376 EXPECT_TRUE(success) << "Serialize bigInt fail"; in HWTEST_F_L0() 1430 bool success = serializer->WriteValue(thread, JSHandle<JSTaggedValue>(obj1), in HWTEST_F_L0() local 1433 EXPECT_TRUE(success) << "Serialize fail"; in HWTEST_F_L0() 1464 bool success = serializer->WriteValue(thread, JSHandle<JSTaggedValue>(obj2), in HWTEST_F_L0() local 1467 EXPECT_TRUE(success) << "Serializ in HWTEST_F_L0() 1493 bool success = serializer->WriteValue(thread, JSHandle<JSTaggedValue>(obj1), HWTEST_F_L0() local 1533 bool success = serializer->WriteValue(thread, JSHandle<JSTaggedValue>(set), HWTEST_F_L0() local 1562 bool success = serializer->WriteValue(thread, JSHandle<JSTaggedValue>(jsDate), HWTEST_F_L0() local 1598 bool success = serializer->WriteValue(thread, JSHandle<JSTaggedValue>(map), HWTEST_F_L0() local 1626 bool success = serializer->WriteValue(thread, JSHandle<JSTaggedValue>(jsRegexp), HWTEST_F_L0() local 1661 bool success = serializer->WriteValue(thread, JSHandle<JSTaggedValue>(array), HWTEST_F_L0() local 1682 bool success = serializer->WriteValue(thread, JSHandle<JSTaggedValue>(ecmaString), HWTEST_F_L0() local 1701 bool success = serializer->WriteValue(thread, JSHandle<JSTaggedValue>(ecmaString), HWTEST_F_L0() local 1784 bool success = serializer->WriteValue(thread, JSHandle<JSTaggedValue>(obj), HWTEST_F_L0() local 1806 bool success = serializer->WriteValue(thread, JSHandle<JSTaggedValue>(function), HWTEST_F_L0() local 1841 bool success = serializer->WriteValue(thread, arrBufTag, JSHandle<JSTaggedValue>(array), HWTEST_F_L0() local 1875 bool success = serializer->WriteValue(thread, arrBufTag, HWTEST_F_L0() local 1902 bool success = serializer->WriteValue(thread, arrBufTag, HWTEST_F_L0() local 1981 bool success = serializer->WriteValue(thread, JSHandle<JSTaggedValue>(obj), HWTEST_F_L0() local 2002 bool success = serializer->WriteValue(thread, JSHandle<JSTaggedValue>(obj), HWTEST_F_L0() local 2027 bool success = serializer->WriteValue(thread, JSHandle<JSTaggedValue>(jsArrayBuffer), HWTEST_F_L0() local 2056 bool success = serializer->WriteValue(thread, JSHandle<JSTaggedValue>(jsArrayBuffer), HWTEST_F_L0() local 2092 bool success = serializer->WriteValue(thread, JSHandle<JSTaggedValue>(np), HWTEST_F_L0() local 2137 bool success = serializer->WriteValue(thread, JSHandle<JSTaggedValue>(int8Array), HWTEST_F_L0() local 2174 bool success = serializer->WriteValue(thread, JSHandle<JSTaggedValue>(int8Array), HWTEST_F_L0() local 2282 bool success = serializer->WriteValue(thread, JSHandle<JSTaggedValue>(shareObj), HWTEST_F_L0() local 2311 bool success = serializer->WriteValue(thread, JSHandle<JSTaggedValue>(rootObj), HWTEST_F_L0() local 2329 bool success = serializer->WriteValue(thread, JSHandle<JSTaggedValue>(obj), HWTEST_F_L0() local 2351 bool success = serializer->WriteValue(thread, JSHandle<JSTaggedValue>(obj), HWTEST_F_L0() local 2373 bool success = serializer->WriteValue(thread, JSHandle<JSTaggedValue>(obj), HWTEST_F_L0() local 2388 bool success = serializer->WriteValue(thread, JSHandle<JSTaggedValue>(jsSet), HWTEST_F_L0() local 2426 bool success = serializer->WriteValue(thread, JSHandle<JSTaggedValue>(jsSet), HWTEST_F_L0() local 2453 bool success = serializer->WriteValue(thread, JSHandle<JSTaggedValue>(jsMap), HWTEST_F_L0() local 2500 bool success = serializer->WriteValue(thread, JSHandle<JSTaggedValue>(sobj), HWTEST_F_L0() local [all...] |
/arkcompiler/runtime_core/libziparchive/ |
H A D | zip_archive.cpp | 165 int success = ZIPARCHIVE_OK; in CreateOrAddFileIntoZip() local 175 success = ZIPARCHIVE_ERR; in CreateOrAddFileIntoZip() 185 return success; in CreateOrAddFileIntoZip()
|
/arkcompiler/runtime_core/static_core/libziparchive/ |
H A D | zip_archive.cpp | 164 int success = ZIPARCHIVE_OK; in CreateOrAddFileIntoZip() local 174 success = ZIPARCHIVE_ERR; in CreateOrAddFileIntoZip() 184 return success; in CreateOrAddFileIntoZip()
|
/arkcompiler/toolchain/build/prebuilts_download/ |
H A D | prebuilts_download.py | 125 success = False 127 while not success and attempt < retries: 128 success = _hwcloud_download(args, config, bin_dir, code_dir, retries) 130 return success 139 success = False 180 success = returncode == 0 181 return success
|
/arkcompiler/runtime_core/static_core/bytecode_optimizer/ |
H A D | codegen.cpp | 565 static void VisitIf32(BytecodeGen *enc, compiler::IfInst *inst, std::vector<pandasm::Ins> &res, bool &success) in VisitIf32() argument 606 success = false; in VisitIf32() 610 static void VisitIf64Signed(BytecodeGen *enc, compiler::IfInst *inst, std::vector<pandasm::Ins> &res, bool &success) in VisitIf64Signed() argument 652 success = false; in VisitIf64Signed() 656 static void VisitIf64Unsigned(BytecodeGen *enc, compiler::IfInst *inst, std::vector<pandasm::Ins> &res, bool &success) in VisitIf64Unsigned() argument 698 success = false; in VisitIf64Unsigned() 703 bool &success) in VisitIfRef() 724 success = false; in VisitIfRef() 869 static void IfImmZero32(BytecodeGen *enc, compiler::IfImmInst *inst, std::vector<pandasm::Ins> &res, bool &success) in IfImmZero32() argument 909 success in IfImmZero32() 702 VisitIfRef([[maybe_unused]] BytecodeGen *enc, compiler::IfInst *inst, std::vector<pandasm::Ins> &res, bool &success) VisitIfRef() argument 913 IfImmZeroRef(BytecodeGen *enc, compiler::IfImmInst *inst, std::vector<pandasm::Ins> &res, bool &success) IfImmZeroRef() argument 973 IfImmNonZero32(BytecodeGen *enc, compiler::IfImmInst *inst, std::vector<pandasm::Ins> &res, bool &success) IfImmNonZero32() argument 1124 VisitCastFromI32([[maybe_unused]] BytecodeGen *enc, compiler::CastInst *inst, std::vector<pandasm::Ins> &res, bool &success) VisitCastFromI32() argument 1166 VisitCastFromU32([[maybe_unused]] BytecodeGen *enc, compiler::CastInst *inst, std::vector<pandasm::Ins> &res, bool &success) VisitCastFromU32() argument 1208 VisitCastFromI64([[maybe_unused]] BytecodeGen *enc, compiler::CastInst *inst, std::vector<pandasm::Ins> &res, bool &success) VisitCastFromI64() argument 1253 VisitCastFromF32([[maybe_unused]] BytecodeGen *enc, compiler::CastInst *inst, std::vector<pandasm::Ins> &res, bool &success) VisitCastFromF32() argument 1297 VisitCastFromF64([[maybe_unused]] BytecodeGen *enc, compiler::CastInst *inst, std::vector<pandasm::Ins> &res, bool &success) VisitCastFromF64() argument [all...] |
/arkcompiler/ets_runtime/ecmascript/napi/ |
H A D | dfx_jsnapi.cpp | 562 bool success = false; in StopCpuProfilerForColdStart() local 565 success = true; in StopCpuProfilerForColdStart() 570 success = true; in StopCpuProfilerForColdStart() 578 return success; in StopCpuProfilerForColdStart() 612 bool success = false; in CpuProfilerSamplingAnyTime() local 616 success = true; in CpuProfilerSamplingAnyTime() 621 success = true; in CpuProfilerSamplingAnyTime() 649 return success; in CpuProfilerSamplingAnyTime() 937 bool success = false; in SuspendVMById() local 939 success in SuspendVMById() [all...] |