Lines Matching refs:fp
487 kconfig_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg) in kconfig_print_symbol() argument
497 fprintf(fp, "# %s%s is not set\n", in kconfig_print_symbol()
506 fprintf(fp, "%s%s=%s\n", CONFIG_, sym->name, value); in kconfig_print_symbol()
510 kconfig_print_comment(FILE *fp, const char *value, void *arg) in kconfig_print_comment() argument
517 fprintf(fp, "#"); in kconfig_print_comment()
519 fprintf(fp, " "); in kconfig_print_comment()
520 xfwrite(p, l, 1, fp); in kconfig_print_comment()
523 fprintf(fp, "\n"); in kconfig_print_comment()
541 header_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg) in header_print_symbol() argument
556 fprintf(fp, "#define %s%s%s 1\n", in header_print_symbol()
566 fprintf(fp, "#define %s%s %s%s\n", in header_print_symbol()
572 fprintf(fp, "#define %s%s %s\n", in header_print_symbol()
582 header_print_comment(FILE *fp, const char *value, void *arg) in header_print_comment() argument
587 fprintf(fp, "/*\n"); in header_print_comment()
590 fprintf(fp, " *"); in header_print_comment()
592 fprintf(fp, " "); in header_print_comment()
593 xfwrite(p, l, 1, fp); in header_print_comment()
596 fprintf(fp, "\n"); in header_print_comment()
600 fprintf(fp, " */\n"); in header_print_comment()
615 tristate_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg) in tristate_print_symbol() argument
619 fprintf(fp, "%s%s=%c\n", CONFIG_, sym->name, (char)toupper(*value)); in tristate_print_symbol()
628 static void conf_write_symbol(FILE *fp, struct symbol *sym, in conf_write_symbol() argument
640 printer->print_symbol(fp, sym, str, printer_arg); in conf_write_symbol()
645 printer->print_symbol(fp, sym, str, printer_arg); in conf_write_symbol()
650 conf_write_heading(FILE *fp, struct conf_printer *printer, void *printer_arg) in conf_write_heading() argument
660 printer->print_comment(fp, buf, printer_arg); in conf_write_heading()