Lines Matching refs:m_pWriteBuf
94 sal_Char* m_pWriteBuf; member
446 if ( !( pFile != NULL && pFile->m_Handle >= 0 ) || ( pFile->m_pWriteBuf == NULL ) ) in writeProfileImpl()
455 nLen=strlen(pFile->m_pWriteBuf); in writeProfileImpl()
459 …BytesWritten = write(pFile->m_Handle, pFile->m_pWriteBuf, pFile->m_nWriteBufLen - pFile->m_nWriteB… in writeProfileImpl()
472 free(pFile->m_pWriteBuf); in writeProfileImpl()
473 pFile->m_pWriteBuf=NULL; in writeProfileImpl()
1266 pFile->m_pWriteBuf=NULL; in openFileImpl()
1314 if ( pFile->m_pWriteBuf ) in closeFileImpl()
1316 free(pFile->m_pWriteBuf); in closeFileImpl()
1462 if ( pFile->m_pWriteBuf == NULL ) in OslProfile_putLine()
1464 pFile->m_pWriteBuf = (sal_Char*)malloc(Len+3); in OslProfile_putLine()
1474 pTmp = (sal_Char*)realloc(pFile->m_pWriteBuf,( ( pFile->m_nWriteBufLen + Len ) * 2) ); in OslProfile_putLine()
1479 pFile->m_pWriteBuf = pTmp; in OslProfile_putLine()
1482 …memset( (pFile->m_pWriteBuf) + ( pFile->m_nWriteBufLen - pFile->m_nWriteBufFree ), 0, pFile->m_nWr… in OslProfile_putLine()
1488 memcpy(pFile->m_pWriteBuf + ( pFile->m_nWriteBufLen - pFile->m_nWriteBufFree ),pszLine,Len+1); in OslProfile_putLine()
1490 strLen = strlen(pFile->m_pWriteBuf); in OslProfile_putLine()
1492 pFile->m_pWriteBuf[pFile->m_nWriteBufLen - pFile->m_nWriteBufFree + Len]='\n'; in OslProfile_putLine()
1493 pFile->m_pWriteBuf[pFile->m_nWriteBufLen - pFile->m_nWriteBufFree + Len + 1]='\0'; in OslProfile_putLine()
1968 if ( pTmpFile->m_pWriteBuf != NULL ) in storeProfile()
1970 free(pTmpFile->m_pWriteBuf); in storeProfile()
1973 pTmpFile->m_pWriteBuf=NULL; in storeProfile()