Lines Matching defs:image
33 * This test simply reads each archive image into memory, pokes
85 char *rawimage, *image;
124 image = malloc(size);
125 assert(image != NULL);
133 memcpy(image, rawimage, size);
136 image[rand() % size] = (char)rand();
138 /* Save the messed-up image to a file.
142 fwrite(image, 1, (size_t)size, f);
151 if (0 == archive_read_open_memory(a, image, size)) {
161 free(image);