/external/skia/src/core/ |
D | SkFontDescriptor.h | 21 SkFontData(std::unique_ptr<SkStreamAsset> stream, int index, const SkFixed* axis, int axisCount) in SkFontData() 28 SkFontData(std::unique_ptr<SkStreamAsset> stream, SkFontArguments args) in SkFontData() 48 std::unique_ptr<SkStreamAsset> detachStream() { return std::move(fStream); } in detachStream() 49 SkStreamAsset* getStream() { return fStream.get(); } in getStream() 50 SkStreamAsset const* getStream() const { return fStream.get(); } in getStream() 56 std::unique_ptr<SkStreamAsset> fStream; 82 std::unique_ptr<SkStreamAsset> dupStream() const { return fStream->duplicate(); } in dupStream() 89 std::unique_ptr<SkStreamAsset> detachStream() { return std::move(fStream); } in detachStream() 90 void setStream(std::unique_ptr<SkStreamAsset> stream) { fStream = std::move(stream); } in setStream() 105 std::unique_ptr<SkStreamAsset> fStream;
|
/external/skqp/include/core/ |
D | SkStream.h | 21 class SkStreamAsset; variable 49 static std::unique_ptr<SkStreamAsset> MakeFromFile(const char path[]); 195 class SK_API SkStreamAsset : public SkStreamSeekable { 200 std::unique_ptr<SkStreamAsset> duplicate() const { in duplicate() 201 return std::unique_ptr<SkStreamAsset>(this->onDuplicate()); in duplicate() 203 std::unique_ptr<SkStreamAsset> fork() const { in fork() 204 return std::unique_ptr<SkStreamAsset>(this->onFork()); in fork() 207 SkStreamAsset* onDuplicate() const override = 0; 208 SkStreamAsset* onFork() const override = 0; 212 class SK_API SkStreamMemory : public SkStreamAsset { [all …]
|
D | SkFontMgr.h | 18 class SkStreamAsset; variable 104 sk_sp<SkTypeface> makeFromStream(std::unique_ptr<SkStreamAsset>, int ttcIndex = 0) const; 107 sk_sp<SkTypeface> makeFromStream(std::unique_ptr<SkStreamAsset>, const SkFontArguments&) const; 146 virtual sk_sp<SkTypeface> onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset>, 148 virtual sk_sp<SkTypeface> onMakeFromStreamArgs(std::unique_ptr<SkStreamAsset>,
|
/external/skia/include/core/ |
D | SkStream.h | 21 class SkStreamAsset; variable 49 static std::unique_ptr<SkStreamAsset> MakeFromFile(const char path[]); 195 class SK_API SkStreamAsset : public SkStreamSeekable { 200 std::unique_ptr<SkStreamAsset> duplicate() const { in duplicate() 201 return std::unique_ptr<SkStreamAsset>(this->onDuplicate()); in duplicate() 203 std::unique_ptr<SkStreamAsset> fork() const { in fork() 204 return std::unique_ptr<SkStreamAsset>(this->onFork()); in fork() 207 SkStreamAsset* onDuplicate() const override = 0; 208 SkStreamAsset* onFork() const override = 0; 212 class SK_API SkStreamMemory : public SkStreamAsset { [all …]
|
D | SkFontMgr.h | 18 class SkStreamAsset; variable 102 sk_sp<SkTypeface> makeFromStream(std::unique_ptr<SkStreamAsset>, int ttcIndex = 0) const; 105 sk_sp<SkTypeface> makeFromStream(std::unique_ptr<SkStreamAsset>, const SkFontArguments&) const; 142 virtual sk_sp<SkTypeface> onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset>, 144 virtual sk_sp<SkTypeface> onMakeFromStreamArgs(std::unique_ptr<SkStreamAsset>,
|
/external/skqp/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 | SkFontMgr.cpp | 69 sk_sp<SkTypeface> onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset>, int) const override { in onMakeFromStreamIndex() argument 72 sk_sp<SkTypeface> onMakeFromStreamArgs(std::unique_ptr<SkStreamAsset>, in onMakeFromStreamArgs() argument 133 sk_sp<SkTypeface> SkFontMgr::makeFromStream(std::unique_ptr<SkStreamAsset> stream, in makeFromStream() 141 sk_sp<SkTypeface> SkFontMgr::makeFromStream(std::unique_ptr<SkStreamAsset> stream, in makeFromStream() 167 sk_sp<SkTypeface> SkFontMgr::onMakeFromStreamArgs(std::unique_ptr<SkStreamAsset> stream, in onMakeFromStreamArgs()
|
/external/skia/src/ports/ |
D | SkFontMgr_custom.h | 21 class SkStreamAsset; variable 52 std::unique_ptr<SkStreamAsset> onOpenStream(int*) const override; 68 std::unique_ptr<SkStreamAsset> onOpenStream(int* ttcIndex) const override; 85 std::unique_ptr<SkStreamAsset> onOpenStream(int* ttcIndex) const override; 149 …sk_sp<SkTypeface> onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset>, int ttcIndex) const overri… 150 …sk_sp<SkTypeface> onMakeFromStreamArgs(std::unique_ptr<SkStreamAsset>, const SkFontArguments&) con…
|
D | SkFontMgr_custom.cpp | 50 std::unique_ptr<SkStreamAsset> SkTypeface_Empty::onOpenStream(int*) const { return nullptr; } in onOpenStream() 65 std::unique_ptr<SkStreamAsset> SkTypeface_Stream::onOpenStream(int* ttcIndex) const { in onOpenStream() 96 std::unique_ptr<SkStreamAsset> SkTypeface_File::onOpenStream(int* ttcIndex) const { in onOpenStream() 119 std::unique_ptr<SkStreamAsset> stream(this->onOpenStream(&index)); in onMakeFontData() 230 sk_sp<SkTypeface> SkFontMgr_Custom::onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset> stream, in onMakeFromStreamIndex() 235 sk_sp<SkTypeface> SkFontMgr_Custom::onMakeFromStreamArgs(std::unique_ptr<SkStreamAsset> stream, in onMakeFromStreamArgs() 269 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(path); in onMakeFromFile()
|
D | SkFontMgr_FontConfigInterface.cpp | 21 std::unique_ptr<SkStreamAsset> SkTypeface_FCI::onOpenStream(int* ttcIndex) const { in onOpenStream() 25 SkStreamAsset* stream = fFontData->getStream(); in onOpenStream() 32 return std::unique_ptr<SkStreamAsset>(fFCI->openStream(this->getIdentity())); in onOpenStream() 41 return std::make_unique<SkFontData>(std::unique_ptr<SkStreamAsset>(fFCI->openStream(id)), in onMakeFontData() 223 sk_sp<SkTypeface> onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset> stream, in onMakeFromStreamIndex() 246 sk_sp<SkTypeface> onMakeFromStreamArgs(std::unique_ptr<SkStreamAsset> stream, in onMakeFromStreamArgs() 280 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(path); in onMakeFromFile() 285 SkStreamAsset* stream(fontData->getStream()); in onMakeFromFontData()
|
D | SkTypeface_mac_ct.h | 73 OpszVariation opszVariation, std::unique_ptr<SkStreamAsset> providedData) in SkTypeface_Mac() 88 std::unique_ptr<SkStreamAsset> providedData); 96 std::unique_ptr<SkStreamAsset> onOpenStream(int* ttcIndex) const override; 121 mutable std::unique_ptr<SkStreamAsset> fStream;
|
D | SkFontMgr_android.cpp | 77 std::unique_ptr<SkStreamAsset> makeStream() const { in makeStream() 92 std::unique_ptr<SkStreamAsset> onOpenStream(int* ttcIndex) const override { in onOpenStream() 144 std::unique_ptr<SkStreamAsset> onOpenStream(int* ttcIndex) const override { in onOpenStream() 188 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(pathName.c_str()); in SkFontStyleSet_Android() 434 … return this->makeFromStream(std::unique_ptr<SkStreamAsset>(new SkMemoryStream(std::move(data))), in onMakeFromData() 439 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(path); in onMakeFromFile() 443 sk_sp<SkTypeface> onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset> stream, in onMakeFromStreamIndex() 456 sk_sp<SkTypeface> onMakeFromStreamArgs(std::unique_ptr<SkStreamAsset> stream, in onMakeFromStreamArgs() 480 SkStreamAsset* stream(data->getStream()); in onMakeFromFontData()
|
/external/skqp/src/ports/ |
D | SkFontMgr_custom.h | 21 class SkStreamAsset; variable 52 SkStreamAsset* onOpenStream(int*) const override; 67 SkStreamAsset* onOpenStream(int* ttcIndex) const override; 84 SkStreamAsset* onOpenStream(int* ttcIndex) const override; 149 …sk_sp<SkTypeface> onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset>, int ttcIndex) const overri… 150 …sk_sp<SkTypeface> onMakeFromStreamArgs(std::unique_ptr<SkStreamAsset>, const SkFontArguments&) con…
|
D | SkFontMgr_custom.cpp | 51 SkStreamAsset* SkTypeface_Empty::onOpenStream(int*) const { return nullptr; } in onOpenStream() 64 SkStreamAsset* SkTypeface_Stream::onOpenStream(int* ttcIndex) const { in onOpenStream() 95 SkStreamAsset* SkTypeface_File::onOpenStream(int* ttcIndex) const { in onOpenStream() 233 sk_sp<SkTypeface> SkFontMgr_Custom::onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset> stream, in onMakeFromStreamIndex() 238 sk_sp<SkTypeface> SkFontMgr_Custom::onMakeFromStreamArgs(std::unique_ptr<SkStreamAsset> stream, in onMakeFromStreamArgs() 272 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(path); in onMakeFromFile()
|
D | SkFontMgr_FontConfigInterface.cpp | 22 SkStreamAsset* SkTypeface_FCI::onOpenStream(int* ttcIndex) const { in onOpenStream() 26 SkStreamAsset* stream = fFontData->getStream(); in onOpenStream() 42 return skstd::make_unique<SkFontData>(std::unique_ptr<SkStreamAsset>(fFCI->openStream(id)), in onMakeFontData() 234 sk_sp<SkTypeface> onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset> stream, in onMakeFromStreamIndex() 257 sk_sp<SkTypeface> onMakeFromStreamArgs(std::unique_ptr<SkStreamAsset> stream, in onMakeFromStreamArgs() 291 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(path); in onMakeFromFile()
|
D | SkFontMgr_android.cpp | 78 std::unique_ptr<SkStreamAsset> makeStream() const { in makeStream() 93 SkStreamAsset* onOpenStream(int* ttcIndex) const override { in onOpenStream() 146 SkStreamAsset* onOpenStream(int* ttcIndex) const override { in onOpenStream() 190 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(pathName.c_str()); in SkFontStyleSet_Android() 449 … return this->makeFromStream(std::unique_ptr<SkStreamAsset>(new SkMemoryStream(std::move(data))), in onMakeFromData() 454 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(path); in onMakeFromFile() 458 sk_sp<SkTypeface> onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset> stream, in onMakeFromStreamIndex() 471 sk_sp<SkTypeface> onMakeFromStreamArgs(std::unique_ptr<SkStreamAsset> stream, in onMakeFromStreamArgs() 495 SkStreamAsset* stream(data->getStream()); in onMakeFromFontData()
|
D | SkFontHost_FreeType_common.h | 71 bool recognizedFont(SkStreamAsset* stream, int* numFonts) const; 72 bool scanFont(SkStreamAsset* stream, int ttcIndex, 83 FT_Face openFace(SkStreamAsset* stream, int ttcIndex, FT_Stream ftStream) const;
|
/external/skia/src/utils/win/ |
D | SkDWriteFontFileStream.h | 77 static HRESULT Create(SkStreamAsset* stream, 81 explicit SkDWriteFontFileStreamWrapper(SkStreamAsset* stream); 85 std::unique_ptr<SkStreamAsset> fStream;
|
/external/skqp/src/utils/win/ |
D | SkDWriteFontFileStream.h | 76 static HRESULT Create(SkStreamAsset* stream, 80 explicit SkDWriteFontFileStreamWrapper(SkStreamAsset* stream); 84 std::unique_ptr<SkStreamAsset> fStream;
|
/external/skia/include/ports/ |
D | SkFontMgr_indirect.h | 22 class SkStreamAsset; variable 50 …sk_sp<SkTypeface> onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset>, int ttcIndex) const overri… 51 sk_sp<SkTypeface> onMakeFromStreamArgs(std::unique_ptr<SkStreamAsset> stream,
|
/external/skia/tools/ |
D | Resources.h | 16 class SkStreamAsset; variable 35 std::unique_ptr<SkStreamAsset> GetResourceAsStream(const char* resource);
|
/external/skqp/tools/ |
D | Resources.h | 16 class SkStreamAsset; variable 35 std::unique_ptr<SkStreamAsset> GetResourceAsStream(const char* resource);
|
/external/skia/src/fonts/ |
D | SkFontMgr_indirect.cpp | 111 std::unique_ptr<SkStreamAsset> stream(dataTypeface->openStream(nullptr)); in createTypefaceFromFontId() 118 std::unique_ptr<SkStreamAsset> stream(fProxy->getData(id.fDataId)); in createTypefaceFromFontId() 153 sk_sp<SkTypeface> SkFontMgr_Indirect::onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset> stream, in onMakeFromStreamIndex() 158 sk_sp<SkTypeface> SkFontMgr_Indirect::onMakeFromStreamArgs(std::unique_ptr<SkStreamAsset> stream, in onMakeFromStreamArgs()
|
/external/skia/experimental/skrive/src/reader/ |
D | BinaryReader.cpp | 20 explicit BinaryReader(std::unique_ptr<SkStreamAsset> stream) in BinaryReader() 138 const std::unique_ptr<SkStreamAsset> fStream; 149 std::unique_ptr<StreamReader> MakeBinaryStreamReader(std::unique_ptr<SkStreamAsset> stream) { in MakeBinaryStreamReader()
|
/external/skia/tests/ |
D | StreamTest.cpp | 75 std::unique_ptr<SkStreamAsset> stream2(stream.duplicate()); in test_filestreams() 85 std::unique_ptr<SkStreamAsset> stream2(stream.duplicate()); in test_filestreams() 108 std::unique_ptr<SkStreamAsset> stream(ds.detachAsStream()); in TestWStream() 113 std::unique_ptr<SkStreamAsset> stream2(stream->duplicate()); in TestWStream() 116 std::unique_ptr<SkStreamAsset> stream3(stream->fork()); in TestWStream() 132 std::unique_ptr<SkStreamAsset> stream(ds.detachAsStream()); in TestWStream() 136 std::unique_ptr<SkStreamAsset> stream2(stream->duplicate()); in TestWStream() 166 std::unique_ptr<SkStreamAsset> rstream(wstream.detachAsStream()); in TestPackedUInt() 345 SkStreamAsset* asset, in stream_peek_test() 395 std::unique_ptr<SkStreamAsset> asset(dynamicMemoryWStream.detachAsStream()); in DEF_TEST() [all …]
|