Home
last modified time | relevance | path

Searched refs:lastp (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/StdLib/PosixLib/Gen/
Ddirname.c58 const char *lastp; in __weak_alias() local
69 lastp = path + strlen(path) - 1; in __weak_alias()
70 while (lastp != path && isDirSep(*lastp)) in __weak_alias()
71 lastp--; in __weak_alias()
75 if (isDirSep(*lastp)) { in __weak_alias()
77 while (lastp != path && isDirSep(*lastp)) in __weak_alias()
78 lastp--; in __weak_alias()
84 len = (lastp - path) + 1 /* last char */; in __weak_alias()
89 if(*lastp == ':') { /* Have we stripped off all except the Volume name? */ in __weak_alias()
90 if(isDirSep(lastp[1])) { /* Was ...":/"... so we want the root of the volume. */ in __weak_alias()
[all …]
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/
Dcompat.c153 char *p, *lastp; in basename() local
164 lastp = path + strlen(path) - 1; in basename()
165 while (lastp != path && ISPATHSEPARATOR(*lastp)) in basename()
166 lastp--; in basename()
169 p = lastp; in basename()
174 len = (lastp - p) + 1 /* last char */; in basename()