/arkcompiler/ets_runtime/test/aottest/large_func/ |
D | large_func.ts | 16 function add(a:number, b:number):number function 21 add(1, 2); 22 add(1, 2); 23 add(1, 2); 24 add(1, 2); 25 add(1, 2); 26 add(1, 2); 27 add(1, 2); 28 add(1, 2); 29 add(1, 2); [all …]
|
/arkcompiler/ets_runtime/test/aottest/large_func_acc/ |
D | large_func_acc.ts | 16 function add(a:number, b:number):number function 22 r += add(1, 2); 23 r += add(1, 2); 24 r += add(1, 2); 25 r += add(1, 2); 26 r += add(1, 2); 27 r += add(1, 2); 28 r += add(1, 2); 29 r += add(1, 2); 30 r += add(1, 2); [all …]
|
/arkcompiler/toolchain/tooling/test/testcases/js/ |
D | container.js | 20 arrayList.add(5); 22 arrayList.add(8); 24 arrayList.add(15); 25 arrayList.add(3); 26 arrayList.add(10); 27 arrayList.add(288); 28 arrayList.add(188); 77 hashSet.add(5); 78 hashSet.add(18); 79 hashSet.add(2); [all …]
|
/arkcompiler/toolchain/tooling/base/ |
D | pt_events.cpp | 22 result->Add("breakpointId", breakpointId_.c_str()); in ToJson() 24 result->Add("location", location_->ToJson()); in ToJson() 27 object->Add("method", GetName().c_str()); in ToJson() 28 object->Add("params", result); in ToJson() 43 result->Add("callFrames", array); in ToJson() 44 result->Add("reason", reason_.c_str()); in ToJson() 47 result->Add("data", data_.value()->ToJson()); in ToJson() 55 result->Add("hitBreakpoints", breakpoints); in ToJson() 59 object->Add("method", GetName().c_str()); in ToJson() 60 object->Add("params", result); in ToJson() [all …]
|
D | pt_returns.cpp | 23 result->Add("debuggerId", std::to_string(debuggerId_).c_str()); in ToJson() 32 result->Add("breakpointId", id_.c_str()); in ToJson() 40 result->Add("locations", array); in ToJson() 56 result->Add("locations", array); in ToJson() 66 result->Add("result", result_->ToJson()); in ToJson() 69 result->Add("exceptionDetails", exceptionDetails_.value()->ToJson()); in ToJson() 86 result->Add("locations", array); in ToJson() 95 result->Add("scriptSource", scriptSource_.c_str()); in ToJson() 97 result->Add("bytecode", bytecode_->c_str()); in ToJson() 114 result->Add("callFrames", array); in ToJson() [all …]
|
D | pt_json.h | 50 // Add Json child 51 bool Add(const char *key, bool value) const; 52 bool Add(const char *key, int32_t value) const; 53 bool Add(const char *key, int64_t value) const; 54 bool Add(const char *key, uint32_t value) const; 55 bool Add(const char *key, double value) const; 56 bool Add(const char *key, const char *value) const; 57 bool Add(const char *key, const std::unique_ptr<PtJson> &value) const;
|
/arkcompiler/ets_frontend/ts2panda/src/ |
D | pandagen.ts | 514 this.add(node, storeAccumulator(vreg)); 518 this.add( 526 this.add( 542 this.add(node, storeAccumulator(paramVreg)); 550 this.add(node, deleteObjProperty(obj)); 554 this.add(node, loadAccumulator(vreg)); 565 this.add( 572 this.add( 579 this.add( 588 this.add( [all …]
|
D | addVariable2Scope.ts | 99 … parentVariableScope.add(MandatoryArguments, VarDeclarationKind.CONST, InitStatus.INITIALIZED); 104 scope.add(MandatoryArguments, VarDeclarationKind.CONST, InitStatus.INITIALIZED); 124 v = scope.add(hoistDecl, VarDeclarationKind.VAR); 126 v = scope.add(hoistDecl, VarDeclarationKind.FUNCTION); 150 v = scope.add(decl, VarDeclarationKind.LET, InitStatus.UNINITIALIZED); 152 v = scope.add(decl, VarDeclarationKind.CONST, InitStatus.UNINITIALIZED); 156 v = scope.add(decl, VarDeclarationKind.FUNCTION); 159 v = functionScope.add(decl, VarDeclarationKind.FUNCTION); 162 v = scope.add(decl, VarDeclarationKind.LET); 166 v = scope.add(decl, VarDeclarationKind.CLASS, InitStatus.UNINITIALIZED); [all …]
|
/arkcompiler/toolchain/tooling/test/ |
D | pt_params_test.cpp | 56 ptJson->Add("maxScriptsCacheSize", attribute.c_str()); in HWTEST_F_L0() 65 ptJson->Add("objectGroup", 0); in HWTEST_F_L0() 66 ptJson->Add("includeCommandLineAPI", attribute.c_str()); in HWTEST_F_L0() 67 ptJson->Add("silent", attribute.c_str()); in HWTEST_F_L0() 68 ptJson->Add("returnByValue", attribute.c_str()); in HWTEST_F_L0() 69 ptJson->Add("generatePreview", attribute.c_str()); in HWTEST_F_L0() 70 ptJson->Add("throwOnSideEffect", attribute.c_str()); in HWTEST_F_L0() 82 ptJson->Add("start", start); in HWTEST_F_L0() 83 ptJson->Add("end", end); in HWTEST_F_L0() 86 ptJson1->Add("end", attribute.c_str()); in HWTEST_F_L0() [all …]
|
D | pt_types_test.cpp | 320 ptJson->Add("recordMode", 0); in HWTEST_F_L0() 321 ptJson->Add("enableSampling", attribute.c_str()); in HWTEST_F_L0() 322 ptJson->Add("enableSystrace", attribute.c_str()); in HWTEST_F_L0() 323 ptJson->Add("enableArgumentFilter", attribute.c_str()); in HWTEST_F_L0() 324 ptJson->Add("includedCategories", attribute.c_str()); in HWTEST_F_L0() 325 ptJson->Add("excludedCategories", attribute.c_str()); in HWTEST_F_L0() 326 ptJson->Add("syntheticDelays", attribute.c_str()); in HWTEST_F_L0() 327 ptJson->Add("memoryDumpConfig", attribute.c_str()); in HWTEST_F_L0() 330 object->Add("test", 0); in HWTEST_F_L0() 332 ptJson1->Add("includedCategories", includedCategoriesArray); in HWTEST_F_L0() [all …]
|
/arkcompiler/runtime_core/docs/ |
D | irtoc.md | 15 …n the IR instructions has corresponding token in the irtoc lang. For example, IR instruction `Add`: 17 - opcode: Add 21 description: Add two inputs. 23 has keyword with the same name `Add` and with same signature: 25 var = Add(input1, input2) 31 var = Add(input1, input2).i64.CC(:CC_GE).pc(123) 41 In last example variable `var` holds the newly created instruction `Add` and it can be input for th… 44 var = Add(input1, input2).i64.CC(:CC_GE).pc(123) 49 Return(Add(input1, input2).i64.CC(:CC_GE).pc(123)).i64 56 For example, add 1 to the biggest value: [all …]
|
/arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
D | add.yaml | 17 - file-name: add 28 - sig: add v1:in:i32, v2:in:i32 35 add v0, v1 43 description: Check add with zero and various values. 75 - sig: add v1:in:i32, v2:in:i32 82 add v0, v1 90 description: Check add with +1 and various values. 123 - sig: add v1:in:i32, v2:in:i32 130 add v0, v1 138 description: Check add with -1 and various values. [all …]
|
/arkcompiler/ets_frontend/ts2panda/tests/ |
D | scope.test.ts | 32 it("test add 'none' variable to GlobalScope", function () { 34 let variable = scope.add("x", VarDeclarationKind.NONE); 42 it("test add 'var' variable to GlobalScope", function () { 44 let variable = scope.add("x", VarDeclarationKind.VAR); 52 it("test add 'let' variable to GlobalScope", function () { 54 let variable = scope.add("x", VarDeclarationKind.LET); 62 it("test add 'const' variable to GlobalScope", function () { 64 let variable = scope.add("x", VarDeclarationKind.CONST); 72 it("test add several variables to GlobalScope", function () { 74 let x = scope.add("x", VarDeclarationKind.LET); [all …]
|
/arkcompiler/ets_runtime/test/moduletest/container/ |
D | container_plainarray.js | 31 proxy.add(0, "0") 32 proxy.add(1, "1") 33 proxy.add(2, "2") 34 proxy.add(3, "3") 35 proxy.add(4, "4") 36 proxy.add(5, "5") 43 map.set("test plainarray add:", res) 103 proxy1.add(0, "0") 104 proxy1.add(1, "1") 105 proxy1.add(2, "2") [all …]
|
D | container_arraylist.js | 26 arr.add(1); 27 arr.add(2); 52 proxy.add(i) 61 map.set("test arraylist add:", res) 185 proxy1.add(4); 186 proxy1.add(3); 187 proxy1.add(1); 188 proxy1.add(2); 189 proxy1.add(0); 202 proxy1.add(4); [all …]
|
D | container_vector.js | 28 vector.add(4); // index is 0 29 vector.add(3); 30 vector.add(1); 31 vector.add(5); 32 vector.add(14); 34 map.set("test add and toString:", res); 88 proxy.add(i) 97 map.set("test vector add:", res) 224 proxy1.add(4); 225 proxy1.add(3); [all …]
|
D | container_hashset.js | 28 set.add("aa"); 29 set.add("bb"); 34 set.add("cc"); 67 set.add("ee"); 68 set.add("dd"); 85 proxy.add("aa"); 86 proxy.add("bb"); 91 proxy.add("cc"); 125 proxy.add("ee"); 126 proxy.add("dd");
|
/arkcompiler/runtime_core/libpandabase/tests/ |
D | json_builder_test.cpp | 28 auto value = JsonArrayBuilder().Add(arg).Build(); 76 array.Add(1); in TEST() 77 array.Add(""); in TEST() 78 array.Add([](JsonArrayBuilder &) {}); in TEST() 79 array.Add([](JsonObjectBuilder &object) { in TEST() 81 x.Add("foo"); in TEST() 82 x.Add("bar"); in TEST() 106 …JsonArrayBuilder().Add(1).Add("foo").Add([](JsonArrayBuilder &x) { x.Add([](JsonArrayBuilder &) {}… in TEST() 114 builder.Add(1); in TEST() 115 builder.Add("foo"); in TEST() [all …]
|
/arkcompiler/ets_runtime/ecmascript/sdk/ |
D | BUILD.gn | 34 # Add executable "ark_aot_compiler" 44 # Add executable "profdump" 51 # Add dynamic library "hilog" 58 # Add dynamic library "icu" 70 # Add dynamic library "libsec_shared" 80 # Add dynamic library "libshared_libz" 100 # Add lib_ark_builtins 117 # Add executable "ark_aot_compiler" 126 # Add executable "profdump" 133 # Add dynamic library "hilog" [all …]
|
/arkcompiler/runtime_core/compiler/docs/ |
D | lowering_doc.md | 62 4.u64 Add v0, v1 -> (v10) 63 5.u64 Add v0, v2 -> (v10) 64 6.u64 Add v0, v3 -> (v10) 68 13.f64 Add v11, v21 -> (v10) 70 15.f32 Add v12, v22 -> (v10) 72 17.u64 Add v0, v0 -> (v10) 74 19.u16 Add v0, v1 -> (v10) 75 20.u16 Add v0, v2 -> (v10) 99 6.u64 Add v0, v3 -> (v10) 103 13.f64 Add v11, v21 -> (v10) [all …]
|
/arkcompiler/ets_frontend/es2panda/aot/ |
D | options.cpp | 246 argparser_->Add(&opHelp); in Parse() 247 argparser_->Add(&opModule); in Parse() 248 argparser_->Add(&opCommonjs); in Parse() 249 argparser_->Add(&opDumpAst); in Parse() 250 argparser_->Add(&opDumpTransformedAst); in Parse() 251 argparser_->Add(&opCheckTransformedAstStructure); in Parse() 252 argparser_->Add(&opParseOnly); in Parse() 253 argparser_->Add(&opEnableTypeCheck); in Parse() 254 argparser_->Add(&opTypeExtractor); in Parse() 255 argparser_->Add(&opTypeDtsBuiltin); in Parse() [all …]
|
/arkcompiler/runtime_core/compiler/tests/amd64/ |
D | asmjit_test.cpp | 67 // Add the generated code to the runtime. in TEST_F() 68 Error err = rt.add(&fn, &code); in TEST_F() 75 TEST_F(AsmJitTest, Add) in TEST_F() argument 103 a.add(lhs, rhs); in TEST_F() 110 // Add the generated code to the runtime. in TEST_F() 111 Error err = rt.add(&fn, &code); in TEST_F() 127 a.add(x86::rdi, x86::rsi); in TEST_F() 135 // Add the generated code to the runtime. in TEST_F() 136 Error err = rt.add(&fn, &code); in TEST_F() 159 // Add the generated code to the runtime. in TEST_F() [all …]
|
/arkcompiler/runtime_core/compiler/optimizer/optimizations/ |
D | vn.cpp | 29 /* Add only those intrinsics that have no flags set */ in AddSpecialTraits() 30 obj->Add(static_cast<uint32_t>(inst->CastToIntrinsic()->GetIntrinsicId())); in AddSpecialTraits() 34 obj->Add(static_cast<uint32_t>(inst->CastToCompareAnyType()->GetAnyType())); in AddSpecialTraits() 37 obj->Add(static_cast<uint32_t>(inst->CastToCastAnyTypeValue()->GetAnyType())); in AddSpecialTraits() 44 void VnObject::Add(Inst *inst) in Add() function in panda::compiler::VnObject 46 Add(static_cast<uint32_t>(inst->GetOpcode())); in Add() 47 Add(static_cast<uint32_t>(inst->GetType())); in Add() 55 Add(vn); in Add() 61 void VnObject::Add(uint32_t obj) in Add() function in panda::compiler::VnObject 67 void VnObject::Add(uint64_t obj) in Add() function in panda::compiler::VnObject [all …]
|
/arkcompiler/ets_frontend/arkguard/src/common/ |
D | ApiExtractor.ts | 106 mCurrentExportNameSet.add(astNode.expression.getText()); 107 mPropertySet.add(astNode.expression.getText()); 121 mCurrentExportNameSet.add(astNode.name.getText()); 122 mPropertySet.add(astNode.name.getText()); 132 mCurrentExportNameSet.add(declarationName); 133 mPropertySet.add(declarationName); 166 mPropertySet.add(astNode.name.text); 168 mPropertySet.add(astNode.name.getText()); 225 mPropertySet.add(left.argumentExpression.text); 231 mPropertySet.add(left.name.getText()); [all …]
|
/arkcompiler/ets_frontend/ts2panda/ts2abc/ |
D | ts2abc_options.h | 35 parser->Add(&size_stat_arg_); in AddOptions() 36 parser->Add(&help_arg_); in AddOptions() 37 parser->Add(&opt_level_arg_); in AddOptions() 38 parser->Add(&opt_log_level_arg_); in AddOptions() 39 parser->Add(&bc_version_arg_); in AddOptions() 40 parser->Add(&bc_min_version_arg_); in AddOptions() 41 parser->Add(&compile_by_pipe_arg_); in AddOptions() 42 parser->Add(&compile_npm_entries_); in AddOptions() 43 parser->Add(&compiler_output_proto_); in AddOptions() 44 parser->Add(&multi_programs_pipe_); in AddOptions()
|