Home
last modified time | relevance | path

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

/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.c157 int res = 0; in get_line_length() local
160 res++; in get_line_length()
162 return res; in get_line_length()
208 int res = -1; in btn_dialog() local
272 while ((res = wgetch(win))) { in btn_dialog()
273 switch (res) { in btn_dialog()
290 if (res == 10 || res == ' ') { in btn_dialog()
291 res = item_index(current_item(menu)); in btn_dialog()
293 } else if (res == 27 || res == KEY_F(F_BACK) || in btn_dialog()
294 res == KEY_F(F_EXIT)) { in btn_dialog()
[all …]
Dmconf.c386 struct gstr res; in search_conf() local
433 res = get_relations_str(sym_arr, &head); in search_conf()
435 dres = show_textbox_ext("Search Results", str_get(&res), 0, 0, in search_conf()
444 str_free(&res); in search_conf()
606 int res; in conf_choice() local
627 res = dialog_checklist(prompt ? prompt : "Main Menu", in conf_choice()
633 switch (res) { in conf_choice()
664 int res; in conf_string() local
681 res = dialog_inputbox(prompt ? prompt : "Main Menu", in conf_string()
684 switch (res) { in conf_string()
[all …]
Dnconf.c422 int res = btn_dialog(main_window, in handle_f4() local
427 if (res == 0) in handle_f4()
429 else if (res == 1) in handle_f4()
657 int res; in do_exit() local
662 res = btn_dialog(main_window, in do_exit()
668 if (res == KEY_EXIT) { in do_exit()
674 switch (res) { in do_exit()
676 res = conf_write(filename); in do_exit()
677 if (res) in do_exit()
702 struct gstr res; in search_conf() local
[all …]
Dpreprocess.c258 char *res; in variable_expand() local
274 res = expand_string_with_args(v->value, argc, argv); in variable_expand()
276 res = xstrdup(v->value); in variable_expand()
280 return res; in variable_expand()
352 char *tmp, *name, *res, *endptr, *prev, *p; in eval_clause() local
368 res = xstrdup(argv[n - 1]); in eval_clause()
421 res = variable_expand(name, new_argc, new_argv); in eval_clause()
422 if (res) in eval_clause()
426 res = function_expand(name, new_argc, new_argv); in eval_clause()
427 if (res) in eval_clause()
[all …]
Dsymbol.c285 struct symbol *res = NULL; in sym_calc_choice() local
297 res = sym; in sym_calc_choice()
306 if (!res) { in sym_calc_choice()
307 res = sym_choice_default(choice); in sym_calc_choice()
308 if (res && sym_has_value(res) && res->def[S_DEF_USER].tri == no) in sym_calc_choice()
309 res = NULL; in sym_calc_choice()
313 if (!res) { in sym_calc_choice()
320 res = sym; in sym_calc_choice()
329 if (!res) { in sym_calc_choice()
335 res = sym; in sym_calc_choice()
[all …]
Dexpr.c210 bool res; in expr_eq() local
237 res = (e1->type == E_SYMBOL && e2->type == E_SYMBOL && in expr_eq()
240 return res; in expr_eq()
897 int res; in __expr_calc_value() local
937 res = strcmp(str1, str2); in __expr_calc_value()
939 res = (lval.u > rval.u) - (lval.u < rval.u); in __expr_calc_value()
941 res = (lval.s > rval.s) - (lval.s < rval.s); in __expr_calc_value()
945 return res ? no : yes; in __expr_calc_value()
947 return res >= 0 ? yes : no; in __expr_calc_value()
949 return res > 0 ? yes : no; in __expr_calc_value()
[all …]
Dconfdata.c965 int res; in conf_touch_deps() local
1028 res = conf_touch_dep(sym->name); in conf_touch_deps()
1029 if (res) in conf_touch_deps()
1030 return res; in conf_touch_deps()
Dmenu.c745 struct gstr res = str_new(); in get_relations_str() local
749 get_symbol_str(&res, sym, head); in get_relations_str()
751 str_append(&res, "No matches found.\n"); in get_relations_str()
752 return res; in get_relations_str()
Dqconf.cc1124 QString res = str; in print_filter() local
1125 for (int i = 0; (i = res.indexOf(re, i)) >= 0;) { in print_filter()
1126 switch (res[i].toLatin1()) { in print_filter()
1128 res.replace(i, 1, "&lt;"); in print_filter()
1132 res.replace(i, 1, "&gt;"); in print_filter()
1136 res.replace(i, 1, "&amp;"); in print_filter()
1140 res.replace(i, 1, "&quot;"); in print_filter()
1144 res.replace(i, 1, "<br>"); in print_filter()
1149 return res; in print_filter()
/scripts/gendwarfksyms/
Ddwarf.c117 int res; in is_definition_private() local
126 res = cache_get(&srcfile_cache, filenum); in is_definition_private()
127 if (res >= 0) in is_definition_private()
128 return !!res; in is_definition_private()
141 res = s && !strcmp(s, ".c"); in is_definition_private()
142 cache_set(&srcfile_cache, filenum, res); in is_definition_private()
144 return !!res; in is_definition_private()
271 int res; in process_die_container() local
277 res = checkp(dwarf_child(die, &current)); in process_die_container()
278 while (!res) { in process_die_container()
[all …]
Dgendwarfksyms.c58 int res; in process_module() local
68 res = dwarf_get_units(dbg, cu, &cu, NULL, NULL, &cudie, NULL); in process_module()
69 if (res < 0) in process_module()
71 if (res == 1) in process_module()
Dtypes.c105 static int __type_map_get(const char *name, struct type_expansion **res) in __type_map_get() argument
111 *res = e; in __type_map_get()
161 static int type_map_get(const char *name, struct type_expansion **res) in type_map_get() argument
166 if (!__type_map_get(name, res)) in type_map_get()
176 *res = type_map_add(name, &type); in type_map_get()
Ddie.c44 int __die_map_get(uintptr_t addr, enum die_state state, struct die **res) in __die_map_get() argument
50 *res = cd; in __die_map_get()
Dsymbols.c166 struct symbol **res = arg; in get_symbol() local
169 *res = sym; in get_symbol()
Dgendwarfksyms.h195 int __die_map_get(uintptr_t addr, enum die_state state, struct die **res);
/scripts/
Dsetlocalversion154 local file res=
163 res="$res$(cat "$file")"
166 echo "$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])
Dbpf_doc.py63 res = {}
67 res['ret_type'] = capture.group(1)
68 res['ret_star'] = capture.group(2)
69 res['name'] = capture.group(3)
70 res['args'] = []
75 res['args'].append({
81 return res
Dcheckpatch.pl1527 my $res = '';
1531 $res .= ' ';
1534 $res .= ' ';
1538 $res .= $c;
1542 return $res;
1545 (my $res = shift) =~ tr/\t/ /c;
1546 return $res;
1576 my $res = '';
1584 $res = substr($line, 0, 1);
1594 substr($res, $off, 2, "$;$;");
[all …]
Dsphinx-pre-install324 my $res = "";
325 $res = qx(cat $_[0]) if (-r $_[0]);
326 return $res;
/scripts/gdb/linux/
Dproc.py64 for res, deep in get_resources(child, depth + 1):
65 yield res, deep
74 for res, depth in get_resources(resource['child'], 0):
75 start = int(res['start'])
76 end = int(res['end'])
80 res['name'].string() + "\n")
/scripts/dtc/
Dsrcpos.c77 char *res; in shorten_to_initial_path() local
79 res = xmalloc((3 * diff) + restlen + 1); in shorten_to_initial_path()
81 res[j++] = '.'; in shorten_to_initial_path()
82 res[j++] = '.'; in shorten_to_initial_path()
83 res[j++] = '/'; in shorten_to_initial_path()
85 strcpy(res + j, p1); in shorten_to_initial_path()
86 return res; in shorten_to_initial_path()
/scripts/genksyms/
Dgenksyms.c386 struct string_list *res, *n; in copy_list_range() local
390 n = res = copy_node(start); in copy_list_range()
396 return res; in copy_list_range()