Home
last modified time | relevance | path

Searched refs:lineNumber (Results 1 – 25 of 28) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/dfx/stackinfo/
Djs_stackgetter.cpp105 codeEntry.lineNumber = debugExtractor->GetFristLine(methodId); in ParseMethodInfo()
249 int lineNumber = 0; in GetNativeMethodCallPos() local
250 auto callbackLineFunc = [&lineNumber](int32_t line) -> bool { in GetNativeMethodCallPos()
251 lineNumber = line + 1; in GetNativeMethodCallPos()
261 lineNumber = 0; in GetNativeMethodCallPos()
266 codeEntry.lineNumber = lineNumber; in GetNativeMethodCallPos()
Djs_stackgetter.h66 int lineNumber = -1; member
Djs_stackinfo.cpp138 int lineNumber = 0; in BuildJsStackInfo() local
139 auto callbackLineFunc = [&frameInfo, &lineNumber](int32_t line) -> bool { in BuildJsStackInfo()
140 lineNumber = line + 1; in BuildJsStackInfo()
141 frameInfo.pos = std::to_string(lineNumber) + ":"; in BuildJsStackInfo()
/arkcompiler/toolchain/tooling/test/
Ddebugger_types_test.cpp303 "exceptionId":"Test","text":"text0","lineNumber":10,"columnNumber":20}})"; in HWTEST_F_L0()
309 "exceptionId":{"xx":"yy"},"text":"text0","lineNumber":10,"columnNumber":20}})"; in HWTEST_F_L0()
315 "exceptionId":3,"text":10,"lineNumber":10,"columnNumber":20}})"; in HWTEST_F_L0()
321 "exceptionId":3,"text":["text0"],"lineNumber":10,"columnNumber":20}})"; in HWTEST_F_L0()
327 "exceptionId":3,"text":"text0","lineNumber":"10","columnNumber":20}})"; in HWTEST_F_L0()
333 "exceptionId":3,"text":"text0","lineNumber":["10"],"columnNumber":20}})"; in HWTEST_F_L0()
339 "exceptionId":3,"text":"text0","lineNumber":10,"columnNumber":"20"}})"; in HWTEST_F_L0()
345 "exceptionId":3,"text":"text0","lineNumber":10,"columnNumber":["20"]}})"; in HWTEST_F_L0()
351 "exceptionId":3,"text":"text0","lineNumber":10,"columnNumber":20}})"; in HWTEST_F_L0()
362 "exceptionId":3,"text":"text0","lineNumber":10,"columnNumber":20,"scriptId":10}})"; in HWTEST_F_L0()
[all …]
Dpt_types_test.cpp499 int32_t lineNumber = 10; in HWTEST_F_L0() local
500 ptJson->Add("lineNumber", lineNumber); in HWTEST_F_L0()
527 int32_t lineNumber = 1; in HWTEST_F_L0() local
529 start->Add("lineNumber", lineNumber); in HWTEST_F_L0()
531 end->Add("lineNumber", lineNumber + 1); in HWTEST_F_L0()
546 int32_t lineNumber = 1; in HWTEST_F_L0() local
548 start->Add("lineNumber1", lineNumber); in HWTEST_F_L0()
550 end->Add("lineNumber1", lineNumber + 1); in HWTEST_F_L0()
565 int32_t lineNumber = 1; in HWTEST_F_L0() local
567 start->Add("lineNumber1", lineNumber); in HWTEST_F_L0()
[all …]
Ddebugger_params_test.cpp536 …::string() + R"({"id":0,"method":"Debugger.Test","params":{"start":{"scriptId":"1", "lineNumber":1, in HWTEST_F_L0()
537 …"columnNumber":10}, "end":{"scriptId":"1", "lineNumber":10, "columnNumber":10}, "restrictToFunctio… in HWTEST_F_L0()
707 msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{"lineNumber":"10", "url":10, in HWTEST_F_L0()
712 …msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{"lineNumber":10, "url":"testUR… in HWTEST_F_L0()
764 … "skipList":[{"scriptId":"1", "start":{"lineNumber":1, "columnNumber":10}, "end":{"lineNumber":2, in HWTEST_F_L0()
765 …"columnNumber":20}}, {"scriptId":"2", "start":{"lineNumber":3, "columnNumber":30}, "end":{"lineNum… in HWTEST_F_L0()
785 …"start":{"lineNumber":1, "columnNumber":10}, "end":{"lineNumber":2, "columnNumber":20}}, {"scriptI… in HWTEST_F_L0()
786 … "start":{"lineNumber":3, "columnNumber":30}, "end":{"lineNumber":4, "columnNumber":40}}]}})"; in HWTEST_F_L0()
Ddebugger_events_test.cpp82 int32_t lineNumber; in HWTEST_F_L0() local
83 ASSERT_EQ(locationJson->GetInt("lineNumber", &lineNumber), Result::SUCCESS); in HWTEST_F_L0()
84 EXPECT_EQ(lineNumber, 99); in HWTEST_F_L0()
Ddebugger_impl_test.cpp307 "lineNumber":1, in HWTEST_F_L0()
312 "lineNumber":1, in HWTEST_F_L0()
637 "lineNumber":0, in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/
Dsamples_record.cpp189 + std::to_string(codeEntry.lineNumber) + ",\"columnNumber\":" in StringifyNodes()
700 frameInfo.lineNumber = frameInfoTemps[i].lineNumber; in FrameInfoTempToMap()
729 frameInfo.lineNumber = napiFrameInfoTemps_[i].lineNumber; in NapiFrameInfoTempToMap()
788 frames_[rear_].frameInfoTemps[i].lineNumber = frameInfoTemps[i].lineNumber; in PostFrame()
825 frames_[rear_].frameInfoTemps[i].lineNumber = napiFrameInfoTemps[i].lineNumber; in PostNapiFrame()
Dsamples_record.h42 int lineNumber = -1; member
/arkcompiler/ets_frontend/ts2panda/src/
Ddebuginfo.ts216 let lineNumber = -1;
224 lineNumber = res.loc.line;
229 insn.debugPosInfo.setSourecLineNum(lineNumber);
/arkcompiler/ets_frontend/merge_abc/protos/
DassemblyFileLocation.proto23 uint64 lineNumber = 4; field
DassemblyDebug.proto20 uint64 lineNumber = 1; field
/arkcompiler/toolchain/tooling/base/
Dpt_types.cpp1047 int32_t lineNumber; in Create() local
1048 ret = params.GetInt("lineNumber", &lineNumber); in Create()
1050 exceptionDetails->lineNumber_ = lineNumber; in Create()
1506 int32_t lineNumber; in Create() local
1507 ret = params.GetInt("lineNumber", &lineNumber); in Create()
1509 location->lineNumber_ = lineNumber; in Create()
1548 int32_t lineNumber; in Create() local
1549 ret = params.GetInt("lineNumber", &lineNumber); in Create()
1551 scriptPosition->lineNumber_ = lineNumber; in Create()
1587 int32_t lineNumber; in Create() local
[all …]
Dpt_params.cpp281 int32_t lineNumber; in Create() local
282 ret = params.GetInt("lineNumber", &lineNumber); in Create()
284 paramsObject->lineNumber_ = lineNumber; in Create()
Dpt_types.h622 ExceptionDetails &SetLine(int32_t lineNumber) in SetLine() argument
624 lineNumber_ = lineNumber; in SetLine()
1332 BreakLocation &SetLine(int32_t lineNumber) in SetLine() argument
1334 lineNumber_ = lineNumber; in SetLine()
1797 RuntimeCallFrame &SetLineNumber(int32_t lineNumber) in SetLineNumber() argument
1799 lineNumber_ = lineNumber; in SetLineNumber()
/arkcompiler/ets_runtime/ecmascript/base/
Dstring_helper.h255 static inline std::string GetSpecifiedLine(const std::string &srcStr, int lineNumber) in GetSpecifiedLine() argument
257 if (lineNumber < 1) { in GetSpecifiedLine()
265 int findPrePos = lineNumber - 1; in GetSpecifiedLine()
/arkcompiler/toolchain/tooling/agent/
Ddebugger_impl.cpp777 int32_t lineNumber = params.GetLine(); in SetBreakpointByUrl() local
817 …if (!extractor->MatchWithLocation(callbackFunc, lineNumber, columnNumber, url, GetRecordName(url))… in SetBreakpointByUrl()
818 …LOG_DEBUGGER(ERROR) << "failed to set breakpoint location number: " << lineNumber << ":" << column… in SetBreakpointByUrl()
822 BreakpointDetails metaData{lineNumber, 0, url}; in SetBreakpointByUrl()
826 location->SetScriptId(scriptId).SetLine(lineNumber).SetColumn(0); in SetBreakpointByUrl()
860 int32_t lineNumber = breakpoint.GetLineNumber(); in ProcessSingleBreakpoint() local
900 …if (!extractor->MatchWithLocation(matchLocationCbFunc, lineNumber, columnNumber, url, GetRecordNam… in ProcessSingleBreakpoint()
901 …LOG_DEBUGGER(ERROR) << "failed to set breakpoint location number: " << lineNumber << ":" << column… in ProcessSingleBreakpoint()
905 BreakpointDetails bpMetaData {lineNumber, columnNumber, url}; in ProcessSingleBreakpoint()
908 …bpInfo->SetScriptId(scriptId).SetLineNumber(lineNumber).SetColumnNumber(columnNumber).SetId(outId); in ProcessSingleBreakpoint()
/arkcompiler/ets_runtime/ecmascript/compiler/type_inference/
Dmethod_type_infer.cpp1316 int32_t lineNumber = 0; in PrintByteCodesWithTypes() local
1317 auto callbackLineFunc = [&lineNumber](int32_t line) -> bool { in PrintByteCodesWithTypes()
1318 lineNumber = line + 1; in PrintByteCodesWithTypes()
1333 … << "at line: " + std::to_string(lineNumber) + " column: " + std::to_string(columnNumber) in PrintByteCodesWithTypes()
1348 … << "at line: " + std::to_string(lineNumber) + " column: " + std::to_string(columnNumber) in PrintByteCodesWithTypes()
1437 int32_t lineNumber = 0; in CollectGateTypeLogInfo() local
1438 auto callbackLineFunc = [&lineNumber](int32_t line) -> bool { in CollectGateTypeLogInfo()
1439 lineNumber = line + 1; in CollectGateTypeLogInfo()
1448 log += "at line: " + std::to_string(lineNumber) + ", "; in CollectGateTypeLogInfo()
/arkcompiler/ets_frontend/merge_abc/
DHowToWriteProtoForAssemblyStuff.md143 uint64 lineNumber = 1;
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/
Dheap_snapshot_json_serializer.cpp174 writer_->Write(info.lineNumber); in SerializeTraceFunctionInfo()
Dheap_sampling.cpp151 callframeInfo.lineNumber_ = frameInfoTemps_[i].lineNumber; in FillScriptIdAndStore()
Dheap_snapshot.h285 int lineNumber = 0; member
Dheap_snapshot.cpp828 codeEntry.lineNumber = debugExtractor->GetFristLine(methodId); in AddMethodInfo()
830 if (UNLIKELY(codeEntry.lineNumber == 0)) { in AddMethodInfo()
/arkcompiler/ets_frontend/test262/
Deshost.patch167 + lineNumber: Number(matches[1]),

12