Searched refs:slash_pos (Results 1 – 6 of 6) sorted by relevance
46 string::size_type slash_pos = path.find_last_of(kPathSeparators); in DirName() local47 if (slash_pos == string::npos) in DirName()49 while (slash_pos > 0 && in DirName()50 std::find(kPathSeparators, kEnd, path[slash_pos - 1]) != kEnd) in DirName()51 --slash_pos; in DirName()52 return path.substr(0, slash_pos); in DirName()
155 char *slash_pos; /* used by the SFTP_CREATE_DIRS state */ member
1357 sshc->slash_pos = protop->path + 1; /* ignore the leading '/' */ in myssh_statemach_act()1366 sshc->slash_pos = strchr(sshc->slash_pos, '/'); in myssh_statemach_act()1367 if(sshc->slash_pos) { in myssh_statemach_act()1368 *sshc->slash_pos = 0; in myssh_statemach_act()1381 *sshc->slash_pos = '/'; in myssh_statemach_act()1382 ++sshc->slash_pos; in myssh_statemach_act()
2038 sshc->slash_pos = sshp->path + 1; /* ignore the leading '/' */ in ssh_statemach_act()2047 sshc->slash_pos = strchr(sshc->slash_pos, '/'); in ssh_statemach_act()2048 if(sshc->slash_pos) { in ssh_statemach_act()2049 *sshc->slash_pos = 0; in ssh_statemach_act()2066 *sshc->slash_pos = '/'; in ssh_statemach_act()2067 ++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()