Searched refs:NewFromMalloc (Results 1 – 9 of 9) sorted by relevance
115 static SkData* NewFromMalloc(const void* data, size_t length);
64 SkAutoTUnref<SkData> skdata(SkData::NewFromMalloc(data, size)); in onPreDraw()
112 return SkData::NewFromMalloc(expandedETC1, dataSz); in loadPKM()
35 return SkData::NewFromMalloc(testBuffer.detach(), dataSize); in new_test_data()
91 SkData* SkData::NewFromMalloc(const void* data, size_t length) { in NewFromMalloc() function in SkData
158 return SkData::NewFromMalloc(buffer, len); in readByteArrayAsData()
325 fData = SkData::NewFromMalloc(src, size); in setMemoryOwned()
565 return ToData(SkData::NewFromMalloc(memory, length)); in sk_data_new_from_malloc()
271 return SkData::NewFromMalloc(buffer.detach(), length); in handle_type1_stream()