/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 | 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;
|
D | pt_types.cpp | 1005 result->Add("type", type_.c_str()); in ToJson() 1007 result->Add("subtype", subType_->c_str()); in ToJson() 1010 result->Add("className", className_->c_str()); in ToJson() 1013 result->Add("unserializableValue", unserializableValue_->c_str()); in ToJson() 1016 result->Add("description", description_->c_str()); in ToJson() 1019 result->Add("objectId", std::to_string(objectId_.value()).c_str()); in ToJson() 1112 result->Add("exceptionId", exceptionId_); in ToJson() 1113 result->Add("text", text_.c_str()); in ToJson() 1114 result->Add("lineNumber", lineNumber_); in ToJson() 1115 result->Add("columnNumber", columnNumber_); in ToJson() [all …]
|
D | pt_json.cpp | 61 bool PtJson::Add(const char *key, bool value) const in Add() function in panda::ecmascript::tooling::PtJson 79 bool PtJson::Add(const char *key, int32_t value) const in Add() function in panda::ecmascript::tooling::PtJson 81 return Add(key, static_cast<double>(value)); in Add() 84 bool PtJson::Add(const char *key, int64_t value) const in Add() function in panda::ecmascript::tooling::PtJson 86 return Add(key, static_cast<double>(value)); in Add() 89 bool PtJson::Add(const char *key, uint32_t value) const in Add() function in panda::ecmascript::tooling::PtJson 91 return Add(key, static_cast<double>(value)); in Add() 94 bool PtJson::Add(const char *key, double value) const in Add() function in panda::ecmascript::tooling::PtJson 112 bool PtJson::Add(const char *key, const char *value) const in Add() function in panda::ecmascript::tooling::PtJson 130 bool PtJson::Add(const char *key, const std::unique_ptr<PtJson> &value) const in Add() function in panda::ecmascript::tooling::PtJson
|
/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 …]
|
D | pt_json_test.cpp | 134 child1->Add("ch", "child_1"); in HWTEST_F_L0() 138 child2->Add("ch", "child_2"); in HWTEST_F_L0() 146 root->Add("a", false); in HWTEST_F_L0() 147 root->Add("b", 100); in HWTEST_F_L0() 148 root->Add("c", 100.2); in HWTEST_F_L0() 149 root->Add("d", static_cast<int64_t>(200)); in HWTEST_F_L0() 150 root->Add("e", "abc"); in HWTEST_F_L0() 151 root->Add("f", child2); in HWTEST_F_L0() 152 root->Add("g", arr); in HWTEST_F_L0() 269 bool result = ptJson.Add(key, value); in HWTEST_F_L0() [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/libpandabase/tests/ |
D | json_builder_test.cpp | 28 auto value = JsonArrayBuilder().Add(arg).Build(); 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() 116 builder.Add([](JsonArrayBuilder &x) { x.Add([](JsonArrayBuilder &) {}); }); in TEST()
|
D | bit_table_test.cpp | 351 ASSERT_EQ(0U, builder.Add(values[0])); in TEST_F() 352 ASSERT_EQ(1U, builder.Add(values[1])); in TEST_F() 353 ASSERT_EQ(0U, builder.Add(values[0])); in TEST_F() 354 ASSERT_EQ(2U, builder.Add(values[2])); in TEST_F() 355 ASSERT_EQ(1U, builder.Add(values[1])); in TEST_F() 356 ASSERT_EQ(2U, builder.Add(values[2])); in TEST_F() 383 values.push_back({builder.Add(fixed_vec), value}); in TEST_F() 439 ASSERT_EQ(builder.Add(fixed_vectors[0].GetFixed()), 0); in TEST_F() 440 ASSERT_EQ(builder.Add(fixed_vectors[1].GetFixed()), 1); in TEST_F() 441 ASSERT_EQ(builder.Add(fixed_vectors[2].GetFixed()), BitTableDefault<1>::NO_VALUE); in TEST_F() [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 60 v1 = Add(a, 1).i64 [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()
|
/arkcompiler/runtime_core/compiler/optimizer/optimizations/ |
D | vn.cpp | 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 133 obj->Add(inst); in FindEqualVnOrCreateNew()
|
/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/merge_abc/src/ |
D | options.cpp | 40 argparser_->Add(&opHelp); in Parse() 41 argparser_->Add(&protoPathInput); in Parse() 42 argparser_->Add(&protoBinSuffix); in Parse() 43 argparser_->Add(&outputFileName); in Parse() 44 argparser_->Add(&outputFilePath); in Parse()
|
/arkcompiler/runtime_core/libark_defect_scan_aux/tests/unittest/ |
D | graph_test.js | 26 Add(o) { method in Data 36 c.Add(o1); 40 c.Add(o2); 44 c.Add(new Data(1, 2));
|
/arkcompiler/runtime_core/disassembler/ |
D | disasm.cpp | 108 pa_parser.Add(&help); in main() 109 pa_parser.Add(&verbose); in main() 110 pa_parser.Add(&quiet); in main() 111 pa_parser.Add(&skip_strings); in main() 112 pa_parser.Add(&debug); in main() 113 pa_parser.Add(&debug_file); in main() 114 pa_parser.Add(&version); in main()
|
/arkcompiler/ets_runtime/ecmascript/compiler/trampoline/aarch64/ |
D | optimized_call.cpp | 76 __ Add(fp, sp, Immediate(2 * FRAME_SLOT_SIZE)); // 16: skip frame type and tmp in CallRuntime() local 83 __ Add(tmp, glue, Operand(tmp, LSL, 3)); in CallRuntime() local 86 __ Add(argV, fp, Immediate(GetStackArgOffSetToFp(2))); // 2: the third arg id in CallRuntime() local 95 __ Add(sp, sp, Immediate(2 * FRAME_SLOT_SIZE)); in CallRuntime() local 105 __ Add(argc, argc, Immediate(static_cast<int64_t>(CommonArgIdx::ACTUAL_ARGC))); in IncreaseStackForArguments() local 113 __ Add(currentSp, currentSp, Operand(argc, UXTW, FRAME_SLOT_SIZE_LOG2)); in IncreaseStackForArguments() local 155 __ Add(tmpArgV, tmpArgV, Immediate(TRIPLE_SLOT_SIZE)); in JSFunctionEntry() local 218 __ Add(expectedNumArgs, expectedNumArgs, Immediate(NUM_MANDATORY_JSFUNC_ARGS)); in OptimizedCallAndPushUndefined() local 220 …__ Add(argV, sp, Immediate(kungfu::ArgumentAccessor::GetExtraArgsNum() * FRAME_SLOT_SIZE)); // sk… in OptimizedCallAndPushUndefined() local 324 __ Add(temp, sp, Immediate(FRAME_SLOT_SIZE)); in CallBuiltinTrampoline() local [all …]
|
/arkcompiler/runtime_core/compiler/tests/ |
D | compiler_optimizations_test.cpp | 59 vn_obj.Add(obj1); 60 vn_obj.Add(obj2); 112 vn_obj.Add(inst1); in __anon87bf345c0102() 115 vn_obj.Add(inst2); in __anon87bf345c0102() 134 vn_obj.Add(obj1); 135 vn_obj.Add(obj2); 147 vn_obj1.Add(obj1); 148 vn_obj1.Add(obj2);
|
D | split_resolver_test.cpp | 99 INST(1, Opcode::Add).u64().Inputs(0, 0); in TEST_F() 121 INST(1, Opcode::Add).u64().Inputs(0, 0); in TEST_F() 123 INST(2, Opcode::Add).u64().Inputs(0, 1); in TEST_F() 322 INST(3, Opcode::Add).u64().Inputs(0, 0); in TEST_F() 338 INST(7, Opcode::Add).u64().Inputs(3, 0); in TEST_F() 361 INST(3, Opcode::Add).u64().Inputs(0, 0); in TEST_F() 371 INST(7, Opcode::Add).u64().Inputs(3, 0); in TEST_F() 416 INST(4, Opcode::Add).u64().Inputs(0, 1); in TEST_F() 462 INST(8, Opcode::Add).u64().Inputs(0, 5); in TEST_F() 463 INST(9, Opcode::Add).u64().Inputs(8, 1); in TEST_F() [all …]
|
D | reg_alloc_graph_coloring_test.cpp | 60 INST(5, Opcode::Add).u64().Inputs(0, 2); in TEST_F() 66 INST(7, Opcode::Add).u64().Inputs(6, 1); in TEST_F() 108 INST(5, Opcode::Add).u64().Inputs(0, 2); in TEST_F() 124 INST(6, Opcode::Add).u64().Inputs(0, 1); in TEST_F() 135 INST(12, Opcode::Add).u64().Inputs(11, 1); in TEST_F() 136 INST(13, Opcode::Add).u64().Inputs(12, 0); in TEST_F()
|
D | graph_cloner_test.cpp | 53 INST(10, Opcode::Add).s32().Inputs(4, 1); // i++ in TEST_F() 88 INST(10, Opcode::Add).s32().Inputs(4, 1); // i++ in TEST_F() 107 INST(25, Opcode::Add).s32().Inputs(19, 1); // i++ in TEST_F() 148 INST(21, Opcode::Add).s32().Inputs(20, 9); in TEST_F() 149 INST(10, Opcode::Add).s32().Inputs(4, 1); // i++ in TEST_F() 188 INST(21, Opcode::Add).s32().Inputs(20, 9); in TEST_F() 189 INST(10, Opcode::Add).s32().Inputs(4, 1); // i++ in TEST_F() 210 INST(30, Opcode::Add).s32().Inputs(26, 29); in TEST_F() 211 INST(31, Opcode::Add).s32().Inputs(25, 1); // i++ in TEST_F() 251 INST(13, Opcode::Add).s32().Inputs(10, 1); in TEST_F() [all …]
|
/arkcompiler/ets_frontend/es2panda/typescript/extractor/ |
D | typeSystem.h | 266 buffer_->Add(recorder_->Allocator()->New<ir::UserTypeIndexLiteral>(typeIndex, in FillTypeIndexLiteralBuffer() 269 buffer_->Add(recorder_->Allocator()->New<ir::BuiltinTypeIndexLiteral>(typeIndex)); in FillTypeIndexLiteralBuffer() 271 buffer_->Add(recorder_->Allocator()->New<ir::NumberLiteral>(typeIndex)); in FillTypeIndexLiteralBuffer() 359 buffer_->Add(recorder_->Allocator()->New<ir::NumberLiteral>(userType.size() + in FillLiteralBuffer() 366 buffer_->Add(recorder_->Allocator()->New<ir::NumberLiteral>(userType.size())); in FillLiteralBuffer() 372 buffer_->Add(recorder_->Allocator()->New<ir::NumberLiteral>(anonymousReExport.size())); in FillLiteralBuffer() 374 buffer_->Add(recorder_->Allocator()->New<ir::StringLiteral>(t)); in FillLiteralBuffer() 412 buffer_->Add(recorder_->Allocator()->New<ir::NumberLiteral>(UserType::INDEXSIG)); in FillLiteralBuffer() 416 buffer_->Add(recorder_->Allocator()->New<ir::NumberLiteral>(indexSignatures->size())); in FillLiteralBuffer() 597 buffer_->Add(recorder_->Allocator()->New<ir::NumberLiteral>(UserType::FUNCTION)); in FillLiteralBuffer() [all …]
|