/Zephyr-latest/scripts/ |
D | tags.sh | 71 --regex-asm='/^(ENTRY|_GLOBAL)\(([^)]*)\).*/\2/' \ 72 --regex-c='/^SYSCALL_DEFINE[[:digit:]]?\(([^,)]*).*/sys_\1/' \ 73 --regex-c='/^COMPAT_SYSCALL_DEFINE[[:digit:]]?\(([^,)]*).*/compat_sys_\1/' \ 74 --regex-c++='/^TRACE_EVENT\(([^,)]*).*/trace_\1/' \ 75 --regex-c++='/^TRACE_EVENT\(([^,)]*).*/trace_\1_rcuidle/' \ 76 --regex-c++='/^DEFINE_EVENT\([^,)]*, *([^,)]*).*/trace_\1/' \ 77 --regex-c++='/^DEFINE_EVENT\([^,)]*, *([^,)]*).*/trace_\1_rcuidle/' \ 78 --regex-c++='/PAGEFLAG\(([^,)]*).*/Page\1/' \ 79 --regex-c++='/PAGEFLAG\(([^,)]*).*/SetPage\1/' \ 80 --regex-c++='/PAGEFLAG\(([^,)]*).*/ClearPage\1/' \ [all …]
|
D | get_maintainer.py | 432 regex = "" 449 regex += "^(?:{})".format("|".join(glob_regexes)) 452 if regex: 453 regex += "|" 454 regex += "|".join(regexes) 456 return re.compile(regex).search 545 for regex in area_dict[files_regex_key]: 547 re.compile(regex) 550 "'{}': {}".format(regex, files_regex_key,
|
/Zephyr-latest/tests/net/lib/lwm2m/interop/pytest/ |
D | test_bootstrap.py | 36 dut.readlines_until(regex='.*Bootstrap transfer complete', timeout=5.0) 52 dut.readlines_until(regex='.*Registration Done', timeout=5.0) 61 dut.readlines_until(regex='.*Server Initiated Bootstrap', timeout=1) 62 dut.readlines_until(regex='.*Bootstrap transfer complete', timeout=5.0) 63 dut.readlines_until(regex='.*Registration Done', timeout=5.0) 68 dut.readlines_until(regex=r'.*Deregistration success', timeout=5) 70 lines = dut.readlines_until(regex='.*Registration Done', timeout=5.0) 73 dut.readlines_until(regex=r'.*Deregistration success', timeout=5) 77 lines = dut.readlines_until(regex='.*Registration Done', timeout=5.0) 84 dut.readlines_until(regex=r'.*Deregistration success', timeout=5) [all …]
|
D | test_lwm2m.py | 40 dut.readlines_until(regex='.*net_lwm2m_rd_client: Update Done', timeout=5.0) 50 dut.readlines_until(regex='LwM2M server disabled', timeout=5.0) 51 dut.readlines_until(regex='Deregistration success', timeout=5.0) 56 dut.readlines_until(regex='.*Registration Done', timeout=5.0) 61 dut.readlines_until(regex='.*net_lwm2m_rd_client: Update Done', timeout=5.0) 63 dut.readlines_until(regex='.*net_lwm2m_rd_client: Update Done', timeout=5.0) 69 dut.readlines_until(regex='.*net_lwm2m_rd_client: Update Done', timeout=5.0) 74 dut.readlines_until(regex='.*net_lwm2m_rd_client: Update Done', timeout=lifetime) 85 dut.readlines_until(regex='.*Queue mode RX window closed', timeout=120) 88 dut.readlines_until(regex='.*Registration update complete', timeout=10) [all …]
|
D | test_blockwise.py | 37 lines = dut.readlines_until(regex='app_fw_update: UPDATE', timeout=5.0) 67 lines = dut.readlines_until(regex='app_fw_update: UPDATE', timeout=5.0) 82 dut.readlines_until(regex='.*net_lwm2m_rd_client: Update Done', timeout=5.0) 114 dut.readlines_until(regex='.*net_lwm2m_rd_client: Update Done', timeout=5.0) 128 dut.readlines_until(regex=r'.*SEND status: 0', timeout=5.0)
|
D | test_nosec.py | 49 dut.readlines_until(regex=r'.*Failed with code 4\.4', timeout=5.0) 50 dut.readlines_until(regex='.*Registration Done', timeout=10.0)
|
D | conftest.py | 119 dut.readlines_until(regex='.*Registration Done', timeout=5.0) 124 dut.readlines_until(regex=r'.*Deregistration success', timeout=10.0) 163 dut.readlines_until(regex=r'.*Deregistration success', timeout=10.0) 175 dut.readlines_until(regex='.*Registration Done', timeout=5.0)
|
/Zephyr-latest/samples/boards/nxp/mimxrt1170_evk_cm7/magic_addr/pytest/ |
D | test_magic_addr.py | 16 dut.readlines_until(regex='Cast some characters:', print_output=True) 18 lines = dut.readlines_until(regex='Magic DTCM address accessed', print_output=True) 21 lines = dut.readlines_until(regex='Magic DTCM address accessed', print_output=True)
|
/Zephyr-latest/scripts/kconfig/ |
D | lint.py | 164 regex = r"#\s*define\s+([A-Z0-9_]+)\b" 165 defines = run(("git", "grep", "--extended-regexp", regex), 169 defined.update(re.findall(regex, defines)) 182 regex = r"(?:#\s*if(?:n?def)\s+|\bdefined\s*\(\s*|IS_ENABLED\(\s*)(?:" + \ 184 cmd = ("git", "grep", "--line-number", "-I", "--perl-regexp", regex) 247 regex = r"\bCONFIG_[A-Z0-9_]+\b" 253 for line in run(("git", "grep", "-h", "-I", "--extended-regexp", regex), 263 for match in re.findall(regex, line):
|
/Zephyr-latest/ |
D | .gitlint | 29 regex = ^(?!subsys:)(?!treewide:)(([^:]+):)(\s([^:]+):)*\s(.+)$ 37 [title-match-regex] 38 # python like regex (https://docs.python.org/2/library/re.html) that the 40 # Note that the regex can contradict with other rules if not used correctly 42 #regex=^US[0-9]*
|
/Zephyr-latest/scripts/pylib/pytest-twister-harness/tests/device/ |
D | binary_adapter_test.py | 58 lines = device.readlines_until(regex='Returns with code') 75 device.readlines_until(regex='Returns with code') 175 device.readlines_until(regex='Beautiful is better than ugly.') 180 device.readlines_until(regex='Flat is better than nested.') 194 lines = device.readlines_until(regex='Namespaces are one honking great idea')
|
D | qemu_adapter_test.py | 40 lines = device.readlines_until(regex='Namespaces are one honking great idea')
|
/Zephyr-latest/scripts/pylib/pytest-twister-harness/src/twister_harness/device/ |
D | device_adapter.py | 155 regex: str | None = None, 174 if regex: 175 regex_compiled = re.compile(regex) 177 if regex or num_of_lines: 185 if regex and regex_compiled.search(line):
|
/Zephyr-latest/samples/subsys/profiling/perf/pytest/ |
D | test_perf.py | 22 lines = dut.readlines_until(regex='.*Perf done!', print_output=True)
|
/Zephyr-latest/scripts/ci/ |
D | check_compliance.py | 228 regex = r'^\s*\S+:(\d+):\s*(ERROR|WARNING):(.+?):(.+)(?:\n|\r\n?)+' \ 231 matches = re.findall(regex, output, re.MULTILINE) 667 regex = r"^\s*(?:module\s*=\s*)([A-Z0-9_]+)\s*(?:#|$)" 670 grep_stdout = git("grep", "-I", "-h", "--perl-regexp", regex, "--", 673 names = re.findall(regex, grep_stdout, re.MULTILINE) 692 regex = r"^\s*(?:menu)?config\s*([A-Z0-9_]+)\s*(?:#|$)" 695 grep_stdout = git("grep", "-I", "-h", "--perl-regexp", regex, "--", 705 + re.findall(regex, grep_stdout, re.MULTILINE) 871 regex = r"\bCONFIG_[A-Z0-9_]+\b(?!\s*##|[$@{(.*])" 876 "--perl-regexp", regex, "--", ":!/doc/releases", [all …]
|
D | test_plan.py | 54 regex = "" 71 regex += "^(?:{})".format("|".join(glob_regexes)) 74 if regex: 75 regex += "|" 76 regex += "|".join(regexes) 78 return re.compile(regex).search
|
/Zephyr-latest/scripts/gitlint/ |
D | zephyr_commit_rules.py | 96 regex = self.options['regex'].value 97 pattern = re.compile(regex, re.UNICODE)
|
/Zephyr-latest/scripts/pylib/pytest-twister-harness/src/twister_harness/helpers/ |
D | shell.py | 72 regex=regex_command, timeout=1.0, print_output=print_output 78 regex=regex_prompt, timeout=timeout, print_output=print_output
|
/Zephyr-latest/scripts/build/ |
D | parse_syscalls.py | 54 regex = re.compile(tagged_struct_decl_template % tag, regex_flags) 55 items = [mo.groups()[0].strip() for mo in regex.finditer(contents)]
|
/Zephyr-latest/tests/drivers/can/host/pytest/ |
D | can_shell.py | 109 self._dut.readlines_until(regex=tx_regex, timeout=timeout) 171 lines = self._dut.readlines_until(regex=frame_regex, timeout=timeout)
|
/Zephyr-latest/scripts/pylib/twister/twisterlib/ |
D | harness.py | 46 self.regex = [] 97 self.regex = config.get('regex', []) 255 if self.regex is None or len(self.regex) == 0: 264 self.pattern = re.compile(self.regex[0]) 268 for r in self.regex: 299 r = self.regex[i] 305 if len(self.matches) == len(self.regex):
|
/Zephyr-latest/cmake/modules/ |
D | basic_settings.cmake | 28 # Using a regex for matching whole 'VAR_NAME:TYPE=VALUE' will strip semi-colons
|
/Zephyr-latest/tests/kernel/timer/timer_behavior/pytest/ |
D | test_timer.py | 88 dut.readlines_until(regex=f"===== {point} =====")
|
/Zephyr-latest/tests/subsys/logging/dictionary/pytest/ |
D | test_logging_dictionary.py | 44 handler_output = dut.readlines_until(regex = '.*##ZLOGV1##[0-9]+', timeout = 600.0)
|
/Zephyr-latest/samples/ |
D | sample_definition_and_criteria.rst | 56 regex: 75 * Sample output can be validated by leveraging the ``harness_config`` regex option,
|