Home
last modified time | relevance | path

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

12

/Zephyr-Core-3.5.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.py426 regex = ""
443 regex += "^(?:{})".format("|".join(glob_regexes))
446 if regex:
447 regex += "|"
448 regex += "|".join(regexes)
450 return re.compile(regex).search
536 for regex in area_dict[files_regex_key]:
538 re.compile(regex)
541 "'{}': {}".format(regex, files_regex_key,
/Zephyr-Core-3.5.0/tests/net/lib/lwm2m/interop/pytest/
Dtest_lwm2m.py52 shell._device.readlines_until(regex='.*Bootstrap started with endpoint', timeout=5.0)
53 shell._device.readlines_until(regex='.*Bootstrap registration done', timeout=5.0)
54 shell._device.readlines_until(regex='.*Bootstrap data transfer done', timeout=5.0)
64 shell._device.readlines_until(regex='.*Registration Done', timeout=5.0)
74 shell._device.readlines_until(regex='.*net_lwm2m_rd_client: Update Done', timeout=5.0)
88 shell._device.readlines_until(regex='.*net_lwm2m_rd_client: Update Done', timeout=5.0)
90 shell._device.readlines_until(regex='.*net_lwm2m_rd_client: Update Done', timeout=5.0)
105 shell._device.readlines_until(regex=r'.*Failed with code 4\.4', timeout=5.0)
106 shell._device.readlines_until(regex='.*Registration Done', timeout=10.0)
111 shell._device.readlines_until(regex='.*net_lwm2m_rd_client: Update Done', timeout=5.0)
[all …]
/Zephyr-Core-3.5.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):
Dguiconfig.py1866 regex_searches = [re.compile(regex).search
1867 for regex in search_string.lower().split()]
Dkconfiglib.py7119 def _re_match(regex): argument
7120 return re.compile(regex, 0 if _IS_PY2 else re.ASCII).match
7123 def _re_search(regex): argument
7124 return re.compile(regex, 0 if _IS_PY2 else re.ASCII).search
Dmenuconfig.py2088 regex_searches = [re.compile(regex).search
2089 for regex in s.lower().split()]
/Zephyr-Core-3.5.0/
D.gitlint29 regex = ^(?!subsys:)(([^:]+):)(\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.5.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.py217 lines = device.readlines_until(regex='Namespaces are one honking great idea')
/Zephyr-Core-3.5.0/scripts/pylib/pytest-twister-harness/src/twister_harness/device/
Ddevice_adapter.py118 regex: str | None = None,
137 if regex:
138 regex_compiled = re.compile(regex)
140 if regex or num_of_lines:
148 if regex and regex_compiled.search(line):
/Zephyr-Core-3.5.0/scripts/ci/
Dtest_plan.py39 regex = ""
56 regex += "^(?:{})".format("|".join(glob_regexes))
59 if regex:
60 regex += "|"
61 regex += "|".join(regexes)
63 return re.compile(regex).search
Dcheck_compliance.py214 regex = r'^\s*\S+:(\d+):\s*(ERROR|WARNING):(.+?):(.+)(?:\n|\r\n?)+' \
217 matches = re.findall(regex, output, re.MULTILINE)
411 regex = r"^\s*(?:menu)?config\s*([A-Z0-9_]+)\s*(?:#|$)"
414 grep_stdout = git("grep", "-I", "-h", "--perl-regexp", regex, "--",
423 + re.findall(regex, grep_stdout, re.MULTILINE))
561 regex = r"\bCONFIG_[A-Z0-9_]+\b(?!\s*##|[$@{*])"
565 "--perl-regexp", regex, "--", ":!/doc/releases",
574 for sym_name in re.findall(regex, line):
940 regex = r'^\s*(\S+):(\d+):(\d+):\s*([A-Z]\d{4}):\s*(.*)$'
942 matches = re.findall(regex, output, re.MULTILINE)
/Zephyr-Core-3.5.0/scripts/gitlint/
Dzephyr_commit_rules.py96 regex = self.options['regex'].value
97 pattern = re.compile(regex, re.UNICODE)
/Zephyr-Core-3.5.0/scripts/pylib/pytest-twister-harness/src/twister_harness/helpers/
Dshell.py68 …lines.extend(self._device.readlines_until(regex=regex_command, timeout=1.0, print_output=print_out…
70 …lines.extend(self._device.readlines_until(regex=regex_prompt, timeout=timeout, print_output=print_…
/Zephyr-Core-3.5.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.5.0/scripts/pylib/twister/twisterlib/
Dharness.py47 self.regex = []
78 self.regex = config.get('regex', [])
166 self.pattern = re.compile(self.regex[0])
170 for r in self.regex:
189 r = self.regex[i]
192 if len(self.matches) == len(self.regex):
/Zephyr-Core-3.5.0/tests/kernel/timer/timer_behavior/pytest/
Dtest_timer.py62 dut.readlines_until(regex=f"===== {point} =====")
/Zephyr-Core-3.5.0/cmake/modules/
Dbasic_settings.cmake28 # Using a regex for matching whole 'VAR_NAME:TYPE=VALUE' will strip semi-colons
/Zephyr-Core-3.5.0/samples/
Dsample_definition_and_criteria.rst46 regex:
58 * Sample output can be validated leveraging the ``harness_config`` regex option,
/Zephyr-Core-3.5.0/doc/_extensions/zephyr/kconfig/static/
Dkconfig.mjs304 regexes.forEach(regex => {
305 if (name.search(regex) >= 0 || prompt.search(regex) >= 0) {
/Zephyr-Core-3.5.0/scripts/west_commands/completion/
Dwest-completion.zsh214 {-n,--name}'[name regex]:regex:'
/Zephyr-Core-3.5.0/doc/build/snippets/
Dwriting.rst209 https://cmake.org/cmake/help/latest/command/string.html#regex-specification
/Zephyr-Core-3.5.0/doc/develop/test/
Dtwister.rst438 parse a test's text output for a regex defined in the test's YAML file.
472 for handling generic Console with regex matching. Config can announce
479 Depends on the regex string to be matched
483 regex: <expression> (required)
487 regex: <expression> (required)
495 Number of times to validate the repeated regex expression
532 regex:

12