/frameworks/base/core/jni/android/graphics/ |
CreateJavaOutputStreamAdaptor.h | 7 class SkMemoryStream;
|
Utils.h | 50 SkMemoryStream* CopyAssetToStream(Asset*);
|
Utils.cpp | 86 SkMemoryStream* android::CopyAssetToStream(Asset* asset) { 110 return new SkMemoryStream(data);
|
BitmapRegionDecoder.cpp | 64 SkMemoryStream* stream = new SkMemoryStream(ar.ptr() + offset, length, true); 84 SkMemoryStream* stream = new SkMemoryStream(data); 110 SkMemoryStream* stream = CopyAssetToStream(asset);
|
FontFamily.cpp | 103 std::unique_ptr<SkStreamAsset> fontData(new SkMemoryStream(data)); 168 std::unique_ptr<SkStreamAsset> fontData(new SkMemoryStream(data)); 215 SkMemoryStream* stream = new SkMemoryStream(data);
|
CreateJavaOutputStreamAdaptor.cpp | 145 static SkMemoryStream* adaptor_to_mem_stream(SkStream* stream) { 162 SkMemoryStream* streamMem = new SkMemoryStream();
|
BitmapFactory.cpp | 622 std::unique_ptr<SkMemoryStream> stream(new SkMemoryStream(ar.ptr() + offset, length, false)); 632 SkMemoryStream stream(data, size);
|
/external/skia/src/ports/ |
SkFontConfigInterface_direct_google3.cpp | 32 if (length >= 0) return new SkMemoryStream(buffer, length);
|
SkFontMgr_custom.cpp | 286 return this->createFromStream(new SkMemoryStream(data), ttcIndex); 473 SkAutoTDelete<SkMemoryStream> stream(new SkMemoryStream(data, size, false));
|
/external/skia/tests/ |
FrontBufferedStreamTest.cpp | 57 SkMemoryStream* memStream = new SkMemoryStream(gAbcs, strlen(gAbcs), false); 85 SkMemoryStream* memStream = new SkMemoryStream(gAbcs, strlen(gAbcs), false); 104 SkMemoryStream* memStream = new SkMemoryStream(gAbcs, strlen(gAbcs), false); 128 class AndroidLikeMemoryStream : public SkMemoryStream { 148 typedef SkMemoryStream INHERITED; 214 SkMemoryStream* memStream = new SkMemoryStream(gAbcs, strlen(gAbcs), false) [all...] |
StreamTest.cpp | 163 SkMemoryStream rstream(buffer, sizeof(buffer)); 172 // Test that setting an SkMemoryStream to a nullptr data does not result in a crash when calling 174 static void TestDereferencingData(SkMemoryStream* memStream) { 182 SkMemoryStream memStream(nullData); 293 SkMemoryStream memStream(gAbcs, strlen(gAbcs), false); 428 SkMemoryStream smartStream(src.get(), (size_t)N);
|
CodexTest.cpp | 328 SkStream* bufferedStream = SkFrontBufferedStream::Create(new SkMemoryStream(fullData), 500 SkCodec* codec = SkCodec::NewFromStream(new SkMemoryStream(stream, len, false)); 504 SkAndroidCodec::NewFromStream(new SkMemoryStream(stream, len, false)); 843 SkMemoryStream fStream; 873 SkMemoryStream fStream; [all...] |
/external/skia/src/core/ |
SkStream.cpp | 234 return new SkMemoryStream(); 238 return new SkMemoryStream(fData); 252 return new SkMemoryStream(fData); 294 SkMemoryStream::SkMemoryStream() { 299 SkMemoryStream::SkMemoryStream(size_t size) { 304 SkMemoryStream::SkMemoryStream(const void* src, size_t size, bool copyData) { 309 SkMemoryStream::SkMemoryStream(SkData* data) [all...] |
SkFontDescriptor.cpp | 101 result->fFontData.reset(new SkFontData(new SkMemoryStream(data),
|
/external/skia/src/pdf/ |
SkPDFStream.h | 56 SkMemoryStream memoryStream(data);
|
/external/skia/include/core/ |
SkStream.h | 282 class SK_API SkMemoryStream : public SkStreamMemory { 284 SkMemoryStream(); 287 SkMemoryStream(size_t length); 290 SkMemoryStream(const void* data, size_t length, bool copyData = false); 295 SkMemoryStream(SkData*); 297 virtual ~SkMemoryStream(); 332 SkMemoryStream* duplicate() const override; 337 SkMemoryStream* fork() const override;
|
/external/skia/src/android/ |
SkBitmapRegionDecoder.cpp | 18 return SkBitmapRegionDecoder::Create(new SkMemoryStream(data),
|
/external/skia/src/images/ |
SkMovie.cpp | 88 SkMemoryStream stream(data, length, false);
|
SkImageDecoder.cpp | 171 SkMemoryStream stream(buffer, size);
|
/external/skia/bench/ |
SkipZeroesBench.cpp | 108 SkMemoryStream fStream;
|
/external/skia/experimental/nanomsg/ |
picture_demo.cpp | 65 SkMemoryStream stream((uint8_t*)msg + hSize, size - hSize); 81 SkMemoryStream stream(skp->data(), skp->size());
|
/external/skia/src/codec/ |
SkIcoCodec.cpp | 137 SkAutoTDelete<SkMemoryStream> embeddedStream(new SkMemoryStream(data.get()));
|
SkRawCodec.cpp | 195 * Creates an SkMemoryStream from the offset with size. 199 virtual SkMemoryStream* transferBuffer(size_t offset, size_t size) = 0; 259 SkMemoryStream* transferBuffer(size_t offset, size_t size) override { 291 return new SkMemoryStream(data); 302 // TODO: optimize for the special case when the input is SkMemoryStream. 364 SkMemoryStream* transferBuffer(size_t offset, size_t size) override { 385 return new SkMemoryStream(data); 395 return new SkMemoryStream(data); 648 SkMemoryStream* memoryStream =
|
SkAndroidCodec.cpp | 63 return NewFromStream(new SkMemoryStream(data), chunkReader);
|
/external/skia/samplecode/ |
SampleAnimator.cpp | 59 SkMemoryStream is(buffer, size);
|