Lines Matching defs:fp
485 kconfig_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg)
495 fprintf(fp, "# %s%s is not set\n",
504 fprintf(fp, "%s%s=%s\n", CONFIG_, sym->name, value);
508 kconfig_print_comment(FILE *fp, const char *value, void *arg)
515 fprintf(fp, "#");
517 fprintf(fp, " ");
518 xfwrite(p, l, 1, fp);
521 fprintf(fp, "\n");
539 header_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg)
554 fprintf(fp, "#define %s%s%s 1\n",
564 fprintf(fp, "#define %s%s %s%s\n",
570 fprintf(fp, "#define %s%s %s\n",
580 header_print_comment(FILE *fp, const char *value, void *arg)
585 fprintf(fp, "/*\n");
588 fprintf(fp, " *");
590 fprintf(fp, " ");
591 xfwrite(p, l, 1, fp);
594 fprintf(fp, "\n");
598 fprintf(fp, " */\n");
613 tristate_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg)
617 fprintf(fp, "%s%s=%c\n", CONFIG_, sym->name, (char)toupper(*value));
626 static void conf_write_symbol(FILE *fp, struct symbol *sym,
638 printer->print_symbol(fp, sym, str, printer_arg);
643 printer->print_symbol(fp, sym, str, printer_arg);
648 conf_write_heading(FILE *fp, struct conf_printer *printer, void *printer_arg)
658 printer->print_comment(fp, buf, printer_arg);