Home
last modified time | relevance | path

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

12

/Zephyr-Core-3.7.0/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-Core-3.7.0/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_nosec.py33 dut.readlines_until(regex='.*Registration Done', timeout=5.0)
52 dut.readlines_until(regex=r'.*Failed with code 4\.4', timeout=5.0)
53 dut.readlines_until(regex='.*Registration Done', timeout=10.0)
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 …]
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)
Dtest_blockwise.py38 lines = dut.readlines_until(regex='app_fw_update: UPDATE', timeout=5.0)
68 lines = dut.readlines_until(regex='app_fw_update: UPDATE', timeout=5.0)
124 dut.readlines_until(regex=r'.*SEND status: 0', timeout=5.0)
/Zephyr-Core-3.7.0/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-Core-3.7.0/
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-Core-3.7.0/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')
Dhardware_adapter_test.py254 lines = device.readlines_until(regex='Namespaces are one honking great idea')
/Zephyr-Core-3.7.0/scripts/pylib/pytest-twister-harness/src/twister_harness/device/
Ddevice_adapter.py153 regex: str | None = None,
172 if regex:
173 regex_compiled = re.compile(regex)
175 if regex or num_of_lines:
183 if regex and regex_compiled.search(line):
/Zephyr-Core-3.7.0/scripts/gitlint/
Dzephyr_commit_rules.py96 regex = self.options['regex'].value
97 pattern = re.compile(regex, re.UNICODE)
/Zephyr-Core-3.7.0/scripts/pylib/pytest-twister-harness/src/twister_harness/helpers/
Dshell.py66 …lines.extend(self._device.readlines_until(regex=regex_command, timeout=1.0, print_output=print_out…
68 …lines.extend(self._device.readlines_until(regex=regex_prompt, timeout=timeout, print_output=print_…
/Zephyr-Core-3.7.0/scripts/ci/
Dtest_plan.py52 regex = ""
69 regex += "^(?:{})".format("|".join(glob_regexes))
72 if regex:
73 regex += "|"
74 regex += "|".join(regexes)
76 return re.compile(regex).search
Dcheck_compliance.py218 regex = r'^\s*\S+:(\d+):\s*(ERROR|WARNING):(.+?):(.+)(?:\n|\r\n?)+' \
221 matches = re.findall(regex, output, re.MULTILINE)
582 regex = r"^\s*(?:module\s*=\s*)([A-Z0-9_]+)\s*(?:#|$)"
585 grep_stdout = git("grep", "-I", "-h", "--perl-regexp", regex, "--",
588 names = re.findall(regex, grep_stdout, re.MULTILINE)
607 regex = r"^\s*(?:menu)?config\s*([A-Z0-9_]+)\s*(?:#|$)"
610 grep_stdout = git("grep", "-I", "-h", "--perl-regexp", regex, "--",
620 + re.findall(regex, grep_stdout, re.MULTILINE)
786 regex = r"\bCONFIG_[A-Z0-9_]+\b(?!\s*##|[$@{*])"
791 "--perl-regexp", regex, "--", ":!/doc/releases",
[all …]
/Zephyr-Core-3.7.0/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-Core-3.7.0/scripts/pylib/twister/twisterlib/
Dharness.py51 self.regex = []
82 self.regex = config.get('regex', [])
238 if self.regex is None or len(self.regex) == 0:
247 self.pattern = re.compile(self.regex[0])
251 for r in self.regex:
282 r = self.regex[i]
288 if len(self.matches) == len(self.regex):
/Zephyr-Core-3.7.0/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-Core-3.7.0/cmake/modules/
Dbasic_settings.cmake28 # Using a regex for matching whole 'VAR_NAME:TYPE=VALUE' will strip semi-colons
/Zephyr-Core-3.7.0/samples/
Dsample_definition_and_criteria.rst46 regex:
58 * Sample output can be validated leveraging the ``harness_config`` regex option,
/Zephyr-Core-3.7.0/tests/kernel/timer/timer_behavior/pytest/
Dtest_timer.py88 dut.readlines_until(regex=f"===== {point} =====")
/Zephyr-Core-3.7.0/tests/subsys/logging/dictionary/pytest/
Dtest_logging_dictionary.py44 handler_output = dut.readlines_until(regex = '.*##ZLOGV1##[0-9]+', timeout = 600.0)
/Zephyr-Core-3.7.0/doc/_extensions/zephyr/kconfig/static/
Dkconfig.mjs304 regexes.forEach(regex => {
305 if (name.search(regex) >= 0 || prompt.search(regex) >= 0) {

12