Home
last modified time | relevance | path

Searched refs:pattern (Results 1 – 22 of 22) sorted by relevance

/developtools/integration_verification/tools/rom_ram_analyzer/lite_small/pkgs/
Dbasic_tool.py40 pattern = r"[a-z|A-Z]*$"
41 unit = re.search(pattern, x).group()
70 …def find_files_with_pattern(cls, folder: str, pattern: str = "/**", recursive: bool = True, apply_…
85 file_list = glob.glob(cls.abspath(folder)+pattern, recursive=recursive)
118 def re_group_1(cls, content: str, pattern: str, **kwargs) -> str:
126 if not (r'(' in pattern and r')' in pattern):
128 result = re.search(pattern, content, **kwargs)
143 def grep_ern(cls, pattern: str, path: str, include: str = str(), exclude: tuple = tuple(),
Dsimple_excel_writer.py48 ptrn.pattern = PTRN.SOLID_PATTERN
57 self.__head_style.pattern = ptrn
/developtools/profiler/host/smartperf/client/client_command/
Dparse_start_trace_noh.cpp86 std::vector<std::string> StartTraceNoh::Split(std::string str, std::string pattern) in Split() argument
90 str += pattern; in Split()
93 pos = str.find(pattern, i); in Split()
97 i = pos + pattern.size() - 1; in Split()
Dsp_parse_fps.cpp18 pattern = std::regex("(\\d+).(\\d{6})"); in ParseFPS()
125 if (std::regex_search(line, result, pattern)) { in StaticHandoffStartTime()
130 if (std::regex_search(line, result, pattern)) { in StaticHandoffStartTime()
144 if (std::regex_search(line, result, pattern)) { in DecHandOffTime()
181 if (std::regex_search(line, result, pattern)) { in CountRsEndTime()
Dparse_start_frame_trace.cpp128 std::vector<std::string> StartFrameTraceNoh::Split(std::string str, std::string pattern) in Split() argument
132 str += pattern; in Split()
135 pos = str.find(pattern, i); in Split()
139 i = pos + pattern.size() - 1; in Split()
Dstartup_delay.cpp191 std::regex pattern("\\d+"); in InitXY2() local
209 while (std::regex_search(iterStart, iterEnd, result, pattern)) { in InitXY2()
237 std::regex pattern("\\d+"); in InitXY() local
248 while (std::regex_search(iterStart, iterEnd, result, pattern)) { in InitXY()
/developtools/integration_verification/tools/rom_ram_analyzer/standard/pkgs/
Dbasic_tool.py60 def re_group_1(cls, content: str, pattern: str, **kwargs) -> str:
68 if not (r'(' in pattern and r')' in pattern):
70 result = re.search(pattern, content, **kwargs)
Dsimple_excel_writer.py30 ptrn.pattern = PTRN.SOLID_PATTERN
40 self.__head_style.pattern = ptrn
/developtools/hdc/scripts/
Ddev_hdc_test.py236 def check_shell(cmd, pattern=None, fetch=False): argument
239 if pattern: # check output valid
241 res = pattern in output
295 def check_hdc_cmd(cmd, pattern=None, **args): argument
316 return check_shell(cmd, pattern, **args)
/developtools/syscap_codec/tools/
Dsyscap_check.py95 def collect_syscap_from_codec(filepath: str, pattern: str = r'{"(.*)"') -> tuple:
104 ptrn = re.compile(pattern)
153 pattern: str = r"\* *@syscap +((?i)SystemCapability\..*)",
169 ptrn = re.compile(pattern)
/developtools/profiler/device/plugins/arkts_plugin/test/unittest/
Darkts_plugin_unittest.cpp50 std::regex pattern(R"(\b(\d+)/)"); in ArkTSPluginTest() local
52 if (std::regex_search(result, match, pattern)) { in ArkTSPluginTest()
/developtools/profiler/host/smartperf/client/client_command/include/
Dsp_parse_fps.h101 std::regex pattern; variable
/developtools/integration_verification/cases/smoke/basic/screenshot32/xdevice_smoke/testcases/
DNote.py42 self.common_oh.checkIfTextExist(self.Phone1, '好好学习', pattern='CONTAINS')
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/
DFileUtils.java508 for (Pattern pattern : SUFFIX_REGEX_MAP.values()) { in isRunnableFile()
509 Matcher matcher = pattern.matcher(name); in isRunnableFile()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/sign/
DCodeSigning.java287 Pattern pattern = FileUtils.SUFFIX_REGEX_MAP.get("so"); in isNativeFile() local
288 Matcher matcher = pattern.matcher(entryName); in isNativeFile()
/developtools/profiler/device/plugins/arkts_plugin/src/
Darkts_plugin.cpp241 std::regex pattern(REGEX_PATTERN); in FlushData() local
243 if (std::regex_search(command, match, pattern)) { in FlushData()
/developtools/smartperf_host/trace_streamer/src/
Dmain.cpp413 std::regex pattern("^hiprofiler_data_(\\d{8})_(\\d{6})_(\\d+)\\.htrace$"); in GetLongTraceFilePaths() local
416 if (std::regex_match(name, matches, pattern)) { in GetLongTraceFilePaths()
/developtools/ace_ets2bundle/compiler/src/
Dpre_define.ts249 pattern: 10008,
/developtools/smartperf_host/ide/src/trace/component/trace/base/
DTraceRowConfig.ts610 let pattern = / (\d+)$/;
611 let match = item.name.match(pattern);
/developtools/packing_tool/adapter/ohos/
DCompressor.java2250 Pattern pattern = Pattern.compile(System.lineSeparator()); in infoSpecialProcess() local
2254 Matcher matcher = pattern.matcher(str.trim()); in infoSpecialProcess()
2306 Pattern pattern = Pattern.compile(System.lineSeparator()); in jsonSpecialProcess() local
2310 Matcher matcher = pattern.matcher(str.trim()); in jsonSpecialProcess()
/developtools/hiperf/test/unittest/common/native/
Dsubcommand_stat_test.cpp157 std::regex pattern("^\\d+[,\\d{3}]*"); in EffectiveCounter() local
159 (IsDigits(tokens[0]) || std::regex_match(tokens[0], pattern))) { in EffectiveCounter()
/developtools/profiler/hiebpf/include/
Dvmlinux.h29580 char pattern[256]; member
35721 const char *pattern; member
104811 u32 pattern; member
144300 u32 pattern; member
158349 const u8 *pattern; member