/external/skia/include/core/ |
D | SkStream.h | 20 class SkStreamAsset; variable 47 static std::unique_ptr<SkStreamAsset> MakeFromFile(const char path[]); 164 class SK_API SkStreamAsset : public SkStreamSeekable { 166 SkStreamAsset* duplicate() const override = 0; 167 SkStreamAsset* fork() const override = 0; 174 class SK_API SkStreamMemory : public SkStreamAsset { 252 class SK_API SkFILEStream : public SkStreamAsset { 276 SkStreamAsset* duplicate() const override; 281 SkStreamAsset* fork() const override; 297 typedef SkStreamAsset INHERITED; [all …]
|
D | SkTypeface.h | 26 class SkStreamAsset; variable 144 static sk_sp<SkTypeface> MakeFromStream(SkStreamAsset* stream, int index = 0); 293 SkStreamAsset* openStream(int* ttcIndex) const; 355 virtual SkStreamAsset* onOpenStream(int* ttcIndex) const = 0;
|
D | SkRWBuffer.h | 16 class SkStreamAsset; variable 93 SkStreamAsset* newStreamSnapshot() const;
|
/external/skia/src/ports/ |
D | SkFontMgr_custom.h | 21 class SkStreamAsset; variable 52 SkStreamAsset* onOpenStream(int*) const override; 66 SkStreamAsset* onOpenStream(int* ttcIndex) const override; 82 SkStreamAsset* onOpenStream(int* ttcIndex) const override; 146 SkTypeface* onCreateFromStream(SkStreamAsset* bareStream, int ttcIndex) const override; 147 SkTypeface* onCreateFromStream(SkStreamAsset* s, const SkFontArguments& args) const override;
|
D | SkFontMgr_FontConfigInterface.cpp | 21 SkStreamAsset* SkTypeface_FCI::onOpenStream(int* ttcIndex) const { in onOpenStream() 25 SkStreamAsset* stream = fFontData->getStream(); in onOpenStream() 41 return skstd::make_unique<SkFontData>(std::unique_ptr<SkStreamAsset>(fFCI->openStream(id)), in onMakeFontData() 203 SkTypeface* onCreateFromStream(SkStreamAsset* bareStream, int ttcIndex) const override { in onCreateFromStream() 204 std::unique_ptr<SkStreamAsset> stream(bareStream); in onCreateFromStream() 225 SkTypeface* onCreateFromStream(SkStreamAsset* s, const SkFontArguments& args) const override { in onCreateFromStream() 227 std::unique_ptr<SkStreamAsset> stream(s); in onCreateFromStream() 258 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(path); in onCreateFromFile()
|
D | SkFontMgr_custom.cpp | 51 SkStreamAsset* SkTypeface_Empty::onOpenStream(int*) const { return nullptr; } in onOpenStream() 61 SkStreamAsset* SkTypeface_Stream::onOpenStream(int* ttcIndex) const { in onOpenStream() 77 SkStreamAsset* SkTypeface_File::onOpenStream(int* ttcIndex) const { in onOpenStream() 199 SkTypeface* SkFontMgr_Custom::onCreateFromStream(SkStreamAsset* bareStream, int ttcIndex) const { in onCreateFromStream() 203 SkTypeface* SkFontMgr_Custom::onCreateFromStream(SkStreamAsset* s, in onCreateFromStream() 207 std::unique_ptr<SkStreamAsset> stream(s); in onCreateFromStream() 240 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(path); in onCreateFromFile()
|
D | SkFontMgr_android.cpp | 77 std::unique_ptr<SkStreamAsset> makeStream() const { in makeStream() 92 SkStreamAsset* onOpenStream(int* ttcIndex) const override { in onOpenStream() 129 SkStreamAsset* onOpenStream(int* ttcIndex) const override { in onOpenStream() 160 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(pathName.c_str()); in SkFontStyleSet_Android() 418 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(path); in onCreateFromFile() 422 SkTypeface* onCreateFromStream(SkStreamAsset* bareStream, int ttcIndex) const override { in onCreateFromStream() 423 std::unique_ptr<SkStreamAsset> stream(bareStream); in onCreateFromStream() 434 SkTypeface* onCreateFromStream(SkStreamAsset* s, const SkFontArguments& args) const override { in onCreateFromStream() 436 std::unique_ptr<SkStreamAsset> stream(s); in onCreateFromStream() 457 SkStreamAsset* stream(data->getStream()); in onCreateFromFontData()
|
D | SkFontHost_FreeType_common.h | 59 bool recognizedFont(SkStreamAsset* stream, int* numFonts) const; 60 bool scanFont(SkStreamAsset* stream, int ttcIndex, 70 FT_Face openFace(SkStreamAsset* stream, int ttcIndex, FT_Stream ftStream) const;
|
/external/skia/include/ports/ |
D | SkFontMgr.h | 18 class SkStreamAsset; variable 103 SkTypeface* createFromStream(SkStreamAsset*, int ttcIndex = 0) const; 108 SkTypeface* createFromStream(SkStreamAsset*, const SkFontArguments&) const; 147 virtual SkTypeface* onCreateFromStream(SkStreamAsset*, int ttcIndex) const = 0; 149 virtual SkTypeface* onCreateFromStream(SkStreamAsset*, const SkFontArguments&) const;
|
D | SkRemotableFontMgr.h | 17 class SkStreamAsset; variable 133 virtual SkStreamAsset* getData(int dataId) const = 0;
|
D | SkFontMgr_indirect.h | 22 class SkStreamAsset; variable 53 SkTypeface* onCreateFromStream(SkStreamAsset* stream, int ttcIndex) const override;
|
/external/skia/src/core/ |
D | SkFontDescriptor.h | 19 SkFontData(std::unique_ptr<SkStreamAsset> stream, int index, const SkFixed axis[],int axisCount) in SkFontData() 37 std::unique_ptr<SkStreamAsset> detachStream() { return std::move(fStream); } in detachStream() 38 SkStreamAsset* getStream() { return fStream.get(); } in getStream() 39 SkStreamAsset const* getStream() const { return fStream.get(); } in getStream() 45 std::unique_ptr<SkStreamAsset> fStream;
|
D | SkRWBuffer.cpp | 249 class SkROBufferStreamAsset : public SkStreamAsset { 319 SkStreamAsset* duplicate() const override { return new SkROBufferStreamAsset(fBuffer); } in duplicate() 345 SkStreamAsset* fork() const override { in fork() 346 SkStreamAsset* clone = this->duplicate(); in fork() 359 SkStreamAsset* SkRWBuffer::newStreamSnapshot() const { in newStreamSnapshot()
|
D | SkFontMgr.cpp | 70 SkTypeface* onCreateFromStream(SkStreamAsset* stream, int) const override { in onCreateFromStream() 128 SkTypeface* SkFontMgr::createFromStream(SkStreamAsset* stream, int ttcIndex) const { in createFromStream() 135 SkTypeface* SkFontMgr::createFromStream(SkStreamAsset* stream, const SkFontArguments& args) const { in createFromStream() 150 SkTypeface* SkFontMgr::onCreateFromStream(SkStreamAsset* stream, const SkFontArguments& args) const{ in onCreateFromStream()
|
D | SkTypeface.cpp | 47 SkStreamAsset* onOpenStream(int* ttcIndex) const override { return nullptr; } in onOpenStream() 154 sk_sp<SkTypeface> SkTypeface::MakeFromStream(SkStreamAsset* stream, int index) { in MakeFromStream() 233 SkStreamAsset* SkTypeface::openStream(int* ttcIndex) const { in openStream() 249 std::unique_ptr<SkStreamAsset> stream(this->onOpenStream(&index)); in onMakeFontData()
|
/external/skia/tests/ |
D | StreamTest.cpp | 66 std::unique_ptr<SkStreamAsset> stream2(stream.duplicate()); in test_filestreams() 76 std::unique_ptr<SkStreamAsset> stream2(stream.duplicate()); in test_filestreams() 99 std::unique_ptr<SkStreamAsset> stream(ds.detachAsStream()); in TestWStream() 104 std::unique_ptr<SkStreamAsset> stream2(stream->duplicate()); in TestWStream() 107 std::unique_ptr<SkStreamAsset> stream3(stream->fork()); in TestWStream() 123 std::unique_ptr<SkStreamAsset> stream(ds.detachAsStream()); in TestWStream() 127 std::unique_ptr<SkStreamAsset> stream2(stream->duplicate()); in TestWStream() 157 std::unique_ptr<SkStreamAsset> rstream(wstream.detachAsStream()); in TestPackedUInt() 309 SkStreamAsset* asset, in stream_peek_test() 359 std::unique_ptr<SkStreamAsset> asset(dynamicMemoryWStream.detachAsStream()); in DEF_TEST() [all …]
|
D | PDFDeflateWStreamTest.cpp | 31 std::unique_ptr<SkStreamAsset> stream_inflate(skiatest::Reporter* reporter, SkStream* src) { in stream_inflate() 131 std::unique_ptr<SkStreamAsset> compressed(dynamicMemoryWStream.detachAsStream()); in DEF_TEST() 132 std::unique_ptr<SkStreamAsset> decompressed(stream_inflate(r, compressed.get())); in DEF_TEST()
|
D | TypefaceTest.cpp | 77 std::unique_ptr<SkStreamAsset> stream(GetResourceAsStream("/fonts/Em.ttf")); in DEF_TEST() 94 std::unique_ptr<SkStreamAsset> distortable(GetResourceAsStream("/fonts/Distortable.ttf")); in DEF_TEST() 128 std::unique_ptr<SkStreamAsset> distortable(GetResourceAsStream("/fonts/Distortable.ttf")); in DEF_TEST() 189 SkStreamAsset* onOpenStream(int* ttcIndex) const override { return nullptr; } in onOpenStream()
|
/external/skia/src/pdf/ |
D | SkPDFTypes.h | 20 class SkStreamAsset; variable 300 SkPDFSharedStream(std::unique_ptr<SkStreamAsset> data); 309 std::unique_ptr<SkStreamAsset> fAsset; 329 explicit SkPDFStream(std::unique_ptr<SkStreamAsset> stream); 346 void setData(std::unique_ptr<SkStreamAsset> stream); 349 std::unique_ptr<SkStreamAsset> fCompressedData;
|
D | SkPDFTypes.cpp | 440 SkPDFSharedStream::SkPDFSharedStream(std::unique_ptr<SkStreamAsset> data) in SkPDFSharedStream() 457 std::unique_ptr<SkStreamAsset> dup(fAsset->duplicate()); in emitObject() 478 std::unique_ptr<SkStreamAsset> dup(fAsset->duplicate()); // Cheap copy in emitObject() 513 SkPDFStream::SkPDFStream(std::unique_ptr<SkStreamAsset> stream) { in SkPDFStream() 536 std::unique_ptr<SkStreamAsset> dup(fCompressedData->duplicate()); in emitObject() 544 void SkPDFStream::setData(std::unique_ptr<SkStreamAsset> stream) { in setData()
|
/external/skia/src/utils/win/ |
D | SkDWriteFontFileStream.h | 68 static HRESULT Create(SkStreamAsset* stream, 72 explicit SkDWriteFontFileStreamWrapper(SkStreamAsset* stream); 76 std::unique_ptr<SkStreamAsset> fStream;
|
/external/skia/tools/ |
D | Resources.h | 17 class SkStreamAsset; variable 25 SkStreamAsset* GetResourceAsStream(const char* resource);
|
D | SkShaper_harfbuzz.cpp | 22 std::unique_ptr<hb_blob_t, HBFBlobDel> stream_to_blob(std::unique_ptr<SkStreamAsset> asset) { in stream_to_blob() 28 [](void* p) { delete (SkStreamAsset*)p; })); in stream_to_blob() 58 stream_to_blob(std::unique_ptr<SkStreamAsset>( in SkShaper()
|
D | Resources.cpp | 50 SkStreamAsset* GetResourceAsStream(const char* resource) { in GetResourceAsStream() 66 std::unique_ptr<SkStreamAsset> stream(GetResourceAsStream(resource)); in MakeResourceAsTypeface()
|
/external/skia/src/fonts/ |
D | SkFontMgr_indirect.cpp | 112 std::unique_ptr<SkStreamAsset> stream(dataTypeface->openStream(nullptr)); in createTypefaceFromFontId() 119 std::unique_ptr<SkStreamAsset> stream(fProxy->getData(id.fDataId)); in createTypefaceFromFontId() 161 SkTypeface* SkFontMgr_Indirect::onCreateFromStream(SkStreamAsset* stream, int ttcIndex) const { in onCreateFromStream()
|