Lines Matching refs:pData
242 osl_getConfigDir( aSec, &aPathName.pData ); in ImplMakeConfigName()
272 static void ImplMakeConfigList( ImplConfigData* pData, in ImplMakeConfigList() argument
329 pData->mpFirstGroup = pGroup; in ImplMakeConfigList()
368 pData->mpFirstGroup = pGroup; in ImplMakeConfigList()
448 static sal_uInt8* ImplGetConfigBuffer( const ImplConfigData* pData, sal_uIntPtr& rLen ) in ImplGetConfigBuffer() argument
460 if ( pData->meLineEnd == LINEEND_CR ) in ImplGetConfigBuffer()
465 else if ( pData->meLineEnd == LINEEND_LF ) in ImplGetConfigBuffer()
479 pGroup = pData->mpFirstGroup; in ImplGetConfigBuffer()
530 pGroup = pData->mpFirstGroup; in ImplGetConfigBuffer()
601 static void ImplReadConfig( ImplConfigData* pData ) in ImplReadConfig() argument
607 sal_uInt8* pBuf = ImplSysReadConfig( pData->maFileName, nRead, bRead, bIsUTF8BOM, nTimeStamp ); in ImplReadConfig()
612 ImplMakeConfigList( pData, pBuf, nRead ); in ImplReadConfig()
615 pData->mnTimeStamp = nTimeStamp; in ImplReadConfig()
616 pData->mbModified = sal_False; in ImplReadConfig()
618 pData->mbRead = sal_True; in ImplReadConfig()
620 pData->mbIsUTF8BOM = sal_True; in ImplReadConfig()
625 static void ImplWriteConfig( ImplConfigData* pData ) in ImplWriteConfig() argument
630 if ( pData->mnTimeStamp != ImplSysGetConfigTimeStamp( pData->maFileName ) ) in ImplWriteConfig()
632 …DBG_ERROR1( "Config overwrites modified configfile:\n %s", ByteString( pData->maFileName, RTL_TEXT… in ImplWriteConfig()
639 sal_uInt8* pBuf = ImplGetConfigBuffer( pData, nBufLen ); in ImplWriteConfig()
642 …if ( ImplSysWriteConfig( pData->maFileName, pBuf, nBufLen, pData->mbIsUTF8BOM, pData->mnTimeStamp … in ImplWriteConfig()
643 pData->mbModified = sal_False; in ImplWriteConfig()
647 pData->mbModified = sal_False; in ImplWriteConfig()
652 static void ImplDeleteConfigData( ImplConfigData* pData ) in ImplDeleteConfigData() argument
657 ImplGroupData* pGroup = pData->mpFirstGroup; in ImplDeleteConfigData()
676 pData->mpFirstGroup = NULL; in ImplDeleteConfigData()
683 ImplConfigData* pData; in ImplGetConfigData() local
685 pData = new ImplConfigData; in ImplGetConfigData()
686 pData->maFileName = rFileName; in ImplGetConfigData()
687 pData->mpFirstGroup = NULL; in ImplGetConfigData()
688 pData->mnDataUpdateId = 0; in ImplGetConfigData()
689 pData->meLineEnd = LINEEND_CRLF; in ImplGetConfigData()
690 pData->mnRefCount = 0; in ImplGetConfigData()
691 pData->mbRead = sal_False; in ImplGetConfigData()
692 pData->mbIsUTF8BOM = sal_False; in ImplGetConfigData()
693 ImplReadConfig( pData ); in ImplGetConfigData()
695 return pData; in ImplGetConfigData()
818 osl_getConfigDir( aSec, &aDefConfig.pData ); in GetDefDirectory()