Lines Matching refs:itemlen
140 int itemlen;
164 itemlen = (lh << 8) | ll;
166 if (itemlen < 2){
172 Sections[SectionsRead].Size = itemlen;
174 Data = (uchar *)malloc(itemlen);
186 got = fread(Data+2, 1, itemlen-2, infile); // Read the whole section.
187 if (got != itemlen-2){
240 process_COM(Data, itemlen);
257 process_EXIF(Data, itemlen);
262 printf("Image cotains XMP section, %d bytes long\n", itemlen);
277 printf("Image cotains IPTC section, %d bytes long\n", itemlen);
304 printf("Jpeg section marker 0x%02x size %d\n",marker, itemlen);
336 int itemlen;
359 itemlen = (lh << 8) | ll;
361 if (itemlen < 2) {
366 Sections[SectionsRead].Size = itemlen;
368 Data = (uchar *)malloc(itemlen);
379 if (pos+itemlen-2 > buffer_size) {
384 memcpy(Data+2, buffer+pos, itemlen-2); // Read the whole section.
385 pos += itemlen-2;
429 process_COM(Data, itemlen);
446 process_EXIF(Data, itemlen);
451 ALOGD("Image cotains XMP section, %d bytes long\n", itemlen);
466 ALOGD("Image cotains IPTC section, %d bytes long\n", itemlen);
493 ALOGD("Jpeg section marker 0x%02x size %d\n",marker, itemlen);