Home
last modified time | relevance | path

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

/scripts/
Dpnmtologo.c84 static unsigned int get_number(FILE *fp) in get_number() argument
90 c = fgetc(fp); in get_number()
96 c = fgetc(fp); in get_number()
112 c = fgetc(fp); in get_number()
119 static unsigned int get_number255(FILE *fp, unsigned int maxval) in get_number255() argument
121 unsigned int val = get_number(fp); in get_number255()
127 FILE *fp; in read_image() local
133 fp = fopen(filename, "r"); in read_image()
134 if (!fp) in read_image()
138 magic = fgetc(fp); in read_image()
[all …]
Dconmakehash.c49 static void addpair(int fp, int un) in addpair() argument
57 for ( i = 0 ; i < unicount[fp] ; i++ ) in addpair()
58 if ( unitable[fp][i] == un ) in addpair()
63 if ( unicount[fp] > 254 ) in addpair()
69 unitable[fp][unicount[fp]] = un; in addpair()
70 unicount[fp]++; in addpair()
Dcheckstack.pl69 $re = qr/.*(?:linkw %fp,|addaw )#-([0-9]{1,4})(?:,%sp)?$/o;
DMakefile.build225 objtool_args += --no-fp
/scripts/kconfig/
Dconfdata.c591 kconfig_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg) in kconfig_print_symbol() argument
601 fprintf(fp, "# %s%s is not set\n", in kconfig_print_symbol()
610 fprintf(fp, "%s%s=%s\n", CONFIG_, sym->name, value); in kconfig_print_symbol()
614 kconfig_print_comment(FILE *fp, const char *value, void *arg) in kconfig_print_comment() argument
621 fprintf(fp, "#"); in kconfig_print_comment()
623 fprintf(fp, " "); in kconfig_print_comment()
624 xfwrite(p, l, 1, fp); in kconfig_print_comment()
627 fprintf(fp, "\n"); in kconfig_print_comment()
645 header_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg) in header_print_symbol() argument
660 fprintf(fp, "#define %s%s%s 1\n", in header_print_symbol()
[all …]
/scripts/dtc/
Dutil.c419 FILE *fp = errmsg ? stderr : stdout; in util_usage() local
425 fprintf(fp, in util_usage()
447 fprintf(fp, " "); in util_usage()
449 fprintf(fp, " -%c, ", long_opts[i].val); in util_usage()
453 fprintf(fp, "--%-*s", optlen, long_opts[i].name); in util_usage()
455 fprintf(fp, "--%s %s%*s", long_opts[i].name, a_arg, in util_usage()
459 fprintf(fp, "%s\n", opts_help[i]); in util_usage()
463 fprintf(fp, "\nError: %s\n", errmsg); in util_usage()
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()