Lines Matching refs:fp
486 kconfig_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg) in kconfig_print_symbol() argument
496 fprintf(fp, "# %s%s is not set\n", in kconfig_print_symbol()
505 fprintf(fp, "%s%s=%s\n", CONFIG_, sym->name, value); in kconfig_print_symbol()
509 kconfig_print_comment(FILE *fp, const char *value, void *arg) in kconfig_print_comment() argument
516 fprintf(fp, "#"); in kconfig_print_comment()
518 fprintf(fp, " "); in kconfig_print_comment()
519 xfwrite(p, l, 1, fp); in kconfig_print_comment()
522 fprintf(fp, "\n"); in kconfig_print_comment()
540 header_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg) in header_print_symbol() argument
555 fprintf(fp, "#define %s%s%s 1\n", in header_print_symbol()
565 fprintf(fp, "#define %s%s %s%s\n", in header_print_symbol()
571 fprintf(fp, "#define %s%s %s\n", in header_print_symbol()
581 header_print_comment(FILE *fp, const char *value, void *arg) in header_print_comment() argument
586 fprintf(fp, "/*\n"); in header_print_comment()
589 fprintf(fp, " *"); in header_print_comment()
591 fprintf(fp, " "); in header_print_comment()
592 xfwrite(p, l, 1, fp); in header_print_comment()
595 fprintf(fp, "\n"); in header_print_comment()
599 fprintf(fp, " */\n"); in header_print_comment()
614 tristate_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg) in tristate_print_symbol() argument
618 fprintf(fp, "%s%s=%c\n", CONFIG_, sym->name, (char)toupper(*value)); in tristate_print_symbol()
627 static void conf_write_symbol(FILE *fp, struct symbol *sym, in conf_write_symbol() argument
639 printer->print_symbol(fp, sym, str, printer_arg); in conf_write_symbol()
644 printer->print_symbol(fp, sym, str, printer_arg); in conf_write_symbol()
649 conf_write_heading(FILE *fp, struct conf_printer *printer, void *printer_arg) in conf_write_heading() argument
659 printer->print_comment(fp, buf, printer_arg); in conf_write_heading()