/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 | checkkconfigsymbols.py | 12 import re 28 REGEX_FILE_KCONFIG = re.compile(r".*Kconfig[\.\w+\-]*$") 29 REGEX_FEATURE = re.compile(r'(?!\B"[^"]*)' + FEATURE + r'(?![^"]*"\B)') 30 REGEX_SOURCE_FEATURE = re.compile(SOURCE_FEATURE) 31 REGEX_KCONFIG_DEF = re.compile(DEF) 32 REGEX_KCONFIG_EXPR = re.compile(EXPR) 33 REGEX_KCONFIG_STMT = re.compile(STMT) 34 REGEX_KCONFIG_HELP = re.compile(r"^\s+(help|---help---)\s*$") 35 REGEX_FILTER_FEATURES = re.compile(r"[A-Za-z0-9]$") 36 REGEX_NUMERIC = re.compile(r"0[xX][0-9a-fA-F]+|[0-9]+") [all …]
|
D | analyze_suspend.py | 51 import re 123 m = re.match('(?P<name>.*)_dmesg\.txt$', self.dmesgfile) 127 m = re.match('(?P<name>.*)_ftrace\.txt$', self.ftracefile) 161 mD = re.match('^(?P<y>[0-9]*)-(?P<m>[0-9]*)-(?P<d>[0-9]*)', outD) 162 mT = re.match('^(?P<h>[0-9]*):(?P<m>[0-9]*):(?P<s>[0-9]*)', outT) 583 if(re.match('[0-9]*-[0-9]*\.[0-9]*[\.0-9]*\:[\.0-9]*$', pdev)): 632 if(d == 'traceevent' or re.match('^ *\/\* *(?P<msg>.*) \*\/ *$', m)): 638 em = re.match('^ *\/\* *(?P<msg>.*) \*\/ *$', m) 641 emm = re.match('^(?P<call>.*?): (?P<msg>.*)', msg) 653 match = re.match('^(?P<d> *)(?P<o>.*)$', m) [all …]
|
D | bloat-o-meter | 10 import sys, os, re 27 name = re.sub(r'\.[0-9]+', '', name)
|
/scripts/dtc/ |
D | flattree.c | 319 struct reserve_info *re; in flatten_reserve_list() local 324 for (re = reservelist; re; re = re->next) { in flatten_reserve_list() 325 d = data_append_re(d, &re->re); in flatten_reserve_list() 475 struct reserve_info *re; in dt_to_asm() local 540 for (re = dti->reservelist; re; re = re->next) { in dt_to_asm() 543 for_each_label(re->labels, l) { in dt_to_asm() 547 ASM_EMIT_BELONG(f, "0x%08x", (unsigned int)(re->re.address >> 32)); in dt_to_asm() 549 (unsigned int)(re->re.address & 0xffffffff)); in dt_to_asm() 550 ASM_EMIT_BELONG(f, "0x%08x", (unsigned int)(re->re.size >> 32)); in dt_to_asm() 551 ASM_EMIT_BELONG(f, "0x%08x", (unsigned int)(re->re.size & 0xffffffff)); in dt_to_asm() [all …]
|
D | treesource.c | 268 struct reserve_info *re; in dt_to_source() local 272 for (re = dti->reservelist; re; re = re->next) { in dt_to_source() 275 for_each_label(re->labels, l) in dt_to_source() 278 (unsigned long long)re->re.address, in dt_to_source() 279 (unsigned long long)re->re.size); in dt_to_source()
|
D | livetree.c | 322 new->re.address = address; in build_reserve_entry() 323 new->re.size = size; in build_reserve_entry() 602 if (a->re.address < b->re.address) in cmp_reserve_info() 604 else if (a->re.address > b->re.address) in cmp_reserve_info() 606 else if (a->re.size < b->re.size) in cmp_reserve_info() 608 else if (a->re.size > b->re.size) in cmp_reserve_info()
|
D | data.c | 200 struct data data_append_re(struct data d, const struct fdt_reserve_entry *re) in data_append_re() argument 204 bere.address = cpu_to_fdt64(re->address); in data_append_re() 205 bere.size = cpu_to_fdt64(re->size); in data_append_re()
|
D | dtc-parser.y | 54 struct reserve_info *re; member 79 %type <re> memreserve 80 %type <re> memreserves
|
D | dtc.h | 117 struct data data_append_re(struct data d, const struct fdt_reserve_entry *re); 230 struct fdt_reserve_entry re; member
|
D | dtc-parser.tab.h_shipped | 94 struct reserve_info *re;
|
D | dtc-parser.tab.c_shipped | 165 struct reserve_info *re; 1474 parser_output = build_dt_info((yyvsp[-2].flags), (yyvsp[-1].re), (yyvsp[0].node), 1509 (yyval.re) = NULL; 1517 (yyval.re) = chain_reserve_entry((yyvsp[-1].re), (yyvsp[0].re)); 1525 (yyval.re) = build_reserve_entry((yyvsp[-2].integer), (yyvsp[-1].integer)); 1533 add_label(&(yyvsp[0].re)->labels, (yyvsp[-1].labelref)); 1534 (yyval.re) = (yyvsp[0].re);
|
D | dtc-lexer.lex.c_shipped | 211 * if we're using stdio for input, then we want to use getc() 217 /* Whether we're considered to be at the beginning of a line. 1267 /* We're scanning a new file or input source. It's 1296 /* Okay, we're now positioned to make the NUL 2006 * away when we're done.
|
/scripts/dtc/libfdt/ |
D | fdt_sw.c | 144 struct fdt_reserve_entry *re; in fdt_add_reservemap_entry() local 153 if ((offset + sizeof(*re)) > fdt_totalsize(fdt)) in fdt_add_reservemap_entry() 156 re = (struct fdt_reserve_entry *)((char *)fdt + offset); in fdt_add_reservemap_entry() 157 re->address = cpu_to_fdt64(addr); in fdt_add_reservemap_entry() 158 re->size = cpu_to_fdt64(size); in fdt_add_reservemap_entry() 160 fdt_set_off_dt_struct(fdt, offset + sizeof(*re)); in fdt_add_reservemap_entry()
|
D | fdt_rw.c | 176 struct fdt_reserve_entry *re; in fdt_add_mem_rsv() local 181 re = _fdt_mem_rsv_w(fdt, fdt_num_mem_rsv(fdt)); in fdt_add_mem_rsv() 182 err = _fdt_splice_mem_rsv(fdt, re, 0, 1); in fdt_add_mem_rsv() 186 re->address = cpu_to_fdt64(address); in fdt_add_mem_rsv() 187 re->size = cpu_to_fdt64(size); in fdt_add_mem_rsv() 193 struct fdt_reserve_entry *re = _fdt_mem_rsv_w(fdt, n); in fdt_del_mem_rsv() local 200 return _fdt_splice_mem_rsv(fdt, re, 1, 0); in fdt_del_mem_rsv()
|
/scripts/tracing/ |
D | draw_functrace.py | 25 import sys, re 106 m = re.match("[^]]+?\\] +([a-z.]+) +([0-9.]+): (\\w+) <-(\\w+)", line)
|
/scripts/gdb/linux/ |
D | symbols.py | 16 import re 88 if re.match(module_pattern, name) and os.path.exists(name):
|
/scripts/kconfig/ |
D | symbol.c | 997 regex_t re; in sym_re_search() local 1004 if (regcomp(&re, pattern, REG_EXTENDED|REG_ICASE)) in sym_re_search() 1010 if (regexec(&re, sym->name, 1, match, 0)) in sym_re_search() 1040 regfree(&re); in sym_re_search()
|
D | zconf.lex.c_shipped | 240 * if we're using stdio for input, then we want to use getc() 246 /* Whether we're considered to be at the beginning of a line. 1400 /* We're scanning a new file or input source. It's 1429 /* Okay, we're now positioned to make the NUL 2142 * away when we're done.
|
D | qconf.cc | 1184 QRegExp re("[<>&\"\\n]"); in print_filter() local 1186 for (int i = 0; (i = res.indexOf(re, i)) >= 0;) { in print_filter()
|
/scripts/genksyms/ |
D | lex.lex.c_shipped | 212 * if we're using stdio for input, then we want to use getc() 218 /* Whether we're considered to be at the beginning of a line. 920 /* We're scanning a new file or input source. It's 949 /* Okay, we're now positioned to make the NUL 1694 * away when we're done.
|