Home
last modified time | relevance | path

Searched refs:regex (Results 1 – 25 of 45) sorted by relevance

12

/developtools/smartperf_host/trace_streamer/src/parser/
Dprint_event_parser.h85 const std::regex recvVsyncPattern_ = std::regex("(\\w+):(\\w+)");
86 const std::regex transFlagPattern_ = std::regex("transactionFlag:\\[(\\d+),(\\d+)\\]");
87 const std::regex mainProcessCmdPattern = std::regex("\\[(\\d+),(\\d+)\\]");
/developtools/smartperf_host/trace_streamer/
Dformat-code.sh46 for f in $(find $d -type f -not -name '*sql.c' -regex '.*\.\(cpp\|hpp\|c\|h\)'); do
51 for f in $(find $d -type f -not -name '*sql.c' -regex '.*\.\(gn\|gni\)'); do
/developtools/smartperf_host/trace_streamer/src/parser/bytrace_parser/
Dbytrace_hilog_parser.h44 …const std::regex hilogMatcher_ = std::regex(R"( *(\w+ )?([\-\d: ]+\.\d+) +(\d+) +(\d+) +([FEWID]) …
Dbytrace_parser.h132 const std::regex bytraceMatcher_ = std::regex(R"(-(\d+)\s+\(?\s*(\d+|-+)?\)?\s?\[(\d+)\]\s*)"
Dbytrace_hilog_parser.cpp35 if (std::regex_search(timeStr, matcheLine, std::regex(R"(^\d+\.(\d+)$)"))) { in HilogTimeStrToTimestamp()
40 … std::regex(R"(^(\d{4})?\-?(\d{2})-(\d{2}) (\d{2}):(\d{2}):(\d{2})\.(\d+)$)"))) { in HilogTimeStrToTimestamp()
/developtools/smartperf_host/trace_streamer/src/rpc/
Dffrt_converter.h128 const std::regex indexPattern_ = std::regex(R"(\(.+\)\s+\[\d)");
129 const std::regex matchPattern_ = std::regex(R"( \(.+\)\s+\[\d)");
Dffrt_converter.cpp55 static const std::regex pidPattern = std::regex(R"(\(\s*\d+\) \[)"); in ExtractProcessId()
73 static const std::regex timePattern = std::regex(R"( (\d+)\.(\d+):)"); in ExtractTimeStr()
84 static const std::regex cpuIdPattern = std::regex(R"(\) \[.*?\])"); in ExtractCpuId()
447 static const std::regex CoPattern = std::regex(R"( F\|(\d+)\|Co\|(\d+))"); in DeleteRedundance()
448 static const std::regex HCoPattern = std::regex(R"( F\|(\d+)\|H:Co\s(\d+))"); in DeleteRedundance()
467 static const std::regex EndPattern = std::regex(R"( F\|(\d+)\|[BF]\|(\d+))"); in DeleteRedundance()
468 static const std::regex HEndPattern = std::regex(R"( F\|(\d+)\|H:[BF]\s(\d+))"); in DeleteRedundance()
/developtools/global_resource_tool/src/
Dkey_parser.cpp135 regex mcc("mcc(\\d{3})"); in ParseMcc()
146 regex mcc("mnc(\\d{2,3})"); in ParseMnc()
185 regex language("[a-z]{2,3}"); in ParseLanguage()
200 regex script("^[A-Z][a-z]{3}"); in ParseScript()
215 regex regionOfNumber("[0-9]{3}"); in ParseRegion()
216 regex regionOfSupper("[A-Z]{2,3}"); in ParseRegion()
Djson_compiler.cpp173 regex ref("^\\$(ohos:)?boolean:.*"); in HandleBoolean()
319 regex ref("^\\$.+:"); in CheckJsonStringValue()
321 if (regex_search(value, result, ref) && !regex_match(result[0].str(), regex(REFS.at(type)))) { in CheckJsonStringValue()
332 regex ref("^\\$(ohos:)?integer:.*"); in CheckJsonIntegerValue()
354 if (regex_match(unicodeStr, regex("^\\$(ohos:)?symbol:.*"))) { in CheckJsonSymbolValue()
420 if (regex_match(parentValue, regex("^ohos:" + type + ":.+"))) { in ParseParent()
517 if (regex_match(s, regex("^\\$.*")) || regex_match(s, regex(regColor))) { in CheckColorValue()
Dreference_parser.cpp254 if (regex_match(key, regex("^\\$ohos:[a-z]+:.+"))) { in ParseRefString()
257 } else if (regex_match(key, regex("^\\$[a-z]+:.+"))) { in ParseRefString()
268 if (regex_search(key, result, regex(ref.first))) { in ParseRefImpl()
/developtools/profiler/host/smartperf/client/client_command/include/
Dsp_parse_fps.h101 std::regex pattern;
103 std::regex pidPattern;
/developtools/smartperf_host/ide/src/trace/component/
DUtils.ts84 const regex = /\[(\d+)\]/; constant
85 const matches = threadKey.match(regex);
/developtools/smartperf_host/trace_streamer/src/parser/rawtrace_parser/
Dftrace_processor.h74 std::regex fixedCharArrayRegex_;
75 std::regex flexDataLocArrayRegex_;
/developtools/profiler/device/plugins/ftrace_plugin/src/
Dfile_utils.cpp85 std::regex dirNameRegex("[.~-]"); in WriteFile()
86 std::regex fileNameRegex("[\\/:*?\"<>|]"); in WriteFile()
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/
DSheetUtils.ts150 const regex = /\((.*?)\)/; // 匹配括号内的内容 constant
151 const match = expression.match(regex);
/developtools/packing_tool/adapter/ohos/
DScanVerify.java20 import java.util.regex.Pattern;
/developtools/profiler/tools/smaps_show/
DCargo.toml23 regex = "1.5.5"
/developtools/profiler/host/smartperf/client/client_command/
Dsp_parse_fps.cpp18 pattern = std::regex("(\\d+).(\\d{6})"); in ParseFPS()
19 pidPattern = std::regex("\\|(\\d+)\\|"); in ParseFPS()
Dstartup_delay.cpp191 std::regex pattern("\\d+"); in InitXY2()
237 std::regex pattern("\\d+"); in InitXY()
/developtools/smartperf_host/trace_streamer/src/trace_streamer/
Dtrace_streamer_selector.cpp103 const std::regex bytraceMatcher = std::regex(R"(-(\d+)\s+\(?\s*(\d+|-+)?\)?\s?\[(\d+)\]\s*)" in GuessFileType()
111 …const std::regex hilogMatcher = std::regex(R"( *(\w+ )?([\-\d: ]+\.\d+) +(\d+) +(\d+) +([FEWID]) +… in GuessFileType()
/developtools/profiler/device/plugins/ftrace_plugin/include/
Dftrace_parser.h215 std::regex fixedCharArrayRegex_;
216 std::regex flexDataLocArrayRegex_;
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/
DCertUtils.java46 import java.util.regex.Matcher;
47 import java.util.regex.Pattern;
DFileUtils.java41 import java.util.regex.Matcher;
42 import java.util.regex.Pattern;
/developtools/smartperf_host/trace_streamer/src/filter/
Danimation_filter.cpp75 std::regex screenSizePattern(R"(\(\d+,\s*\d+,\s*(\d+),\s*(\d+)\))"); in UpdateDeviceScreenSize()
213 std::regex framePixPattern(R"((\d+),\s*(\d+),\s*(\d+),\s*(\d+)\)\s+Alpha:\s+-*(\d+\.\d+))"); in UpdateDynamicFrameInfo()
/developtools/profiler/device/plugins/arkts_plugin/test/unittest/
Darkts_plugin_unittest.cpp50 std::regex pattern(R"(\b(\d+)/)"); in ArkTSPluginTest()

12