Searched refs:isRegex (Results 1 – 11 of 11) sorted by relevance
/system/libvintf/ |
D | MatrixInstance.cpp | 37 bool isRegex) in MatrixInstance() argument 41 mIsRegex(isRegex) {} in MatrixInstance() 44 bool optional, bool isRegex) in MatrixInstance() argument 45 : mFqInstance(fqInstance), mRange(range), mOptional(optional), mIsRegex(isRegex) {} in MatrixInstance() 70 if (!isRegex()) { in matchInstance() 82 return isRegex() ? mFqInstance.getInstance() : kEmptyString; in regexPattern() 87 return isRegex() ? kEmptyString : mFqInstance.getInstance(); in exactInstance() 90 bool MatrixInstance::isRegex() const { in isRegex() function in android::vintf::MatrixInstance
|
D | HalInterface.cpp | 32 const std::function<bool(const std::string&, const std::string&, bool isRegex)>& func) const { in forEachInstance() 55 bool HalInterface::insertInstance(const std::string& instanceOrPattern, bool isRegex) { in insertInstance() argument 56 if (isRegex) { in insertInstance() 63 bool HalInterface::removeInstance(const std::string& instanceOrPattern, bool isRegex) { in removeInstance() argument 64 if (isRegex) { in removeInstance()
|
D | MatrixHal.cpp | 59 intf.forEachInstance([&](const auto& interface, const auto& instance, bool isRegex) { in forEachInstance() argument 64 isRegex))) { in forEachInstance() 79 const std::string&, bool isRegex)>& func) const { in forEachInstance() 82 intf.forEachInstance([&](const auto& interface, const auto& instance, bool isRegex) { in forEachInstance() argument 83 return func(this->versionRanges, interface, instance, isRegex); in forEachInstance() 148 bool isRegex) { in insertInstance() argument 152 it->second.insertInstance(instance, isRegex); in insertInstance() 165 bool isRegex) { in removeInstance() argument 168 bool removed = it->second.removeInstance(instance, isRegex); in removeInstance()
|
D | CompatibilityMatrix.cpp | 136 const std::string& instanceOrPattern, bool isRegex) { in splitInstance() argument 142 if (matrixInstance.isRegex() && isRegex) { in splitInstance() 144 } else if (!matrixInstance.isRegex() && !isRegex) { in splitInstance() 164 existingHal->removeInstance(interface, instanceOrPattern, isRegex); in splitInstance() 167 copy.insertInstance(interface, instanceOrPattern, isRegex); in splitInstance() 192 const std::string& instanceOrPattern, bool isRegex) { in addAllHalsAsOptional() argument 195 this->splitInstance(existingHal, interface, instanceOrPattern, isRegex); in addAllHalsAsOptional() 198 if (isRegex) { in addAllHalsAsOptional()
|
D | main.cpp | 207 matrixInstance.isRegex() ? matrixInstance.regexPattern() in insert()
|
D | parse_string.cpp | 407 matrixInstance.isRegex() ? matrixInstance.regexPattern() in expandInstances()
|
D | VintfObject.cpp | 685 if (!oldMatrixInstance.isRegex()) { in IsInstanceDeprecated()
|
/system/libvintf/include/vintf/ |
D | MatrixInstance.h | 39 MatrixInstance(FqInstance&& fqInstance, VersionRange&& range, bool optional, bool isRegex); 41 bool isRegex); 60 bool isRegex() const;
|
D | HalInterface.h | 39 bool isRegex)>& func) const; 43 bool insertInstance(const std::string& instanceOrPattern, bool isRegex); 46 bool removeInstance(const std::string& instanceOrPattern, bool isRegex);
|
D | MatrixHal.h | 63 const std::string& instanceOrPattern, bool isRegex)>& func) const; 74 void insertInstance(const std::string& interface, const std::string& instance, bool isRegex); 76 bool removeInstance(const std::string& interface, const std::string& instance, bool isRegex);
|
D | CompatibilityMatrix.h | 131 const std::string& instance, bool isRegex);
|