Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/src/android/content/res/
DResources_Delegate.java1054 int slashIdx = name.indexOf('/'); in resourceUrlFromName() local
1056 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()
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.cpp2204 std::string::size_type slashIdx = name.find('/'); in parseProviderName() local
2205 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()