Lines Matching refs:nBufLen
166 const sal_uInt8* pBuf, sal_uIntPtr nBufLen, sal_Bool rbIsUTF8BOM, sal_uIntPtr& rTimeStamp ) in ImplSysWriteConfig() argument
192 if( aFile.write( pBuf, nBufLen, nWritten ) == ::osl::FileBase::E_None && nWritten == nBufLen ) in ImplSysWriteConfig()
455 unsigned int nBufLen; in ImplGetConfigBuffer() local
478 nBufLen = 0; in ImplGetConfigBuffer()
485 nBufLen += pGroup->maGroupName.Len() + nLineEndLen + 2; in ImplGetConfigBuffer()
491 nBufLen += nValueLen + nLineEndLen; in ImplGetConfigBuffer()
493 nBufLen += pKey->maKey.Len() + nValueLen + nLineEndLen + 1; in ImplGetConfigBuffer()
501 nBufLen += nLineEndLen * pGroup->mnEmptyLines; in ImplGetConfigBuffer()
508 rLen = nBufLen; in ImplGetConfigBuffer()
509 if ( !nBufLen ) in ImplGetConfigBuffer()
524 pWriteBuf = new sal_uInt8[nBufLen]; in ImplGetConfigBuffer()
638 sal_uIntPtr nBufLen; in ImplWriteConfig() local
639 sal_uInt8* pBuf = ImplGetConfigBuffer( pData, nBufLen ); in ImplWriteConfig()
642 …if ( ImplSysWriteConfig( pData->maFileName, pBuf, nBufLen, pData->mbIsUTF8BOM, pData->mnTimeStamp … in ImplWriteConfig()