Home | History | Annotate | Download | only in jhead

Lines Matching full:itemlen

140         int itemlen;
165 itemlen = (lh << 8) | ll;
167 if (itemlen < 2){
173 Sections[SectionsRead].Size = itemlen;
175 Data = (uchar *)malloc(itemlen);
187 got = fread(Data+2, 1, itemlen-2, infile); // Read the whole section.
188 if (got != itemlen-2){
242 process_COM(Data, itemlen);
259 process_EXIF(Data, itemlen);
264 printf("Image cotains XMP section, %d bytes long\n", itemlen);
279 printf("Image cotains IPTC section, %d bytes long\n", itemlen);
306 printf("Jpeg section marker 0x%02x size %d\n",marker, itemlen);
338 int itemlen;
362 itemlen = (lh << 8) | ll;
364 if (itemlen < 2) {
369 Sections[SectionsRead].Size = itemlen;
371 Data = (uchar *)malloc(itemlen);
382 if (pos+itemlen-2 > buffer_size) {
387 memcpy(Data+2, buffer+pos, itemlen-2); // Read the whole section.
388 pos += itemlen-2;
433 process_COM(Data, itemlen);
450 process_EXIF(Data, itemlen);
455 ALOGD("Image cotains XMP section, %d bytes long\n", itemlen);
470 ALOGD("Image cotains IPTC section, %d bytes long\n", itemlen);
497 ALOGD("Jpeg section marker 0x%02x size %d\n",marker, itemlen);