Searched refs:slash_pos (Results 1 – 6 of 6) sorted by relevance
48 string::size_type slash_pos = path.find_last_of(kPathSeparators); in DirName() local49 if (slash_pos == string::npos) in DirName()51 while (slash_pos > 0 && in DirName()52 std::find(kPathSeparators, kEnd, path[slash_pos - 1]) != kEnd) in DirName()53 --slash_pos; in DirName()54 return path.substr(0, slash_pos); in DirName()
156 char *slash_pos; /* used by the SFTP_CREATE_DIRS state */ member
1377 sshc->slash_pos = protop->path + 1; /* ignore the leading '/' */ in myssh_statemach_act()1386 sshc->slash_pos = strchr(sshc->slash_pos, '/'); in myssh_statemach_act()1387 if(sshc->slash_pos) { in myssh_statemach_act()1388 *sshc->slash_pos = 0; in myssh_statemach_act()1401 *sshc->slash_pos = '/'; in myssh_statemach_act()1402 ++sshc->slash_pos; in myssh_statemach_act()
2229 sshc->slash_pos = sshp->path + 1; /* ignore the leading '/' */ in ssh_statemach_act()2238 sshc->slash_pos = strchr(sshc->slash_pos, '/'); in ssh_statemach_act()2239 if(sshc->slash_pos) { in ssh_statemach_act()2240 *sshc->slash_pos = 0; in ssh_statemach_act()2257 *sshc->slash_pos = '/'; in ssh_statemach_act()2258 ++sshc->slash_pos; in ssh_statemach_act()
384 std::string::size_type slash_pos = name.find_last_of('/'); in CreateTempFile() local385 if (slash_pos != std::string::npos) { in CreateTempFile()386 std::string dir = name.substr(0, slash_pos); in CreateTempFile()
1779 std::string::size_type slash_pos = value.find_last_of('/'); in InterpretArgument() local1780 if (slash_pos == std::string::npos) { in InterpretArgument()1783 plugin_name = value.substr(slash_pos + 1); in InterpretArgument()