Lines Matching full:buf
14 static void trim_spaces(char *buf)
16 char *s = buf-1;
17 for (; *buf; ++buf) {
18 if (*buf != ' ')
19 s = buf;
30 char buf[1024];
33 exif_entry_get_value(entry, buf, sizeof(buf));
36 trim_spaces(buf);
37 if (*buf) {
38 printf("%s: %s\n", exif_tag_get_name_in_ifd(tag,ifd), buf);
53 char buf[1024];
55 if (exif_mnote_data_get_value(mn, i, buf, sizeof(buf))) {
57 trim_spaces(buf);
58 if (*buf) {
60 buf);
105 char buf[64];
108 if (exif_entry_get_value(entry, buf, sizeof(buf))) {
109 trim_spaces(buf);
111 if (!strcmp(buf, "Canon")) {
114 } else if (!strcmp(buf, "Asahi Optical Co.,Ltd.") ||
115 !strcmp(buf, "PENTAX Corporation")) {