Lines Matching refs:m_pWriteBuf
102 sal_Char* m_pWriteBuf; member
417 if ( !( pFile != 0 && pFile->m_Handle != INVALID_HANDLE_VALUE ) || ( pFile->m_pWriteBuf == 0 ) ) in writeProfileImpl()
430 …bRet=WriteFile(pFile->m_Handle, pFile->m_pWriteBuf, pFile->m_nWriteBufLen - pFile->m_nWriteBufFree… in writeProfileImpl()
442 free(pFile->m_pWriteBuf); in writeProfileImpl()
443 pFile->m_pWriteBuf=0; in writeProfileImpl()
1301 pFile->m_pWriteBuf=0; in openFileImpl()
1359 if ( pFile->m_pWriteBuf != 0 ) in closeFileImpl()
1361 free(pFile->m_pWriteBuf); in closeFileImpl()
1514 if ( pFile->m_pWriteBuf == 0 ) in putLine()
1516 pFile->m_pWriteBuf = (sal_Char*) malloc(Len+3); in putLine()
1526 pTmp=(sal_Char*) realloc(pFile->m_pWriteBuf,( ( pFile->m_nWriteBufLen + Len ) * 2) ); in putLine()
1531 pFile->m_pWriteBuf = pTmp; in putLine()
1534 …memset( (pFile->m_pWriteBuf) + ( pFile->m_nWriteBufLen - pFile->m_nWriteBufFree ), 0, pFile->m_nWr… in putLine()
1540 memcpy(pFile->m_pWriteBuf + ( pFile->m_nWriteBufLen - pFile->m_nWriteBufFree ),pszLine,Len+1); in putLine()
1542 strLen = strlen(pFile->m_pWriteBuf); in putLine()
1544 pFile->m_pWriteBuf[pFile->m_nWriteBufLen - pFile->m_nWriteBufFree + Len]='\r'; in putLine()
1545 pFile->m_pWriteBuf[pFile->m_nWriteBufLen - pFile->m_nWriteBufFree + Len + 1]='\n'; in putLine()
1546 pFile->m_pWriteBuf[pFile->m_nWriteBufLen - pFile->m_nWriteBufFree + Len + 2]='\0'; in putLine()
2010 if ( pTmpFile->m_pWriteBuf != 0 ) in storeProfile()
2012 free(pTmpFile->m_pWriteBuf); in storeProfile()
2015 pTmpFile->m_pWriteBuf=0; in storeProfile()