/Zephyr-Core-3.4.0/scripts/ |
D | checkstack.pl | 37 my (@stack, $re, $dre, $x, $xs, $funcre); 50 $re = qr/^.*stp.*sp,\#-([0-9]{1,8})\]\!/o; 53 $re = qr/.*sub.*sp, sp, #(([0-9]{2}|[3-9])[0-9]{2})/o; 57 $re = qr/^.*sub.*sp.*,([0-9]{1,8})/o; 62 $re = qr/^.*[as][du][db] \$(0x$x{1,8}),\%(e|r)sp$/o; 66 $re = qr/.*adds.*r12=-(([0-9]{2}|[3-9])[0-9]{2}),r12/o; 70 $re = qr/.*(?:linkw %fp,|addaw )#-([0-9]{1,4})(?:,%sp)?$/o; 73 $re = qr/.*ADD.*A0StP,A0StP,\#(0x$x{1,8})/o; 77 $re = qr/.*daddiu.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o; 80 $re = qr/.*addiu.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o; [all …]
|
D | gen_gcov_files.py | 14 import re 23 if re.search("GCOV_COVERAGE_DUMP_START", line): 26 if re.search("GCOV_COVERAGE_DUMP_END", line):
|
/Zephyr-Core-3.4.0/scripts/pylib/twister/twisterlib/ |
D | testsuite.py | 8 import re 66 regular_suite_regex = re.compile( 71 re.MULTILINE) 72 registered_suite_regex = re.compile( 75 re.MULTILINE) 76 new_suite_regex = re.compile( 78 re.MULTILINE) 79 testcase_regex = re.compile( 82 re.MULTILINE) 89 test_main_regex = re.compile( [all …]
|
D | harness.py | 4 import re 28 result_re = re.compile(".*(PASS|FAIL|SKIP) - (test_)?(.*) in (\\d*[.,]?\\d*) seconds") 87 runid_match = re.search(self.run_id_pattern, line) 163 self.pattern = re.compile(self.regex[0]) 167 self.patterns.append(re.compile(r)) 200 pattern = re.compile(self.record.get("regex", "")) 413 ANSI_ESCAPE = re.compile(r'\x1B(?:[@-Z\\-_]|\[[0-?]*[ -/]*[@-~])') 426 test_start_match = re.search(self.TEST_START_PATTERN, non_ansi_line) 453 finished_match = re.search(self.FINISHED_PATTERN, non_ansi_line) 488 test_pass_match = re.search(self.TEST_PASS_PATTERN, line) [all …]
|
/Zephyr-Core-3.4.0/scripts/build/ |
D | process_gperf.py | 23 import re 87 if re.search(args.pattern + " [*]$", line): 91 m = re.search("gperf version (.*) [*][/]$", line) 102 line = re.sub(r'lengthtable\[key\]', r'sizeof(void *)', line) 105 line = re.sub(r'[{]["]["][}]', r'{}', line) 108 line = re.sub(r'static unsigned char lengthtable', 114 line = re.sub(r'register', r'', line) 117 line = re.sub(r"hash [(]str, len[)]", 121 if re.search("if [(][*]str", line): 127 line = re.sub(r'["].*["]', reformat_str, line)
|
D | parse_syscalls.py | 28 import re 33 regex_flags = re.MULTILINE | re.VERBOSE 35 syscall_regex = re.compile(r''' 53 regex = re.compile(tagged_struct_decl_template % tag, regex_flags)
|
/Zephyr-Core-3.4.0/scripts/gitlint/ |
D | zephyr_commit_rules.py | 18 import re 67 flags = re.UNICODE 68 flags |= re.IGNORECASE 71 … if not re.search(r"(^)Signed-off-by: ([-'\w.]+) ([-'\w.]+) (.*)", line, flags=flags): 97 pattern = re.compile(regex, re.UNICODE) 111 …urls = re.findall(r'http[s]?://(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*\(\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+… 128 flags = re.IGNORECASE 130 if re.search(rf"^\s*{tag}:", line, flags=flags):
|
/Zephyr-Core-3.4.0/scripts/utils/ |
D | migrate_sys_init.py | 19 import re 32 m = re.match(r"^SYS_INIT\(([A-Za-z0-9_]+),.*", line) 37 m = re.match(r"^SYS_INIT_NAMED\([A-Za-z0-9_]+,\s?([A-Za-z0-9_]+).*", line) 50 m = re.match( 61 m = re.match(r"^\s?ARG_UNUSED\(" + arg + r"\);.*$", line) 68 m = re.match(r"^\s?\n$", line)
|
D | pinctrl_nrf_migrate.py | 84 import re 192 if re.match(r"\s*};.*", line): 253 m = re.match(r'^#include\s+(?:"|<).*nrf.*(?:>|").*', line) 346 m = re.match(r'^#include\s+".*-pinctrl\.dtsi".*', line) 352 m = re.match(r'^#include\s+(?:"|<)(.*)(?:>|").*', line) 358 m = re.match(r"^\s*/\s*{.*", line) 393 m = re.match(r"^[^&]*&([a-z0-9]+)\s*{[^}]*$", line) 398 if re.match(device.pattern, m.group(1)): 411 if re.match(r"[^\/\*]*{.*", line): 414 elif re.match(r"[^\/\*]*}.*", line): [all …]
|
D | migrate_mcumgr_kconfigs.py | 18 import re 124 if re.match(".*" + m + ".*", line) and len(m) > length: 148 cfp = re.compile(".+/" + fp + "$") 149 if re.match(cfp, str(p)) is not None:
|
/Zephyr-Core-3.4.0/scripts/dts/python-devicetree/tests/ |
D | test_dtlib.py | 6 import re 120 assert re.fullmatch(err_matches, actual_err), \ 1491 re.escape("to be assigned with either 'a = &foo' or 'a = \"/path/to/node\"', not 'a = [ 00 ];'")) 1502 re.escape(r"value of property 'a' (b'\xff\x00') on /aliases in ") + 1653 re.escape("'two_u = < (number) >;', not 'two_u = < 0x1 0x2 >;'")) 1657 re.escape("'u8 = < (number) >;', not 'u8 = [ 01 ];'")) 1661 re.escape("'u16 = < (number) >;', not 'u16 = /bits/ 16 < 0x1 0x2 >;'")) 1665 re.escape("'u64 = < (number) >;', not 'u64 = /bits/ 64 < 0x1 >;'")) 1669 re.escape("'string = < (number) >;', not 'string = \"foo\\tbar baz\";'")) 1695 re.escape("'empty = < (number) (number) ... >;', not 'empty;'")) [all …]
|
/Zephyr-Core-3.4.0/scripts/release/ |
D | list_issues.py | 12 import re 176 match = re.findall(r"(Fixes|Closes|Fixed|close):? #([0-9]+)", 177 issue['body'], re.MULTILINE) 182 match = re.findall( 183 r"Backport #([0-9]+)", issue['body'], re.MULTILINE) 191 match = re.findall(r"(Fixes|Closes|Fixed|close):? #([0-9]+)", 192 item['body'], re.MULTILINE) 201 match = re.findall(r"(Fixes|Closes|Fixed|close):? #([0-9]+)", 202 str(content), re.MULTILINE)
|
/Zephyr-Core-3.4.0/doc/_extensions/zephyr/ |
D | doxyrunner.py | 47 import re 94 option_re = re.compile(r"^\s*([A-Z0-9_]+)\s*=\s*(.*)$") 95 multiline_re = re.compile(r"^\s*(.*)$") 162 content = re.sub( 166 flags=re.MULTILINE, 169 content = re.sub( 173 flags=re.MULTILINE, 176 content = re.sub( 180 flags=re.MULTILINE, 250 m = re.match(r"(.*):(\d+): ([a-z]+): (.*)", line)
|
D | vcs_link.py | 27 import re 51 if re.match(exclude, pagename): 56 if re.match(pattern, pagename):
|
D | link-roles.py | 9 import re 60 m = re.search(r"(.*)\s*<(.*)>", text) 68 module_match = re.search(r"(.+?):\s*(.+)", link)
|
/Zephyr-Core-3.4.0/boards/arm/faze/support/ |
D | openocd.cfg | 17 # This ensures that the interrupt vectors (0x0000-0x0200) are re-mapped to 25 # 0x0 Boot Loader Mode. Interrupt vectors are re-mapped to 27 # 0x1 User RAM Mode. Interrupt vectors are re-mapped to 29 # 0x2 User Flash Mode. Interrupt vectors are not re-mapped
|
/Zephyr-Core-3.4.0/scripts/west_commands/zspdx/ |
D | spdxids.py | 5 import re 56 p = re.compile(r"-\d+$")
|
D | scanner.py | 7 import re 89 e2 = re.sub(r'\(|\)|\+', "", expression, flags=re.IGNORECASE) 92 e3 = re.sub(r' AND | OR | WITH ', " ", e2, flags=re.IGNORECASE)
|
/Zephyr-Core-3.4.0/boards/arm/lpcxpresso11u68/support/ |
D | openocd.cfg | 20 # This ensures that the interrupt vectors (0x0000-0x0200) are re-mapped to 28 # 0x0 Boot Loader Mode. Interrupt vectors are re-mapped to 30 # 0x1 User RAM Mode. Interrupt vectors are re-mapped to 32 # 0x2 User Flash Mode. Interrupt vectors are not re-mapped
|
/Zephyr-Core-3.4.0/scripts/net/ |
D | enumerate_http_status.py | 30 import re 39 if re.match('[0-9][0-9][0-9] [a-zA-Z].*', c):
|
/Zephyr-Core-3.4.0/arch/xtensa/core/ |
D | gen_zsr.py | 5 import re 26 m = re.match(r"^#define\s+([^ ]+)\s*(.*)", line.rstrip()) 46 m = re.match(r"XCHAL_INT(\d+)_TYPE", sym)
|
/Zephyr-Core-3.4.0/scripts/ci/ |
D | errno.py | 17 import re 22 r = re.compile(r'^\s*#define\s+([A-Z]+)\s+([0-9]+)')
|
D | check_compliance.py | 13 import re 214 matches = re.findall(regex, output, re.MULTILINE) 312 re.sub('[^a-zA-Z0-9]', '_', module).upper(), 413 + re.findall(regex, grep_stdout, re.MULTILINE)) 468 if re.match(r"^[Ee]nable.*", node.prompt[0]): 560 for sym_name in re.findall(regex, line): 747 if re.match(r"\s*#\s*(K|k)config[\w.-]*\s*-", contents): 770 match = re.search( 772 f.read(), re.MULTILINE) 784 if re.search(r"^\.\.\.", f.read(), re.MULTILINE): [all …]
|
/Zephyr-Core-3.4.0/tests/kernel/spinlock/src/ |
D | spinlock_error_case.c | 99 k_spinlock_key_t re; in ZTEST() local 104 re = k_spin_lock(&lock); in ZTEST()
|
/Zephyr-Core-3.4.0/subsys/modbus/ |
D | modbus_serial.c | 57 if (cfg->re != NULL) { in modbus_serial_rx_on() 58 gpio_pin_set(cfg->re->port, cfg->re->pin, 1); in modbus_serial_rx_on() 69 if (cfg->re != NULL) { in modbus_serial_rx_off() 70 gpio_pin_set(cfg->re->port, cfg->re->pin, 0); in modbus_serial_rx_off() 434 if (cfg->re != NULL) { in configure_gpio() 435 if (!device_is_ready(cfg->re->port)) { in configure_gpio() 439 if (gpio_pin_configure_dt(cfg->re, GPIO_OUTPUT_INACTIVE)) { in configure_gpio()
|