/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 | 86 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()
|
D | sp_parse_fps.cpp | 18 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()
|
D | parse_start_frame_trace.cpp | 128 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()
|
D | startup_delay.cpp | 191 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/ |
D | basic_tool.py | 60 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)
|
D | simple_excel_writer.py | 30 ptrn.pattern = PTRN.SOLID_PATTERN 40 self.__head_style.pattern = ptrn
|
/developtools/hdc/scripts/ |
D | dev_hdc_test.py | 236 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/ |
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/profiler/device/plugins/arkts_plugin/test/unittest/ |
D | arkts_plugin_unittest.cpp | 50 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/ |
D | sp_parse_fps.h | 101 std::regex pattern; variable
|
/developtools/integration_verification/cases/smoke/basic/screenshot32/xdevice_smoke/testcases/ |
D | Note.py | 42 self.common_oh.checkIfTextExist(self.Phone1, '好好学习', pattern='CONTAINS')
|
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/ |
D | FileUtils.java | 508 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/ |
D | CodeSigning.java | 287 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/ |
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 | 413 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/ |
D | pre_define.ts | 249 pattern: 10008,
|
/developtools/smartperf_host/ide/src/trace/component/trace/base/ |
D | TraceRowConfig.ts | 610 let pattern = / (\d+)$/; 611 let match = item.name.match(pattern);
|
/developtools/packing_tool/adapter/ohos/ |
D | Compressor.java | 2250 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/ |
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
|