| /developtools/smartperf_host/trace_streamer/src/parser/ |
| D | print_event_parser.h | 85 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/ |
| D | format-code.sh | 46 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/ |
| D | bytrace_hilog_parser.h | 44 …const std::regex hilogMatcher_ = std::regex(R"( *(\w+ )?([\-\d: ]+\.\d+) +(\d+) +(\d+) +([FEWID]) …
|
| D | bytrace_parser.h | 132 const std::regex bytraceMatcher_ = std::regex(R"(-(\d+)\s+\(?\s*(\d+|-+)?\)?\s?\[(\d+)\]\s*)"
|
| D | bytrace_hilog_parser.cpp | 35 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/ |
| D | ffrt_converter.h | 128 const std::regex indexPattern_ = std::regex(R"(\(.+\)\s+\[\d)"); 129 const std::regex matchPattern_ = std::regex(R"( \(.+\)\s+\[\d)");
|
| D | ffrt_converter.cpp | 55 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/ |
| D | key_parser.cpp | 135 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()
|
| D | json_compiler.cpp | 173 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()
|
| D | reference_parser.cpp | 254 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/ |
| D | sp_parse_fps.h | 101 std::regex pattern; 103 std::regex pidPattern;
|
| /developtools/smartperf_host/ide/src/trace/component/ |
| D | Utils.ts | 84 const regex = /\[(\d+)\]/; constant 85 const matches = threadKey.match(regex);
|
| /developtools/smartperf_host/trace_streamer/src/parser/rawtrace_parser/ |
| D | ftrace_processor.h | 74 std::regex fixedCharArrayRegex_; 75 std::regex flexDataLocArrayRegex_;
|
| /developtools/profiler/device/plugins/ftrace_plugin/src/ |
| D | file_utils.cpp | 85 std::regex dirNameRegex("[.~-]"); in WriteFile() 86 std::regex fileNameRegex("[\\/:*?\"<>|]"); in WriteFile()
|
| /developtools/smartperf_host/ide/src/trace/component/trace/sheet/ |
| D | SheetUtils.ts | 150 const regex = /\((.*?)\)/; // 匹配括号内的内容 constant 151 const match = expression.match(regex);
|
| /developtools/packing_tool/adapter/ohos/ |
| D | ScanVerify.java | 20 import java.util.regex.Pattern;
|
| /developtools/profiler/tools/smaps_show/ |
| D | Cargo.toml | 23 regex = "1.5.5"
|
| /developtools/profiler/host/smartperf/client/client_command/ |
| D | sp_parse_fps.cpp | 18 pattern = std::regex("(\\d+).(\\d{6})"); in ParseFPS() 19 pidPattern = std::regex("\\|(\\d+)\\|"); in ParseFPS()
|
| D | startup_delay.cpp | 191 std::regex pattern("\\d+"); in InitXY2() 237 std::regex pattern("\\d+"); in InitXY()
|
| /developtools/smartperf_host/trace_streamer/src/trace_streamer/ |
| D | trace_streamer_selector.cpp | 103 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/ |
| D | ftrace_parser.h | 215 std::regex fixedCharArrayRegex_; 216 std::regex flexDataLocArrayRegex_;
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/ |
| D | CertUtils.java | 46 import java.util.regex.Matcher; 47 import java.util.regex.Pattern;
|
| D | FileUtils.java | 41 import java.util.regex.Matcher; 42 import java.util.regex.Pattern;
|
| /developtools/smartperf_host/trace_streamer/src/filter/ |
| D | animation_filter.cpp | 75 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/ |
| D | arkts_plugin_unittest.cpp | 50 std::regex pattern(R"(\b(\d+)/)"); in ArkTSPluginTest()
|