Home
last modified time | relevance | path

Searched refs:regex (Results 1 – 25 of 42) sorted by relevance

12

/Zephyr-latest/scripts/
Dtags.sh71 --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 …]
Dget_maintainer.py432 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/
Dtest_bootstrap.py36 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 …]
Dtest_lwm2m.py40 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 …]
Dtest_blockwise.py37 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)
Dtest_nosec.py49 dut.readlines_until(regex=r'.*Failed with code 4\.4', timeout=5.0)
50 dut.readlines_until(regex='.*Registration Done', timeout=10.0)
Dconftest.py119 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/
Dtest_magic_addr.py16 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/
Dlint.py164 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.gitlint29 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/
Dbinary_adapter_test.py58 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')
Dqemu_adapter_test.py40 lines = device.readlines_until(regex='Namespaces are one honking great idea')
/Zephyr-latest/scripts/pylib/pytest-twister-harness/src/twister_harness/device/
Ddevice_adapter.py155 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/
Dtest_perf.py22 lines = dut.readlines_until(regex='.*Perf done!', print_output=True)
/Zephyr-latest/scripts/ci/
Dcheck_compliance.py228 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 …]
Dtest_plan.py54 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/
Dzephyr_commit_rules.py96 regex = self.options['regex'].value
97 pattern = re.compile(regex, re.UNICODE)
/Zephyr-latest/scripts/pylib/pytest-twister-harness/src/twister_harness/helpers/
Dshell.py72 regex=regex_command, timeout=1.0, print_output=print_output
78 regex=regex_prompt, timeout=timeout, print_output=print_output
/Zephyr-latest/scripts/build/
Dparse_syscalls.py54 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/
Dcan_shell.py109 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/
Dharness.py46 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/
Dbasic_settings.cmake28 # Using a regex for matching whole 'VAR_NAME:TYPE=VALUE' will strip semi-colons
/Zephyr-latest/tests/kernel/timer/timer_behavior/pytest/
Dtest_timer.py88 dut.readlines_until(regex=f"===== {point} =====")
/Zephyr-latest/tests/subsys/logging/dictionary/pytest/
Dtest_logging_dictionary.py44 handler_output = dut.readlines_until(regex = '.*##ZLOGV1##[0-9]+', timeout = 600.0)
/Zephyr-latest/samples/
Dsample_definition_and_criteria.rst56 regex:
75 * Sample output can be validated by leveraging the ``harness_config`` regex option,

12