Searched refs:SkMemoryStream (Results 1 – 8 of 8) sorted by relevance
64 SkMemoryStream* stream = new SkMemoryStream(ar.ptr() + offset, length, true); in nativeNewInstanceFromByteArray()84 SkMemoryStream* stream = new SkMemoryStream(data); in nativeNewInstanceFromFileDescriptor()110 SkMemoryStream* stream = CopyAssetToStream(asset); in nativeNewInstanceFromAsset()
103 std::unique_ptr<SkStreamAsset> fontData(new SkMemoryStream(data)); in FontFamily_addFont()168 std::unique_ptr<SkStreamAsset> fontData(new SkMemoryStream(data)); in FontFamily_addFontWeightStyle()215 SkMemoryStream* stream = new SkMemoryStream(data); in FontFamily_addFontFromAsset()
86 SkMemoryStream* android::CopyAssetToStream(Asset* asset) { in CopyAssetToStream()110 return new SkMemoryStream(data); in CopyAssetToStream()
145 static SkMemoryStream* adaptor_to_mem_stream(SkStream* stream) { in adaptor_to_mem_stream()162 SkMemoryStream* streamMem = new SkMemoryStream(); in adaptor_to_mem_stream()
7 class SkMemoryStream; variable
50 SkMemoryStream* CopyAssetToStream(Asset*);
622 std::unique_ptr<SkMemoryStream> stream(new SkMemoryStream(ar.ptr() + offset, length, false)); in nativeDecodeByteArray()632 SkMemoryStream stream(data, size); in decodeBitmap()
165 SkMemoryStream stream(frame.map->getDataPtr(), frame.map->getDataLength()); in initTexture()