| /arkcompiler/runtime_core/static_core/runtime/tests/tooling/sampler/ |
| D | sampling_profiler_test.pa | 21 .record Body{ 56 newarr v4, v2, Body[] 109 .function void BodyInit(Body a0, f64 a1, f64 a2, f64 a3, f64 a4, f64 a5, f64 a6, f64 a7){ 111 stobj a0, Body.x 113 stobj a0, Body.y 115 stobj a0, Body.z 117 stobj a0, Body.vx 119 stobj a0, Body.vy 121 stobj a0, Body.vz 123 stobj a0, Body.mass [all …]
|
| /arkcompiler/runtime_core/static_core/tests/benchmarks/ |
| D | access-nbody.pa | 21 .record Body{ 56 newarr v4, v2, Body[] 109 .function void BodyInit(Body a0, f64 a1, f64 a2, f64 a3, f64 a4, f64 a5, f64 a6, f64 a7){ 111 stobj.64 a0, Body.x 113 stobj.64 a0, Body.y 115 stobj.64 a0, Body.z 117 stobj.64 a0, Body.vx 119 stobj.64 a0, Body.vy 121 stobj.64 a0, Body.vz 123 stobj.64 a0, Body.mass [all …]
|
| /arkcompiler/runtime_core/tests/benchmarks/ |
| D | access-nbody.pa | 21 .record Body{ 56 newarr v4, v2, Body[] 109 .function void BodyInit(Body a0, f64 a1, f64 a2, f64 a3, f64 a4, f64 a5, f64 a6, f64 a7){ 111 stobj a0, Body.x 113 stobj a0, Body.y 115 stobj a0, Body.z 117 stobj a0, Body.vx 119 stobj a0, Body.vy 121 stobj a0, Body.vz 123 stobj a0, Body.mass [all …]
|
| /arkcompiler/runtime_core/assembler/ |
| D | asm_metadata.rb | 96 body = [] 100 body << "#{indent}if (attribute == \"#{attribute_name(a)}\") {" 103 body << "#{indent * 2}if (HasAttribute(attribute)) {" 104 body << "#{indent * 3}return Error(\"Attribute '#{attribute_name(a)}' already defined\"," 105 body << "#{indent * 3} Error::Type::MULTIPLE_ATTRIBUTE);" 106 body << "#{indent * 2}}" 111 body << "#{indent * 2}if (value == \"#{v.value}\") {" 112 body << "#{indent * 3}return {};" 113 body << "#{indent * 2}}" 114 body << "" [all …]
|
| /arkcompiler/runtime_core/static_core/assembler/ |
| D | asm_metadata.rb | 96 body = [] 100 body << "#{indent}if (attribute == \"#{attribute_name(a)}\") {" 103 body << "#{indent * 2}if (HasAttribute(attribute)) {" 104 body << "#{indent * 3}return Error(\"Attribute '#{attribute_name(a)}' already defined\"," 105 body << "#{indent * 3} Error::Type::MULTIPLE_ATTRIBUTE);" 106 body << "#{indent * 2}}" 111 body << "#{indent * 2}if (value == \"#{v.value}\") {" 112 body << "#{indent * 3}return {};" 113 body << "#{indent * 2}}" 114 body << "" [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/runtime/ets/ |
| D | AccessNBody.sts | 19 class Body { 38 public offsetMomentum(px : double, py : double, pz : double): Body { 47 bodies : Body[] ; 48 public constructor(bodies : Body[]) { 55 let b : Body = this.bodies[i]; 72 let bodyi : Body = this.bodies[i]; 74 let bodyj : Body = this.bodies[j]; 89 let body : Body = this.bodies[i]; 90 body.x += dt * body.vx; 91 body.y += dt * body.vy; [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/parser/ets/ |
| D | AccessNBody.sts | 19 class Body { 38 public offsetMomentum(px : double, py : double, pz : double): Body { 47 bodies : Body[] ; 48 public constructor(bodies : Body[]) { 55 let b : Body = this.bodies[i]; 72 let bodyi : Body = this.bodies[i]; 74 let bodyj : Body = this.bodies[j]; 89 let body : Body = this.bodies[i]; 90 body.x += dt * body.vx; 91 body.y += dt * body.vy; [all …]
|
| /arkcompiler/runtime_core/static_core/tests/test-lists/test262/ |
| D | test262-ignored-LLVM.txt | 14 language/statements/do-while/tco-body.js 15 language/statements/for/tco-const-body.js 16 language/statements/for/tco-let-body.js 17 language/statements/for/tco-lhs-body.js 18 language/statements/for/tco-var-body.js 19 language/statements/if/tco-else-body.js 20 language/statements/if/tco-if-body.js 23 language/statements/switch/tco-case-body-dflt.js 24 language/statements/switch/tco-case-body.js 28 language/statements/while/tco-body.js
|
| D | test262-ignored-AOT.txt | 14 language/statements/do-while/tco-body.js 15 language/statements/for/tco-const-body.js 16 language/statements/for/tco-let-body.js 17 language/statements/for/tco-lhs-body.js 18 language/statements/for/tco-var-body.js 19 language/statements/if/tco-else-body.js 20 language/statements/if/tco-if-body.js 23 language/statements/switch/tco-case-body-dflt.js 24 language/statements/switch/tco-case-body.js 28 language/statements/while/tco-body.js
|
| D | test262-ignored-IRTOC.txt | 14 language/statements/do-while/tco-body.js 15 language/statements/for/tco-const-body.js 16 language/statements/for/tco-let-body.js 17 language/statements/for/tco-lhs-body.js 18 language/statements/for/tco-var-body.js 19 language/statements/if/tco-else-body.js 20 language/statements/if/tco-if-body.js 23 language/statements/switch/tco-case-body-dflt.js 24 language/statements/switch/tco-case-body.js 28 language/statements/while/tco-body.js
|
| D | test262-excluded-ARM64-IRTOC.txt | 14 language/statements/do-while/tco-body.js 15 language/statements/for/tco-const-body.js 16 language/statements/for/tco-let-body.js 17 language/statements/for/tco-lhs-body.js 18 language/statements/for/tco-var-body.js 19 language/statements/if/tco-else-body.js 20 language/statements/if/tco-if-body.js 23 language/statements/switch/tco-case-body-dflt.js 24 language/statements/switch/tco-case-body.js 28 language/statements/while/tco-body.js
|
| D | test262-ignored-JIT.txt | 14 language/statements/do-while/tco-body.js 15 language/statements/for/tco-const-body.js 16 language/statements/for/tco-let-body.js 17 language/statements/for/tco-lhs-body.js 18 language/statements/for/tco-var-body.js 19 language/statements/if/tco-else-body.js 20 language/statements/if/tco-if-body.js 23 language/statements/switch/tco-case-body-dflt.js 24 language/statements/switch/tco-case-body.js 28 language/statements/while/tco-body.js
|
| D | test262-ignored-AOT-FULL.txt | 14 language/statements/do-while/tco-body.js 15 language/statements/for/tco-const-body.js 16 language/statements/for/tco-let-body.js 17 language/statements/for/tco-lhs-body.js 18 language/statements/for/tco-var-body.js 19 language/statements/if/tco-else-body.js 20 language/statements/if/tco-if-body.js 23 language/statements/switch/tco-case-body-dflt.js 24 language/statements/switch/tco-case-body.js 28 language/statements/while/tco-body.js
|
| /arkcompiler/ets_frontend/ets2panda/ast_verifier/ |
| D | checkInfiniteLoop.cpp | 58 bool CheckInfiniteLoop::HasBreakOrReturnStatement(const ir::Statement *const body) const in HasBreakOrReturnStatement() 60 ASSERT(body); in HasBreakOrReturnStatement() 61 bool hasExit = body->IsBreakStatement() || body->IsReturnStatement(); in HasBreakOrReturnStatement() 62 body->IterateRecursively( in HasBreakOrReturnStatement() 71 auto const *body = stmt->Body(); in HandleWhileStatement() local 73 if ((body == nullptr) || (test == nullptr)) { in HandleWhileStatement() 78 if (!HasBreakOrReturnStatement(body)) { in HandleWhileStatement() 89 auto const *body = stmt->Body(); in HandleDoWhileStatement() local 91 if ((body == nullptr) || (test == nullptr)) { in HandleDoWhileStatement() 96 if (!HasBreakOrReturnStatement(body)) { in HandleDoWhileStatement() [all …]
|
| D | checkContext.h | 61 return [sourceName, phaseName, severity, this](JsonObjectBuilder &body) { in DumpJSON() 62 body.AddProperty("severity", CheckSeverityString(severity)); in DumpJSON() 63 body.AddProperty("invariant", invariantName_); in DumpJSON() 64 body.AddProperty("cause", cause_); in DumpJSON() 65 body.AddProperty("ast", message_); in DumpJSON() 66 body.AddProperty("line", line_ + 1); in DumpJSON() 67 body.AddProperty("source", sourceName); in DumpJSON() 68 body.AddProperty("phase", phaseName); in DumpJSON()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/playground/backend/src/arkts_playground/routers/ |
| D | compile_run.py | 32 async def compile_arkts_code(body: CompileRequestModel, 35 body.code, 36 options=runner.parse_compile_options(body.options), 37 disasm=body.disassemble 46 async def compile_run_arkts_code(body: CompileRequestModel, 49 body.code, 50 options=runner.parse_compile_options(body.options), 51 disasm=body.disassemble
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/04.access_modifiers/01.private_access_modifier/ |
| D | private_member_access_out_class.params.yaml | 16 - { body: "x: int;", call: "x"} 17 - { body: "getValue(): int { return 1; }", call: "getValue()" } 18 - { body: "inner class B { static x: int = 1; }", call: "B.x" } 19 - { body: "enum Color {Red, Green}", call: "Color.Red.ordinal()" } 20 - { body: "get val(): int { return 1; }", call: "val" } 21 - { body: "set val(x: int): void { }", call: "val(1)" }
|
| D | private_member_access_in_class.params.yaml | 16 - { body: "x: int;", type: "int", call: "return this.x", value: "0" } 17 …- { body: "getValue(): int { return 1; }", type: "int", call: "return this.getValue()", value: "1"… 18 …- { body: "inner class B { static x: int = 1; }", type: "int", call: "return this.B.x", value: "1"… 19 …- { body: "enum Color {Red, Green}", type: "int", call: "return this.Color.Red.ordinal()", value: … 20 - { body: "get val(): int { return 1; }", type: "int", call: "return this.val", value: "1" } 21 …- { body: "x: int = 0; set val(x: int) { this.x = x; }", type: "int", call: "this.val = 1; return …
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/04.access_modifiers/ |
| D | default_access_modifiers.params.yaml | 16 - { body: "x: int;", call: "instance.x" } 17 - { body: "foo(): void {}", call: "instance.foo()" } 18 - { body: "class B{}", call: "let x: A.B = new A.B()" } 19 - { body: "interface I{}", call: "let x: A.I" } 20 - { body: "enum Color {Red, Green}", call: "instance.Color.Red" } 21 - { body: "constructor(int y) { this.y = y; }", call: "let x: A = new A(5)" }
|
| /arkcompiler/runtime_core/static_core/runtime/tests/ |
| D | c2i_bridge_test.cpp | 172 std::ostringstream body; in MakeCheckArgsMethod() local 177 body << "lda.null" << '\n' << "jne.obj a0, fail\n"; in MakeCheckArgsMethod() 194 body = GetBodyPrologue(shortyIt, argsIt, args, argNum); in MakeCheckArgsMethod() 197 body << "ldai " << *argsIt << '\n' << "jne a" << argNum << ", fail\n"; in MakeCheckArgsMethod() 206 FillBodyEpilogue(retType, body); in MakeCheckArgsMethod() 208 out = GetFileWithInfo(ctx, retType, signature, body); in MakeCheckArgsMethod() 229 std::ostringstream body; in GetBodyPrologue() local 231 body << "fldai.64 " << bit_cast<double>(*argsIt) << '\n'; in GetBodyPrologue() 232 body << "fcmpg.64 a" << argNum << '\n'; in GetBodyPrologue() 233 body << "jnez fail\n"; in GetBodyPrologue() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/playground/frontend/src/ |
| D | index.css | 16 body { selector 29 body, selector 44 body.light-theme { 48 body.dark-theme { 52 .mosaic-window .mosaic-window-body, .mosaic-preview .mosaic-window-body {
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/04.access_modifiers/03.protected_access_modifier/ |
| D | protected_member_access_out_class.params.yaml | 16 - { body: "x: int;", call: "x" } 17 - { body: "getValue(): int { return 1; }", call: "getValue()" } 18 - { body: "inner class C { static x: int = 1; }", call: "C.x" } 19 - { body: "enum Color {Red, Green}", call: "Color.Red.ordinal()" }
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/04.access_modifiers/02.internal_access_modifier/ |
| D | internal_member_access.params.yaml | 16 - { body: "x: int;", call: "x"} 17 - { body: "getValue(): int { return 1 }", call: "getValue()" } 18 - { body: "inner class B { static x: int = 1; }", call: "B.x" } 19 - { body: "enum Color {Red, Green}", call: "Color.Red.ordinal()" }
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/04.access_modifiers/04.public_access_modifier/ |
| D | public_member_access_out_class.params.yaml | 16 - { body: "x: int;", call: "x"} 17 - { body: "getValue(): int { return 1 }", call: "getValue()" } 18 - { body: "class B { static x: int = 1; }", call: "B.x" } 19 - { body: "enum Color {Red, Green}", call: "Color.Red.ordinal()" }
|
| /arkcompiler/ets_frontend/es2panda/test/parser/js/ |
| D | test-labelled-statement-expected.txt | 20 "body": { 74 "body": { 143 "body": { 225 "body": { 241 "body": { 306 "body": { 308 "body": { 374 "body": { 429 "body": { 447 "body": { [all …]
|