Searched refs:slash_pos (Results 1 – 13 of 13) sorted by relevance
/external/libbrillo/brillo/dbus/ |
D | utils.cc | 59 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/ |
D | string_utils.cc | 40 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/ |
D | event_config.cc | 63 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/ |
D | sanitizer_common.cpp | 81 if (const char *slash_pos = internal_strrchr(module, '/')) { in StripModuleName() local 82 return slash_pos + 1; in StripModuleName()
|
/external/perfetto/src/traced/probes/ftrace/ |
D | ftrace_config_muxer.cc | 64 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/ |
D | dump_symbols.cc | 502 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/ |
D | ssh.h | 143 char *slash_pos; /* used by the SFTP_CREATE_DIRS state */ member
|
D | libssh.c | 1338 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()
|
D | libssh2.c | 2043 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/ |
D | sanitizer_common.cc | 191 if (const char *slash_pos = internal_strrchr(module, '/')) { in StripModuleName() local 192 return slash_pos + 1; in StripModuleName()
|
/external/tensorflow/tensorflow/cc/framework/ |
D | cc_op_gen.cc | 75 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/ |
D | command_line_interface_unittest.cc | 369 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()
|
D | command_line_interface.cc | 1652 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()
|