Searched refs:LogUtil (Results 1 - 6 of 6) sorted by relevance
/base/hiviewdfx/hiview/utility/smart_parser/feature_analysis/ |
H A D | log_util.cpp | 30 DEFINE_LOG_TAG("LogUtil"); 40 const std::string LogUtil::SPLIT_PATTERN = "\n"; 41 const std::string LogUtil::SMART_PARSER_TEST_DIR = "/data/test/test_data/SmartParser"; 42 const int LogUtil::TOTAL_LINE_NUM = 200; 51 void LogUtil::GetTrace(stringstream& buffer, int cursor, const string& reg, string& result, string startReg) in GetTrace() 81 result += matches.str(0) + LogUtil::SPLIT_PATTERN; in GetTrace() 85 bool LogUtil::ReadFileBuff(const string& file, stringstream& buffer) in ReadFileBuff() 87 int fd = LogUtil::GetFileFd(file); in ReadFileBuff() 104 int LogUtil::GetFileFd(const string& file) in GetFileFd() 119 bool LogUtil [all...] |
H A D | feature_analysis.cpp | 61 if (!LogUtil::ReadFileBuff(featureSet_.fullPath, buffer) || !buffer.good() || buffer.eof()) { in Extract() 350 if (LogUtil::ReadFileBuff(filePath, buffer)) { in ComposeTrace() 351 LogUtil::GetTrace(buffer, iter->second.lineCursor, regex, result); in ComposeTrace()
|
/base/hiviewdfx/hiview/utility/smart_parser/feature_analysis/include/ |
H A D | log_util.h | 41 class LogUtil { class 43 LogUtil() {}; in LogUtil() function in OHOS::HiviewDFX::LogUtil 44 ~LogUtil() {}; in ~LogUtil() 45 LogUtil(const LogUtil&) = delete; 46 LogUtil& operator=(const LogUtil&) = delete;
|
/base/hiviewdfx/hiview/utility/smart_parser/test/moduletest/common/ |
H A D | smart_parser_module_test.cpp | 60 std::string faultFile = LogUtil::SMART_PARSER_TEST_DIR +
in HWTEST_F() 62 std::string trustStack = LogUtil::SMART_PARSER_TEST_DIR + "/SmartParserTest001/trace.txt";
in HWTEST_F() 79 LogUtil::ReadFileBuff(trustStack, buff);
in HWTEST_F() 81 StringUtil::SplitStr(eventInfos["END_STACK"], LogUtil::SPLIT_PATTERN, trace, false, false);
in HWTEST_F() 101 std::string faultFile = LogUtil::SMART_PARSER_TEST_DIR +
in HWTEST_F() 103 std::string trustStack = LogUtil::SMART_PARSER_TEST_DIR + "/SmartParserTest002/trace.txt";
in HWTEST_F() 119 LogUtil::ReadFileBuff(trustStack, buff);
in HWTEST_F() 121 StringUtil::SplitStr(eventInfos["END_STACK"], LogUtil::SPLIT_PATTERN, trace, false, false);
in HWTEST_F() 141 std::string faultFile = LogUtil::SMART_PARSER_TEST_DIR +
in HWTEST_F() 143 std::string traceFile = LogUtil in HWTEST_F() [all...] |
/base/web/webview/ |
H A D | copy_files.py | 35 log_util.LogUtil.hb_info("begin to copy dir from '{}' to '{}'".format(src_dir, dst_dir)) 49 log_util.LogUtil.hb_info("begin to copy files from '{}' to '{}'".format(src_dir, dst_dir)) 60 log_util.LogUtil.hb_info("begin to copy include dir") 71 log_util.LogUtil.hb_info("begin to copy glue base dir") 81 log_util.LogUtil.hb_info("begin to copy glue '{}' dir".format(dir_name))
|
/base/hiviewdfx/hiview/utility/smart_parser/rule/ |
H A D | extract_rule.cpp | 164 if (LogUtil::IsTestModel(sourceFile, name, pattern, desPath)) { in IsMatchPath() 171 return LogUtil::FileExist(desPath); in IsMatchPath() 189 if (LogUtil::FileExist(desPath)) { in IsMatchPath()
|
Completed in 4 milliseconds