Lines Matching refs:last
35 register char *first, *last;36 for(first=last=pathname; *last; last++);38 if(last>first)39 while(*--last=='/' && last > first);40 if(last==first && *last=='/')44 if(*++last=='/') /* keep leading // */45 last++;49 for(first=last++;first>pathname && *first!='/';first--);53 *last = 0;