Home
last modified time | relevance | path

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

/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/compiler-rt/lib/sanitizer_common/
Dsanitizer_common.cc226 if (const char *slash_pos = internal_strrchr(module, '/')) { in StripModuleName() local
227 return slash_pos + 1; in StripModuleName()
/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/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface_unittest.cc333 string::size_type slash_pos = name.find_last_of('/'); in CreateTempFile() local
334 if (slash_pos != string::npos) { in CreateTempFile()
335 string dir = name.substr(0, slash_pos); in CreateTempFile()
Dcommand_line_interface.cc1091 string::size_type slash_pos = value.find_last_of('/'); in InterpretArgument() local
1092 if (slash_pos == string::npos) { in InterpretArgument()
1095 plugin_name = value.substr(slash_pos + 1); in InterpretArgument()