Lines Matching refs:wire
290 WireTypeface wire(SkTypeface::UniqueID(tf), tf->countGlyphs(), tf->fontStyle(), in serializeTypeface() local
293 SkData::MakeWithCopy(&wire, sizeof(wire))); in serializeTypeface()
689 WireTypeface wire; in readStrikeData() local
690 if (!deserializer.read<WireTypeface>(&wire)) READ_FAILURE in readStrikeData()
695 addTypeface(wire); in readStrikeData()
790 WireTypeface wire; in deserializeTypeface() local
791 if (len != sizeof(wire)) return nullptr; in deserializeTypeface()
792 memcpy(&wire, buf, sizeof(wire)); in deserializeTypeface()
793 return this->addTypeface(wire); in deserializeTypeface()
796 sk_sp<SkTypeface> SkStrikeClient::addTypeface(const WireTypeface& wire) { in addTypeface() argument
797 auto* typeface = fRemoteFontIdToTypeface.find(wire.typefaceID); in addTypeface()
801 wire.typefaceID, wire.glyphCount, wire.style, wire.isFixed, in addTypeface()
803 fRemoteFontIdToTypeface.set(wire.typefaceID, newTypeface); in addTypeface()