Home
last modified time | relevance | path

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

/external/chromium/chrome/browser/ui/webui/options/chromeos/
Dsystem_settings_provider.cc171 std::string::size_type slash_pos = zone_id_str.rfind('/'); in GetExemplarCity() local
172 if (slash_pos != std::string::npos && slash_pos < zone_id_str.size()) in GetExemplarCity()
173 zone_id_str.erase(0, slash_pos + 1); in GetExemplarCity()
/external/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface_unittest.cc310 string::size_type slash_pos = name.find_last_of('/'); in CreateTempFile() local
311 if (slash_pos != string::npos) { in CreateTempFile()
312 string dir = name.substr(0, slash_pos); in CreateTempFile()
Dcommand_line_interface.cc986 string::size_type slash_pos = value.find_last_of('/'); in InterpretArgument() local
987 if (slash_pos == string::npos) { in InterpretArgument()
990 name = value.substr(slash_pos + 1); in InterpretArgument()
/external/oprofile/libpp/
Dxml_utils.cpp165 string::size_type slash_pos = cpu_name.find("/"); in get_profile_header() local
167 if (slash_pos == string::npos) { in get_profile_header()
171 cpu_type = cpu_name.substr(0, slash_pos); in get_profile_header()
172 processor = cpu_name.substr(slash_pos+1); in get_profile_header()