• Home
  • Raw
  • Download

Lines Matching refs:components

1087                                 long components,  in writeExifTagAndData()  argument
1097 if (format == FMT_STRING && components == -1) { in writeExifTagAndData()
1098 components = strlen((char*)value) + 1; // account for null terminator in writeExifTagAndData()
1099 if (components & 1) ++components; // no odd lengths in writeExifTagAndData()
1101 if (format == FMT_UNDEFINED && components == -1) { in writeExifTagAndData()
1105 components = sizeof(ExifAsciiPrefix) + in writeExifTagAndData()
1107 if (components & 1) ++components; // no odd lengths in writeExifTagAndData()
1110 Put32u(Buffer+(*DirIndex) + 4, components); // Components in writeExifTagAndData()
1112 printf("# components: %ld", components); in writeExifTagAndData()
1116 if (components <= 4) { in writeExifTagAndData()
1121 strncpy(Buffer+(*DataWriteIndex), (char*)value, components); in writeExifTagAndData()
1122 (*DataWriteIndex) += components; in writeExifTagAndData()
1128 if (components <= 4) { in writeExifTagAndData()
1129 memcpy(Buffer+(*DirIndex) + 8, (char*)value, components); in writeExifTagAndData()
1133 memcpy(Buffer+(*DataWriteIndex), (char*)value, components); in writeExifTagAndData()
1134 (*DataWriteIndex) += components; in writeExifTagAndData()
1144 for (i = 0; ((i < components) || (components == -1)) && curElement != NULL; i++) { in writeExifTagAndData()
1167 } else if ((components == -1) && ((format == FMT_USHORT) || (format == FMT_SSHORT))) { in writeExifTagAndData()
1179 if (components == -1) Put32u(componentsPosition, i); // update component # for unknowns in writeExifTagAndData()