Searched refs:slashIdx (Results 1 – 2 of 2) sorted by relevance
1055 int slashIdx = name.indexOf('/'); in resourceUrlFromName() local1057 if (colonIdx != -1 && slashIdx != -1) { in resourceUrlFromName()1062 if (colonIdx == -1 && slashIdx == -1) { in resourceUrlFromName()1086 ResourceType type = ResourceType.getEnum(name.substring(0, slashIdx)); in resourceUrlFromName()1093 name.substring(slashIdx + 1)); in resourceUrlFromName()
2537 std::string::size_type slashIdx = name.find('/'); in parseProviderName() local2538 if (slashIdx == std::string::npos || slashIdx == name.size() - 1) { in parseProviderName()2545 std::string typeVal = name.substr(0, slashIdx); in parseProviderName()2549 long idVal = strtol(name.c_str() + slashIdx + 1, &endPtr, 10); in parseProviderName()