Home
last modified time | relevance | path

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

/scripts/
Dsetlocalversion129 local file res=
138 res="$res$(cat "$file")"
141 echo "$res"
146 res=$(scm_version)
147 echo "$res" >.scmversion
160 res="$(collect_files localversion*)"
162 res="$res$(collect_files "$srctree"/localversion*)"
166 res="${res}${CONFIG_LOCALVERSION}${LOCALVERSION}"
171 res="$res$(scm_version)"
179 res="$res${scm:++}"
[all …]
Dbpf_helpers_doc.py43 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
Dcheckkconfigsymbols.py284 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])
Dcheckpatch.pl1210 my $res = '';
1214 $res .= ' ';
1217 $res .= ' ';
1221 $res .= $c;
1225 return $res;
1228 (my $res = shift) =~ tr/\t/ /c;
1229 return $res;
1259 my $res = '';
1267 $res = substr($line, 0, 1);
1277 substr($res, $off, 2, "$;$;");
[all …]
Dsphinx-pre-install311 my $res = "";
312 $res = qx(cat $_[0]) if (-r $_[0]);
313 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.c205 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 …]
Dmconf.c393 struct gstr res; in search_conf() local
443 res = get_relations_str(sym_arr, &head); in search_conf()
446 str_get(&res), 0, 0, keys, &vscroll, in search_conf()
455 str_free(&res); in search_conf()
649 int res; in conf() local
666 res = dialog_menu(prompt ? prompt : "Main Menu", in conf()
669 if (res == 1 || res == KEY_ESC || res == -ERRDISPLAYTOOSMALL) in conf()
684 switch (res) { in conf()
803 int res; in conf_choice() local
824 res = dialog_checklist(prompt ? prompt : "Main Menu", in conf_choice()
[all …]
Dnconf.c413 int res = btn_dialog(main_window, in handle_f4() local
418 if (res == 0) in handle_f4()
420 else if (res == 1) in handle_f4()
649 int res; in do_exit() local
654 res = btn_dialog(main_window, in do_exit()
660 if (res == KEY_EXIT) { in do_exit()
666 switch (res) { in do_exit()
668 res = conf_write(filename); in do_exit()
669 if (res) in do_exit()
694 struct gstr res; in search_conf() local
[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()
414 res = variable_expand(name, new_argc, new_argv); in eval_clause()
415 if (res) in eval_clause()
419 res = function_expand(name, new_argc, new_argv); in eval_clause()
420 if (res) in eval_clause()
[all …]
Dexpr.c255 int res, old_count; in expr_eq() local
284 res = (e1->type == E_SYMBOL && e2->type == E_SYMBOL && in expr_eq()
289 return res; in expr_eq()
1037 int res; in expr_calc_value() local
1080 res = strcmp(str1, str2); in expr_calc_value()
1082 res = (lval.u > rval.u) - (lval.u < rval.u); in expr_calc_value()
1084 res = (lval.s > rval.s) - (lval.s < rval.s); in expr_calc_value()
1088 return res ? no : yes; in expr_calc_value()
1090 return res >= 0 ? yes : no; in expr_calc_value()
1092 return res > 0 ? yes : no; in expr_calc_value()
[all …]
Dsymbol.c874 char *res; in sym_escape_string_value() local
891 res = xmalloc(reslen); in sym_escape_string_value()
892 res[0] = '\0'; in sym_escape_string_value()
894 strcat(res, "\""); in sym_escape_string_value()
899 strncat(res, p, l); in sym_escape_string_value()
905 strcat(res, "\\"); in sym_escape_string_value()
906 strncat(res, p++, 1); in sym_escape_string_value()
909 strcat(res, "\""); in sym_escape_string_value()
910 return res; in sym_escape_string_value()
Dmenu.c843 struct gstr res = str_new(); in get_relations_str() local
847 get_symbol_str(&res, sym, head); in get_relations_str()
849 str_append(&res, "No matches found.\n"); in get_relations_str()
850 return res; in get_relations_str()
Dqconf.cc1183 QString res = str; in print_filter() local
1184 for (int i = 0; (i = res.indexOf(re, i)) >= 0;) { in print_filter()
1185 switch (res[i].toLatin1()) { in print_filter()
1187 res.replace(i, 1, "&lt;"); in print_filter()
1191 res.replace(i, 1, "&gt;"); in print_filter()
1195 res.replace(i, 1, "&amp;"); in print_filter()
1199 res.replace(i, 1, "&quot;"); in print_filter()
1203 res.replace(i, 1, "<br>"); in print_filter()
1208 return res; in print_filter()
Dconfdata.c992 int res, i; in conf_touch_deps() local
1052 res = conf_touch_dep(sym->name); in conf_touch_deps()
1053 if (res) in conf_touch_deps()
1054 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()