Lines Matching refs:pHeader
115 const DataHeader *pHeader; in getDataInfo() local
128 pHeader=(const DataHeader *)data; in getDataInfo()
129 pInfo=&pHeader->info; in getDataInfo()
131 pHeader->dataHeader.magic1!=0xda || in getDataInfo()
132 pHeader->dataHeader.magic2!=0x27 || in getDataInfo()
140 headerLength=pHeader->dataHeader.headerSize; in getDataInfo()
143 headerLength=readSwapUInt16(pHeader->dataHeader.headerSize); in getDataInfo()
149 headerLength<(int32_t)(sizeof(pHeader->dataHeader)+infoLength) || in getDataInfo()
405 DataHeader *pHeader; in Package() local
406 pHeader=(DataHeader *)header; in Package()
407 pHeader->dataHeader.magic1=0xda; in Package()
408 pHeader->dataHeader.magic2=0x27; in Package()
409 memcpy(&pHeader->info, &dataInfo, sizeof(dataInfo)); in Package()
417 pHeader->dataHeader.headerSize=(uint16_t)headerLength; in Package()
703 DataHeader *pHeader; in writePackage() local
706 pHeader=(DataHeader *)header; in writePackage()
707 headerLength=4+pHeader->info.size; in writePackage()
721 pHeader->dataHeader.headerSize=(uint16_t)headerLength; in writePackage()