Home
last modified time | relevance | path

Searched refs:SkMemoryStream (Results 1 – 25 of 43) sorted by relevance

12

/external/skia/src/core/
DSkStream.cpp234 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 …]
DSkFlate.cpp119 SkMemoryStream stream(ptr, len); in Deflate()
125 SkMemoryStream stream(data->data(), data->size()); in Deflate()
DSkFontDescriptor.cpp91 fFontData.reset(SkNEW_ARGS(SkMemoryStream, (data))); in SkFontDescriptor()
/external/skia/tests/
DFrontBufferedStreamTest.cpp57 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()
DFlateTest.cpp15 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()
DKtxTest.cpp58 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()
DStreamTest.cpp162 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()
DJpegTest.cpp459 SkMemoryStream* stream = SkNEW_ARGS(SkMemoryStream, (goodJpegImage, len)); in DEF_TEST()
DPDFPrimitivesTest.cpp80 SkAutoTDelete<SkMemoryStream> streamData(new SkMemoryStream( in TestPDFStream()
/external/skia/include/core/
DSkStream.h287 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/
DDecodingBench.cpp46 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()
DDecodingSubsetBench.h34 SkAutoTDelete<SkMemoryStream> fStream;
DDecodingSubsetBench.cpp46 fStream.reset(new SkMemoryStream(encoded)); in DecodingSubsetBench()
DSkipZeroesBench.cpp108 SkMemoryStream fStream;
/external/skia/src/ports/
DSkImageGenerator_skia.cpp53 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()
DSkFontHost_linux.cpp297 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/
DSkStream_NSData.h29 class SkStream_NSData : public SkMemoryStream {
/external/skia/experimental/nanomsg/
Dpicture_demo.cpp65 SkMemoryStream stream((uint8_t*)msg + hSize, size - hSize); in recv_picture()
81 SkMemoryStream stream(skp->data(), skp->size()); in client()
/external/skia/src/codec/
DSkCodec_libico.cpp140 SkAutoTDelete<SkMemoryStream> in NewFromStream()
141 embeddedStream(SkNEW_ARGS(SkMemoryStream, (data.get()))); in NewFromStream()
DSkCodec.cpp69 return NewFromStream(SkNEW_ARGS(SkMemoryStream, (data))); in NewFromData()
/external/skia/src/pdf/
DSkPDFStream.cpp56 fDataStream.reset(SkNEW_ARGS(SkMemoryStream, (data))); in setData()
/external/skia/src/images/
DSkMovie.cpp88 SkMemoryStream stream(data, length, false); in DecodeMemory()
/external/skia/experimental/PdfViewer/pdfparser/native/
DSkPdfNativeObject.cpp28 SkMemoryStream skstream(fStr.fBuffer, fStr.fBytes >> 2, false); in applyFlateDecodeFilter()
/external/skia/experimental/PdfViewer/
DSkPdfFont.cpp183 SkMemoryStream* skStream = new SkMemoryStream(uncompressedStream, uncompressedStreamLength); in fontFromFontDescriptor()
/external/skia/samplecode/
DSampleAnimator.cpp59 SkMemoryStream is(buffer, size); in decodeMemory()

12