Searched refs:prefixSize (Results 1 – 4 of 4) sorted by relevance
271 final int prefixSize = prefix.length; in isPathPrefixMatch() local272 if (path.length < prefixSize) return false; in isPathPrefixMatch()274 for (int i = 0; i < prefixSize; i++) { in isPathPrefixMatch()
71 size_t prefixSize; in getNamespaceResourcePackage() local81 prefixSize = RESOURCES_PREFIX.size(); in getNamespaceResourcePackage()84 prefixSize = RESOURCES_PRV_PREFIX.size(); in getNamespaceResourcePackage()93 return String16(namespaceUri, namespaceUri.size()-prefixSize, prefixSize); in getNamespaceResourcePackage()
2431 final int prefixSize = prefixSeg.size(); in isPathPrefixMatch() local2432 if (seg.size() < prefixSize) return false; in isPathPrefixMatch()2434 for (int i = 0; i < prefixSize; i++) { in isPathPrefixMatch()
178 const auto prefixSize = mountKey.size(); in makeMountDir() local180 mountKey.resize(prefixSize), base::StringAppendF(&mountKey, "%d", counter++)) { in makeMountDir()226 const auto prefixSize = prefix.size(); in makeUniqueName() local227 name.reserve(prefixSize + uuidStringSize); in makeUniqueName()230 name.resize(prefixSize + uuidStringSize); in makeUniqueName()231 uuid_unparse(guid, name.data() + prefixSize); in makeUniqueName()