Searched refs:typefaceAsset (Results 1 – 2 of 2) sorted by relevance
77 std::unique_ptr<SkStreamAsset> typefaceAsset(tf->openStream(&index)); in create_hb_font() local78 if (!typefaceAsset) { in create_hb_font()84 HBBlob blob(stream_to_blob(std::move(typefaceAsset))); in create_hb_font()
270 std::unique_ptr<SkStreamAsset> typefaceAsset = typeface.openStream(&index); local272 if (typefaceAsset && typefaceAsset->getMemoryBase()) {273 HBBlob blob(stream_to_blob(std::move(typefaceAsset)));