Home
last modified time | relevance | path

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

/external/libbrillo/brillo/dbus/
Dutils.cc59 size_t slash_pos = part.find('/'); in AddDBusError() local
61 if (slash_pos != std::string::npos && colon_pos != std::string::npos && in AddDBusError()
62 slash_pos < colon_pos) { in AddDBusError()
65 std::string domain = part.substr(0, slash_pos); in AddDBusError()
66 std::string code = part.substr(slash_pos + 1, colon_pos - slash_pos - 1); in AddDBusError()
69 } else if (slash_pos == std::string::npos && in AddDBusError()
/external/google-breakpad/src/common/windows/
Dstring_utils.cc40 size_t slash_pos = base_name.find_last_of(L"/\\"); in GetBaseName() local
41 if (slash_pos != wstring::npos) { in GetBaseName()
42 base_name.erase(0, slash_pos + 1); in GetBaseName()
/external/perfetto/src/profiling/perf/
Devent_config.cc63 auto slash_pos = input.find("/"); in SplitTracepointString() local
64 if (slash_pos != std::string::npos) in SplitTracepointString()
65 return std::make_pair(input.substr(0, slash_pos), in SplitTracepointString()
66 input.substr(slash_pos + 1)); in SplitTracepointString()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_common.cpp81 if (const char *slash_pos = internal_strrchr(module, '/')) { in StripModuleName() local
82 return slash_pos + 1; in StripModuleName()
/external/perfetto/src/traced/probes/ftrace/
Dftrace_config_muxer.cc64 auto slash_pos = event.find('/'); in EventToStringGroupAndName() local
65 if (slash_pos == std::string::npos) in EventToStringGroupAndName()
67 return std::make_pair(event.substr(0, slash_pos), in EventToStringGroupAndName()
68 event.substr(slash_pos + 1)); in EventToStringGroupAndName()
/external/google-breakpad/src/common/solaris/
Ddump_symbols.cc502 size_t slash_pos = obj_file.find_last_of("/"); in WriteModuleInfo() local
503 if (slash_pos != std::string::npos) in WriteModuleInfo()
504 filename = obj_file.substr(slash_pos + 1); in WriteModuleInfo()
/external/curl/lib/vssh/
Dssh.h143 char *slash_pos; /* used by the SFTP_CREATE_DIRS state */ member
Dlibssh.c1338 sshc->slash_pos = protop->path + 1; /* ignore the leading '/' */ in myssh_statemach_act()
1347 sshc->slash_pos = strchr(sshc->slash_pos, '/'); in myssh_statemach_act()
1348 if(sshc->slash_pos) { in myssh_statemach_act()
1349 *sshc->slash_pos = 0; in myssh_statemach_act()
1362 *sshc->slash_pos = '/'; in myssh_statemach_act()
1363 ++sshc->slash_pos; in myssh_statemach_act()
Dlibssh2.c2043 sshc->slash_pos = sftp_scp->path + 1; /* ignore the leading '/' */ in ssh_statemach_act()
2052 sshc->slash_pos = strchr(sshc->slash_pos, '/'); in ssh_statemach_act()
2053 if(sshc->slash_pos) { in ssh_statemach_act()
2054 *sshc->slash_pos = 0; in ssh_statemach_act()
2071 *sshc->slash_pos = '/'; in ssh_statemach_act()
2072 ++sshc->slash_pos; in ssh_statemach_act()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common.cc191 if (const char *slash_pos = internal_strrchr(module, '/')) { in StripModuleName() local
192 return slash_pos + 1; in StripModuleName()
/external/tensorflow/tensorflow/cc/framework/
Dcc_op_gen.cc75 size_t slash_pos = path.rfind('/'); in GetFilename() local
76 if (slash_pos == path.npos) slash_pos = -1; in GetFilename()
78 return path.substr(slash_pos + 1, dot_pos - (slash_pos + 1)); in GetFilename()
/external/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface_unittest.cc369 std::string::size_type slash_pos = name.find_last_of('/'); in CreateTempFile() local
370 if (slash_pos != std::string::npos) { in CreateTempFile()
371 std::string dir = name.substr(0, slash_pos); in CreateTempFile()
Dcommand_line_interface.cc1652 std::string::size_type slash_pos = value.find_last_of('/'); in InterpretArgument() local
1653 if (slash_pos == std::string::npos) { in InterpretArgument()
1656 plugin_name = value.substr(slash_pos + 1); in InterpretArgument()