Home | History | Annotate | Download | only in libtests

Lines Matching defs:file_name

552    const char *file_name;
626 static void initimage(Image *image, png_uint_32 opts, const char *file_name,
632 image->file_name = file_name;
713 image->file_name);
741 return logerror(image, image->file_name, ": opaque not NULL", "");
745 return logerror(image, image->file_name, " --strict", "");
2511 if (transform->in_image->file_name != transform->out_image->file_name)
2518 return logerror(transform->in_image, transform->in_image->file_name,
2519 error_buffer, transform->out_image->file_name);
2530 return logerror(transform->in_image, transform->in_image->file_name,
2736 return logerror(a, a->file_name, ": width x height changed: ",
2737 b->file_name);
2824 logerror(a, a->file_name, ": bad pixel index: ", pindex);
2836 logerror(b, b->file_name, ": bad pixel index: ", pindex);
2873 return logerror(a, a->file_name, ": bad pixel index: ", pindex);
2881 return logerror(b, b->file_name, ": bad pixel index: ", pindex);
3066 return logerror(image, "memory init: ", image->file_name, "");
3073 return logerror(image, "stdio init: ", image->file_name, "");
3078 if (!png_image_begin_read_from_file(&image->image, image->file_name))
3079 return logerror(image, "file init: ", image->file_name, "");
3085 image->file_name, "");
3105 printf("%s %lu x %lu %s -> %s", image->file_name,
3143 checkbuffer(image, image->file_name);
3149 return logerror(image, image->file_name, ": image read failed", "");
3153 /* Reads from a filename, which must be in image->file_name, but uses
3163 FILE *f = fopen(image->file_name, "rb");
3194 return logclose(image, f, image->file_name,
3200 return logclose(image, f, image->file_name,
3205 return logclose(image, f, image->file_name,
3209 return logclose(image, f, image->file_name,
3214 return logclose(image, f, image->file_name, ": seek failed: ");
3219 return logerror(image, image->file_name, ": open failed: ",
3305 return logerror(image, image->file_name, ": format changed on read: ",
3306 output->file_name);
3456 test_one_file(const char *file_name, format_list *formats, png_uint_32 opts,
3463 initimage(&image, opts, file_name, stride_extra);
3485 printf(" %s\n", file_name);