| /arkcompiler/runtime_core/static_core/cmake/third_party/icu/ |
| D | CMakeLists.txt | 4 ${ICU_ROOT}/icu4c/source/common/unistr_case.cpp 5 ${ICU_ROOT}/icu4c/source/common/loclikely.cpp 6 ${ICU_ROOT}/icu4c/source/common/loclikelysubtags.cpp 7 ${ICU_ROOT}/icu4c/source/common/ustrcase_locale.cpp 8 ${ICU_ROOT}/icu4c/source/common/usprep.cpp 9 ${ICU_ROOT}/icu4c/source/common/uhash_us.cpp 10 ${ICU_ROOT}/icu4c/source/common/ucharstriebuilder.cpp 11 ${ICU_ROOT}/icu4c/source/common/uloc.cpp 12 ${ICU_ROOT}/icu4c/source/common/rbbi.cpp 13 ${ICU_ROOT}/icu4c/source/common/locresdata.cpp [all …]
|
| /arkcompiler/runtime_core/cmake/ark-third-party/icu/ |
| D | CMakeLists.txt | 4 ${ICU_ROOT}/icu4c/source/common 22 ${ICU_ROOT}/icu4c/source/common/appendable.cpp 23 ${ICU_ROOT}/icu4c/source/common/bmpset.cpp 24 ${ICU_ROOT}/icu4c/source/common/brkeng.cpp 25 ${ICU_ROOT}/icu4c/source/common/brkiter.cpp 26 ${ICU_ROOT}/icu4c/source/common/bytesinkutil.cpp 27 ${ICU_ROOT}/icu4c/source/common/bytestream.cpp 28 ${ICU_ROOT}/icu4c/source/common/bytestrie.cpp 29 ${ICU_ROOT}/icu4c/source/common/bytestriebuilder.cpp 30 ${ICU_ROOT}/icu4c/source/common/bytestrieiterator.cpp [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/test-lists/unit-tests/ |
| D | unit-tests-ignored.txt | 2 ets-common-tests/imported_modules_TL_exec_2/a.ets 3 ets-common-tests/imported_modules_TL_exec_1/a.ets 7 ets-common-tests/lambda/cast_type_lambda.ets 11 ets-common-tests/exporting-ambient-decl/main.ets 14 ets-common-tests/annotation_import_export_test/AmbientImportAl.ets 17 ets-common-tests/atomics/base_operator_add.ets 18 ets-common-tests/atomics/base_operator_and.ets 19 ets-common-tests/atomics/base_operator_bigint.ets 20 ets-common-tests/atomics/base_operator_biguint.ets 21 ets-common-tests/atomics/base_operator_compare_exchange.ets [all …]
|
| D | unit-tests-excluded.txt | 2 ets-common-tests/bouncing_peas/bouncing_peas_unit_native.ets 3 ets-common-tests/atomics/skipped_rendezvous_channel.ets 4 ets-common-tests/atomics/skipped_wait_timeout.ets 5 ets-common-tests/atomics/skipped_cyclic_barrier.ets 6 ets-common-tests/atomics/base_operator_exchange.ets
|
| /arkcompiler/runtime_core/gn/ark-third-party/icu/ |
| D | BUILD.gn | 20 "$ark_root/ark-third-party/icu/icu4c/source/common", 57 "$ark_root/ark-third-party/icu/icu4c/source/common/ubiditransform.cpp", 58 "$ark_root/ark-third-party/icu/icu4c/source/common/locutil.cpp", 59 "$ark_root/ark-third-party/icu/icu4c/source/common/cstring.cpp", 60 "$ark_root/ark-third-party/icu/icu4c/source/common/rbbiscan.cpp", 61 "$ark_root/ark-third-party/icu/icu4c/source/common/utrie.cpp", 62 "$ark_root/ark-third-party/icu/icu4c/source/common/cwchar.cpp", 63 "$ark_root/ark-third-party/icu/icu4c/source/common/bytestriebuilder.cpp", 64 "$ark_root/ark-third-party/icu/icu4c/source/common/umapfile.cpp", 65 "$ark_root/ark-third-party/icu/icu4c/source/common/uenum.cpp", [all …]
|
| /arkcompiler/ets_runtime/common_components/heap/collector/tests/ |
| D | task_queue_test.cpp | 21 namespace common { namespace 52 namespace common { namespace 71 namespace common::test { namespace 72 class GCRunnerTest : public common::test::BaseTestWithScope { 76 allocator_ = std::make_unique<common::StubAllocator>(); in SetUp() 77 dummyResources_ = std::make_unique<common::DummyCollectorResources>(*allocator_); in SetUp() 78 proxy_ = std::make_unique<common::StubCollectorProxy>(*allocator_, *dummyResources_); in SetUp() 79 proxyStorage_ = std::make_unique<common::StubCollectorProxy>(*allocator_, *dummyResources_); in SetUp() 90 std::unique_ptr<common::StubAllocator> allocator_; 91 std::unique_ptr<common::StubCollectorProxy> proxy_; [all …]
|
| D | finalizer_processor_test.cpp | 21 using namespace common; 23 namespace common::test { namespace 28 class FinalizerProcessorTest : public common::test::BaseTestWithScope { 51 …HeapAddress addr = common::HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, t… in HWTEST_F_L0() 55 bool flag = common::RegionSpace::IsMarkedObject(obj); in HWTEST_F_L0() 62 …HeapAddress addr = common::HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, t… in HWTEST_F_L0() 67 return !common::RegionSpace::IsMarkedObject(obj); in HWTEST_F_L0() 77 …HeapAddress addr = common::HeapManager::Allocate(sizeof(BaseObject), AllocType::MOVEABLE_OBJECT, t… in HWTEST_F_L0() 85 return common::RegionSpace::IsMarkedObject(obj); in HWTEST_F_L0() 102 return common::RegionSpace::IsMarkedObject(obj); in HWTEST_F_L0() [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/unit/arktsconfig-parser/ |
| D | arktsconfig_include.cpp | 16 #include "common.h" 23 common::Params EmptyIncludeNeg() in EmptyIncludeNeg() 25 return common::Params { in EmptyIncludeNeg() 29 …ark::es2panda::JoinPaths(common::CurrentSourceFileDir(), "arktsconfig_include_empty.json"), false}; in EmptyIncludeNeg() 32 common::Params IncludeStringNeg() in IncludeStringNeg() 34 return common::Params { in IncludeStringNeg() 38 …ark::es2panda::JoinPaths(common::CurrentSourceFileDir(), "arktsconfig_include_string.json"), false… in IncludeStringNeg() 41 common::Params IncludeSomethingNeg() in IncludeSomethingNeg() 43 return common::Params { in IncludeSomethingNeg() 47 …ark::es2panda::JoinPaths(common::CurrentSourceFileDir(), "arktsconfig_include_something.json"), fa… in IncludeSomethingNeg() [all …]
|
| /arkcompiler/runtime_core/libpandabase/tests/ |
| D | logger_test.cpp | 48 LOG(DEBUG, COMMON) << "1"; 49 LOG(INFO, COMMON) << "2"; 50 LOG(ERROR, COMMON) << "3"; 55 EXPECT_DEATH_IF_SUPPORTED(LOG(FATAL, COMMON) << "4", ""); 62 LOG(DEBUG, COMMON) << "a"; 63 LOG(INFO, COMMON) << "b"; 64 LOG(ERROR, COMMON) << "c"; 70 "[TID %06x] D/common: a\n" 72 "[TID %06x] I/common: b\n" 73 "[TID %06x] E/common: c\n", [all …]
|
| /arkcompiler/runtime_core/static_core/libpandabase/tests/ |
| D | logger_test.cpp | 40 LOG(DEBUG, COMMON) << "1"; in DEATH_TEST() 41 LOG(INFO, COMMON) << "2"; in DEATH_TEST() 42 LOG(ERROR, COMMON) << "3"; in DEATH_TEST() 47 EXPECT_DEATH_IF_SUPPORTED(LOG(FATAL, COMMON) << "4", ""); in DEATH_TEST() 54 LOG(DEBUG, COMMON) << "a"; in DEATH_TEST() 55 LOG(INFO, COMMON) << "b"; in DEATH_TEST() 56 LOG(ERROR, COMMON) << "c"; in DEATH_TEST() 62 "[TID %06x] D/common: a\n" in DEATH_TEST() 64 "[TID %06x] I/common: b\n" in DEATH_TEST() 65 "[TID %06x] E/common: c\n", in DEATH_TEST() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | barriers.cpp | 112 common::BaseRuntime::WriteBarrier(obj, (void *)((uintptr_t)obj + offset), (void*)value); in CMCWriteBarrier() 129 common::BaseRuntime::WriteBarrier(obj, field, (void*)value); in CMCArrayCopyWriteBarrier() 134 bool Barriers::ShouldProcessSATB(common::GCPhase gcPhase) in ShouldProcessSATB() 137 case common::GCPhase::GC_PHASE_ENUM: in ShouldProcessSATB() 138 case common::GCPhase::GC_PHASE_MARK: in ShouldProcessSATB() 139 case common::GCPhase::GC_PHASE_FINAL_MARK: in ShouldProcessSATB() 140 case common::GCPhase::GC_PHASE_REMARK_SATB: in ShouldProcessSATB() 147 bool Barriers::ShouldGetGCReason(common::GCPhase gcPhase) in ShouldGetGCReason() 150 case common::GCPhase::GC_PHASE_ENUM: in ShouldGetGCReason() 151 case common::GCPhase::GC_PHASE_MARK: in ShouldGetGCReason() [all …]
|
| D | tagged_state_word.h | 19 #include "common_interfaces/base/common.h" 35 common::StateWordType address_ : ADDRESS_WIDTH; 36 common::StateWordType padding_ : 12; 37 common::StateWordType remainded_ : 4; 46 …inline void SynchronizedSetGCStateWord(common::StateWordType address, common::StateWordType paddin… 47 common::StateWordType remainded = 0) 106 static_assert(common::BaseStateWord::PADDING_WIDTH == 60, "Excepts 60 bits"); 107 static_assert(common::BaseStateWord::FORWARD_WIDTH == 2, "Excepts 2 bits"); 108 static_assert(common::BaseStateWord::LANGUAGE_WIDTH == 2, "Excepts 2 bits");
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_sdk/api/@ohos/util/RationalNumber/ |
| D | CompareGetCommonFactorTest.ets | 28 suite.addTest("Calculates the greatest common divisor of 4 and 8.", testGetCommonFactor001) 29 suite.addTest("Calculates the greatest common divisor of 10 and 15.", testGetCommonFactor002) 30 suite.addTest("Calculates the greatest common divisor of 8 and 4.", testGetCommonFactor003) 31 suite.addTest("Calculates the greatest common divisor of 8 and 16.", testGetCommonFactor004) 32 suite.addTest("Calculates the greatest common divisor of 2 and 16.", testGetCommonFactor005) 33 suite.addTest("Obtains the greatest common divisor of 4 and 6.", testGetCommonFactor006) 34 suite.addTest("Obtains the greatest common divisor of 1 and 6.", testGetCommonFactor007) 35 …suite.addTest("Verifies that obtaining the greatest common divisor with a zero parameter throws a … 37 …suite.addTest("Verifies that obtaining the greatest common divisor with both are zero throws a Bus… 121 * @tc.desc: Calculates the greatest common divisor of 4 and 8. [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/arkanalyzer/src/ |
| D | index.ts | 21 // callgraph/common 22 export { PTAStat, PAGStat, CGStat } from './callgraph/common/Statistics'; 52 // core/common 53 export { ModelUtils } from './core/common/ModelUtils'; 54 export * from './core/common/Const'; 55 export { DummyMainCreater } from './core/common/DummyMainCreater'; 56 export * from './core/common/EtsConst'; 57 export { ExprUseReplacer } from './core/common/ExprUseReplacer'; 58 export { IRUtils } from './core/common/IRUtils'; 59 export { RefUseReplacer } from './core/common/RefUseReplacer'; [all …]
|
| /arkcompiler/ets_runtime/common_components/heap/tests/ |
| D | heap_manager_test.cpp | 20 using namespace common; 21 namespace common::test { namespace 22 class HeapManagerTest : public common::test::BaseTestWithScope { 34 manager.RequestGC(GCReason::GC_REASON_USER, true, common::GC_TYPE_FULL); in HWTEST_F_L0() 38 manager.RequestGC(GCReason::GC_REASON_USER, true, common::GC_TYPE_FULL); in HWTEST_F_L0() 41 } // namespace common::test
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | base_string_table_test.cpp | 27 common::BaseStringTableInterface<common::BaseStringTableImpl>::HandleCreator handleCreator_ = [ 28 …](common::ThreadHolder* holder, common::BaseString* string) -> common::ReadOnlyHandle<common::Base… in __anon879005f50102() 44 auto& table = common::BaseRuntime::GetInstance()->GetStringTable(); in HWTEST_F_L0() 51 common::BaseString* emptyEcmaStr = table.TryGetInternString(emptyEcmaStrHandle); in HWTEST_F_L0() 69 auto& table = common::BaseRuntime::GetInstance()->GetStringTable(); in HWTEST_F_L0() 75 …common::BaseString* ecmaStrGetPtr = table.GetOrInternString(thread->GetThreadHolder(), handleCreat… in HWTEST_F_L0() 94 auto& table = common::BaseRuntime::GetInstance()->GetStringTable(); in HWTEST_F_L0() 101 …common::BaseString* ecmaStrGetPtr = table.GetOrInternString(thread->GetThreadHolder(), handleCreat… in HWTEST_F_L0() 120 auto& table = common::BaseRuntime::GetInstance()->GetStringTable(); in HWTEST_F_L0() 127 common::BaseString* internStr = table.GetOrInternStringFromCompressedSubString( in HWTEST_F_L0()
|
| D | gc_taskpool_test.cpp | 19 using namespace common; 26 class DummyTask : public common::Task { 29 : common::Task(id), executionMilliseconds_(executionMilliseconds) {} in DummyTask() 43 class DummyDelayedTask : public common::Task { 46 … : common::Task(id), executionMilliseconds_(executionMilliseconds), deadline_(deadline) {} in DummyDelayedTask() 69 common::Taskpool::GetCurrentTaskpool()->PostTask( in HWTEST_F_L0() 82 common::Taskpool::GetCurrentTaskpool()->PostDelayedTask( in HWTEST_F_L0() 96 common::Taskpool::GetCurrentTaskpool()->PostDelayedTask( in HWTEST_F_L0() 110 common::Taskpool::GetCurrentTaskpool()->PostDelayedTask( in HWTEST_F_L0() 115 common::Taskpool::GetCurrentTaskpool()->PostTask( in HWTEST_F_L0() [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/docs/rules/ |
| D | recipe96.md | 19 common: string = "" 24 common: string = "" 41 doStuff({ foo: 123, common: '123' }) 42 doStuff({ bar: 123, common: '123' }) 53 common: string = "" 58 common: string = ""
|
| D | recipe30.md | 88 interface Common { 94 class X implements Common { 100 class Y implements Common { 105 let x: Common = new X() 106 let y: Common = new Y() 114 function foo(c: Common): void {
|
| /arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/ |
| D | signal.h | 34 LOG_IF(::sigemptyset(&sigset_) == -1, FATAL, COMMON) << "sigemptyset failed"; 45 LOG_IF(::sigaddset(&sigset_, sig) == -1, FATAL, COMMON) << "sigaddset failed"; in Add() 50 LOG_IF(::sigdelset(&sigset_, sig) == -1, FATAL, COMMON) << "sigaddset failed"; in Delete() 56 LOG_IF(ret == -1, FATAL, COMMON) << "sigismember failed"; in IsExist() 62 …LOG_IF(::pthread_sigmask(SIG_BLOCK, &sigset_, nullptr) != 0, FATAL, COMMON) << "pthread_sigmask fa… in Block() 67 …LOG_IF(::pthread_sigmask(SIG_UNBLOCK, &sigset_, nullptr) != 0, FATAL, COMMON) << "pthread_sigmask … in Unblock() 73 … LOG_IF(PANDA_FAILURE_RETRY(sigwait(&sigset_, &sig)) != 0, FATAL, COMMON) << "sigwait failed"; in Wait() 79 …LOG_IF(::pthread_sigmask(SIG_SETMASK, nullptr, &out.sigset_) != 0, FATAL, COMMON) << "pthread_sigm… in GetCurrent() 158 LOG(DEBUG, COMMON) << "SignalCatcherThread::Run: Starting the signal catcher thread"; in Run() 174 LOG(DEBUG, COMMON) << "SignalCatcherThread::Run: waiting"; in Run() [all …]
|
| /arkcompiler/runtime_core/platforms/unix/libpandabase/ |
| D | signal.h | 34 LOG_IF(::sigemptyset(&sigset_) == -1, FATAL, COMMON) << "sigemptyset failed"; 45 LOG_IF(::sigaddset(&sigset_, sig) == -1, FATAL, COMMON) << "sigaddset failed"; in Add() 50 LOG_IF(::sigdelset(&sigset_, sig) == -1, FATAL, COMMON) << "sigaddset failed"; in Delete() 56 LOG_IF(ret == -1, FATAL, COMMON) << "sigismember failed"; in IsExist() 62 …LOG_IF(::pthread_sigmask(SIG_BLOCK, &sigset_, nullptr) == -1, FATAL, COMMON) << "pthread_sigmask f… in Block() 67 …LOG_IF(::pthread_sigmask(SIG_UNBLOCK, &sigset_, nullptr) == -1, FATAL, COMMON) << "pthread_sigmask… in Unblock() 73 … LOG_IF(PANDA_FAILURE_RETRY(sigwait(&sigset_, &sig)) == -1, FATAL, COMMON) << "sigwait failed"; in Wait() 79 …LOG_IF(::pthread_sigmask(SIG_SETMASK, nullptr, &out.sigset_) == -1, FATAL, COMMON) << "pthread_sig… in GetCurrent() 159 LOG(DEBUG, COMMON) << "SignalCatcherThread::Run: Starting the signal catcher thread"; in Run() 175 LOG(DEBUG, COMMON) << "SignalCatcherThread::Run: waiting"; in Run() [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/homecheck/src/ |
| D | Index.ts | 26 export { CheckerStorage } from './utils/common/CheckerStorage'; 36 export { CheckEntry } from './utils/common/CheckEntry'; 38 export { ConfigUtils } from './utils/common/ConfigUtils'; 39 export { FileUtils, WriteFileMode } from './utils/common/FileUtils'; 40 export { Json5parser } from './utils/common/Json5parser'; 41 export { Utils } from './utils/common/Utils';
|
| /arkcompiler/ets_runtime/ecmascript/stubs/ |
| D | runtime_optimized_stubs-inl.h | 52 …if (!(common::utf_helper::IsHexDigits(frontChart) && common::utf_helper::IsHexDigits(behindChart))… in DecodePercentEncoding() 59 bb = common::utf_helper::GetValueFromTwoHex(frontChart, behindChart); in DecodePercentEncoding() 62 if (!((bb & common::utf_helper::BIT_MASK_2) == common::utf_helper::BIT_MASK_1)) { in DecodePercentEncoding() 76 if (!common::utf_helper::IsValidUTF8(oct)) { in UTF16EncodeCodePoint() 81 if (vv < common::utf_helper::DECODE_SECOND_FACTOR) { in UTF16EncodeCodePoint() 85 …uint16_t lv = (((vv - common::utf_helper::DECODE_SECOND_FACTOR) & common::utf_helper::BIT16_MASK) + in UTF16EncodeCodePoint() 86 common::utf_helper::DECODE_TRAIL_LOW); in UTF16EncodeCodePoint() 88 …uint16_t hv = ((((vv - common::utf_helper::DECODE_SECOND_FACTOR) >> 10U) & common::utf_helper::BIT… in UTF16EncodeCodePoint() 89 common::utf_helper::DECODE_LEAD_LOW); // 10: means shift left by 10 digits in UTF16EncodeCodePoint() 95 …uint16_t lv = (((vv - common::utf_helper::DECODE_SECOND_FACTOR) & common::utf_helper::BIT16_MASK) + in UTF16EncodeCodePoint() [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/templates/ |
| D | codegen_language_extensions.h.erb | 16 <%= Common::include_plugin_files "compiler_extensions", "header_path_implementation_codegen" %> 20 % Common::each_plugin_suboption("compiler_extensions", "load_object_dynamic_codegen") do |load_obje… 32 % Common::each_plugin_suboption("compiler_extensions", "store_object_dynamic_codegen") do |store_ob… 44 % Common::each_plugin_suboption("compiler_extensions", "resolve_call_by_name") do |resolve_call_by_… 57 % Common::each_plugin_suboption("compiler_extensions", "get_native_method_codegen") do |get_native_… 70 % Common::each_plugin_suboption("compiler_extensions", "get_native_method_managed_class_codegen") d… 83 % Common::each_plugin_suboption("compiler_extensions", "get_method_native_pointer_codegen") do |get… 96 % Common::each_plugin_suboption("compiler_extensions", "get_native_api_env_codegen") do |get_native… 109 % Common::each_plugin_suboption("compiler_extensions", "begin_native_method_codegen") do |begin_nat… 122 % Common::each_plugin_suboption("compiler_extensions", "end_native_method_prim_codegen") do |end_na… [all …]
|
| D | ir-dyn-base-types.h.erb | 24 <%= Common::include_plugin_files "compiler_base_types", "header_path_implementation_codegen" %> 25 <%= Common::include_plugin_files "compiler_extensions", "main_header_path" %> 49 % Common::each_plugin_suboption("compiler_base_types", "func_resolve_numeric_type") do |func, plugi… 62 % Common::each_plugin_suboption("compiler_base_types", "func_resolve_string_type") do |func, plugin… 88 % Common::each_plugin_suboption("compiler_base_types", "func_is_any_type_can_be_subtype_of") do |fu… 103 % Common::each_plugin_suboption("compiler_base_types", "list_types") do |list_types, plugin_lang| 128 % Common::each_plugin_suboption("compiler_base_types", "list_types") do |list_types, plugin_lang| 142 % Common::each_plugin_suboption("compiler_base_types", "func_compare_implementation_codegen") do |f… 154 % Common::each_plugin_suboption("compiler_base_types", "func_get_name_implementation_codegen") do |… 166 % Common::each_plugin_suboption("compiler_base_types", "func_cast_implementation_codegen") do |func| [all …]
|