Lines Matching refs:pszFilter
467 if ( (pDir->cchFilter == 1 && pDir->pszFilter[0] == '*')
468 || (pDir->cchFilter == 3 && !memcmp(pDir->pszFilter, "<\".>", 3))
510 * @param pszFilter Pointer to where the filter start in the path. NULL if no filter.
513 static int rtDirOpenCommon(PRTDIR *ppDir, const char *pszPath, const char *pszFilter, RTDIRFILTER enmFilter)
526 if (!pszFilter)
533 cbFilter = strlen(pszFilter) + 1;
534 cucFilter0 = RTStrUniLen(pszFilter) + 1;
536 if (pszFilter != pszPath)
542 pszTmp[pszFilter - pszPath] = '\0';
582 rc = RTStrToUniEx(pszFilter, RTSTR_MAX, &pDir->puszFilter, cucFilter0, &pDir->cucFilter);
585 pDir->pszFilter = (char *)memcpy(pb, pszFilter, cbFilter);
593 pDir->pszFilter = NULL;
674 const char *pszFilter;
676 pszFilter = NULL;
679 pszFilter = RTPathFilename(pszPath);
680 if (!pszFilter) /* trailing slash => directory to read => no filter. */
688 int rc = rtDirOpenCommon(ppDir, pszPath, pszFilter, enmFilter);