| /arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
| D | graph_checker_macros.h | 20 // CC-OFFNXT(G.PRE.02) should be with define 23 // CC-OFFNXT(G.PRE.02) should be with define 27 // CC-OFFNXT(G.PRE.02) should be with define 30 // CC-OFFNXT(G.PRE.02) should be with define 33 // CC-OFFNXT(G.PRE.02) should be with define 45 // CC-OFFNXT(G.PRE.02) should be with define 49 // CC-OFFNXT(G.PRE.02) should be with define 55 // CC-OFFNXT(G.PRE.02) should be with define 62 // CC-OFFNXT(G.PRE.02) should be with define 68 // CC-OFFNXT(G.PRE.02) should be with define [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/src/sdk/linter_1_1/ |
| D | IncrementalLinter.ts | 19 // @ts-expect-error : should expect method 21 // @ts-expect-error : should expect method 25 // @ts-expect-error : should expect method 29 // @ts-expect-error : should expect method 41 // @ts-expect-error : should expect method 46 // @ts-expect-error : should expect method 51 // @ts-expect-error : should expect method 60 // @ts-expect-error : should expect method 65 // @ts-expect-error : should expect method 75 // @ts-expect-error : should expect method [all …]
|
| /arkcompiler/ets_frontend/arkguard/test/ut/utils/ |
| D | FileUtils.2.spec.ts | 48 it('should return undefined if file does not exist', () => { 55 it('should return undefined if readJsonSync throws an error', () => { 63 it('should return JSON content if file exists and is valid', () => { 73 it('should return undefined for empty string', () => { 78 it('should return undefined for string without dot', () => { 83 it('should return undefined for path string without dot', () => { 88 it('should return undefined for string ending with a dot', () => { 93 it('should return extension for valid file path', () => { 98 it('should return extension for valid file name with multiple dots', () => { 105 it('should return true for relative paths starting with ./', () => { [all …]
|
| D | NodeUtils.spec.ts | 28 it('should return false if node has no parent', function () { 32 it('should return ture when node.parent is PropertyAssignment', function () { 38 it('should return ture when node.parent is ComputedPropertyName', function () { 44 it('should return ture when node.parent is BindingElement', function () { 50 it('should return ture when node.parent is PropertySignature', function () { 56 it('should return ture when node.parent is MethodSignature', function () { 62 it('should return ture when node.parent is EnumMember', function () { 68 it('should return ture when node.parent is PropertyDeclaration', function () { 74 it('should return ture when node.parent is MethodDeclaration', function () { 80 it('should return ture when node.parent is SetAccessorDeclaration', function () { [all …]
|
| D | OhsUtil.spec.ts | 43 it('should return false if classNode is an empty object', () => { 48 it('should return false if heritageClauses is undefined', () => { 53 it('should return false if classNode is undefined', () => { 57 it('should return false if heritageClause.types is undefined', () => { 63 it('should return false if classNode.heritageClause.types.member is undefined', () => { 69 it('should return true if classNode is set', () => { 81 it('should not add items to propertySet if type is undefined', () => { 89 it('should add to propertySet if member.name is set', () => { 110 it('should not add items to propertySet if elementAccessExpression is undefined', () => { 116 …it('should add to propertySet if elementAccessExpressionNode.argumentExpression is set string valu… [all …]
|
| D | NameCacheUtils.spec.ts | 33 it('should write cache to file', function () { 46 it('should not write if cache is empty', function () { 58 it('should return undefined when file does not exist', () => { 63 it('should return parsed JSON object when file exists', () => { 75 it('should return an empty Map when input is undefined', () => { 81 it('should convert a JSON object to a Map with string keys and values', () => { 93 it('should update historyNameCache with new keys from identifierCache', () => { 111 it('should not modify historyNameCache if identifierCache is undefined', () => { 125 it('should update member method names in the cache', () => { 138 it('should not update member method names if they are in classInfoInMemberMethodCache', () => {
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/06.type_declarations/01.type_alias_declaration/ |
| D | scope.params.yaml | 22 let v: PKG_ALIAS0 = true // should not be visible here 30 let v: pkg_a.PKG_ALIAS0 = true // should not be visible here 38 let v: MOD_ALIAS0 = true // should not be visible here 47 let v: PKG_ALIAS1 = true // should be visible here 62 let v: MOD_ALIAS1 = true // should be visible here 71 let v: PKG_ALIAS2 = true // should be visible here 86 let v: MOD_ALIAS2 = true // should be visible here 95 let v: X = true // should be visible here 110 let v: X = true // should be visible here 120 let v: PKG_ALIAS4 = new EClass() // should not be visible here [all …]
|
| /arkcompiler/runtime_core/static_core/docs/ |
| D | design-of-interpreter.md | 20 This section outlines common requirements that should be considered while designing the interpreter 23 1. The platform should scale from microcontrollers to hi-end mobile phones: 24 1. It should fit into 50Kb of ROM. 25 1. It should be able to run consuming 64Kb of RAM. 26 1. Program execution via bytecode interpretation should be enabled on all targets. 27 1. The platform should support multiple programming languages 33 1. Bytecode should allow the interpreter to run no slower than state of the art interpreters. 34 1. Bytecode should be compact in size to avoid bloating application code. 35 1. Bytecode description should have a single entry point to simplify maintenance 73 1. All entities in the executable file should be encoded and stored compactly to avoid bloating [all …]
|
| /arkcompiler/runtime_core/docs/ |
| D | design-of-interpreter.md | 20 This section outlines common requirements that should be considered while designing the interpreter 23 1. The platform should scale from microcontrollers to hi-end mobile phones: 24 1. It should fit into 50Kb of ROM. 25 1. It should be able to run consuming 64Kb of RAM. 26 1. Program execution via bytecode interpretation should be enabled on all targets. 27 1. The platform should support multiple programming languages 33 1. Bytecode should allow the interpreter to run no slower than state of the art interpreters. 34 1. Bytecode should be compact in size to avoid bloating application code. 35 1. Bytecode description should have a single entry point to simplify maintenance 73 1. All entities in the executable file should be encoded and stored compactly to avoid bloating [all …]
|
| /arkcompiler/runtime_core/isa/ |
| D | asserts.rb | 35 assert('Non-prefixed instruction opcodes and prefixes should fit one byte') do 47 assert('All instructions for a prefix should fit one byte') do 53 assert('Prefixed instruction should have some prefix specified') do 59 assert('Prefix should be defined') do 67 assert('All prefixes should have unique name') do 71 assert('There should be non-zero gap between non-prefixed and prefixes') do 75 assert('There should be non-zero gap between public and private prefixes') do 113 assert('Dtype should be none when bytecode doesn\'t write into accumulator or registers') do 121 assert('Instruction::float? should play well with operand types') do 127 assert('Conditionals should be jumps') do # At least currently [all …]
|
| /arkcompiler/runtime_core/static_core/isa/ |
| D | asserts.rb | 35 assert('Non-prefixed instruction opcodes and prefixes should fit one byte') do 47 assert('All instructions for a prefix should fit one byte') do 53 assert('Prefixed instruction should have some prefix specified') do 59 assert('Prefix should be defined') do 67 assert('All prefixes should have unique name') do 71 assert('There should be non-zero gap between non-prefixed and prefixes') do 75 assert('There should be non-zero gap between public and private prefixes') do 113 assert('Dtype should be none when bytecode doesn\'t write into accumulator or registers') do 121 assert('Instruction::float? should play well with operand types') do 127 assert('Conditionals should be jumps') do # At least currently [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/playground/frontend/src/store/selectors/ |
| D | logs.test.ts | 47 it('should select compile output logs', () => { 52 it('should select compile error logs', () => { 57 it('should select run output logs', () => { 62 it('should select run error logs', () => { 67 it('should select disassembly output logs', () => { 72 it('should select disassembly error logs', () => { 77 it('should select general output logs', () => { 82 it('should select general error logs', () => {
|
| D | code.test.ts | 28 it('should select the compile loading state from code', () => { 34 it('should select the run loading state from code', () => { 40 it('should select the current code from code state', () => { 46 it('should select the compile result from code state', () => { 65 it('should select the run result from code state', () => {
|
| /arkcompiler/ets_frontend/arkguard/test/ut/initialization/ |
| D | systemApiCache.json | 2 "ReservedGlobalNames": "Reserved property names should match", 3 "ReservedNames": "Reserved names should match", 4 "ReservedPropertyNames": "Reserved global names should match"
|
| /arkcompiler/ets_frontend/arkguard/test/ut/transformer/ |
| D | RenameFileNameTransformer.spec.ts | 129 it('should return null if mEnable is false', () => { 135 it('should return null if profile is null', () => { 141 it('should create globalFileNameMangledTable if not exist', () => { 151 it('should rename the node.fileName if it is a sourcefile and not in OhModules', () => { 164 it('should update declaration if node is ImportDeclaration', () => { 174 it('should update declaration if node is ExportDeclaration', () => { 184 it('should try update dynamic import if node is ImportCall', () => { 194 it('should update call expression if renamefilename', () => { 219 it('should return pakName if needPkgName is true', () => { 234 it('should correctly normalize OhmUrl', () => { [all …]
|
| /arkcompiler/runtime_core/static_core/libpandabase/taskmanager/utils/ |
| D | sp_mc_lock_free_queue.h | 70 // Atomic with acq_rel order reason: other threads should see correct value in PopUserScope() 75 // Atomic with acq_rel order reason: other threads should see correct value in ~PopUserScope() 97 * @brief Registers thread in queue, should be called only on time by one thread. 104 * @param val: value that should be pushed. 160 * @param atomicPtr: ref to prt that should be load 172 * @param ptr: pointer to QueueNode that should be retired 189 // Atomic with acq_rel order reason: other threads should be correct value in TryMovePopIndex() 204 // Atomic with acq_rel order reason: other threads should be correct value in CompareAndSetNextHead() 206 // Now we should correctly delete a current_head. in CompareAndSetNextHead() 233 // Atomic with release order reason: other threads should see correct value in SPMCLockFreeQueue() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/playground/frontend/src/services/ |
| D | common.test.ts | 56 it('should return fallback value if apiInstance is null', async () => { 63 it('should return parsed data if request is successful', async () => { 70 it('should return error message if request fails', async () => { 80 it('should return fallback value if apiInstance is null', async () => { 87 it('should return parsed data if POST request is successful', async () => { 94 it('should return error message if POST request fails', async () => { 104 it('should return fallback value if apiInstance is null', async () => { 111 it('should return parsed data if PUT request is successful', async () => { 118 it('should return error message if PUT request fails', async () => { 128 it('should return fallback value if apiInstance is null', async () => { [all …]
|
| /arkcompiler/runtime_core/libabckit/include/cpp/headers/core/ |
| D | module.h | 162 …* @param [ in ] cb - Callback that will be invoked. Should return `false` on early exit and `true`… 163 * should continue. 172 …* @param [ in ] cb - Callback that will be invoked. Should return `false` on early exit and `true`… 173 * should continue. 182 …* @param [ in ] cb - Callback that will be invoked. Should return `false` on early exit and `true`… 183 * should continue. 192 …* @param [ in ] cb - Callback that will be invoked. Should return `false` on early exit and `true`… 193 * should continue. 202 …* @param [ in ] cb - Callback that will be invoked. Should return `false` on early exit and `true`… 203 * should continue. [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/include/ |
| D | method.h | 180 // should become visible in Method() 197 // store which should become visible acquire in Method() 374 // should become visible in GetCompiledEntryPoint() 381 // should become visible in GetCompiledEntryPoint() 388 // store which should become visible acquire in SetCompiledEntryPoint() 409 // should become visible in GetCompilationStatus() 422 // should become visible in SetCompilationStatus() 426 // which should become visible acquire in SetCompilationStatus() 433 // should become visible in AtomicSetCompilationStatus() 483 // should become visible in GetAccessFlags() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/playground/frontend/src/store/slices/ |
| D | code.test.ts | 34 it('should update isRunLoading state when setRunLoading is called', () => { 40 it('should update isCompileLoading state when setCompileLoading is called', () => { 46 it('should update code state when setCode is called', () => { 52 it('should update compileRes state when setCompileRes is called', () => { 62 it('should update runRes state when setRunRes is called', () => {
|
| D | logs.test.ts | 34 it('should update isRunLoading state when setRunLoading is called', () => { 40 it('should update isCompileLoading state when setCompileLoading is called', () => { 46 it('should update code state when setCode is called', () => { 52 it('should update compileRes state when setCompileRes is called', () => { 62 it('should update runRes state when setRunRes is called', () => {
|
| /arkcompiler/runtime_core/libpandabase/mem/ |
| D | base_mem_stats.cpp | 63 …quire order reason: data race with allocated_ with dependecies on reads after the load which should in GetAllocated() 70 …quire order reason: data race with allocated_ with dependecies on reads after the load which should in GetFreed() 82 // which should become visible in GetAllocatedHeap() 96 // which should become visible in GetFreedHeap() 111 …quire order reason: data race with allocated_ with dependecies on reads after the load which should in GetFootprint() 117 // should become visible in GetFootprint() 121 // should become visible in GetFootprint() 123 …quire order reason: data race with allocated_ with dependecies on reads after the load which should in GetFootprint()
|
| /arkcompiler/runtime_core/static_core/libpandabase/mem/ |
| D | base_mem_stats.cpp | 64 …quire order reason: data race with allocated_ with dependecies on reads after the load which should in GetAllocated() 71 …quire order reason: data race with allocated_ with dependecies on reads after the load which should in GetFreed() 83 // which should become visible in GetAllocatedHeap() 97 // which should become visible in GetFreedHeap() 112 …quire order reason: data race with allocated_ with dependecies on reads after the load which should in GetFootprint() 118 // should become visible in GetFootprint() 122 // should become visible in GetFootprint() 124 …quire order reason: data race with allocated_ with dependecies on reads after the load which should in GetFootprint()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/regression/ |
| D | SimplifyStringBuilder.sts | 18 Should be run in aot mode. 30 // SimplifyStringBuilder should not be triggered here: 'prepend' instead of 'append' 40 …// SimplifyStringBuilder should not be triggered here: 'prepend' instead of 'append' in intermedia… 53 // SimplifyStringBuilder should be triggered here: simple 'append' case 63 …// SimplifyStringBuilder should be triggered here: 'append' with intermediate value inside loop bo…
|
| /arkcompiler/runtime_core/static_core/plugins/ets/playground/frontend/src/store/ |
| D | index.test.ts | 24 it('should initialize with the correct default state', () => { 34 it('should handle appState actions', () => { 39 it('should handle options actions', () => { 48 it('should handle syntax actions', () => { 57 it('should handle code actions', () => { 68 it('should handle logs actions', () => {
|