/external/skia/src/core/ |
D | SkStream.cpp | 266 SkMemoryStream::SkMemoryStream() { in SkMemoryStream() function in SkMemoryStream 271 SkMemoryStream::SkMemoryStream(size_t size) { in SkMemoryStream() function in SkMemoryStream 276 SkMemoryStream::SkMemoryStream(const void* src, size_t size, bool copyData) { in SkMemoryStream() function in SkMemoryStream 281 SkMemoryStream::SkMemoryStream(sk_sp<SkData> data) : fData(std::move(data)) { in SkMemoryStream() function in SkMemoryStream 288 std::unique_ptr<SkMemoryStream> SkMemoryStream::MakeCopy(const void* data, size_t length) { in MakeCopy() 289 return skstd::make_unique<SkMemoryStream>(data, length, true); in MakeCopy() 292 std::unique_ptr<SkMemoryStream> SkMemoryStream::MakeDirect(const void* data, size_t length) { in MakeDirect() 293 return skstd::make_unique<SkMemoryStream>(data, length, false); in MakeDirect() 296 std::unique_ptr<SkMemoryStream> SkMemoryStream::Make(sk_sp<SkData> data) { in Make() 297 return skstd::make_unique<SkMemoryStream>(std::move(data)); in Make() [all …]
|
/external/skqp/src/core/ |
D | SkStream.cpp | 266 SkMemoryStream::SkMemoryStream() { in SkMemoryStream() function in SkMemoryStream 271 SkMemoryStream::SkMemoryStream(size_t size) { in SkMemoryStream() function in SkMemoryStream 276 SkMemoryStream::SkMemoryStream(const void* src, size_t size, bool copyData) { in SkMemoryStream() function in SkMemoryStream 281 SkMemoryStream::SkMemoryStream(sk_sp<SkData> data) : fData(std::move(data)) { in SkMemoryStream() function in SkMemoryStream 288 std::unique_ptr<SkMemoryStream> SkMemoryStream::MakeCopy(const void* data, size_t length) { in MakeCopy() 289 return skstd::make_unique<SkMemoryStream>(data, length, true); in MakeCopy() 292 std::unique_ptr<SkMemoryStream> SkMemoryStream::MakeDirect(const void* data, size_t length) { in MakeDirect() 293 return skstd::make_unique<SkMemoryStream>(data, length, false); in MakeDirect() 296 std::unique_ptr<SkMemoryStream> SkMemoryStream::Make(sk_sp<SkData> data) { in Make() 297 return skstd::make_unique<SkMemoryStream>(std::move(data)); in Make() [all …]
|
/external/skqp/include/core/ |
D | SkStream.h | 363 class SK_API SkMemoryStream : public SkStreamMemory { 365 SkMemoryStream(); 368 SkMemoryStream(size_t length); 371 SkMemoryStream(const void* data, size_t length, bool copyData = false); 374 SkMemoryStream(sk_sp<SkData> data); 377 static std::unique_ptr<SkMemoryStream> MakeCopy(const void* data, size_t length); 380 static std::unique_ptr<SkMemoryStream> MakeDirect(const void* data, size_t length); 383 static std::unique_ptr<SkMemoryStream> Make(sk_sp<SkData> data); 410 std::unique_ptr<SkMemoryStream> duplicate() const { in duplicate() 411 return std::unique_ptr<SkMemoryStream>(this->onDuplicate()); in duplicate() [all …]
|
/external/skia/include/core/ |
D | SkStream.h | 363 class SK_API SkMemoryStream : public SkStreamMemory { 365 SkMemoryStream(); 368 SkMemoryStream(size_t length); 371 SkMemoryStream(const void* data, size_t length, bool copyData = false); 374 SkMemoryStream(sk_sp<SkData> data); 377 static std::unique_ptr<SkMemoryStream> MakeCopy(const void* data, size_t length); 380 static std::unique_ptr<SkMemoryStream> MakeDirect(const void* data, size_t length); 383 static std::unique_ptr<SkMemoryStream> Make(sk_sp<SkData> data); 410 std::unique_ptr<SkMemoryStream> duplicate() const { in duplicate() 411 return std::unique_ptr<SkMemoryStream>(this->onDuplicate()); in duplicate() [all …]
|
/external/skqp/docs/ |
D | SkMemoryStream_Reference.bmh | 4 #Class SkMemoryStream 12 #Method SkMemoryStream() 28 #Method SkMemoryStream(size_t length) 49 #Method SkMemoryStream(const void* data, size_t length, bool copyData = false) 71 #Method SkMemoryStream(sk_sp<SkData> data) 91 #Method static std::unique_ptr<SkMemoryStream> MakeCopy(const void* data, size_t length) 112 #Method static std::unique_ptr<SkMemoryStream> MakeDirect(const void* data, size_t length) 133 #Method static std::unique_ptr<SkMemoryStream> Make(sk_sp<SkData> data) 308 #Method std::unique_ptr<SkMemoryStream> duplicate() const 376 #Method std::unique_ptr<SkMemoryStream> fork() const [all …]
|
/external/skia/docs/ |
D | SkMemoryStream_Reference.bmh | 4 #Class SkMemoryStream 12 #Method SkMemoryStream() 28 #Method SkMemoryStream(size_t length) 49 #Method SkMemoryStream(const void* data, size_t length, bool copyData = false) 71 #Method SkMemoryStream(sk_sp<SkData> data) 91 #Method static std::unique_ptr<SkMemoryStream> MakeCopy(const void* data, size_t length) 112 #Method static std::unique_ptr<SkMemoryStream> MakeDirect(const void* data, size_t length) 133 #Method static std::unique_ptr<SkMemoryStream> Make(sk_sp<SkData> data) 308 #Method std::unique_ptr<SkMemoryStream> duplicate() const 376 #Method std::unique_ptr<SkMemoryStream> fork() const [all …]
|
/external/skia/tests/ |
D | FrontBufferedStreamTest.cpp | 57 SkMemoryStream* memStream = SkMemoryStream::MakeDirect(gAbcs, strlen(gAbcs)).release(); in test_incremental_buffering() 86 SkMemoryStream* memStream = SkMemoryStream::MakeDirect(gAbcs, strlen(gAbcs)).release(); in test_perfectly_sized_buffer() 106 SkMemoryStream* memStream = SkMemoryStream::MakeDirect(gAbcs, strlen(gAbcs)).release(); in test_skipping() 131 class AndroidLikeMemoryStream : public SkMemoryStream { 151 typedef SkMemoryStream INHERITED; 219 SkMemoryStream* memStream = new SkMemoryStream(gAbcs, strlen(gAbcs), false); in test_initial_offset()
|
D | FakeStreams.h | 40 SkMemoryStream fStream; 84 SkMemoryStream fStream;
|
D | CodecExactReadTest.cpp | 75 SkMemoryStream stream(std::move(multiData)); in DEF_TEST()
|
/external/skqp/tests/ |
D | FrontBufferedStreamTest.cpp | 57 SkMemoryStream* memStream = SkMemoryStream::MakeDirect(gAbcs, strlen(gAbcs)).release(); in test_incremental_buffering() 86 SkMemoryStream* memStream = SkMemoryStream::MakeDirect(gAbcs, strlen(gAbcs)).release(); in test_perfectly_sized_buffer() 106 SkMemoryStream* memStream = SkMemoryStream::MakeDirect(gAbcs, strlen(gAbcs)).release(); in test_skipping() 131 class AndroidLikeMemoryStream : public SkMemoryStream { 151 typedef SkMemoryStream INHERITED; 219 SkMemoryStream* memStream = new SkMemoryStream(gAbcs, strlen(gAbcs), false); in test_initial_offset()
|
D | FakeStreams.h | 40 SkMemoryStream fStream; 84 SkMemoryStream fStream;
|
D | CodecExactReadTest.cpp | 75 SkMemoryStream stream(std::move(multiData)); in DEF_TEST()
|
D | StreamTest.cpp | 175 static void TestDereferencingData(SkMemoryStream* memStream) { in TestDereferencingData() 182 SkMemoryStream memStream(nullptr); in TestNullData() 293 SkMemoryStream memStream(gAbcs, strlen(gAbcs), false); in DEF_TEST() 469 SkMemoryStream smartStream(src.get(), (size_t)N); in DEF_TEST()
|
/external/skia/modules/skottie/src/ |
D | SkottieTest.cpp | 26 SkMemoryStream stream(json, strlen(json)); in DEF_TEST() 115 SkMemoryStream stream(json, strlen(json)); in DEF_TEST() 203 SkMemoryStream stream(json, strlen(json)); in DEF_TEST()
|
/external/skqp/modules/skottie/src/ |
D | SkottieTest.cpp | 26 SkMemoryStream stream(json, strlen(json)); in DEF_TEST() 115 SkMemoryStream stream(json, strlen(json)); in DEF_TEST() 203 SkMemoryStream stream(json, strlen(json)); in DEF_TEST()
|
/external/skqp/platform_tools/android/apps/skottie/src/main/cpp/ |
D | JavaInputStreamAdaptor.cpp | 213 static SkMemoryStream* adaptor_to_mem_stream(SkStream* stream) { in adaptor_to_mem_stream() 230 SkMemoryStream* streamMem = new SkMemoryStream(); in adaptor_to_mem_stream()
|
/external/skia/platform_tools/android/apps/skottie/src/main/cpp/ |
D | JavaInputStreamAdaptor.cpp | 213 static SkMemoryStream* adaptor_to_mem_stream(SkStream* stream) { in adaptor_to_mem_stream() 230 SkMemoryStream* streamMem = new SkMemoryStream(); in adaptor_to_mem_stream()
|
/external/skqp/src/codec/ |
D | SkRawCodec.cpp | 189 virtual std::unique_ptr<SkMemoryStream> transferBuffer(size_t offset, size_t size) = 0; 248 std::unique_ptr<SkMemoryStream> transferBuffer(size_t offset, size_t size) override { in transferBuffer() 280 return SkMemoryStream::Make(data); in transferBuffer() 352 std::unique_ptr<SkMemoryStream> transferBuffer(size_t offset, size_t size) override { in transferBuffer() 373 return SkMemoryStream::Make(data); in transferBuffer() 383 return SkMemoryStream::Make(data); in transferBuffer()
|
/external/skia/src/codec/ |
D | SkRawCodec.cpp | 189 virtual std::unique_ptr<SkMemoryStream> transferBuffer(size_t offset, size_t size) = 0; 248 std::unique_ptr<SkMemoryStream> transferBuffer(size_t offset, size_t size) override { in transferBuffer() 280 return SkMemoryStream::Make(data); in transferBuffer() 352 std::unique_ptr<SkMemoryStream> transferBuffer(size_t offset, size_t size) override { in transferBuffer() 373 return SkMemoryStream::Make(data); in transferBuffer() 383 return SkMemoryStream::Make(data); in transferBuffer()
|
/external/skqp/modules/skottie/fuzz/ |
D | FuzzSkottieJSON.cpp | 15 SkMemoryStream stream(bytes); in FuzzSkottieJSON()
|
/external/skia/modules/skottie/fuzz/ |
D | FuzzSkottieJSON.cpp | 15 SkMemoryStream stream(bytes); in FuzzSkottieJSON()
|
/external/skqp/src/android/ |
D | SkBitmapRegionDecoder.cpp | 16 return SkBitmapRegionDecoder::Create(new SkMemoryStream(data), in Create()
|
/external/skia/src/android/ |
D | SkBitmapRegionDecoder.cpp | 16 return SkBitmapRegionDecoder::Create(new SkMemoryStream(data), in Create()
|
/external/skqp/tools/ |
D | Resources.cpp | 40 return data ? std::unique_ptr<SkStreamAsset>(new SkMemoryStream(std::move(data))) in GetResourceAsStream()
|
/external/skia/tools/ |
D | Resources.cpp | 40 return data ? std::unique_ptr<SkStreamAsset>(new SkMemoryStream(std::move(data))) in GetResourceAsStream()
|