Lines Matching defs:data
1 /** \file test-parse-from-data.c
23 #include "libexif/exif-data.h"
90 unsigned char *data;
111 data = malloc(stbuf.st_size);
112 if (!data) {
116 if (-1 == read(fd, data, stbuf.st_size)) {
118 free(data);
124 d = exif_data_new_from_data(data, stbuf.st_size);
126 fprintf (stderr, "Could not load data from '%s'!\n", filename);
127 free(data);
138 /* This switches the byte order of the entire EXIF data structure,