Home
last modified time | relevance | path

Searched refs:fp (Results 1 – 5 of 5) sorted by relevance

/scripts/dtc/
Dsrcpos.c100 static char *try_open(const char *dirname, const char *fname, FILE **fp) in try_open() argument
109 *fp = fopen(fullname, "rb"); in try_open()
110 if (!*fp) { in try_open()
127 static char *fopen_any_on_path(const char *fname, FILE **fp) in fopen_any_on_path() argument
134 assert(fp); in fopen_any_on_path()
137 fullname = try_open(cur_dir, fname, fp); in fopen_any_on_path()
140 for (node = search_path_head; !*fp && node; node = node->next) in fopen_any_on_path()
141 fullname = try_open(node->dirname, fname, fp); in fopen_any_on_path()
Dutil.c431 FILE *fp = errmsg ? stderr : stdout; in util_usage() local
437 fprintf(fp, in util_usage()
459 fprintf(fp, " "); in util_usage()
461 fprintf(fp, " -%c, ", long_opts[i].val); in util_usage()
465 fprintf(fp, "--%-*s", optlen, long_opts[i].name); in util_usage()
467 fprintf(fp, "--%s %s%*s", long_opts[i].name, a_arg, in util_usage()
471 fprintf(fp, "%s\n", opts_help[i]); in util_usage()
475 fprintf(fp, "\nError: %s\n", errmsg); in util_usage()
/scripts/kconfig/
Dconfdata.c630 static void conf_write_heading(FILE *fp, const struct comment_style *cs) in conf_write_heading() argument
635 fprintf(fp, "%s\n", cs->prefix); in conf_write_heading()
637 fprintf(fp, "%s Automatically generated file; DO NOT EDIT.\n", in conf_write_heading()
640 fprintf(fp, "%s %s\n", cs->decoration, rootmenu.prompt->text); in conf_write_heading()
642 fprintf(fp, "%s\n", cs->postfix); in conf_write_heading()
690 static void __print_symbol(FILE *fp, struct symbol *sym, enum output_n output_n, in __print_symbol() argument
704 fprintf(fp, "# %s%s is not set\n", CONFIG_, sym->name); in __print_symbol()
713 fprintf(fp, "%s%s=%s\n", CONFIG_, sym->name, val); in __print_symbol()
718 static void print_symbol_for_dotconfig(FILE *fp, struct symbol *sym) in print_symbol_for_dotconfig() argument
720 __print_symbol(fp, sym, OUTPUT_N_AS_UNSET, true); in print_symbol_for_dotconfig()
[all …]
/scripts/
Dcheckstack.pl77 $re = qr/.*(?:linkw %fp,|addaw )#-([0-9]{1,4})(?:,%sp)?$/o;
119 my $regex = qr/.*push.*fp, ip, lr, pc}/o;
Dkallsyms.c259 FILE *fp; in read_map() local
264 fp = fopen(in, "r"); in read_map()
265 if (!fp) { in read_map()
270 while (!feof(fp)) { in read_map()
271 sym = read_symbol(fp, &buf, &buflen); in read_map()
282 fclose(fp); in read_map()
291 fclose(fp); in read_map()