Home
last modified time | relevance | path

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

/device/google/cuttlefish/host/commands/fetcher/
Dbuild_api.cc200 size_t slash_pos = arg.find('/'); in ArgumentToBuild() local
201 if (slash_pos != std::string::npos in ArgumentToBuild()
202 && arg.find('/', slash_pos + 1) != std::string::npos) { in ArgumentToBuild()
204 << slash_pos << " and " << arg.find('/', slash_pos + 1); in ArgumentToBuild()
206 std::string build_target = slash_pos == std::string::npos in ArgumentToBuild()
207 ? default_build_target : arg.substr(slash_pos + 1); in ArgumentToBuild()
208 std::string branch_or_id = slash_pos == std::string::npos in ArgumentToBuild()
209 ? arg: arg.substr(0, slash_pos); in ArgumentToBuild()