Home
last modified time | relevance | path

Searched refs:res (Results 1 – 18 of 18) sorted by relevance

/scripts/
Dsetlocalversion114 local file res=
123 res="$res$(cat "$file")"
126 echo "$res"
131 res=$(scm_version)
132 echo "$res" >.scmversion
145 res="$(collect_files localversion*)"
147 res="$res$(collect_files "$srctree"/localversion*)"
151 res="${res}${CONFIG_LOCALVERSION}${LOCALVERSION}"
156 res="$res$(scm_version)"
166 res="$res${scm:++}"
[all …]
Dbpf_doc.py56 res = {}
60 res['ret_type'] = capture.group(1)
61 res['ret_star'] = capture.group(2)
62 res['name'] = capture.group(3)
63 res['args'] = []
68 res['args'].append({
74 return res
Dcheckkconfigsymbols.py286 for res in pool.map(parse_kconfig_files, arglist):
287 defined.extend(res[0])
341 for res in pool.map(parse_source_files, arglist):
342 referenced_symbols.update(res)
348 for res in pool.map(parse_kconfig_files, arglist):
349 defined_symbols.extend(res[0])
350 referenced_symbols.update(res[1])
Dcheckpatch.pl1522 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 …]
Dsphinx-pre-install337 my $res = "";
338 $res = qx(cat $_[0]) if (-r $_[0]);
339 return $res;
/scripts/coccinelle/api/
Dresource_size.cocci27 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/
Dnconf.gui.c156 int res = 0; in get_line_length() local
159 res++; in get_line_length()
161 return res; in get_line_length()
207 int res = -1; in btn_dialog() local
271 while ((res = wgetch(win))) { in btn_dialog()
272 switch (res) { in btn_dialog()
289 if (res == 10 || res == ' ') { in btn_dialog()
290 res = item_index(current_item(menu)); in btn_dialog()
292 } else if (res == 27 || res == KEY_F(F_BACK) || in btn_dialog()
293 res == KEY_F(F_EXIT)) { in btn_dialog()
[all …]
Dnconf.c414 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()
647 int res; in do_exit() local
652 res = btn_dialog(main_window, in do_exit()
658 if (res == KEY_EXIT) { in do_exit()
664 switch (res) { in do_exit()
666 res = conf_write(filename); in do_exit()
667 if (res) in do_exit()
692 struct gstr res; in search_conf() local
[all …]
Dmconf.c391 struct gstr res; in search_conf() local
441 res = get_relations_str(sym_arr, &head); in search_conf()
444 str_get(&res), 0, 0, keys, &vscroll, in search_conf()
453 str_free(&res); in search_conf()
647 int res; in conf() local
664 res = dialog_menu(prompt ? prompt : "Main Menu", in conf()
667 if (res == 1 || res == KEY_ESC || res == -ERRDISPLAYTOOSMALL) in conf()
682 switch (res) { in conf()
801 int res; in conf_choice() local
822 res = dialog_checklist(prompt ? prompt : "Main Menu", in conf_choice()
[all …]
Dpreprocess.c254 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 …]
Dexpr.c254 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 …]
Dsymbol.c876 char *res; in sym_escape_string_value() local
893 res = xmalloc(reslen); in sym_escape_string_value()
894 res[0] = '\0'; in sym_escape_string_value()
896 strcat(res, "\""); in sym_escape_string_value()
901 strncat(res, p, l); in sym_escape_string_value()
907 strcat(res, "\\"); in sym_escape_string_value()
908 strncat(res, p++, 1); in sym_escape_string_value()
911 strcat(res, "\""); in sym_escape_string_value()
912 return res; in sym_escape_string_value()
Dqconf.cc1130 QString res = str; in print_filter() local
1131 for (int i = 0; (i = res.indexOf(re, i)) >= 0;) { in print_filter()
1132 switch (res[i].toLatin1()) { in print_filter()
1134 res.replace(i, 1, "&lt;"); in print_filter()
1138 res.replace(i, 1, "&gt;"); in print_filter()
1142 res.replace(i, 1, "&amp;"); in print_filter()
1146 res.replace(i, 1, "&quot;"); in print_filter()
1150 res.replace(i, 1, "<br>"); in print_filter()
1155 return res; in print_filter()
Dmenu.c854 struct gstr res = str_new(); in get_relations_str() local
858 get_symbol_str(&res, sym, head); in get_relations_str()
860 str_append(&res, "No matches found.\n"); in get_relations_str()
861 return res; in get_relations_str()
Dconfdata.c988 int res, i; in conf_touch_deps() local
1053 res = conf_touch_dep(sym->name); in conf_touch_deps()
1054 if (res) in conf_touch_deps()
1055 return res; in conf_touch_deps()
/scripts/gdb/linux/
Dproc.py61 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/
Dsrcpos.c75 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/
Dgenksyms.c381 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()