Lines Matching refs:fp
488 kconfig_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg) in kconfig_print_symbol() argument
498 fprintf(fp, "# %s%s is not set\n", in kconfig_print_symbol()
507 fprintf(fp, "%s%s=%s\n", CONFIG_, sym->name, value); in kconfig_print_symbol()
511 kconfig_print_comment(FILE *fp, const char *value, void *arg) in kconfig_print_comment() argument
518 fprintf(fp, "#"); in kconfig_print_comment()
520 fprintf(fp, " "); in kconfig_print_comment()
521 xfwrite(p, l, 1, fp); in kconfig_print_comment()
524 fprintf(fp, "\n"); in kconfig_print_comment()
542 header_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg) in header_print_symbol() argument
557 fprintf(fp, "#define %s%s%s 1\n", in header_print_symbol()
567 fprintf(fp, "#define %s%s %s%s\n", in header_print_symbol()
573 fprintf(fp, "#define %s%s %s\n", in header_print_symbol()
583 header_print_comment(FILE *fp, const char *value, void *arg) in header_print_comment() argument
588 fprintf(fp, "/*\n"); in header_print_comment()
591 fprintf(fp, " *"); in header_print_comment()
593 fprintf(fp, " "); in header_print_comment()
594 xfwrite(p, l, 1, fp); in header_print_comment()
597 fprintf(fp, "\n"); in header_print_comment()
601 fprintf(fp, " */\n"); in header_print_comment()
616 tristate_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg) in tristate_print_symbol() argument
620 fprintf(fp, "%s%s=%c\n", CONFIG_, sym->name, (char)toupper(*value)); in tristate_print_symbol()
629 static void conf_write_symbol(FILE *fp, struct symbol *sym, in conf_write_symbol() argument
641 printer->print_symbol(fp, sym, str, printer_arg); in conf_write_symbol()
646 printer->print_symbol(fp, sym, str, printer_arg); in conf_write_symbol()
651 conf_write_heading(FILE *fp, struct conf_printer *printer, void *printer_arg) in conf_write_heading() argument
661 printer->print_comment(fp, buf, printer_arg); in conf_write_heading()