Home
last modified time | relevance | path

Searched refs:SkFILEStream (Results 1 – 25 of 26) sorted by relevance

12

/external/skia/docs/
DSkFILEStream_Reference.bmh4 #Class SkFILEStream
14 #Method explicit SkFILEStream(const char path[] = nullptr)
19 File descriptor is opened here and is closed when SkFILEStream
36 #Method explicit SkFILEStream(FILE* file)
42 beginning of the SkFILEStream.
43 The C_FILE stream is closed when SkFILEStream destructor is invoked.
59 #Method ~SkFILEStream() override
73 #Method static std::unique_ptr<SkFILEStream> Make(const char path[])
113 Close this SkFILEStream.
274 #Class SkFILEStream ##
DSkStream_Reference.bmh11 data. Subclass SkFILEStream stores readable data in a file. Subclass
/external/skqp/docs/
DSkFILEStream_Reference.bmh4 #Class SkFILEStream
14 #Method explicit SkFILEStream(const char path[] = nullptr)
19 File descriptor is opened here and is closed when SkFILEStream
36 #Method explicit SkFILEStream(FILE* file)
42 beginning of the SkFILEStream.
43 The C_FILE stream is closed when SkFILEStream destructor is invoked.
59 #Method ~SkFILEStream() override
73 #Method static std::unique_ptr<SkFILEStream> Make(const char path[])
113 Close this SkFILEStream.
274 #Class SkFILEStream ##
DSkStream_Reference.bmh11 data. Subclass SkFILEStream stores readable data in a file. Subclass
/external/skia/src/core/
DSkStream.cpp155 SkFILEStream::SkFILEStream(std::shared_ptr<FILE> file, size_t size, in SkFILEStream() function in SkFILEStream
163 SkFILEStream::SkFILEStream(std::shared_ptr<FILE> file, size_t size, size_t offset) in SkFILEStream() function in SkFILEStream
164 : SkFILEStream(std::move(file), size, offset, offset) in SkFILEStream()
167 SkFILEStream::SkFILEStream(FILE* file) in SkFILEStream() function in SkFILEStream
168 : SkFILEStream(std::shared_ptr<FILE>(file, sk_fclose), in SkFILEStream()
174 SkFILEStream::SkFILEStream(const char path[]) in SkFILEStream() function in SkFILEStream
175 : SkFILEStream(path ? sk_fopen(path, kRead_SkFILE_Flag) : nullptr) in SkFILEStream()
178 SkFILEStream::~SkFILEStream() { in ~SkFILEStream()
182 void SkFILEStream::close() { in close()
188 size_t SkFILEStream::read(void* buffer, size_t size) { in read()
[all …]
/external/skqp/src/core/
DSkStream.cpp155 SkFILEStream::SkFILEStream(std::shared_ptr<FILE> file, size_t size, in SkFILEStream() function in SkFILEStream
163 SkFILEStream::SkFILEStream(std::shared_ptr<FILE> file, size_t size, size_t offset) in SkFILEStream() function in SkFILEStream
164 : SkFILEStream(std::move(file), size, offset, offset) in SkFILEStream()
167 SkFILEStream::SkFILEStream(FILE* file) in SkFILEStream() function in SkFILEStream
168 : SkFILEStream(std::shared_ptr<FILE>(file, sk_fclose), in SkFILEStream()
174 SkFILEStream::SkFILEStream(const char path[]) in SkFILEStream() function in SkFILEStream
175 : SkFILEStream(path ? sk_fopen(path, kRead_SkFILE_Flag) : nullptr) in SkFILEStream()
178 SkFILEStream::~SkFILEStream() { in ~SkFILEStream()
182 void SkFILEStream::close() { in close()
188 size_t SkFILEStream::read(void* buffer, size_t size) { in read()
[all …]
/external/skqp/include/core/
DSkStream.h302 class SK_API SkFILEStream : public SkStreamAsset {
307 explicit SkFILEStream(const char path[] = nullptr);
314 explicit SkFILEStream(FILE* file);
316 ~SkFILEStream() override;
318 static std::unique_ptr<SkFILEStream> Make(const char path[]) { in Make()
319 std::unique_ptr<SkFILEStream> stream(new SkFILEStream(path)); in Make()
348 explicit SkFILEStream(std::shared_ptr<FILE>, size_t size, size_t offset);
349 explicit SkFILEStream(std::shared_ptr<FILE>, size_t size, size_t offset, size_t originalOffset);
/external/skia/include/core/
DSkStream.h302 class SK_API SkFILEStream : public SkStreamAsset {
307 explicit SkFILEStream(const char path[] = nullptr);
314 explicit SkFILEStream(FILE* file);
316 ~SkFILEStream() override;
318 static std::unique_ptr<SkFILEStream> Make(const char path[]) { in Make()
319 std::unique_ptr<SkFILEStream> stream(new SkFILEStream(path)); in Make()
348 explicit SkFILEStream(std::shared_ptr<FILE>, size_t size, size_t offset);
349 explicit SkFILEStream(std::shared_ptr<FILE>, size_t size, size_t offset, size_t originalOffset);
/external/skqp/tests/
DStreamTest.cpp66 SkFILEStream stream(path.c_str()); in test_filestreams()
76 SkFILEStream stream(file); in test_filestreams()
316 SkFILEStream fileStream(path.c_str()); in DEF_TEST()
485 SkFILEStream stream1(filename.c_str()); in DEF_TEST()
514 SkFILEStream stream2(file); in DEF_TEST()
DStreamBufferTest.cpp102 : skstd::make_unique<SkFILEStream>(path.c_str()); }, true }, in DEF_TEST()
DPathOpsExtendedTest.cpp761 SkFILEStream inFile("../../experimental/Intersection/op.htm"); in initializeTests()
/external/skia/tests/
DStreamTest.cpp66 SkFILEStream stream(path.c_str()); in test_filestreams()
76 SkFILEStream stream(file); in test_filestreams()
316 SkFILEStream fileStream(path.c_str()); in DEF_TEST()
485 SkFILEStream stream1(filename.c_str()); in DEF_TEST()
514 SkFILEStream stream2(file); in DEF_TEST()
DStreamBufferTest.cpp102 : skstd::make_unique<SkFILEStream>(path.c_str()); }, true }, in DEF_TEST()
/external/skia/samplecode/
DSampleSVGFile.cpp30 SkFILEStream svgStream(fPath.c_str()); in onOnceBeforeDraw()
/external/skqp/samplecode/
DSampleSVGFile.cpp30 SkFILEStream svgStream(fPath.c_str()); in onOnceBeforeDraw()
/external/skqp/tools/
Dskp_parser.cpp43 SkFILEStream input(argv[1]); in main()
Dskpinfo.cpp45 SkFILEStream stream(FLAGS_input[0]); in main()
/external/skia/tools/
Dskp_parser.cpp43 SkFILEStream input(argv[1]); in main()
Dskpinfo.cpp45 SkFILEStream stream(FLAGS_input[0]); in main()
/external/skia/tools/viewer/
DBisectSlide.cpp22 SkFILEStream stream(filepath); in Create()
/external/skqp/tools/viewer/
DBisectSlide.cpp22 SkFILEStream stream(filepath); in Create()
/external/skia/src/ports/
DSkFontMgr_fuchsia.cpp313 return makeFromStream(std::make_unique<SkFILEStream>(path), ttcIndex); in onMakeFromFile()
DSkFontMgr_android_parser.cpp638 SkFILEStream file(filename); in parse_config_file()
/external/skqp/src/ports/
DSkFontMgr_fuchsia.cpp317 return makeFromStream(std::make_unique<SkFILEStream>(path), ttcIndex);
DSkFontMgr_android_parser.cpp638 SkFILEStream file(filename); in parse_config_file()

12