Lines Matching refs:pRTLData
2531 String implSetupWildcard( const String& rFileParam, SbiRTLData* pRTLData ) in implSetupWildcard() argument
2539 delete pRTLData->pWildCard; in implSetupWildcard()
2540 pRTLData->pWildCard = NULL; in implSetupWildcard()
2541 pRTLData->sFullNameToBeChecked = String(); in implSetupWildcard()
2564 pRTLData->sFullNameToBeChecked = aPathStr; in implSetupWildcard()
2588 pRTLData->pWildCard = new WildCard( aPureFileName ); in implSetupWildcard()
2593 inline sal_Bool implCheckWildcard( const String& rName, SbiRTLData* pRTLData ) in implCheckWildcard() argument
2597 if( pRTLData->pWildCard ) in implCheckWildcard()
2598 bMatch = pRTLData->pWildCard->Matches( rName ); in implCheckWildcard()
2646 SbiRTLData* pRTLData = pINST->GetRTLData(); in RTLFUNC() local
2650 if( !pRTLData ) in RTLFUNC()
2663 String aFileURLStr = implSetupWildcard( aFileParam, pRTLData ); in RTLFUNC()
2664 if( pRTLData->sFullNameToBeChecked.Len() > 0 ) in RTLFUNC()
2698 pRTLData->nDirFlags = nFlags = rPar.Get(2)->GetInteger(); in RTLFUNC()
2700 pRTLData->nDirFlags = 0; in RTLFUNC()
2704 pRTLData->aDirSeq = xSFI->getFolderContents( aDirURLStr, bIncludeFolders ); in RTLFUNC()
2705 pRTLData->nCurDirPos = 0; in RTLFUNC()
2718 pRTLData->nCurDirPos = -2; in RTLFUNC()
2729 if( pRTLData->aDirSeq.getLength() > 0 ) in RTLFUNC()
2731 sal_Bool bFolderFlag = ((pRTLData->nDirFlags & Sb_ATTR_DIRECTORY) != 0); in RTLFUNC()
2737 if( pRTLData->nCurDirPos < 0 ) in RTLFUNC()
2739 if( pRTLData->nCurDirPos == -2 ) in RTLFUNC()
2743 else if( pRTLData->nCurDirPos == -1 ) in RTLFUNC()
2747 pRTLData->nCurDirPos++; in RTLFUNC()
2749 else if( pRTLData->nCurDirPos >= pRTLData->aDirSeq.getLength() ) in RTLFUNC()
2751 pRTLData->aDirSeq.realloc( 0 ); in RTLFUNC()
2757 ::rtl::OUString aFile = pRTLData->aDirSeq.getConstArray()[pRTLData->nCurDirPos++]; in RTLFUNC()
2784 sal_Bool bMatch = implCheckWildcard( aPath, pRTLData ); in RTLFUNC()
2800 delete pRTLData->pDir; in RTLFUNC()
2801 pRTLData->pDir = 0; // wg. Sonderbehandlung Sb_ATTR_VOLUME in RTLFUNC()
2813 pRTLData->nDirFlags = nFlags = rPar.Get(2)->GetInteger(); in RTLFUNC()
2815 pRTLData->nDirFlags = 0; in RTLFUNC()
2818 if( pRTLData->nDirFlags & Sb_ATTR_VOLUME ) in RTLFUNC()
2828 pRTLData->pDir = new Dir( aEntry, (DirEntryKind) nMode ); in RTLFUNC()
2829 pRTLData->nCurDirPos = 0; in RTLFUNC()
2833 if( pRTLData->pDir ) in RTLFUNC()
2837 if( pRTLData->nCurDirPos >= pRTLData->pDir->Count() ) in RTLFUNC()
2839 delete pRTLData->pDir; in RTLFUNC()
2840 pRTLData->pDir = 0; in RTLFUNC()
2844 DirEntry aNextEntry=(*(pRTLData->pDir))[pRTLData->nCurDirPos++]; in RTLFUNC()
2856 String aDirURL = implSetupWildcard( aFileParam, pRTLData ); in RTLFUNC()
2860 pRTLData->nDirFlags = nFlags = rPar.Get(2)->GetInteger(); in RTLFUNC()
2862 pRTLData->nDirFlags = 0; in RTLFUNC()
2866 pRTLData->pDir = new Directory( aDirURL ); in RTLFUNC()
2867 FileBase::RC nRet = pRTLData->pDir->open(); in RTLFUNC()
2870 delete pRTLData->pDir; in RTLFUNC()
2871 pRTLData->pDir = NULL; in RTLFUNC()
2877 pRTLData->nCurDirPos = 0; in RTLFUNC()
2888 pRTLData->nCurDirPos = -2; in RTLFUNC()
2894 if( pRTLData->pDir ) in RTLFUNC()
2896 sal_Bool bFolderFlag = ((pRTLData->nDirFlags & Sb_ATTR_DIRECTORY) != 0); in RTLFUNC()
2899 if( pRTLData->nCurDirPos < 0 ) in RTLFUNC()
2901 if( pRTLData->nCurDirPos == -2 ) in RTLFUNC()
2905 else if( pRTLData->nCurDirPos == -1 ) in RTLFUNC()
2909 pRTLData->nCurDirPos++; in RTLFUNC()
2914 FileBase::RC nRet = pRTLData->pDir->getNextItem( aItem ); in RTLFUNC()
2917 delete pRTLData->pDir; in RTLFUNC()
2918 pRTLData->pDir = NULL; in RTLFUNC()
2939 sal_Bool bMatch = implCheckWildcard( aPath, pRTLData ); in RTLFUNC()