Lines Matching refs:pData
56 if (mDccData.pData) { in initDccFileDataSave()
57 free(mDccData.pData); in initDccFileDataSave()
58 mDccData.pData = NULL; in initDccFileDataSave()
106 if (mDccData.pData) { in sniffDccFileDataSave()
107 free(mDccData.pData); in sniffDccFileDataSave()
112 int dccDataSize = (int)dccData->nSize - (int)(&(((OMX_TI_DCCDATATYPE*)0)->pData)); in sniffDccFileDataSave()
114 mDccData.pData = (OMX_PTR)malloc(dccDataSize); in sniffDccFileDataSave()
116 if (NULL == mDccData.pData) { in sniffDccFileDataSave()
122 memcpy(mDccData.pData, &(dccData->pData), dccDataSize); in sniffDccFileDataSave()
311 if (mDccData.pData) in saveDccFileDataSave()
319 int dccDataSize = (int)mDccData.nSize - (int)(&(((OMX_TI_DCCDATATYPE*)0)->pData)); in saveDccFileDataSave()
321 if (fwrite(mDccData.pData, dccDataSize, 1, fd) != 1) in saveDccFileDataSave()
351 if (mDccData.pData) { in closeDccFileDataSave()
352 free(mDccData.pData); in closeDccFileDataSave()
353 mDccData.pData = NULL; in closeDccFileDataSave()