| /scripts/coccinelle/api/ |
| A 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) 53 (res->end@p - res->start) + 1 60 res->end@p - res->start 64 x << r_org.res; 73 x << r_org.res; 81 x << rbad_org.res; [all …]
|
| /scripts/kconfig/ |
| A D | nconf.gui.c | 160 res++; in get_line_length() 162 return res; in get_line_length() 299 if (res == 10 || res == ' ') { in btn_dialog() 302 } else if (res == 27 || res == KEY_F(F_BACK) || in btn_dialog() 447 if ((isgraph(res) || isspace(res))) { in dialog_inputbox() 482 res = 0; in dialog_inputbox() 484 } else if (res == 27 || res == KEY_F(F_BACK) || in dialog_inputbox() 489 res = 1; in dialog_inputbox() 523 int res; in show_scroll_win_ext() local 630 if (res == 0 || res == 10 || res == 27 || res == 'q' || in show_scroll_win_ext() [all …]
|
| A D | mconf.c | 606 int res; in conf_choice() local 664 int res; in conf_string() local 703 int res; in conf_load() local 730 int res; in conf_save() local 759 int res; in conf() local 779 if (res == 1 || res == KEY_ESC || res == -ERRDISPLAYTOOSMALL) in conf() 876 int res; in handle_exit() local 887 res = -1; in handle_exit() 908 res = 0; in handle_exit() 916 res = 0; in handle_exit() [all …]
|
| A D | nconf.c | 657 int res; in do_exit() local 677 if (res) in do_exit() 1137 if (res == 10 || res == 27 || in selected_conf() 1138 res == 32 || res == 'n' || res == 'y' || in selected_conf() 1139 res == KEY_LEFT || res == KEY_RIGHT || in selected_conf() 1291 &res, in conf_choice() 1320 if (res == 10 || res == 27 || res == ' ' || in conf_choice() 1327 if (res == 27 || res == KEY_LEFT) in conf_choice() 1355 int res; in conf_string() local 1397 int res; in conf_load() local [all …]
|
| A D | preprocess.c | 258 char *res; in variable_expand() local 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() 422 if (res) in eval_clause() 427 if (res) in eval_clause() 432 res = env_expand(name); in eval_clause() 433 if (res) in eval_clause() 437 res = xstrdup(""); in eval_clause() [all …]
|
| A D | symbol.c | 301 struct symbol *res = NULL; in sym_calc_choice() local 313 res = sym; in sym_calc_choice() 322 if (!res) { in sym_calc_choice() 324 if (res && sym_has_value(res) && res->def[S_DEF_USER].tri == no) in sym_calc_choice() 325 res = NULL; in sym_calc_choice() 329 if (!res) { in sym_calc_choice() 336 res = sym; in sym_calc_choice() 345 if (!res) { in sym_calc_choice() 351 res = sym; in sym_calc_choice() 364 val = sym == res ? yes : no; in sym_calc_choice() [all …]
|
| A D | expr.c | 210 bool res; in expr_eq() local 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() 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() 951 return res <= 0 ? yes : no; in __expr_calc_value() 953 return res < 0 ? yes : no; in __expr_calc_value() [all …]
|
| A D | confdata.c | 965 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()
|
| A D | menu.c | 766 struct gstr res = str_new(); in get_relations_str() local 770 get_symbol_str(&res, sym, head); in get_relations_str() 772 str_append(&res, "No matches found.\n"); in get_relations_str() 773 return res; in get_relations_str()
|
| A D | gconf.c | 348 gint res; in on_load1_activate() local 360 res = gtk_dialog_run(GTK_DIALOG(dialog)); in on_load1_activate() 361 if (res == GTK_RESPONSE_ACCEPT) { in on_load1_activate() 389 gint res; in on_save_as1_activate() local 401 res = gtk_dialog_run(GTK_DIALOG(dialog)); in on_save_as1_activate() 402 if (res == GTK_RESPONSE_ACCEPT) { in on_save_as1_activate()
|
| /scripts/lib/abi/ |
| A D | system_symbols.py | 184 res = { 189 res_list.append(res) 201 res["found"] = True 203 res["msg"] += f" {fname}: regex:\n\t" 206 if self.hints and not res["found"]: 209 res["msg"] += " " + r.pattern + "\n" 351 for res in res_list: 352 if not res["found"]: 353 not_found.append(res["fname"]) 354 if res["msg"]: [all …]
|
| /scripts/gendwarfksyms/ |
| A D | dwarf.c | 117 int res; in is_definition_private() local 127 if (res >= 0) in is_definition_private() 144 return !!res; in is_definition_private() 271 int res; in process_die_container() local 282 if (res) in process_die_container() 289 res = 0; in process_die_container() 294 return res; in process_die_container() 506 int res; in check_struct_member_kabi_status() local 527 return res; in check_struct_member_kabi_status() 534 int res; in check_union_member_kabi_status() local [all …]
|
| A D | gendwarfksyms.c | 58 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()
|
| A D | types.c | 105 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()
|
| A D | die.c | 44 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()
|
| A D | symbols.c | 166 struct symbol **res = arg; in get_symbol() local 169 *res = sym; in get_symbol()
|
| /scripts/ |
| A D | setlocalversion | 158 local file res= 167 res="$res$(cat "$file")" 170 echo "$res"
|
| A D | checkkconfigsymbols.py | 286 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])
|
| A D | gen-crc-consts.py | 14 res = 0 16 res ^= val 17 return res
|
| A D | bpf_doc.py | 72 res = {} 76 res['ret_type'] = capture.group(1) 77 res['ret_star'] = capture.group(2) 78 res['name'] = capture.group(3) 79 res['args'] = [] 84 res['args'].append({ 90 return res
|
| A D | checkpatch.pl | 1539 my $res = ''; 1550 $res .= $c; 1554 return $res; 1558 return $res; 1588 my $res = ''; 1675 return $res; 1899 my @res = (); 2063 $res = ''; 2065 $res .= $1; 2073 return $res; [all …]
|
| A D | sphinx-pre-install | 328 my $res = ""; 329 $res = qx(cat $_[0]) if (-r $_[0]); 330 return $res;
|
| /scripts/gdb/linux/ |
| A D | proc.py | 64 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/ |
| A D | srcpos.c | 77 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/ |
| A D | genksyms.c | 385 struct string_list *res, *n; in copy_list_range() local 389 n = res = copy_node(start); in copy_list_range() 395 return res; in copy_list_range()
|