/external/skia/src/core/ |
D | SkStream.cpp | 234 return new SkMemoryStream(); in duplicate() 238 return new SkMemoryStream(fData); in duplicate() 252 return new SkMemoryStream(fData); in duplicate() 294 SkMemoryStream::SkMemoryStream() { in SkMemoryStream() function in SkMemoryStream 299 SkMemoryStream::SkMemoryStream(size_t size) { in SkMemoryStream() function in SkMemoryStream 304 SkMemoryStream::SkMemoryStream(const void* src, size_t size, bool copyData) { in SkMemoryStream() function in SkMemoryStream 309 SkMemoryStream::SkMemoryStream(SkData* data) { in SkMemoryStream() function in SkMemoryStream 319 SkMemoryStream::~SkMemoryStream() { in ~SkMemoryStream() 323 void SkMemoryStream::setMemoryOwned(const void* src, size_t size) { in setMemoryOwned() 329 void SkMemoryStream::setMemory(const void* src, size_t size, bool copyData) { in setMemory() [all …]
|
D | SkFlate.cpp | 119 SkMemoryStream stream(ptr, len); in Deflate() 125 SkMemoryStream stream(data->data(), data->size()); in Deflate()
|
D | SkFontDescriptor.cpp | 91 fFontData.reset(SkNEW_ARGS(SkMemoryStream, (data))); in SkFontDescriptor()
|
/external/skia/tests/ |
D | FrontBufferedStreamTest.cpp | 57 SkMemoryStream* memStream = SkNEW_ARGS(SkMemoryStream, (gAbcs, strlen(gAbcs), false)); in test_incremental_buffering() 85 SkMemoryStream* memStream = SkNEW_ARGS(SkMemoryStream, (gAbcs, strlen(gAbcs), false)); in test_perfectly_sized_buffer() 104 SkMemoryStream* memStream = SkNEW_ARGS(SkMemoryStream, (gAbcs, strlen(gAbcs), false)); in test_skipping() 128 class AndroidLikeMemoryStream : public SkMemoryStream { 148 typedef SkMemoryStream INHERITED; 212 SkMemoryStream* memStream = SkNEW_ARGS(SkMemoryStream, (gAbcs, strlen(gAbcs), false)); in test_initial_offset()
|
D | FlateTest.cpp | 15 class SkZeroSizeMemStream : public SkMemoryStream { 22 return SkMemoryStream::read(buffer, size); in read() 38 static void TestFlate(skiatest::Reporter* reporter, SkMemoryStream* testStream, in TestFlate() 107 SkMemoryStream memStream; in DEF_TEST()
|
D | KtxTest.cpp | 58 SkAutoTDelete<SkMemoryStream> stream(SkNEW_ARGS(SkMemoryStream, (encodedData))); in DEF_TEST() 110 SkAutoTDelete<SkMemoryStream> stream( in DEF_TEST() 111 SkNEW_ARGS(SkMemoryStream, (kHalfWhiteKTX, sizeof(kHalfWhiteKTX)))); in DEF_TEST()
|
D | StreamTest.cpp | 162 SkMemoryStream rstream(buffer, sizeof(buffer)); in TestPackedUInt() 174 static void TestDereferencingData(SkMemoryStream* memStream) { in TestDereferencingData() 182 SkMemoryStream memStream(nullData); in TestNullData() 256 SkMemoryStream memStream(gAbcs, strlen(gAbcs), false); in DEF_TEST()
|
D | JpegTest.cpp | 459 SkMemoryStream* stream = SkNEW_ARGS(SkMemoryStream, (goodJpegImage, len)); in DEF_TEST()
|
D | PDFPrimitivesTest.cpp | 80 SkAutoTDelete<SkMemoryStream> streamData(new SkMemoryStream( in TestPDFStream()
|
/external/skia/include/core/ |
D | SkStream.h | 287 class SK_API SkMemoryStream : public SkStreamMemory { 289 SK_DECLARE_INST_COUNT(SkMemoryStream) 291 SkMemoryStream(); 294 SkMemoryStream(size_t length); 297 SkMemoryStream(const void* data, size_t length, bool copyData = false); 302 SkMemoryStream(SkData*); 304 virtual ~SkMemoryStream(); 339 SkMemoryStream* duplicate() const override; 344 SkMemoryStream* fork() const override;
|
/external/skia/bench/ |
D | DecodingBench.cpp | 46 SkAutoTDelete<SkStreamRewindable> stream(new SkMemoryStream(fData)); in DecodingBench() 62 SkAutoTDelete<SkStreamRewindable> stream(new SkMemoryStream(fData)); in onPreDraw() 104 stream.reset(new SkMemoryStream(fData)); in onDraw()
|
D | DecodingSubsetBench.h | 34 SkAutoTDelete<SkMemoryStream> fStream;
|
D | DecodingSubsetBench.cpp | 46 fStream.reset(new SkMemoryStream(encoded)); in DecodingSubsetBench()
|
D | SkipZeroesBench.cpp | 108 SkMemoryStream fStream;
|
/external/skia/src/ports/ |
D | SkImageGenerator_skia.cpp | 53 SkMemoryStream stream(fData->data(), fData->size(), false); in onGetPixels() 87 SkMemoryStream stream(fData->data(), fData->size(), false); in onGetYUV8Planes() 100 SkMemoryStream stream(data->data(), data->size(), false); in NewFromData()
|
D | SkFontHost_linux.cpp | 297 return this->createFromStream(new SkMemoryStream(data), ttcIndex); in onCreateFromData() 482 SkAutoTDelete<SkMemoryStream> stream(new SkMemoryStream(data, size, false)); in load_embedded_font()
|
/external/skia/include/utils/ios/ |
D | SkStream_NSData.h | 29 class SkStream_NSData : public SkMemoryStream {
|
/external/skia/experimental/nanomsg/ |
D | picture_demo.cpp | 65 SkMemoryStream stream((uint8_t*)msg + hSize, size - hSize); in recv_picture() 81 SkMemoryStream stream(skp->data(), skp->size()); in client()
|
/external/skia/src/codec/ |
D | SkCodec_libico.cpp | 140 SkAutoTDelete<SkMemoryStream> in NewFromStream() 141 embeddedStream(SkNEW_ARGS(SkMemoryStream, (data.get()))); in NewFromStream()
|
D | SkCodec.cpp | 69 return NewFromStream(SkNEW_ARGS(SkMemoryStream, (data))); in NewFromData()
|
/external/skia/src/pdf/ |
D | SkPDFStream.cpp | 56 fDataStream.reset(SkNEW_ARGS(SkMemoryStream, (data))); in setData()
|
/external/skia/src/images/ |
D | SkMovie.cpp | 88 SkMemoryStream stream(data, length, false); in DecodeMemory()
|
/external/skia/experimental/PdfViewer/pdfparser/native/ |
D | SkPdfNativeObject.cpp | 28 SkMemoryStream skstream(fStr.fBuffer, fStr.fBytes >> 2, false); in applyFlateDecodeFilter()
|
/external/skia/experimental/PdfViewer/ |
D | SkPdfFont.cpp | 183 SkMemoryStream* skStream = new SkMemoryStream(uncompressedStream, uncompressedStreamLength); in fontFromFontDescriptor()
|
/external/skia/samplecode/ |
D | SampleAnimator.cpp | 59 SkMemoryStream is(buffer, size); in decodeMemory()
|