Lines Matching defs:Attribute
35 AttributeItem *getAttributeItem(unsigned Attribute) {
37 if (Contents[i].Tag == Attribute)
42 void setAttributeItem(unsigned Attribute, unsigned Value,
45 if (AttributeItem *Item = getAttributeItem(Attribute)) {
54 Contents.push_back({AttributeType::Numeric, Attribute, Value, ""});
57 void setAttributeItem(unsigned Attribute, StringRef Value,
60 if (AttributeItem *Item = getAttributeItem(Attribute)) {
69 Contents.push_back({AttributeType::Text, Attribute, 0, std::string(Value)});
72 void setAttributeItems(unsigned Attribute, unsigned IntValue,
75 if (AttributeItem *Item = getAttributeItem(Attribute)) {
85 Contents.push_back({AttributeType::NumericAndText, Attribute, IntValue,
89 void emitAttribute(unsigned Attribute, unsigned Value) override;
90 void emitTextAttribute(unsigned Attribute, StringRef String) override;