Searched refs:slash_pos (Results 1 – 4 of 4) sorted by relevance
171 std::string::size_type slash_pos = zone_id_str.rfind('/'); in GetExemplarCity() local172 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()
310 string::size_type slash_pos = name.find_last_of('/'); in CreateTempFile() local311 if (slash_pos != string::npos) { in CreateTempFile()312 string dir = name.substr(0, slash_pos); in CreateTempFile()
986 string::size_type slash_pos = value.find_last_of('/'); in InterpretArgument() local987 if (slash_pos == string::npos) { in InterpretArgument()990 name = value.substr(slash_pos + 1); in InterpretArgument()
165 string::size_type slash_pos = cpu_name.find("/"); in get_profile_header() local167 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()