Home
last modified time | relevance | path

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

/scripts/
Dsetlocalversion139 local file res
148 res="$res$(cat "$file")"
151 echo "$res"
156 res=$(scm_version)
157 echo "$res" >.scmversion
170 res="$(collect_files localversion*)"
172 res="$res$(collect_files "$srctree"/localversion*)"
176 res="${res}${CONFIG_LOCALVERSION}${LOCALVERSION}"
181 res="$res$(scm_version)"
189 res="$res${scm:++}"
[all …]
Dcheckpatch.pl911 my $res = '';
915 $res .= ' ';
918 $res .= ' ';
922 $res .= $c;
926 return $res;
929 (my $res = shift) =~ tr/\t/ /c;
930 return $res;
960 my $res = '';
968 $res = substr($line, 0, 1);
978 substr($res, $off, 2, "$;$;");
[all …]
Danalyze_suspend.py3104 res = 'NO'
3107 res = 'YES'
3108 print(' is android device connected: %s' % res)
3109 if(res != 'YES'):
3114 res = 'NO (No features of this tool will work!)'
3118 res = 'YES'
3121 res = 'YES'
3122 print(' have root access: %s' % res)
3123 if(res != 'YES'):
3131 res = 'NO (No features of this tool will work!)'
[all …]
/scripts/coccinelle/api/
Dresource_size.cocci26 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/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 …]
Dnconf.c412 int res = btn_dialog(main_window, in handle_f4() local
417 if (res == 0) in handle_f4()
419 else if (res == 1) in handle_f4()
648 int res; in do_exit() local
653 res = btn_dialog(main_window, in do_exit()
659 if (res == KEY_EXIT) { in do_exit()
665 switch (res) { in do_exit()
667 res = conf_write(filename); in do_exit()
668 if (res) in do_exit()
692 struct gstr res; in search_conf() local
[all …]
Dmconf.c394 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()
651 int res; in conf() local
668 res = dialog_menu(prompt ? _(prompt) : _("Main Menu"), in conf()
671 if (res == 1 || res == KEY_ESC || res == -ERRDISPLAYTOOSMALL) in conf()
686 switch (res) { in conf()
808 int res; in conf_choice() local
829 res = dialog_checklist(prompt ? _(prompt) : _("Main Menu"), in conf_choice()
[all …]
Dsymbol.c873 char *res; in sym_expand_string_value() local
877 res = xmalloc(reslen); in sym_expand_string_value()
878 res[0] = '\0'; in sym_expand_string_value()
886 strncat(res, in, src - in); in sym_expand_string_value()
900 newlen = strlen(res) + strlen(symval) + strlen(src) + 1; in sym_expand_string_value()
903 res = realloc(res, reslen); in sym_expand_string_value()
906 strcat(res, symval); in sym_expand_string_value()
909 strcat(res, in); in sym_expand_string_value()
911 return res; in sym_expand_string_value()
918 char *res; in sym_escape_string_value() local
[all …]
Dexpr.c202 int res, old_count; in expr_eq() local
231 res = (e1->type == E_SYMBOL && e2->type == E_SYMBOL && in expr_eq()
236 return res; in expr_eq()
930 int res; in expr_calc_value() local
973 res = strcmp(str1, str2); in expr_calc_value()
979 res = strcmp(str1, str2); in expr_calc_value()
981 res = (lval.u > rval.u) - (lval.u < rval.u); in expr_calc_value()
983 res = (lval.s > rval.s) - (lval.s < rval.s); in expr_calc_value()
987 return res ? no : yes; in expr_calc_value()
989 return res >= 0 ? yes : no; in expr_calc_value()
[all …]
Dconfdata.c846 int res, i, fd; in conf_split_config() local
855 res = 0; in conf_split_config()
920 res = 1; in conf_split_config()
931 res = 1; in conf_split_config()
939 res = 1; in conf_split_config()
949 return res; in conf_split_config()
Dqconf.cc1185 QString res = str; in print_filter() local
1186 for (int i = 0; (i = res.indexOf(re, i)) >= 0;) { in print_filter()
1187 switch (res[i].toLatin1()) { in print_filter()
1189 res.replace(i, 1, "&lt;"); in print_filter()
1193 res.replace(i, 1, "&gt;"); in print_filter()
1197 res.replace(i, 1, "&amp;"); in print_filter()
1201 res.replace(i, 1, "&quot;"); in print_filter()
1205 res.replace(i, 1, "<br>"); in print_filter()
1210 return res; in print_filter()
Dmenu.c674 struct gstr res = str_new(); in get_relations_str() local
678 get_symbol_str(&res, sym, head); in get_relations_str()
680 str_append(&res, _("No matches found.\n")); in get_relations_str()
681 return res; in get_relations_str()
/scripts/genksyms/
Dgenksyms.c393 struct string_list *res, *n; in copy_list_range() local
397 n = res = copy_node(start); in copy_list_range()
403 return res; in copy_list_range()
/scripts/dtc/
Ddtc-parser.tab.c_shipped795 unsigned res = 0;
799 res += YYFPRINTF (yyo, "%d", yylocp->first_line);
801 res += YYFPRINTF (yyo, ".%d", yylocp->first_column);
807 res += YYFPRINTF (yyo, "-%d", yylocp->last_line);
809 res += YYFPRINTF (yyo, ".%d", end_col);
812 res += YYFPRINTF (yyo, "-%d", end_col);
814 return res;