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.cpp97 std::vector<std::string> ParseStartTraceNoh::Split(std::string str, const std::string &pattern) in Split() argument
100 if (str.empty() || pattern.empty() || str.size() < pattern.size()) { in Split()
105 size_t pos = str.find(pattern, start); in Split()
108 start = pos + pattern.size(); // next start index in Split()
Dparse_start_frame_trace.cpp140 std::vector<std::string> StartFrameTraceNoh::Split(std::string str, const std::string &pattern) in Split() argument
143 if (str.empty() || pattern.empty() || str.size() < pattern.size()) { in Split()
148 size_t pos = str.find(pattern, start); in Split()
151 start = pos + pattern.size(); // next start index in Split()
Dstartup_delay.cpp243 std::regex pattern("\\d+"); in InitXY2() local
263 while (std::regex_search(iterStart, iterEnd, result, pattern)) { in InitXY2()
292 std::regex pattern("\\d+"); in InitXY() local
306 while (std::regex_search(iterStart, iterEnd, result, pattern)) { in InitXY()
/developtools/integration_verification/tools/rom_ram_analyzer/standard/pkgs/
Dbasic_tool.py75 def re_group_1(cls, content: str, pattern: str, **kwargs) -> str:
83 if not (r'(' in pattern and r')' in pattern):
85 result = re.search(pattern, content, **kwargs)
Dsimple_excel_writer.py45 ptrn.pattern = PTRN.SOLID_PATTERN
55 self.__head_style.pattern = ptrn
/developtools/hdc/scripts/
Ddev_hdc_test.py303 def check_shell(cmd, pattern=None, fetch=False): argument
306 if pattern: # check output valid
308 res = pattern in output
432 def check_hdc_cmd(cmd, pattern=None, **args): argument
453 return check_shell(cmd, pattern, **args)
674 pattern = r"^hdc"
675 match = re.search(pattern, test_cmd)
794 def check_cmd_time(cmd, pattern, duration, times): argument
798 if pattern is None:
807 check_shell(cmd, pattern, fetch = fetchable)
Dhdc_normal_test.py204 pattern="hdcd",
/developtools/profiler/host/smartperf/client/client_command/include/
Dparse_start_trace_noh.h29 std::vector<std::string> Split(std::string str, const std::string &pattern);
Dparse_start_frame_trace.h30 std::vector<std::string> Split(std::string str, const std::string &pattern);
/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/ace_ets2bundle/compiler/test/ark_compiler_ut/bundle/
Dbundle_mode.test.ts101 const pattern = /test\.temp\.js$/; constant
102 if (pattern.test(path)) {
/developtools/integration_verification/cases/smoke/basic/screenshot32/xdevice_smoke/testcases/
DNote.py42 self.common_oh.checkIfTextExist(self.Phone1, '好好学习', pattern='CONTAINS')
/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.cpp551 std::regex pattern("^hiprofiler_data_(\\d{8})_(\\d{6})_(\\d+)\\.htrace$"); in GetLongTraceFilePaths() local
554 if (std::regex_match(name, matches, pattern)) { in GetLongTraceFilePaths()
/developtools/ace_ets2bundle/compiler/src/
Dpre_define.ts261 pattern: 10008,
/developtools/smartperf_host/ide/src/trace/component/trace/base/
DTraceRowConfig.ts683 let pattern = / (\d+)$/; variable
684 let match = item.name.match(pattern);
/developtools/packing_tool/adapter/ohos/
DCompressVerify.java145 Pattern pattern = Pattern.compile(BUNDLE_NAME_PATTERN); in isBundleNameValid() local
146 return pattern.matcher(bundleName).matches(); in isBundleNameValid()
DCompressor.java2309 Pattern pattern = Pattern.compile(System.lineSeparator()); in infoSpecialProcess() local
2313 Matcher matcher = pattern.matcher(str.trim()); in infoSpecialProcess()
2364 Pattern pattern = Pattern.compile(System.lineSeparator()); in jsonSpecialProcess() local
2368 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