Lines Matching refs:lpCurrent
160 LPCTSTR lpCurrent = lpComponent; in IsValidFilePathComponent() local
166 while ( !lpComponentEnd && lpCurrent && lpCurrent - lpComponent < _MAX_PATH ) in IsValidFilePathComponent()
168 switch ( *lpCurrent ) in IsValidFilePathComponent()
181 if ( 1 == lpCurrent - lpComponent ) in IsValidFilePathComponent()
184 lpComponentEnd = lpCurrent; in IsValidFilePathComponent()
187 else if ( 2 == lpCurrent - lpComponent && '.' == *lpComponent ) in IsValidFilePathComponent()
190 lpComponentEnd = lpCurrent; in IsValidFilePathComponent()
196 lpComponentEnd = lpCurrent - 1; in IsValidFilePathComponent()
200 lpComponentEnd = lpCurrent; in IsValidFilePathComponent()
215 lpComponentEnd = lpCurrent; in IsValidFilePathComponent()
220 if ( *lpCurrent < ' ' ) in IsValidFilePathComponent()
222 lpComponentEnd = lpCurrent; in IsValidFilePathComponent()
227 cLast = *lpCurrent++; in IsValidFilePathComponent()
235 lpComponentEnd = lpCurrent; in IsValidFilePathComponent()