/base/hiviewdfx/hidumper/test/scripts/testModule/ |
H A D | test_base_command.py | 23 ret = re.search("BuildId: (.+?) [\d].[\d].[\d].[\d]", output)
28 ret = re.search("OsVersion: (.+?)[\d].[\d].[\d].[\d]", output)
33 ret = re.search("/proc/version\n\n([^\n]+\n)+\n", output)
38 ret = re.search("/proc/cmdline\n\n([^\n]+\n)+\n", output)
43 ret = re.search("/sys/kernel/debug/wakeup_sources\n\n([^\n]+\n){4,}", output)
48 ret = re.search("cmd is: uptime -p\n(\n[^\n]+)\n", output)
53 ret = re.search("cmd is: printenv\n\n([^\n]+){4,}\n", output)
58 ret = re.search("/proc/modules\n\n([^\n]+)\n", output)
63 ret = re.search("cmd is: lsmod\n\n([^\n]+)\n", output)
68 ret = re.search("/pro [all...] |
H A D | test_storage.py | 22 result = re.search("cmd is: df -k\n\n([^\n]+\n){4,}", output)
27 result = re.search("cmd is: lsof\n\n([^\n]+\n){4,}", output)
32 result = re.search("cmd is: iotop -n 1 -m 100\n([^\n]+\n){4,}", output)
37 result = re.search("/proc/mounts\n\n([^\n]+\n){4,}", output)
45 result = re.search("storage io", output)
|
H A D | test_net.py | 21 result = re.search("Received Bytes:\d+\nSent Bytes:\d+\n", output)
26 result = re.search("Proto RefCnt Flags\s+Type\s+State\s+I-Node Path\n([^\n]+\n){4,}", output)
31 result = re.search("face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compresse\n([^\n]+\n){4,}", output)
36 result = re.search("cmd is: ifconfig -a\n\n([^\n]+){4,}\n", output)
|
H A D | test_cpu.py | 21 ret = re.search("PID Total Usage User Space Kernel Space Page Fault Minor Page Fault Major Name\n([^\n]+\n){4,}", output)
25 ret = re.search("PID Total Usage User Space Kernel Space Page Fault Minor Page Fault Major Name\n([^\n]+\n){1,}", output)
29 ret = re.search("cmd is: cat /sys/devices/system/cpu/cpu\d/cpufreq/cpuinfo_cur_freq\n\n\d+", output)
|
H A D | test_sa.py | 25 result1 = re.search(r"-+HiviewService-+\n([^\n]+){4,}", output)
26 result2 = re.search(r"-+HiDumperService-+", output, re.DOTALL)
31 result = re.search(r"-+WindowManagerService-+\n([^\n]+){4,}", output)
|
H A D | test_permission.py | 28 if re.search(r"\d", line) is None:
30 key = re.search(r'(/|\[|[a-zA-Z])(.*$)', line)
43 ret = re.search(r"\s([a-zA-Z0-9]{8,})\s", output)
48 result = re.search("UID\s+PID\s+TID PPID TCNT STIME TTY\s+TIME CMD\n([^\n]+\n){1,}", output)
53 result = re.search("/proc/\d+/mountinfo\n\n([^\n]+\n){4,}", output)
57 result = re.search(r"/proc/\d+/maps", output)
|
H A D | test_memory.py | 37 if re.search(r"\d", line) is None:
39 key = re.search(r'\s*([a-zA-Z.]+(?:\s+[a-zA-Z.]+)*)\s*', line).group(1).strip();
82 graph = re.search(r"Graph\((\d+) kB\)", output).group(1)
83 dma = re.search(r"DMA\((\d+) kB\)", output).group(1)
|
H A D | test_ipc.py | 21 result = re.search("CurrentPid:\d+\nTotalCount:\d+\nTotalTimeCost:\d+", output)
|
H A D | utils.py | 100 zipSourceFile = re.search("The result is:(.+)", output).group(1).strip()
|
/base/request/request/services/tests/ |
H A D | search.rs | 37 let v = agent.search(current, current - 3000, State::Any, Action::Any, Mode::Any); in sdv_search_user() 39 let v = agent.search(current + 3000, current, State::Any, Action::Any, Mode::Any); in sdv_search_user() 41 let v = agent.search( in sdv_search_user() 49 let v = agent.search( in sdv_search_user() 57 let v = agent.search( in sdv_search_user() 66 let v = agent.search( in sdv_search_user()
|
/base/request/request/services/src/service/command/ |
H A D | search.rs | 22 pub(crate) fn search(&self, data: &mut MsgParcel, reply: &mut MsgParcel) -> IpcResult<()> { 23 info!("Service search"); 27 debug!("Service system api search: bundle name is {}", bundle); 31 debug!("Service user search: uid is {}", uid); 36 debug!("Service search: before is {}", before); 38 debug!("Service search: after is {}", after); 40 debug!("Service search: state is {}", state); 42 debug!("Service search: action is {}", action); 44 debug!("Service search: mode is {}", mode); 54 let ids = query::search(filte [all...] |
H A D | mod.rs | 23 mod search; modules
|
/base/customization/config_policy/frameworks/config_policy/src/ |
H A D | config_policy_utils.c | 196 char *search = (char *)calloc(bufSize, sizeof(char)); in GetFollowXRule() local 197 if (search == NULL || sprintf_s(search, bufSize, ":%s,", relPath) == -1) { in GetFollowXRule() 198 FreeIf(search); in GetFollowXRule() 204 char *item = strstr(followRule, search); in GetFollowXRule() 231 FreeIf(search); in GetFollowXRule()
|
/base/global/i18n/tools/ |
H A D | data_process.py | 35 loc = re.search(loc_pattern, line).group() 36 tz = re.search(tz_pattern, line).group()
|
/base/security/selinux_adapter/scripts/selinux_check/ |
H A D | check_data_regex.py | 40 return re.search(r'[\$\(\)\*\+\.\[\]\?\\\^\{\}\|]', replace_str)
|
/base/global/i18n/frameworks/intl/src/ |
H A D | phone_number_format.cpp | 116 auto search = options.find("type"); in PhoneNumberFormat() local 117 if (search != options.end()) { in PhoneNumberFormat() 118 type = search->second; in PhoneNumberFormat()
|
/base/telephony/sms_mms/services/mms/ |
H A D | mms_network_client.cpp | 466 auto search = capabilities.netCaps_.find(NetCap::NET_CAPABILITY_MMS); in GetIfaceName() local 467 if (search == capabilities.netCaps_.end()) { in GetIfaceName()
|
/base/request/request/services/src/manage/ |
H A D | query.rs | 33 pub(crate) fn search(filter: TaskFilter, method: SearchMethod) -> Vec<u32> {
|
/base/request/request/services/src/service/ |
H A D | stub.rs | 86 interface::SEARCH => self.search(data, reply), in on_remote_request()
|
/base/hiviewdfx/hicollie/frameworks/native/ |
H A D | watchdog_inner.cpp | 861 auto search = map.find(taskId); in FfrtCallback() local 862 if (search != map.end()) { in FfrtCallback()
|
/base/request/request/test/rustest/src/ |
H A D | lib.rs | 246 pub fn search( in search() functions
|
/base/startup/init/services/modules/seccomp/scripts/ |
H A D | generate_code_from_policy.py | 175 s = re.search(r"libsyscall_to_nr_([^/]+)", file_name)
|