Home
last modified time | relevance | path

Searched refs:HBBlob (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/pdf/
DSkPDFSubsetFont.cpp19 using HBBlob = resource<hb_blob_t, hb_blob_destroy>; typedef
24 static HBBlob to_blob(sk_sp<SkData> data) { in to_blob()
25 return HBBlob(hb_blob_create((char*)data->data(), SkToUInt(data->size()), in to_blob()
30 static sk_sp<SkData> to_data(HBBlob blob) { in to_data()
72 HBBlob result(hb_face_reference_blob(subset.get())); in SkPDFSubsetFont()
/external/skqp/modules/skshaper/src/
DSkShaper_harfbuzz.cpp46 using HBBlob = resource<hb_blob_t , hb_blob_destroy >; typedef
53 HBBlob stream_to_blob(std::unique_ptr<SkStreamAsset> asset) { in stream_to_blob()
55 HBBlob blob; in stream_to_blob()
84 HBBlob blob(stream_to_blob(std::move(typefaceAsset))); in create_hb_font()
/external/skia/modules/skshaper/src/
DSkShaper_harfbuzz.cpp56 using HBBlob = resource<hb_blob_t , hb_blob_destroy >; typedef
63 HBBlob stream_to_blob(std::unique_ptr<SkStreamAsset> asset) { in stream_to_blob()
65 HBBlob blob; in stream_to_blob()
281 HBBlob blob(stream_to_blob(std::move(typefaceAsset))); in create_hb_font()