Searched refs:SerializeBehavior (Results 1 – 5 of 5) sorted by relevance
150 enum class SerializeBehavior { enum159 void serialize(SkWStream*, SerializeBehavior = SerializeBehavior::kIncludeDataIfLocal) const;165 sk_sp<SkData> serialize(SerializeBehavior = SerializeBehavior::kIncludeDataIfLocal) const;
225 void SkTypeface::serialize(SkWStream* wstream, SerializeBehavior behavior) const { in serialize()232 case SerializeBehavior::kDoIncludeData: shouldSerializeData = true; break; in serialize()233 case SerializeBehavior::kDontIncludeData: shouldSerializeData = false; break; in serialize()234 case SerializeBehavior::kIncludeDataIfLocal: shouldSerializeData = isLocalData; break; in serialize()255 sk_sp<SkData> SkTypeface::serialize(SerializeBehavior behavior) const { in serialize()
114 ((const SkTypeface*)ptr)->serialize(dst, SkTypeface::SerializeBehavior::kDoIncludeData); in dump()
509 auto data0 = tf->serialize(SkTypeface::SerializeBehavior::kDoIncludeData); in check_serialize_behaviors()510 auto data1 = tf->serialize(SkTypeface::SerializeBehavior::kDontIncludeData); in check_serialize_behaviors()511 auto data2 = tf->serialize(SkTypeface::SerializeBehavior::kIncludeDataIfLocal); in check_serialize_behaviors()
343 sk_sp<SkData> data(typeface->serialize(SkTypeface::SerializeBehavior::kDoIncludeData)); in serialize_typeface_proc()