/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/src/ |
D | muid.cpp | 63 static const unsigned char *MuidTransform(MuidContext &status, const unsigned char &data, uint64_t … in MuidTransform() argument 70 DECODE(i, result, status.block); in MuidTransform() 73 a = status.a; in MuidTransform() 74 b = status.b; in MuidTransform() 75 c = status.c; in MuidTransform() 76 d = status.d; in MuidTransform() 79 TRANS(F, a, b, c, d, status.block[0], 0xd76aa478, 7) in MuidTransform() 80 TRANS(F, d, a, b, c, status.block[1], 0xe8c7b756, 12) in MuidTransform() 81 TRANS(F, c, d, a, b, status.block[2], 0x242070db, 17) in MuidTransform() 82 TRANS(F, b, c, d, a, status.block[3], 0xc1bdceee, 22) in MuidTransform() [all …]
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/gtest_plugin/ |
D | ets_interop_js_gtest.h | 41 [[maybe_unused]] napi_status status = napi_is_exception_pending(GetJsEnv(), &hasPendingExc); in SetUp() local 42 ASSERT(status == napi_ok && !hasPendingExc); in SetUp() 102 [[maybe_unused]] napi_status status; in DoRunJsScript() local 104 status = napi_create_string_utf8(env, script.c_str(), script.length(), &jsScript); in DoRunJsScript() 105 ASSERT(status == napi_ok); in DoRunJsScript() 108 status = napi_run_script(env, jsScript, &jsResult); in DoRunJsScript() 109 if (status == napi_generic_failure) { in DoRunJsScript() 112 status = napi_get_and_clear_last_exception(env, &exc); in DoRunJsScript() 113 ASSERT(status == napi_ok); in DoRunJsScript() 115 status = napi_coerce_to_string(env, exc, &jsStr); in DoRunJsScript() [all …]
|
D | ets_interop_js_gtest.cpp | 51 …[[maybe_unused]] napi_status status = napi_get_cb_info(env, info, &jsArgc, nullptr, nullptr, nullp… in Main() local 52 ASSERT(status == napi_ok); in Main() 63 status = napi_get_cb_info(env, info, &jsArgc, jsArgv.data(), &thisArg, &data); in Main() 64 ASSERT(status == napi_ok); in Main() 68 status = napi_get_array_length(env, jsArray, &jsArrayLength); in Main() 69 ASSERT(status == napi_ok); in Main() 74 status = napi_get_element(env, jsArray, i, &jsArrayElement); in Main() 75 ASSERT(status == napi_ok); in Main() 78 status = napi_get_value_string_utf8(env, jsArrayElement, nullptr, 0, &strLength); in Main() 79 ASSERT(status == napi_ok); in Main() [all …]
|
/arkcompiler/runtime_core/compiler/tests/ |
D | compiler_basicblock_test.cpp | 81 bool status = false; variable 82 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anonba0391b00202() 86 status = true; in __anonba0391b00202() 97 EXPECT_TRUE(status); 110 bool status = false; variable 111 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anonba0391b00302() 118 status = true; in __anonba0391b00302() 123 EXPECT_TRUE(status); 136 bool status = false; variable 137 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anonba0391b00402() [all …]
|
D | compiler_graph_test.cpp | 67 bool status = false; variable 68 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anona429afd50102() 72 status = true; in __anona429afd50102() 79 EXPECT_TRUE(status); 92 bool status = false; variable 93 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anona429afd50202() 97 status = true; in __anona429afd50202() 110 EXPECT_TRUE(status); 123 bool status = false; variable 124 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anona429afd50302() [all …]
|
D | loop_analyzer_new_test.cpp | 48 bool status = false; variable 50 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anonb00bd9110102() 54 status = true; in __anonb00bd9110102() 58 EXPECT_TRUE(status); 71 bool status = false; variable 73 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anonb00bd9110202() 77 status = true; in __anonb00bd9110202() 92 EXPECT_TRUE(status); 105 bool status = false; variable 107 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anonb00bd9110302() [all …]
|
D | liveness_analyzer_new_test.cpp | 48 bool status = false; variable 50 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anonf4e4c0c00102() 54 status = true; in __anonf4e4c0c00102() 65 EXPECT_TRUE(status); 78 bool status = false; variable 80 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anonf4e4c0c00202() 84 status = true; in __anonf4e4c0c00202() 207 EXPECT_TRUE(status); 220 bool status = false; variable 222 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anonf4e4c0c00302() [all …]
|
D | compiler_inst_test.cpp | 77 bool status = false; variable 78 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon8ce037610102() 90 status = true; in __anon8ce037610102() 98 EXPECT_TRUE(status); 129 bool status = false; variable 130 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon8ce037610202() 141 status = true; in __anon8ce037610202() 156 EXPECT_TRUE(status); 168 bool status = false; variable 178 status = true; in __anon8ce037610302() [all …]
|
D | linear_order_new_test.cpp | 48 bool status = false; variable 50 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anon7838ec080102() 54 status = true; in __anon7838ec080102() 58 EXPECT_TRUE(status); 71 bool status = false; variable 73 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anon7838ec080202() 77 status = true; in __anon7838ec080202() 87 EXPECT_TRUE(status); 100 bool status = false; variable 102 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anon7838ec080302() [all …]
|
D | dump_test.cpp | 60 bool status = false; variable 62 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon413cb6ff0102() 75 status = true; in __anon413cb6ff0102() 81 EXPECT_TRUE(status); 94 bool status = false; variable 95 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon413cb6ff0202() 99 status = true; in __anon413cb6ff0202() 157 EXPECT_TRUE(status); 170 bool status = false; variable 171 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon413cb6ff0302() [all …]
|
D | compiler_regalloc_test.cpp | 80 bool status = false; variable 81 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anonb7fcf74c0302() 85 status = true; in __anonb7fcf74c0302() 106 EXPECT_TRUE(status); 119 bool status = false; variable 120 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anonb7fcf74c0402() 124 status = true; in __anonb7fcf74c0402() 134 EXPECT_TRUE(status); 147 bool status = false; variable 148 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anonb7fcf74c0502() [all …]
|
D | dominators_tree_new_test.cpp | 47 bool status = false; variable 49 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anonc1de51c10102() 53 status = true; in __anonc1de51c10102() 69 EXPECT_TRUE(status); 82 bool status = false; variable 84 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anonc1de51c10202() 88 status = true; in __anonc1de51c10202() 103 EXPECT_TRUE(status); 116 bool status = false; variable 118 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anonc1de51c10302() [all …]
|
D | compiler_optimizations_test.cpp | 77 bool status = false; variable 79 graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status, &status1](Graph* graph, 96 status = true; in __anone9289e5d0102() 119 EXPECT_TRUE(status); 164 bool status = false; variable 165 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anone9289e5d0202() 180 status = true; in __anone9289e5d0202() 187 EXPECT_TRUE(status); 200 bool status = false; variable 201 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anone9289e5d0302() [all …]
|
/arkcompiler/ets_frontend/ts2panda/src/ |
D | variable.ts | 126 status: InitStatus | null; property in LocalVariable 128 constructor(declKind: VarDeclarationKind, name: string, status?: InitStatus) { 130 this.status = status ? status : null; 134 this.status = InitStatus.INITIALIZED; 138 if (this.status != null) { 139 return this.status === InitStatus.INITIALIZED; 147 private status: InitStatus | null; property in ModuleVariable 151 constructor(declKind: VarDeclarationKind, name: string, status?: InitStatus) { 153 this.status = status ? status : null; 157 this.status = InitStatus.INITIALIZED; [all …]
|
/arkcompiler/runtime_core/static_core/runtime/tests/ |
D | compilation_status_test.cpp | 96 auto status = method->GetCompilationStatus(); in TEST_F() local 97 ASSERT_EQ(status, Method::NOT_COMPILED); in TEST_F() 99 ASSERT_EQ(method->AtomicSetCompilationStatus(status, Method::WAITING), true); in TEST_F() 100 status = method->GetCompilationStatus(); in TEST_F() 101 ASSERT_EQ(status, Method::WAITING); in TEST_F() 103 ASSERT_EQ(method->AtomicSetCompilationStatus(status, Method::COMPILATION), true); in TEST_F() 104 status = method->GetCompilationStatus(); in TEST_F() 105 ASSERT_EQ(status, Method::COMPILATION); in TEST_F() 107 ASSERT_EQ(method->AtomicSetCompilationStatus(status, Method::COMPILED), true); in TEST_F() 108 status = method->GetCompilationStatus(); in TEST_F() [all …]
|
/arkcompiler/runtime_core/static_core/libpandabase/taskmanager/task_statistics/ |
D | fine_grained_task_statistics_impl.cpp | 23 for (const auto &status : ALL_TASK_STATUSES) { in FineGrainedTaskStatisticsImpl() local 25 taskPropertiesCounterMap_[status].emplace(properties, 0); in FineGrainedTaskStatisticsImpl() 30 void FineGrainedTaskStatisticsImpl::IncrementCount(TaskStatus status, TaskProperties properties, si… in IncrementCount() argument 32 taskPropertiesCounterMap_.at(status)[properties] += count; in IncrementCount() local 35 size_t FineGrainedTaskStatisticsImpl::GetCount(TaskStatus status, TaskProperties properties) const in GetCount() argument 37 return taskPropertiesCounterMap_.at(status).at(properties).GetValue(); in GetCount() 70 for (const auto &status : ALL_TASK_STATUSES) { in ResetCountersWithTaskProperties() local 71 lockHolderMap.emplace(status, taskPropertiesCounterMap_[status][properties].GetMutex()); in ResetCountersWithTaskProperties() 73 for (const auto &status : ALL_TASK_STATUSES) { in ResetCountersWithTaskProperties() local 74 taskPropertiesCounterMap_[status][properties].NoGuardedSetValue(0); in ResetCountersWithTaskProperties()
|
D | simple_task_statistics_impl.cpp | 23 for (const auto &status : ALL_TASK_STATUSES) { in SimpleTaskStatisticsImpl() local 24 perStatusLock_[status]; // Here we use implicitly construction of mutex in SimpleTaskStatisticsImpl() 26 taskPropertiesCounterMap_[status][properties] = 0; in SimpleTaskStatisticsImpl() 31 void SimpleTaskStatisticsImpl::IncrementCount(TaskStatus status, TaskProperties properties, size_t … in IncrementCount() argument 33 os::memory::LockHolder lockHolder(perStatusLock_.at(status)); in IncrementCount() 34 taskPropertiesCounterMap_.at(status)[properties] += count; in IncrementCount() local 37 size_t SimpleTaskStatisticsImpl::GetCount(TaskStatus status, TaskProperties properties) const in GetCount() argument 39 os::memory::LockHolder lockHolder(perStatusLock_.at(status)); in GetCount() 40 return taskPropertiesCounterMap_.at(status).at(properties); in GetCount() 86 for (const auto &status : ALL_TASK_STATUSES) { in ResetCountersWithTaskProperties() local [all …]
|
/arkcompiler/runtime_core/static_core/tests/cts-generator/runner/ |
D | single_test_runner.rb | 83 def error?(status) argument 88 ].include? status 135 output, status, _core = run_pandasm 136 case status 162 output, status, core = run_verifier 163 case status 166 @result.update_verifier_negative_failure output, status, @pa_file 169 @result.update_passed output, status, @pa_file 173 @result.update_passed output, status, @pa_file 175 @result.update_verifier_failure output, status, @pa_file, core [all …]
|
/arkcompiler/runtime_core/tests/cts-generator/runner/ |
D | single_test_runner.rb | 90 def error?(status) argument 95 ].include? status 142 output, status, _core = run_pandasm 143 case status 169 output, status, core = run_verifier 170 case status 173 @result.update_verifier_negative_failure output, status, @pa_file 176 @result.update_passed output, status, @pa_file 180 @result.update_passed output, status, @pa_file 182 @result.update_verifier_failure output, status, @pa_file, core [all …]
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/ |
D | js_job_queue.cpp | 42 [[maybe_unused]] napi_status status = in ThenCallback() local 44 ASSERT(status == napi_ok); in ThenCallback() 71 napi_status status = napi_create_promise(env, &deferred, &jsPromise); in AddJob() local 72 if (status != napi_ok) { in AddJob() 75 status = napi_get_named_property(env, jsPromise, "then", &thenFn); in AddJob() 76 ASSERT(status == napi_ok); in AddJob() 77 (void)status; in AddJob() 84 status = napi_create_function(env, nullptr, 0, ThenCallback, callbackRef, &thenCallback); in AddJob() 85 if (status != napi_ok) { in AddJob() 90 status = napi_call_function(env, jsPromise, thenFn, 1, &thenCallback, &thenPromise); in AddJob() [all …]
|
/arkcompiler/runtime_core/static_core/tests/cts-generator/runner/reporters/ |
D | allure_reporter.rb | 124 def log_run_negative_failure(output, status) argument 126 set_failure("Exit code: #{status}, but expected failure.") 129 def log_verifier_negative_failure(output, status) argument 131 set_failure("Verifier exit code: #{status}, but expected failure.") 134 def log_run_failure(output, status, core) argument 137 set_failure("Exit code: #{status}.") 140 def log_verifier_failure(output, status, core) argument 143 set_failure("Verifier exit code: #{status}.") 146 def log_passed(output, _status) 155 def verbose_log(status) argument [all …]
|
D | jtr_reporter.rb | 119 def log_run_negative_failure(output, status) argument 120 @status = "Failed. Exit code: #{status}, but expected failure." 124 def log_verifier_negative_failure(output, status) argument 125 @status = "Failed. Verifier exit code: #{status}, but expected failure." 129 def log_run_failure(output, status, core) argument 130 @status = "Failed. Exit code: #{status}." 135 def log_verifier_failure(output, status, core) argument 136 @status = "Failed. Verifier exit code: #{status}." 141 def log_passed(output, status) argument 142 @status = "Passed. Exit code: #{status}." [all …]
|
/arkcompiler/runtime_core/tests/cts-generator/runner/reporters/ |
D | allure_reporter.rb | 124 def log_run_negative_failure(output, status) argument 126 set_failure("Exit code: #{status}, but expected failure.") 129 def log_verifier_negative_failure(output, status) argument 131 set_failure("Verifier exit code: #{status}, but expected failure.") 134 def log_run_failure(output, status, core) argument 137 set_failure("Exit code: #{status}.") 140 def log_verifier_failure(output, status, core) argument 143 set_failure("Verifier exit code: #{status}.") 146 def log_passed(output, _status) 155 def verbose_log(status) argument [all …]
|
D | jtr_reporter.rb | 119 def log_run_negative_failure(output, status) argument 120 @status = "Failed. Exit code: #{status}, but expected failure." 124 def log_verifier_negative_failure(output, status) argument 125 @status = "Failed. Verifier exit code: #{status}, but expected failure." 129 def log_run_failure(output, status, core) argument 130 @status = "Failed. Exit code: #{status}." 135 def log_verifier_failure(output, status, core) argument 136 @status = "Failed. Verifier exit code: #{status}." 141 def log_passed(output, status) argument 142 @status = "Passed. Exit code: #{status}." [all …]
|
/arkcompiler/runtime_core/bytecode_optimizer/tests/ |
D | reg_encoder_test.cpp | 50 bool status = false; variable 52 …graph_test_.TestBuildGraphFromFile(pFile, [test_method_name, &status](Graph* graph, std::string &m… in __anonafaf657c0102() 56 status = true; in __anonafaf657c0102() 61 EXPECT_TRUE(status); 74 bool status = false; variable 76 …graph_test_.TestBuildGraphFromFile(pFile, [test_method_name, &status](Graph* graph, std::string &m… in __anonafaf657c0202() 80 status = true; in __anonafaf657c0202() 84 EXPECT_TRUE(status);
|