Home
last modified time | relevance | path

Searched refs:slash_pos (Results 1 – 6 of 6) sorted by relevance

/third_party/ninja/src/
Ddisk_interface.cc46 string::size_type slash_pos = path.find_last_of(kPathSeparators); in DirName() local
47 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()
/third_party/curl/lib/vssh/
Dssh.h155 char *slash_pos; /* used by the SFTP_CREATE_DIRS state */ member
Dlibssh.c1357 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()
Dlibssh2.c2038 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()
/third_party/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface_unittest.cc384 std::string::size_type slash_pos = name.find_last_of('/'); in CreateTempFile() local
385 if (slash_pos != std::string::npos) { in CreateTempFile()
386 std::string dir = name.substr(0, slash_pos); in CreateTempFile()
Dcommand_line_interface.cc1779 std::string::size_type slash_pos = value.find_last_of('/'); in InterpretArgument() local
1780 if (slash_pos == std::string::npos) { in InterpretArgument()
1783 plugin_name = value.substr(slash_pos + 1); in InterpretArgument()