/developtools/integration_verification/tools/rom_ram_analyzer/lite_small/pkgs/ |
D | basic_tool.py | 40 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(),
|
D | simple_excel_writer.py | 48 ptrn.pattern = PTRN.SOLID_PATTERN 57 self.__head_style.pattern = ptrn
|
/developtools/profiler/host/smartperf/client/client_command/ |
D | parse_start_trace_noh.cpp | 97 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()
|
D | parse_start_frame_trace.cpp | 140 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()
|
D | startup_delay.cpp | 243 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/ |
D | basic_tool.py | 75 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)
|
D | simple_excel_writer.py | 45 ptrn.pattern = PTRN.SOLID_PATTERN 55 self.__head_style.pattern = ptrn
|
/developtools/hdc/scripts/ |
D | dev_hdc_test.py | 303 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)
|
D | hdc_normal_test.py | 204 pattern="hdcd",
|
/developtools/profiler/host/smartperf/client/client_command/include/ |
D | parse_start_trace_noh.h | 29 std::vector<std::string> Split(std::string str, const std::string &pattern);
|
D | parse_start_frame_trace.h | 30 std::vector<std::string> Split(std::string str, const std::string &pattern);
|
/developtools/syscap_codec/tools/ |
D | syscap_check.py | 95 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/ |
D | bundle_mode.test.ts | 101 const pattern = /test\.temp\.js$/; constant 102 if (pattern.test(path)) {
|
/developtools/integration_verification/cases/smoke/basic/screenshot32/xdevice_smoke/testcases/ |
D | Note.py | 42 self.common_oh.checkIfTextExist(self.Phone1, '好好学习', pattern='CONTAINS')
|
/developtools/profiler/device/plugins/arkts_plugin/src/ |
D | arkts_plugin.cpp | 241 std::regex pattern(REGEX_PATTERN); in FlushData() local 243 if (std::regex_search(command, match, pattern)) { in FlushData()
|
/developtools/smartperf_host/trace_streamer/src/ |
D | main.cpp | 551 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/ |
D | pre_define.ts | 261 pattern: 10008,
|
/developtools/smartperf_host/ide/src/trace/component/trace/base/ |
D | TraceRowConfig.ts | 683 let pattern = / (\d+)$/; variable 684 let match = item.name.match(pattern);
|
/developtools/packing_tool/adapter/ohos/ |
D | CompressVerify.java | 145 Pattern pattern = Pattern.compile(BUNDLE_NAME_PATTERN); in isBundleNameValid() local 146 return pattern.matcher(bundleName).matches(); in isBundleNameValid()
|
D | Compressor.java | 2309 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/ |
D | subcommand_stat_test.cpp | 157 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/ |
D | vmlinux.h | 29580 char pattern[256]; member 35721 const char *pattern; member 104811 u32 pattern; member 144300 u32 pattern; member 158349 const u8 *pattern; member
|