/u-boot/test/py/ |
H A D | u_boot_spawn.py | 9 import re namespace 49 self.re_vt100 = re.compile(r'(\x1b\[|\x9b)[^@-_]*[@-_]|\x1b[@-_]', re.I) 159 patterns[pi] = re.compile(patterns[pi])
|
/u-boot/tools/binman/btool/ |
H A D | lz4.py | 59 import re namespace
|
/u-boot/tools/patman/ |
H A D | patchstream.py | 12 import re namespace 23 RE_REMOVE = re.compile(r'^BUG=|^TEST=|^BRANCH=|^Review URL:' 27 RE_ALLOWED_AFTER_TEST = re.compile('^Signed-off-by:') 30 RE_SIGNOFF = re.compile('^Signed-off-by: *(.*)') 33 RE_COVER = re.compile('^Cover-([a-z-]*): *(.*)') 36 RE_SERIES_TAG = re.compile('^Series-([a-z-]*): *(.*)') 39 RE_CHANGE_ID = re.compile('^Change-Id: *(.*)') 42 RE_COMMIT_TAG = re.compile('^Commit-([a-z-]*): *(.*)') 45 RE_TAG = re.compile('^(Tested-by|Acked-by|Reviewed-by|Patch-cc|Fixes): (.*)') 48 RE_COMMIT = re [all...] |
H A D | __main__.py | 15 import re namespace 61 re_line = re.compile(r'(\S*) (.*)')
|
H A D | patman | 15 import re 61 re_line = re.compile(r'(\S*) (.*)')
|
/u-boot/scripts/dtc/ |
H A D | flattree.c | 311 struct reserve_info *re; local 315 for (re = reservelist; re; re = re->next) { 316 d = data_append_re(d, re->address, re->size); 466 struct reserve_info *re; local 531 for (re = dti->reservelist; re; r 703 struct fdt_reserve_entry re; local [all...] |
H A D | data.c | 136 /* Adjust all markers after the one we're inserting at */ 202 struct fdt_reserve_entry re; local 204 re.address = cpu_to_fdt64(address); 205 re.size = cpu_to_fdt64(size); 207 return data_append_data(d, &re, sizeof(re));
|
/u-boot/tools/dtoc/ |
H A D | src_scan.py | 18 import re namespace 25 This uses multiple replace() calls instead of re.sub() since it is faster 26 (400ms for 1m calls versus 1000ms for the 're' version). 294 re_struct = re.compile(r'^struct ([a-z0-9_]+) {$') 295 re_asm = re.compile(r'../arch/[a-z0-9]+/include/asm/(.*)') 325 re.Pattern: Compiled regular expression that parses: 331 return re.compile(r'^\s*.%s\s*=\s*sizeof\(struct\s+(.*)\),$' % member) 352 re_driver = re.compile(r'^UCLASS_DRIVER\((.*)\)') 355 re_id = re.compile(r'\s*\.id\s*=\s*(UCLASS_[A-Z0-9_]+)') 448 re_driver = re [all...] |
/u-boot/tools/ |
H A D | microcode-tool.py | 10 import re namespace 49 re_date = re.compile('/\* *(.* [0-9]{4}) *\*/$') 50 re_license = re.compile('/[^-*+] *(.*)$') 51 re_name = re.compile('/\* *(.*)\.inc *\*/', re.IGNORECASE)
|
H A D | rmboard.py | 28 import re namespace 90 fields = re.split('[ \t]', line, 1)
|
H A D | microcode-tool | 10 import re 49 re_date = re.compile('/\* *(.* [0-9]{4}) *\*/$') 50 re_license = re.compile('/[^-*+] *(.*)$') 51 re_name = re.compile('/\* *(.*)\.inc *\*/', re.IGNORECASE)
|
/u-boot/scripts/ |
H A D | gen_compile_commands.py | 16 import re namespace 87 filename_matcher = re.compile(_FILENAME_PATTERN) 195 line_matcher = re.compile(_LINE_PATTERN)
|
/u-boot/scripts/dtc/libfdt/ |
H A D | fdt_sw.c | 192 struct fdt_reserve_entry *re; local 198 if ((offset + sizeof(*re)) > fdt_totalsize(fdt)) 201 re = (struct fdt_reserve_entry *)((char *)fdt + offset); 202 re->address = cpu_to_fdt64(addr); 203 re->size = cpu_to_fdt64(size); 205 fdt_set_off_dt_struct(fdt, offset + sizeof(*re));
|
H A D | fdt_rw.c | 158 struct fdt_reserve_entry *re; local 163 re = fdt_mem_rsv_w_(fdt, fdt_num_mem_rsv(fdt)); 164 err = fdt_splice_mem_rsv_(fdt, re, 0, 1); 168 re->address = cpu_to_fdt64(address); 169 re->size = cpu_to_fdt64(size); 175 struct fdt_reserve_entry *re = fdt_mem_rsv_w_(fdt, n); local 182 return fdt_splice_mem_rsv_(fdt, re, 1, 0);
|
H A D | fdt_ro.c | 177 const struct fdt_reserve_entry *re; local 180 re = fdt_mem_rsv(fdt, n); 181 if (fdt_chk_extra() && !re) 184 *address = fdt64_to_cpu(re->address); 185 *size = fdt64_to_cpu(re->size); 192 const struct fdt_reserve_entry *re; local 194 for (i = 0; (re = fdt_mem_rsv(fdt, i)) != NULL; i++) { 195 if (fdt64_to_cpu(re->size) == 0)
|
/u-boot/test/py/tests/ |
H A D | test_ums.py | 12 import re namespace 106 # We're interested in testing USB device mode on each port, not the cross- 140 u_boot_console.wait_for(re.compile('UMS: LUN.*[\r\n]'))
|
H A D | test_i2c.py | 6 import re namespace 107 buses = re.findall("Bus (.+?):", response)
|
H A D | test_mmc.py | 6 import re namespace 89 obj = re.search(r'Capacity: (\d+|\d+[\.]?\d)', output) 109 obj = re.search(r'Capacity: (\d+|\d+[\.]?\d)', output) 153 obj = re.search( 202 if not re.search(r'\d file\(s\), \d dir\(s\)', output): 207 if re.search(string, output): 244 m = re.search('==> (.+?)', output) 344 m = re.search('==> (.+?)', output) 476 if re.search(r'No \w+ table on this device', output): 610 m = re [all...] |
H A D | test_zynq_secure.py | 5 import re namespace 43 m = re.search('modeboot=(.+?)boot', output)
|
/u-boot/arch/sh/include/asm/ |
H A D | ptrace.h | 80 unsigned long re; member in struct:pt_dspregs
|
/u-boot/drivers/mtd/ubi/ |
H A D | vtbl.c | 127 * This function re-names multiple volumes specified in @req in the volume 134 struct ubi_rename_entry *re; local 136 list_for_each_entry(re, rename_list, list) { 138 struct ubi_volume *vol = re->desc->vol; 141 if (re->remove) { 147 vtbl_rec->name_len = cpu_to_be16(re->new_name_len); 148 memcpy(vtbl_rec->name, re->new_name, re->new_name_len); 149 memset(vtbl_rec->name + re->new_name_len, 0, 150 UBI_VOL_NAME_MAX + 1 - re [all...] |
/u-boot/tools/u_boot_pylib/ |
H A D | terminal.py | 11 import re namespace 27 ansi_escape = re.compile(r'\x1b(?:[@-Z\\-_]|\[[0-?]*[ -/]*[@-~])')
|
/u-boot/scripts/dtc/pylibfdt/ |
H A D | setup.py | 26 import re namespace 40 RE_KEY_VALUE = re.compile(r'(?P<key>\w+) *(?P<plus>[+])?= *(?P<value>.*)$')
|
/u-boot/doc/sphinx/ |
H A D | kerneldoc.py | 34 import re namespace 133 line_regex = re.compile(r"^#define LINENO ([0-9]+)$")
|
H A D | kernel_abi.py | 39 import re namespace 150 line_regex = re.compile(r"^#define LINENO (\S+)\#([0-9]+)$")
|