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()
119 const auto prefixSize = mountKey.size(); in makeMountDir() local121 mountKey.resize(prefixSize), base::StringAppendF(&mountKey, "%d", counter++)) { in makeMountDir()167 const auto prefixSize = constants().mountpointMdPrefix.size(); in makeBindMdName() local168 name.reserve(prefixSize + uuidStringSize); in makeBindMdName()171 name.resize(prefixSize + uuidStringSize); in makeBindMdName()172 uuid_unparse(guid, name.data() + prefixSize); in makeBindMdName()
2420 final int prefixSize = prefixSeg.size(); in isPathPrefixMatch() local2421 if (seg.size() < prefixSize) return false; in isPathPrefixMatch()2423 for (int i = 0; i < prefixSize; i++) { in isPathPrefixMatch()