Lines Matching refs:fp
521 kconfig_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg) in kconfig_print_symbol() argument
531 fprintf(fp, "# %s%s is not set\n", in kconfig_print_symbol()
540 fprintf(fp, "%s%s=%s\n", CONFIG_, sym->name, value); in kconfig_print_symbol()
544 kconfig_print_comment(FILE *fp, const char *value, void *arg) in kconfig_print_comment() argument
551 fprintf(fp, "#"); in kconfig_print_comment()
553 fprintf(fp, " "); in kconfig_print_comment()
554 xfwrite(p, l, 1, fp); in kconfig_print_comment()
557 fprintf(fp, "\n"); in kconfig_print_comment()
575 header_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg) in header_print_symbol() argument
590 fprintf(fp, "#define %s%s%s 1\n", in header_print_symbol()
600 fprintf(fp, "#define %s%s %s%s\n", in header_print_symbol()
606 fprintf(fp, "#define %s%s %s\n", in header_print_symbol()
616 header_print_comment(FILE *fp, const char *value, void *arg) in header_print_comment() argument
621 fprintf(fp, "/*\n"); in header_print_comment()
624 fprintf(fp, " *"); in header_print_comment()
626 fprintf(fp, " "); in header_print_comment()
627 xfwrite(p, l, 1, fp); in header_print_comment()
630 fprintf(fp, "\n"); in header_print_comment()
634 fprintf(fp, " */\n"); in header_print_comment()
649 tristate_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg) in tristate_print_symbol() argument
653 fprintf(fp, "%s%s=%c\n", CONFIG_, sym->name, (char)toupper(*value)); in tristate_print_symbol()
662 static void conf_write_symbol(FILE *fp, struct symbol *sym, in conf_write_symbol() argument
676 printer->print_symbol(fp, sym, str2, printer_arg); in conf_write_symbol()
681 printer->print_symbol(fp, sym, str, printer_arg); in conf_write_symbol()
686 conf_write_heading(FILE *fp, struct conf_printer *printer, void *printer_arg) in conf_write_heading() argument
696 printer->print_comment(fp, buf, printer_arg); in conf_write_heading()