/external/skia/src/core/ |
D | SkFontStream.h | 11 class SkStream; variable 25 static int CountTTCEntries(SkStream*); 33 static int GetTableTags(SkStream*, int ttcIndex, SkFontTableTag tags[]); 41 static size_t GetTableData(SkStream*, int ttcIndex, SkFontTableTag tag, 44 static size_t GetTableSize(SkStream* stream, int ttcIndex, SkFontTableTag tag) { in GetTableSize()
|
D | SkFontStream.cpp | 40 static bool read(SkStream* stream, void* buffer, size_t amount) { in read() 44 static bool skip(SkStream* stream, size_t amount) { in skip() 55 static int count_tables(SkStream* stream, int ttcIndex, size_t* offsetToDir) { in count_tables() 114 bool init(SkStream* stream, int ttcIndex) { in init() 139 int SkFontStream::CountTTCEntries(SkStream* stream) { in CountTTCEntries() 156 int SkFontStream::GetTableTags(SkStream* stream, int ttcIndex, in GetTableTags() 171 size_t SkFontStream::GetTableData(SkStream* stream, int ttcIndex, in GetTableData()
|
D | SkStreamPriv.h | 14 class SkStream; variable 28 sk_sp<SkData> SkCopyStreamToData(SkStream* stream); 34 bool SkStreamCopy(SkWStream* out, SkStream* input);
|
D | SkFontDescriptor.cpp | 29 static void read_string(SkStream* stream, SkString* string) { in read_string() 38 static void skip_string(SkStream* stream) { in skip_string() 53 static size_t read_uint(SkStream* stream) { in read_uint() 62 bool SkFontDescriptor::Deserialize(SkStream* stream, SkFontDescriptor* result) { in Deserialize()
|
D | SkPictureData.h | 21 class SkStream; variable 81 static SkPictureData* CreateFromStream(SkStream*, 104 bool parseStream(SkStream*, SkImageDeserializer*, SkTypefacePlayback*); 175 bool parseStreamTag(SkStream*, uint32_t tag, uint32_t size,
|
/external/skia/tests/ |
D | FrontBufferedStreamTest.cpp | 16 static void test_read(skiatest::Reporter* reporter, SkStream* bufferedStream, in test_read() 27 SkStream* bufferedStream, bool shouldSucceed) { in test_rewind() 37 const SkStream& bufferedStream, in test_hasLength() 38 const SkStream& streamBeingBuffered) { in test_hasLength() 59 std::unique_ptr<SkStream> bufferedStream(SkFrontBufferedStream::Create(memStream, bufferSize)); in test_incremental_buffering() 86 std::unique_ptr<SkStream> bufferedStream(SkFrontBufferedStream::Create(memStream, bufferSize)); in test_perfectly_sized_buffer() 105 std::unique_ptr<SkStream> bufferedStream(SkFrontBufferedStream::Create(memStream, bufferSize)); in test_skipping() 159 std::unique_ptr<SkStream> bufferedStream(SkFrontBufferedStream::Create(memStream, bufferSize)); in test_read_beyond_buffer() 172 class LengthOptionalStream : public SkStream { 206 std::unique_ptr<SkStream> buffered(SkFrontBufferedStream::Create(stream, bufferSize)); in test_length_combos() [all …]
|
D | CodecExactReadTest.cpp | 20 class UnowningStream : public SkStream { 22 explicit UnowningStream(SkStream* stream) in UnowningStream() 38 SkStream* fStream; // Unowned.
|
D | StreamTest.cpp | 26 static void test_loop_stream(skiatest::Reporter* reporter, SkStream* stream, in test_loop_stream() 196 SkStream* stream, size_t bytesToPeek) { in compare_peek_to_read() 221 static void test_fully_peekable_stream(skiatest::Reporter* r, SkStream* stream, size_t limit) { in test_fully_peekable_stream() 228 const SkStream& original, in test_peeking_front_buffered_stream() 230 SkStream* dupe = original.duplicate(); in test_peeking_front_buffered_stream() 232 std::unique_ptr<SkStream> bufferedStream(SkFrontBufferedStream::Create(dupe, bufferSize)); in test_peeking_front_buffered_stream() 373 class DumbStream : public SkStream { 397 SkStream* stream) { in stream_copy_test()
|
/external/skia/src/utils/mac/ |
D | SkStream_mac.cpp | 25 SkStream* stream = (SkStream*)info; in delete_stream_proc() 35 return ((SkStream*)info)->read(buffer, bytes); in get_bytes_proc() 39 return ((SkStream*)info)->skip((size_t) bytes); in skip_forward_proc() 44 ((SkStream*)info)->rewind(); in rewind_proc() 50 delete (SkStream*)info; in release_info_proc()
|
/external/skia/src/codec/ |
D | SkBmpCodec.h | 31 static SkCodec* NewFromStream(SkStream*); 37 static SkCodec* NewFromIco(SkStream*); 41 SkBmpCodec(int width, int height, const SkEncodedInfo& info, SkStream* stream, 52 static bool ReadHeader(SkStream*, bool inIco, SkCodec** codecOut); 125 static SkCodec* NewFromStream(SkStream*, bool inIco);
|
D | SkJpegCodec.h | 35 static SkCodec* NewFromStream(SkStream*); 67 static SkCodec* NewFromStream(SkStream*, sk_sp<SkColorSpace> defaultColorSpace); 91 static bool ReadHeader(SkStream* stream, SkCodec** codecOut, 103 SkJpegCodec(int width, int height, const SkEncodedInfo& info, SkStream* stream,
|
D | SkWbmpCodec.cpp | 48 static bool read_byte(SkStream* stream, uint8_t* data) in read_byte() 54 static bool read_mbf(SkStream* stream, uint64_t* value) { in read_mbf() 72 static bool read_header(SkStream* stream, SkISize* size) { in read_header() 109 SkWbmpCodec::SkWbmpCodec(int width, int height, const SkEncodedInfo& info, SkStream* stream) in SkWbmpCodec() 163 SkCodec* SkWbmpCodec::NewFromStream(SkStream* stream) { in NewFromStream() 164 std::unique_ptr<SkStream> streamDeleter(stream); in NewFromStream()
|
D | SkWebpCodec.h | 17 class SkStream; variable 28 static SkCodec* NewFromStream(SkStream*); 41 SkWebpCodec(int width, int height, const SkEncodedInfo&, sk_sp<SkColorSpace>, SkStream*,
|
D | SkJpegUtility.h | 33 skjpeg_source_mgr(SkStream* stream); 35 SkStream* fStream; // unowned
|
D | SkPngCodec.h | 19 class SkStream; variable 26 static SkCodec* NewFromStream(SkStream*, SkPngChunkReader* = NULL); 47 SkPngCodec(const SkEncodedInfo&, const SkImageInfo&, SkStream*, SkPngChunkReader*,
|
D | SkRawCodec.h | 17 class SkStream; variable 31 static SkCodec* NewFromStream(SkStream*);
|
D | SkStreamBuffer.h | 28 SkStreamBuffer(SkStream*); 94 std::unique_ptr<SkStream> fStream;
|
/external/skia/include/core/ |
D | SkPicture.h | 27 class SkStream; variable 61 static sk_sp<SkPicture> MakeFromStream(SkStream*, SkImageDeserializer*); 62 static sk_sp<SkPicture> MakeFromStream(SkStream*); 152 static bool InternalOnly_StreamIsSKP(SkStream*, SkPictInfo*); 178 static sk_sp<SkPicture> MakeFromStream(SkStream*, SkImageDeserializer*, SkTypefacePlayback*);
|
D | SkStream.h | 17 class SkStream; variable 40 class SK_API SkStream : public SkNoncopyable { 42 virtual ~SkStream() {} in ~SkStream() 145 class SK_API SkStreamRewindable : public SkStream { 226 bool writeStream(SkStream* input, size_t length);
|
/external/skia/src/utils/ |
D | SkFrontBufferedStream.cpp | 15 FrontBufferedStream(SkStream*, size_t bufferSize); 32 std::unique_ptr<SkStream> fStream; 61 typedef SkStream INHERITED; 64 SkStreamRewindable* SkFrontBufferedStream::Create(SkStream* stream, size_t bufferSize) { in Create() 71 FrontBufferedStream::FrontBufferedStream(SkStream* stream, size_t bufferSize) in FrontBufferedStream()
|
/external/skia/src/utils/win/ |
D | SkIStream.h | 20 class SkStream; variable 85 SkStream *fSkStream; 89 SkIStream(SkStream* stream, bool fDeleteOnRelease); 93 HRESULT static CreateFromSkStream(SkStream* stream
|
/external/skia/samplecode/ |
D | SampleAnimator.cpp | 30 bool decodeStream(SkStream* stream); 55 std::unique_ptr<SkStream> is = SkStream::MakeFromFile(path); in decodeFile() 85 bool SkAnimatorView::decodeStream(SkStream* stream) { in decodeStream()
|
/external/skia/include/utils/ |
D | SkFrontBufferedStream.h | 13 class SkStream; variable 39 static SkStreamRewindable* Create(SkStream* stream, size_t minBufferSize);
|
/external/skia/include/codec/ |
D | SkCodec.h | 84 static SkCodec* NewFromStream(SkStream*, SkPngChunkReader* = NULL); 660 SkStream*, 670 SkStream*, 766 SkStream* stream() { in stream() 811 std::unique_ptr<SkStream> fStream;
|
/external/skia/experimental/svg/model/ |
D | SkSVGDOM.h | 18 class SkStream; variable 27 static sk_sp<SkSVGDOM> MakeFromStream(SkStream&);
|