Home
last modified time | relevance | path

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

/third_party/ninja/src/
Ddisk_interface.cc48 string::size_type slash_pos = path.find_last_of(kPathSeparators); in DirName() local
49 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()
/third_party/curl/lib/vssh/
Dssh.h156 char *slash_pos; /* used by the SFTP_CREATE_DIRS state */ member
Dlibssh.c1377 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()
Dlibssh2.c2229 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()
/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()