Home | History | Annotate | Download | only in toolutil

Lines Matching full:headerlength

113             int32_t &infoLength, int32_t &headerLength,
140 headerLength=pHeader->dataHeader.headerSize;
143 headerLength=readSwapUInt16(pHeader->dataHeader.headerSize);
147 if( headerLength<(int32_t)sizeof(DataHeader) ||
149 headerLength<(int32_t)(sizeof(pHeader->dataHeader)+infoLength) ||
150 (length>=0 && length<headerLength)
163 int32_t infoLength, headerLength;
166 pInfo=getDataInfo(data, length, infoLength, headerLength, pErrorCode);
411 headerLength=(int32_t)(4+sizeof(dataInfo));
412 if(headerLength&0xf) {
414 int32_t length=(headerLength+0xf)&~0xf;
415 memset(header+headerLength, 0, length-headerLength);
416 headerLength=length;
418 pHeader->dataHeader.headerSize=(uint16_t)headerLength;
471 headerLength=sizeof(header);
472 if(length<headerLength) {
473 headerLength=length;
475 headerLength=udata_swapDataHeader(ds, inData, headerLength, header, &errorCode);
498 inBytes=(const uint8_t *)inData+headerLength;
502 length-=headerLength;
663 headerLength=4+pHeader->info.size;
665 if((int32_t)(headerLength+length)>=(int32_t)sizeof(header)) {
669 memcpy(header+headerLength, comment, length+1);
670 headerLength+=length;
671 if(headerLength&0xf) {
673 length=(headerLength+0xf)&~0xf;
674 memset(header+headerLength, 0, length-headerLength);
675 headerLength=length;
677 pHeader->dataHeader.headerSize=(uint16_t)headerLength;
713 udata_swapDataHeader(dsLocalToOut, header, headerLength, header, &errorCode);
719 length=(int32_t)fwrite(header, 1, headerLength, file);
720 if(length!=headerLength) {