Searched refs:lastSlash (Results 1 – 2 of 2) sorted by relevance
272 WCHAR *lastBkSlash, *lastFwdSlash, *lastSlash; in TEXT_PathEllipsify() local289 lastSlash = lastBkSlash > lastFwdSlash ? lastBkSlash : lastFwdSlash; in TEXT_PathEllipsify()290 if (!lastSlash) lastSlash = str; in TEXT_PathEllipsify()291 len_trailing = *len_str - (lastSlash - str); in TEXT_PathEllipsify()294 memmove (lastSlash+len_ellipsis, lastSlash, len_trailing * sizeof(WCHAR)); in TEXT_PathEllipsify()295 memcpy (lastSlash, ELLIPSISW, len_ellipsis*sizeof(WCHAR)); in TEXT_PathEllipsify()311 if (lastSlash == str || size->cx <= width) break; in TEXT_PathEllipsify()314 memmove (lastSlash-1, lastSlash, len_trailing * sizeof(WCHAR)); in TEXT_PathEllipsify()315 lastSlash--; in TEXT_PathEllipsify()321 pellip->before = lastSlash-str; in TEXT_PathEllipsify()
375 LPCSTR lastSlash = lpszPath; in PathFindFileNameA() local383 lastSlash = lpszPath + 1; in PathFindFileNameA()386 return (LPSTR)lastSlash; in PathFindFileNameA()396 LPCWSTR lastSlash = lpszPath; in PathFindFileNameW() local404 lastSlash = lpszPath + 1; in PathFindFileNameW()407 return (LPWSTR)lastSlash; in PathFindFileNameW()