Searched refs:slashIdx (Results 1 – 2 of 2) sorted by relevance
1054 int slashIdx = name.indexOf('/'); in resourceUrlFromName() local1056 if (colonIdx != -1 && slashIdx != -1) { in resourceUrlFromName()1061 if (colonIdx == -1 && slashIdx == -1) { in resourceUrlFromName()1085 ResourceType type = ResourceType.getEnum(name.substring(0, slashIdx)); in resourceUrlFromName()1092 name.substring(slashIdx + 1)); in resourceUrlFromName()
2204 std::string::size_type slashIdx = name.find('/'); in parseProviderName() local2205 if (slashIdx == std::string::npos || slashIdx == name.size() - 1) { in parseProviderName()2212 std::string typeVal = name.substr(0, slashIdx); in parseProviderName()2216 long idVal = strtol(name.c_str() + slashIdx + 1, &endPtr, 10); in parseProviderName()