Searched refs:lastslash (Results 1 – 4 of 4) sorted by relevance
436 const char *lastslash = 0; local441 lastslash = tmpptr;444 if( lastslash != NULL )446 savefilenameinzip = lastslash+1; // base filename follows last slash.
125 int lastslash = proto_file.find_last_of("/"); in GetFileNameBase() local126 std::string base = proto_file.substr(lastslash + 1); in GetFileNameBase()
297 const char *lastslash = strrchr (path, '/'); in make_directories() local298 if (lastslash == NULL) in make_directories()301 while (lastslash > path && lastslash[-1] == '/') in make_directories()302 --lastslash; in make_directories()303 if (lastslash == path) in make_directories()306 char *dir = strndupa (path, lastslash - path); in make_directories()
924 const char *modname, *lastslash; in depmod_module_add() local944 lastslash = strrchr(mod->path, '/'); in depmod_module_add()945 mod->baselen = lastslash - mod->path; in depmod_module_add()959 size_t uncrelpathlen = lastslash - mod->relpath + modnamesz in depmod_module_add()