Lines Matching refs:Item
739 if (AttributeItem *Item = getAttributeItem(Attribute)) { in setAttributeItem() local
742 Item->Type = AttributeItem::NumericAttribute; in setAttributeItem()
743 Item->IntValue = Value; in setAttributeItem()
748 AttributeItem Item = {AttributeItem::NumericAttribute, Attribute, Value, in setAttributeItem() local
750 Contents.push_back(Item); in setAttributeItem()
756 if (AttributeItem *Item = getAttributeItem(Attribute)) { in setAttributeItem() local
759 Item->Type = AttributeItem::TextAttribute; in setAttributeItem()
760 Item->StringValue = std::string(Value); in setAttributeItem()
765 AttributeItem Item = {AttributeItem::TextAttribute, Attribute, 0, in setAttributeItem() local
767 Contents.push_back(Item); in setAttributeItem()
774 if (AttributeItem *Item = getAttributeItem(Attribute)) { in setAttributeItems() local
777 Item->Type = AttributeItem::NumericAndTextAttributes; in setAttributeItems()
778 Item->IntValue = IntValue; in setAttributeItems()
779 Item->StringValue = std::string(StringValue); in setAttributeItems()
784 AttributeItem Item = {AttributeItem::NumericAndTextAttributes, Attribute, in setAttributeItems() local
786 Contents.push_back(Item); in setAttributeItems()
801 AttributeItem Item = AttrsVec[I]; in calculateContentSize() local
802 switch (Item.Type) { in calculateContentSize()
806 Result += getULEB128Size(Item.Tag); in calculateContentSize()
807 Result += getULEB128Size(Item.IntValue); in calculateContentSize()
810 Result += getULEB128Size(Item.Tag); in calculateContentSize()
811 Result += Item.StringValue.size() + 1; // string + '\0' in calculateContentSize()
814 Result += getULEB128Size(Item.Tag); in calculateContentSize()
815 Result += getULEB128Size(Item.IntValue); in calculateContentSize()
816 Result += Item.StringValue.size() + 1; // string + '\0'; in calculateContentSize()
863 AttributeItem Item = AttrsVec[I]; in createAttributesSection() local
864 emitULEB128IntValue(Item.Tag); in createAttributesSection()
865 switch (Item.Type) { in createAttributesSection()
869 emitULEB128IntValue(Item.IntValue); in createAttributesSection()
872 emitBytes(Item.StringValue); in createAttributesSection()
876 emitULEB128IntValue(Item.IntValue); in createAttributesSection()
877 emitBytes(Item.StringValue); in createAttributesSection()