/scripts/ |
D | setlocalversion | 163 local file res= 172 res="$res$(cat "$file")" 175 echo "$res" 180 res=$(scm_version) 181 echo "$res" >.scmversion 194 res="$(collect_files localversion*)" 196 res="$res$(collect_files "$srctree"/localversion*)" 200 res="${res}${CONFIG_LOCALVERSION}${LOCALVERSION}" 205 res="$res$(scm_version)" 213 res="$res${scm:++}" [all …]
|
D | bpf_helpers_doc.py | 43 res = {} 47 res['ret_type'] = capture.group(1) 48 res['ret_star'] = capture.group(2) 49 res['name'] = capture.group(3) 50 res['args'] = [] 55 res['args'].append({ 61 return res
|
D | checkkconfigsymbols.py | 284 for res in pool.map(parse_kconfig_files, arglist): 285 defined.extend(res[0]) 339 for res in pool.map(parse_source_files, arglist): 340 referenced_symbols.update(res) 346 for res in pool.map(parse_kconfig_files, arglist): 347 defined_symbols.extend(res[0]) 348 referenced_symbols.update(res[1])
|
D | checkpatch.pl | 1522 my $res = ''; 1526 $res .= ' '; 1529 $res .= ' '; 1533 $res .= $c; 1537 return $res; 1540 (my $res = shift) =~ tr/\t/ /c; 1541 return $res; 1571 my $res = ''; 1579 $res = substr($line, 0, 1); 1589 substr($res, $off, 2, "$;$;"); [all …]
|
D | sphinx-pre-install | 338 my $res = ""; 339 $res = qx(cat $_[0]) if (-r $_[0]); 340 return $res;
|
/scripts/coccinelle/api/ |
D | resource_size.cocci | 27 struct resource *res; 30 * (res->end - res->start) + 1 37 struct resource *res; 40 - (res->end - res->start) + 1 41 + resource_size(res) 49 struct resource *res; 53 (res->end@p - res->start) + 1 56 struct resource *res; 60 res->end@p - res->start 64 x << r_org.res; [all …]
|
/scripts/kconfig/ |
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 | mconf.c | 394 struct gstr res; in search_conf() local 444 res = get_relations_str(sym_arr, &head); in search_conf() 447 str_get(&res), 0, 0, keys, &vscroll, in search_conf() 456 str_free(&res); in search_conf() 650 int res; in conf() local 667 res = dialog_menu(prompt ? prompt : "Main Menu", in conf() 670 if (res == 1 || res == KEY_ESC || res == -ERRDISPLAYTOOSMALL) in conf() 685 switch (res) { in conf() 804 int res; in conf_choice() local 825 res = dialog_checklist(prompt ? prompt : "Main Menu", in conf_choice() [all …]
|
D | nconf.c | 414 int res = btn_dialog(main_window, in handle_f4() local 419 if (res == 0) in handle_f4() 421 else if (res == 1) in handle_f4() 650 int res; in do_exit() local 655 res = btn_dialog(main_window, in do_exit() 661 if (res == KEY_EXIT) { in do_exit() 667 switch (res) { in do_exit() 669 res = conf_write(filename); in do_exit() 670 if (res) in do_exit() 695 struct gstr res; in search_conf() local [all …]
|
D | preprocess.c | 254 char *res; in variable_expand() local 270 res = expand_string_with_args(v->value, argc, argv); in variable_expand() 272 res = xstrdup(v->value); in variable_expand() 276 return res; in variable_expand() 348 char *tmp, *name, *res, *endptr, *prev, *p; in eval_clause() local 364 res = xstrdup(argv[n - 1]); in eval_clause() 417 res = variable_expand(name, new_argc, new_argv); in eval_clause() 418 if (res) in eval_clause() 422 res = function_expand(name, new_argc, new_argv); in eval_clause() 423 if (res) in eval_clause() [all …]
|
D | expr.c | 254 int res, old_count; in expr_eq() local 283 res = (e1->type == E_SYMBOL && e2->type == E_SYMBOL && in expr_eq() 288 return res; in expr_eq() 1036 int res; in expr_calc_value() local 1079 res = strcmp(str1, str2); in expr_calc_value() 1081 res = (lval.u > rval.u) - (lval.u < rval.u); in expr_calc_value() 1083 res = (lval.s > rval.s) - (lval.s < rval.s); in expr_calc_value() 1087 return res ? no : yes; in expr_calc_value() 1089 return res >= 0 ? yes : no; in expr_calc_value() 1091 return res > 0 ? yes : no; in expr_calc_value() [all …]
|
D | symbol.c | 877 char *res; in sym_escape_string_value() local 894 res = xmalloc(reslen); in sym_escape_string_value() 895 res[0] = '\0'; in sym_escape_string_value() 897 strcat(res, "\""); in sym_escape_string_value() 902 strncat(res, p, l); in sym_escape_string_value() 908 strcat(res, "\\"); in sym_escape_string_value() 909 strncat(res, p++, 1); in sym_escape_string_value() 912 strcat(res, "\""); in sym_escape_string_value() 913 return res; in sym_escape_string_value()
|
D | qconf.cc | 1125 QString res = str; in print_filter() local 1126 for (int i = 0; (i = res.indexOf(re, i)) >= 0;) { in print_filter() 1127 switch (res[i].toLatin1()) { in print_filter() 1129 res.replace(i, 1, "<"); in print_filter() 1133 res.replace(i, 1, ">"); in print_filter() 1137 res.replace(i, 1, "&"); in print_filter() 1141 res.replace(i, 1, """); in print_filter() 1145 res.replace(i, 1, "<br>"); in print_filter() 1150 return res; in print_filter()
|
D | menu.c | 875 struct gstr res = str_new(); in get_relations_str() local 879 get_symbol_str(&res, sym, head); in get_relations_str() 881 str_append(&res, "No matches found.\n"); in get_relations_str() 882 return res; in get_relations_str()
|
D | confdata.c | 973 int res, i; in conf_touch_deps() local 1038 res = conf_touch_dep(sym->name); in conf_touch_deps() 1039 if (res) in conf_touch_deps() 1040 return res; in conf_touch_deps()
|
/scripts/gdb/linux/ |
D | proc.py | 61 for res, deep in get_resources(child, depth + 1): 62 yield res, deep 71 for res, depth in get_resources(resource['child'], 0): 72 start = int(res['start']) 73 end = int(res['end']) 77 res['name'].string() + "\n")
|
/scripts/dtc/ |
D | srcpos.c | 75 char *res; in shorten_to_initial_path() local 77 res = xmalloc((3 * diff) + restlen + 1); in shorten_to_initial_path() 79 res[j++] = '.'; in shorten_to_initial_path() 80 res[j++] = '.'; in shorten_to_initial_path() 81 res[j++] = '/'; in shorten_to_initial_path() 83 strcpy(res + j, p1); in shorten_to_initial_path() 84 return res; in shorten_to_initial_path()
|
/scripts/genksyms/ |
D | genksyms.c | 381 struct string_list *res, *n; in copy_list_range() local 385 n = res = copy_node(start); in copy_list_range() 391 return res; in copy_list_range()
|