• Home
  • Raw
  • Download

Lines Matching refs:headerLength

113             int32_t &infoLength, int32_t &headerLength,  in getDataInfo()  argument
140 headerLength=pHeader->dataHeader.headerSize; in getDataInfo()
143 headerLength=readSwapUInt16(pHeader->dataHeader.headerSize); in getDataInfo()
147 if( headerLength<(int32_t)sizeof(DataHeader) || in getDataInfo()
149 headerLength<(int32_t)(sizeof(pHeader->dataHeader)+infoLength) || in getDataInfo()
150 (length>=0 && length<headerLength) in getDataInfo()
163 int32_t infoLength, headerLength; in getTypeEnumForInputData() local
166 pInfo=getDataInfo(data, length, infoLength, headerLength, pErrorCode); in getTypeEnumForInputData()
410 headerLength=(int32_t)(4+sizeof(dataInfo)); in Package()
411 if(headerLength&0xf) { in Package()
413 int32_t length=(headerLength+0xf)&~0xf; in Package()
414 memset(header+headerLength, 0, length-headerLength); in Package()
415 headerLength=length; in Package()
417 pHeader->dataHeader.headerSize=(uint16_t)headerLength; in Package()
479 headerLength=sizeof(header); in readPackage()
480 if(length<headerLength) { in readPackage()
481 headerLength=length; in readPackage()
483 headerLength=udata_swapDataHeader(ds, inData, headerLength, header, &errorCode); in readPackage()
506 inBytes=(const uint8_t *)inData+headerLength; in readPackage()
510 length-=headerLength; in readPackage()
707 headerLength=4+pHeader->info.size; in writePackage()
709 if((int32_t)(headerLength+length)>=(int32_t)sizeof(header)) { in writePackage()
713 memcpy(header+headerLength, comment, length+1); in writePackage()
714 headerLength+=length; in writePackage()
715 if(headerLength&0xf) { in writePackage()
717 length=(headerLength+0xf)&~0xf; in writePackage()
718 memset(header+headerLength, 0, length-headerLength); in writePackage()
719 headerLength=length; in writePackage()
721 pHeader->dataHeader.headerSize=(uint16_t)headerLength; in writePackage()
757 udata_swapDataHeader(dsLocalToOut, header, headerLength, header, &errorCode); in writePackage()
763 length=(int32_t)fwrite(header, 1, headerLength, file); in writePackage()
764 if(length!=headerLength) { in writePackage()