Lines Matching refs:sk_data_t
149 static SkData* AsData(const sk_data_t* cdata) {
150 return reinterpret_cast<SkData*>(const_cast<sk_data_t*>(cdata));
153 static sk_data_t* ToData(SkData* data) {
154 return reinterpret_cast<sk_data_t*>(data);
230 sk_image_t* sk_image_new_from_encoded(const sk_data_t* cdata, const sk_irect_t* subset) {
235 sk_data_t* sk_image_encode(const sk_image_t* cimage) {
506 sk_data_t* sk_data_new_with_copy(const void* src, size_t length) {
510 sk_data_t* sk_data_new_from_malloc(const void* memory, size_t length) {
514 sk_data_t* sk_data_new_subset(const sk_data_t* csrc, size_t offset, size_t length) {
518 void sk_data_ref(const sk_data_t* cdata) {
522 void sk_data_unref(const sk_data_t* cdata) {
526 size_t sk_data_get_size(const sk_data_t* cdata) {
530 const void* sk_data_get_data(const sk_data_t* cdata) {