Lines Matching refs:def_name
319 char app[256], str[256] = "", def_name[64]; in image_save_header() local
416 strcpy (def_name, varname); in image_save_header()
417 StringUpperCase (def_name); in image_save_header()
418 fprintf (file, "#define DEF_%s_WIDTH\t\t%d\n", def_name, in image_save_header()
420 fprintf (file, "#define DEF_%s_HEIGHT\t\t%d\n", def_name, in image_save_header()
422 fprintf (file, "#define DEF_%s_PIXELS\t\t%d\n", def_name, in image_save_header()
424 fprintf (file, "#define DEF_%s_BPP\t\t%d\n", def_name, image->bpp); in image_save_header()
425 fprintf (file, "#define DEF_%s_PIXEL_SIZE\t%d\n", def_name, in image_save_header()
427 fprintf (file, "#define DEF_%s_SIZE\t\t%d\n\n", def_name, in image_save_header()
431 def_name); in image_save_header()
466 fprintf (file, " DEF_%s_DATA,\n", def_name); in image_save_header()
467 fprintf (file, " DEF_%s_WIDTH,\n", def_name); in image_save_header()
468 fprintf (file, " DEF_%s_HEIGHT,\n", def_name); in image_save_header()
469 fprintf (file, " DEF_%s_BPP,\n", def_name); in image_save_header()
470 fprintf (file, " DEF_%s_PIXEL_SIZE,\n", def_name); in image_save_header()
471 fprintf (file, " DEF_%s_SIZE\n};\n", def_name); in image_save_header()