Lines Matching refs:lpszPath
237 LPCTSTR lpszPath = reinterpret_cast< LPCTSTR >(path->buffer); in IsValidFilePath() local
238 LPCTSTR lpComponent = lpszPath; in IsValidFilePath()
246 if ( !lpszPath ) in IsValidFilePath()
254 lpComponent = lpszPath + ELEMENTS_OF_ARRAY(WSTR_LONG_PATH_PREFIX_UNC) - 1; in IsValidFilePath()
260 lpComponent = lpszPath + ELEMENTS_OF_ARRAY(WSTR_LONG_PATH_PREFIX) - 1; in IsValidFilePath()
268 else if ( 2 == _tcsspn( lpszPath, CHARSET_SEPARATOR ) ) in IsValidFilePath()
271 lpComponent = lpszPath + 2; in IsValidFilePath()
274 else if ( _istalpha( lpszPath[0] ) && ':' == lpszPath[1] ) in IsValidFilePath()
277 lpComponent = lpszPath + 2; in IsValidFilePath()
299 lpComponent = lpszPath; in IsValidFilePath()
342 lpComponent = lpszPath; in IsValidFilePath()
359 lpComponent = lpszPath; in IsValidFilePath()
367 sal_Int32 i = lpComponent - lpszPath; in IsValidFilePath()
370 lpszPath = reinterpret_cast< LPCTSTR >((*corrected)->buffer); in IsValidFilePath()
371 lpComponent = lpszPath + i; in IsValidFilePath()
388 if ( fValid && !( dwPathType & PATHTYPE_IS_LONGPATH ) && _tcslen( lpszPath ) >= MAX_PATH ) in IsValidFilePath()
391 lpComponent = lpszPath + MAX_PATH; in IsValidFilePath()
459 LPTSTR lpszPath, // path buffer to convert in GetCaseCorrectPathNameEx() argument
465 sal_Int32 nRemoved = PathRemoveFileSpec( lpszPath, szFile, MAX_PATH + 1 ); in GetCaseCorrectPathNameEx()
470 nLastStepRemoved = PathRemoveFileSpec( lpszPath, szFile, MAX_PATH + 1 ); in GetCaseCorrectPathNameEx()
495 GetCaseCorrectPathNameEx( lpszPath, cchBuffer, nSkipLevels, bCheckExistence ); in GetCaseCorrectPathNameEx()
497 PathAddBackslash( lpszPath, cchBuffer ); in GetCaseCorrectPathNameEx()
505 _tcscpy( aShortPath, lpszPath ); in GetCaseCorrectPathNameEx()
513 …_tcscat( lpszPath, aFindFileData.cFileName[0] ? aFindFileData.cFileName : aFindFileData.cAlternate… in GetCaseCorrectPathNameEx()
518 lpszPath[0] = 0; in GetCaseCorrectPathNameEx()
523 _tcscat( lpszPath, szFile ); in GetCaseCorrectPathNameEx()
533 lpszPath[0] = 0; in GetCaseCorrectPathNameEx()
535 _tcsupr( lpszPath ); in GetCaseCorrectPathNameEx()
538 return _tcslen( lpszPath ); in GetCaseCorrectPathNameEx()