Searched refs:attrCount (Results 1 – 2 of 2) sorted by relevance
235 static void writeAttribute(ByteStream bs, AttributeWriter aw, int attrCount) { in writeAttribute() argument237 bs.writeShort(attrCount); in writeAttribute()241 bs.writeShort(aw.size() + attrCount); in writeAttribute()374 int attrCount = isAbstract ? 0 : 1; in begin() local376 ++attrCount; in begin()378 writeAttribute(output, aw, attrCount); in begin()488 int attrCount = smap == null ? 0 : 1; in end() local489 writeAttribute(output, aw, attrCount); in end()
215 int attrCount = fAttrs.count(); in flushAttributes() local217 …SkDOM::Node* node = (SkDOM::Node*)fAlloc->alloc(sizeof(SkDOM::Node) + attrCount * sizeof(SkDOM::At… in flushAttributes()222 node->fAttrCount = SkToU16(attrCount); in flushAttributes()239 memcpy(node->attrs(), fAttrs.begin(), attrCount * sizeof(SkDOM::Attr)); in flushAttributes()