Lines Matching refs:intf
505 void mutateNode(const HalInterface &intf, NodeType *root, DocType *d) const override { in mutateNode()
506 appendTextElement(root, "name", intf.name(), d); in mutateNode()
507 appendTextElements(root, "instance", intf.mInstances, d); in mutateNode()
508 appendTextElements(root, "regex-instance", intf.mRegexes, d); in mutateNode()
510 bool buildObject(HalInterface* intf, NodeType* root, std::string* error) const override { in buildObject()
513 if (!parseTextElement(root, "name", &intf->mName, error) || in buildObject()
520 if (!intf->insertInstance(e, false /* isRegex */)) { in buildObject()
522 *error += "Duplicated instance '" + e + "' in " + intf->name(); in buildObject()
530 *error += "Invalid regular expression '" + e + "' in " + intf->name(); in buildObject()
533 if (!intf->insertInstance(e, true /* isRegex */)) { in buildObject()
535 *error += "Duplicated regex-instance '" + e + "' in " + intf->name(); in buildObject()