Searched refs:lastslash (Results 1 – 6 of 6) sorted by relevance
113 my ($func, $file, $lastslash);122 $lastslash = rindex($file, "/");123 if ($lastslash != -1) {124 $file = substr($file, $lastslash + 1);
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()
305 const char *lastslash = strrchr (path, '/'); in make_directories() local306 if (lastslash == NULL) in make_directories()309 while (lastslash > path && lastslash[-1] == '/') in make_directories()310 --lastslash; in make_directories()311 if (lastslash == path) in make_directories()314 char *dir = strndupa (path, lastslash - path); in make_directories()
996 const char *modname, *lastslash; in depmod_module_add() local1016 lastslash = strrchr(mod->path, '/'); in depmod_module_add()1017 mod->baselen = lastslash - mod->path; in depmod_module_add()1031 size_t uncrelpathlen = lastslash - mod->relpath + modnamesz in depmod_module_add()