Home
last modified time | relevance | path

Searched refs:Tbox (Results 1 - 9 of 9) sorted by relevance

/base/hiviewdfx/hiview/utility/common_utils/
H A Dtbox.cpp30 DEFINE_LOG_TAG("Tbox");
32 const string Tbox::ARRAY_STR = "ARRAY :";
33 const string Tbox::CAUSEDBY_HEADER = "Caused by:";
34 const string Tbox::SUPPRESSED_HEADER = "Suppressed:";
36 Tbox::Tbox() in Tbox() function in OHOS::HiviewDFX::Tbox
40 Tbox::~Tbox() in ~Tbox()
44 string Tbox::CalcFingerPrint(const string& val, size_t mask, int mode) in CalcFingerPrint()
66 bool Tbox
[all...]
H A Dlog_parse.cpp104 bool iStack = Tbox::IsCallStack(inStack.top()); in GetValidStack()
132 if (Tbox::HasCausedBy(topStr)) { in StackToMultipart()
198 return Tbox::ARRAY_STR + StringUtil::VectorToString(validStack, false); in GetValidBlock()
209 stackName = Tbox::GetStackName(src.top()); // extract function name from the stack in GetValidStack()
219 stackName = Tbox::GetStackName(outStatck.top()); in GetValidStack()
/base/hiviewdfx/hiview/utility/common_utils/test/unittest/common/
H A Dutility_common_utils_test.cpp139 * @tc.desc: Test interfaces method of class Tbox
145 auto tboxSp = make_shared<Tbox>(); // trigger con/destrcutor in HWTEST_F()
149 auto ret = Tbox::CalcFingerPrint(val, mask, mode1); in HWTEST_F()
152 ret = Tbox::CalcFingerPrint(val, mask, mode2); in HWTEST_F()
155 ret = Tbox::CalcFingerPrint(val, mask, invalidMode); in HWTEST_F()
158 auto ret2 = Tbox::IsCallStack(stackName); in HWTEST_F()
161 auto ret3 = Tbox::IsCallStack(stackName2); in HWTEST_F()
163 auto ret4 = Tbox::HasCausedBy("Caused by:Invalid description"); in HWTEST_F()
165 auto ret5 = Tbox::HasCausedBy("Suppressed:Invalid description"); in HWTEST_F()
167 auto ret6 = Tbox in HWTEST_F()
[all...]
/base/hiviewdfx/hiview/utility/common_utils/include/
H A Dtbox.h30 class Tbox { class
32 Tbox();
33 ~Tbox();
/base/hiviewdfx/hiview/plugins/faultlogger/common/
H A Dlog_analyzer.cpp63 eventInfos.insert(std::make_pair("fingerPrint", Tbox::CalcFingerPrint(info.module + info.reason + in AnalysisFaultlog()
67 Tbox::FilterTrace(eventInfos, eventType); in AnalysisFaultlog()
70 eventInfos["fingerPrint"] = Tbox::CalcFingerPrint(fingerRawString, 0, FP_BUFFER); in AnalysisFaultlog()
/base/hiviewdfx/hiview/utility/analysis_faultlog/
H A Danalysis_faultlog.cpp57 static void Tbox(std::map<std::string, std::string>& eventInfo, std::string& eventType) in Tbox() function
60 OHOS::HiviewDFX::Tbox::FilterTrace(eventInfo, eventType); in Tbox()
63 std::cout << "Tbox::FilterTrace running time : " << diffTime << " ms" << std::endl; in Tbox()
65 PrintEventInfo(eventInfo, "Tbox::FilterTrace result:"); in Tbox()
98 Tbox(eventInfos, eventType); in main()
/base/hiviewdfx/hiview/plugins/reliability/bbox_detectors/
H A Dbbox_detector_plugin.cpp83 if (!Tbox::WaitForDoneFile(doneFile, 60)) { // 60s in WaitForLogs()
117 auto happenTime = static_cast<uint64_t>(Tbox::GetHappenTime(StringUtil::GetRleftSubstr(timeStr, "-"), in HandleBBoxEvent()
123 Tbox::FilterTrace(eventInfos); in HandleBBoxEvent()
131 sysEvent->SetEventValue("FINGERPRINT", Tbox::CalcFingerPrint(event + module + eventInfos["FIRST_FRAME"] + in HandleBBoxEvent()
178 static_cast<uint64_t>(Tbox::GetHappenTime(StringUtil::GetMidSubstr(line, "time [", "-"), in GetHappenTime()
180 static_cast<uint64_t>(Tbox::GetHappenTime(StringUtil::GetMidSubstr(line, "time[", "-"), in GetHappenTime()
H A Dpanic_report_recovery.cpp240 int64_t happenTime = Tbox::GetHappenTime(StringUtil::GetRleftSubstr(timeStr, "-"), in ReportPanicEventAfterRecovery()
253 "FINGERPRINT", Tbox::CalcFingerPrint(timeStr + bboxSaveLogFlags.softwareVersion, 0, FP_BUFFER) in ReportPanicEventAfterRecovery()
/base/hiviewdfx/hiview/plugins/reliability/bbox_detectors/test/unittest/
H A Dbbox_detector_unit_test.cpp126 Tbox::FilterTrace(eventInfos); in HWTEST_F()

Completed in 5 milliseconds