Home | History | Annotate | Download | only in jhead

Lines Matching refs:components

509         int Tag, Format, Components;
517 Components = Get32u(DirEntry+4);
525 if ((unsigned)Components > 0x10000){
526 ErrNonfatal("Illegal number of components %d for tag %04x", Components, Tag);
530 ByteCount = Components * BytesPerFormat[Format];
622 // Extract useful components of tag
1082 long components,
1090 if (format == FMT_STRING && components == -1) {
1091 components = strlen((char*)value) + 1; // account for null terminator
1092 if (components & 1) ++components; // no odd lengths
1094 Put32u(Buffer+(*DirIndex) + 4, components); // Components
1095 printf("# components: %ld", components);
1099 if (components <= 4) {
1104 strncpy(Buffer+(*DataWriteIndex), (char*)value, components);
1105 (*DataWriteIndex) += components;
1113 for (i = 0; i < components && curElement != NULL; i++) {
1137 // TODO: doesn't handle multiple components yet -- if more than one, have to put in data write area.