Lines Matching refs:cdata
125 static SkData* AsData(const sk_data_t* cdata) { in AsData() argument
126 return reinterpret_cast<SkData*>(const_cast<sk_data_t*>(cdata)); in AsData()
210 sk_image_t* sk_image_new_from_data(const sk_data_t* cdata) { in sk_image_new_from_data() argument
211 return ToImage(SkImage::NewFromData(AsData(cdata))); in sk_image_new_from_data()
572 void sk_data_ref(const sk_data_t* cdata) { in sk_data_ref() argument
573 SkSafeRef(AsData(cdata)); in sk_data_ref()
576 void sk_data_unref(const sk_data_t* cdata) { in sk_data_unref() argument
577 SkSafeUnref(AsData(cdata)); in sk_data_unref()
580 size_t sk_data_get_size(const sk_data_t* cdata) { in sk_data_get_size() argument
581 return AsData(cdata)->size(); in sk_data_get_size()
584 const void* sk_data_get_data(const sk_data_t* cdata) { in sk_data_get_data() argument
585 return AsData(cdata)->data(); in sk_data_get_data()