/scripts/coccinelle/api/ |
D | devm_request_and_ioremap.cocci | 28 expression dev,res,size; 31 -if (!devm_request_mem_region(dev, res->start, size, 32 - \(res->name\|dev_name(dev)\))) { 36 ... when != res->start 38 -devm_ioremap(dev,res->start,size) 39 +devm_request_and_ioremap(dev,res) 41 -devm_ioremap_nocache(dev,res->start,size) 42 +devm_request_and_ioremap(dev,res) 45 when != res->start 50 expression dev,res,size; [all …]
|
D | resource_size.cocci | 26 struct resource *res; 29 * (res->end - res->start) + 1 36 struct resource *res; 39 - (res->end - res->start) + 1 40 + resource_size(res) 48 struct resource *res; 52 (res->end@p - res->start) + 1 55 struct resource *res; 59 res->end@p - res->start 63 x << r_org.res; [all …]
|
/scripts/ |
D | setlocalversion | 122 local file res 131 res="$res$(cat "$file")" 134 echo "$res" 139 res=$(scm_version) 140 echo "$res" >.scmversion 153 res="$(collect_files localversion*)" 155 res="$res$(collect_files "$srctree"/localversion*)" 159 res="${res}${CONFIG_LOCALVERSION}${LOCALVERSION}" 164 res="$res$(scm_version)" 172 res="$res${scm:++}" [all …]
|
D | checkpatch.pl | 511 my $res = ''; 515 $res .= ' '; 518 $res .= ' '; 522 $res .= $c; 526 return $res; 529 (my $res = shift) =~ tr/\t/ /c; 530 return $res; 560 my $res = ''; 568 $res = substr($line, 0, 1); 578 substr($res, $off, 2, "$;$;"); [all …]
|
/scripts/kconfig/ |
D | mconf.c | 308 struct gstr res; in search_conf() local 333 res = get_relations_str(sym_arr); in search_conf() 335 show_textbox(_("Search Results"), str_get(&res), 0, 0); in search_conf() 336 str_free(&res); in search_conf() 523 int res; in conf() local 541 res = dialog_menu(prompt ? _(prompt) : _("Main Menu"), in conf() 544 if (res == 1 || res == KEY_ESC || res == -ERRDISPLAYTOOSMALL) in conf() 558 switch (res) { in conf() 652 int res; in conf_choice() local 673 res = dialog_checklist(prompt ? _(prompt) : _("Main Menu"), in conf_choice() [all …]
|
D | nconf.gui.c | 205 int res = 0; in get_line_length() local 208 res++; in get_line_length() 210 return res; in get_line_length() 256 int res = -1; in btn_dialog() local 320 while ((res = wgetch(win))) { in btn_dialog() 321 switch (res) { in btn_dialog() 338 if (res == 10 || res == ' ') { in btn_dialog() 339 res = item_index(current_item(menu)); in btn_dialog() 341 } else if (res == 27 || res == KEY_F(F_BACK) || in btn_dialog() 342 res == KEY_F(F_EXIT)) { in btn_dialog() [all …]
|
D | nconf.c | 418 int res = btn_dialog(main_window, in handle_f4() local 423 if (res == 0) in handle_f4() 425 else if (res == 1) in handle_f4() 654 int res; in do_exit() local 659 res = btn_dialog(main_window, in do_exit() 665 if (res == KEY_EXIT) { in do_exit() 671 switch (res) { in do_exit() 673 res = conf_write(filename); in do_exit() 674 if (res) in do_exit() 698 struct gstr res; in search_conf() local [all …]
|
D | symbol.c | 862 char *res; in sym_expand_string_value() local 866 res = malloc(reslen); in sym_expand_string_value() 867 res[0] = '\0'; in sym_expand_string_value() 875 strncat(res, in, src - in); in sym_expand_string_value() 889 newlen = strlen(res) + strlen(symval) + strlen(src) + 1; in sym_expand_string_value() 892 res = realloc(res, reslen); in sym_expand_string_value() 895 strcat(res, symval); in sym_expand_string_value() 898 strcat(res, in); in sym_expand_string_value() 900 return res; in sym_expand_string_value() 907 char *res; in sym_escape_string_value() local [all …]
|
D | confdata.c | 780 int res, i, fd; in conf_split_config() local 788 res = 0; in conf_split_config() 853 res = 1; in conf_split_config() 864 res = 1; in conf_split_config() 872 res = 1; in conf_split_config() 882 return res; in conf_split_config()
|
D | menu.c | 583 struct gstr res = str_new(); in get_relations_str() local 587 get_symbol_str(&res, sym); in get_relations_str() 589 str_append(&res, _("No matches found.\n")); in get_relations_str() 590 return res; in get_relations_str()
|
D | qconf.cc | 1123 QString res = str; in print_filter() local 1124 for (int i = 0; (i = res.find(re, i)) >= 0;) { in print_filter() 1125 switch (res[i].latin1()) { in print_filter() 1127 res.replace(i, 1, "<"); in print_filter() 1131 res.replace(i, 1, ">"); in print_filter() 1135 res.replace(i, 1, "&"); in print_filter() 1139 res.replace(i, 1, """); in print_filter() 1143 res.replace(i, 1, "<br>"); in print_filter() 1148 return res; in print_filter()
|
D | expr.c | 191 int res, old_count; in expr_eq() local 209 res = (e1->type == E_SYMBOL && e2->type == E_SYMBOL && in expr_eq() 214 return res; in expr_eq()
|
/scripts/genksyms/ |
D | genksyms.c | 394 struct string_list *res, *n; in copy_list_range() local 398 n = res = copy_node(start); in copy_list_range() 404 return res; in copy_list_range()
|