Home
last modified time | relevance | path

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

12

/external/skia/src/core/
DSkStream.cpp183 SkFILEStream::SkFILEStream(const char file[]) : fName(file), fOwnership(kCallerPasses_Ownership) { in SkFILEStream() function in SkFILEStream
187 SkFILEStream::SkFILEStream(FILE* file, Ownership ownership) in SkFILEStream() function in SkFILEStream
192 SkFILEStream::~SkFILEStream() { in ~SkFILEStream()
198 void SkFILEStream::setPath(const char path[]) { in setPath()
209 size_t SkFILEStream::read(void* buffer, size_t size) { in read()
216 bool SkFILEStream::isAtEnd() const { in isAtEnd()
220 bool SkFILEStream::rewind() { in rewind()
232 SkStreamAsset* SkFILEStream::duplicate() const { in duplicate()
242 SkAutoTDelete<SkFILEStream> that(new SkFILEStream(fName.c_str())); in duplicate()
255 size_t SkFILEStream::getPosition() const { in getPosition()
[all …]
/external/skia/include/core/
DSkStream.h232 class SK_API SkFILEStream : public SkStreamAsset {
234 SK_DECLARE_INST_COUNT(SkFILEStream)
239 explicit SkFILEStream(const char path[] = NULL);
250 explicit SkFILEStream(FILE* file, Ownership ownership = kCallerPasses_Ownership);
252 virtual ~SkFILEStream();
460 typedef SkFILEStream SkURLStream;
/external/skia/tools/
DResources.cpp35 SkAutoTDelete<SkFILEStream> stream(new SkFILEStream(resourcePath.c_str())); in GetResourceAsStream()
Dgpuveto.cpp37 SkFILEStream inputStream(FLAGS_readFile[0]); in tool_main()
Dpinspect.cpp20 SkFILEStream stream(path); in inspect()
Dskpinfo.cpp43 SkFILEStream stream(FLAGS_input[0]); in tool_main()
Drender_pdfs_main.cpp216 SkFILEStream inputStream; in tool_main_core()
/external/skia/tests/
DStreamTest.cpp59 SkFILEStream stream(path.c_str()); in test_filestreams()
69 SkFILEStream stream(file, SkFILEStream::kCallerPasses_Ownership); in test_filestreams()
260 SkFILEStream fileStream(GetResourcePath("baby_tux.webp").c_str()); in DEF_TEST()
DImageDecodingTest.cpp82 SkFILEStream stream(filename.c_str()); in compare_unpremul()
176 SkFILEStream stream(filename.c_str()); in test_alphaType()
273 SkFILEStream stream(fullName.c_str()); in DEF_TEST()
DSkpSkGrTest.cpp382 SkFILEStream stream(path.c_str()); in testOne()
491 SkFILEStream reader; in PreParser()
498 bool fetch(SkFILEStream& reader, TestResult* result) { in fetch()
DGifTest.cpp206 SkFILEStream fileStream(GetResourcePath("test640x479.gif").c_str()); in DEF_TEST()
/external/skia/gm/
Dcmykjpeg.cpp30 SkFILEStream stream(jpgFilename.c_str()); in onOnceBeforeDraw()
Dfilterindiabox.cpp104 SkFILEStream stream(resourcePath.c_str()); in makeBitmap()
Dfilterbitmap.cpp201 SkFILEStream stream(resourcePath.c_str()); in makeBitmap()
Ddownsamplebitmap.cpp176 SkFILEStream stream(resourcePath.c_str()); in make_bitmap()
/external/skia/src/svg/
Dskp2svg.cpp34 SkFILEStream stream(FLAGS_input[0]); in tool_main()
/external/skia/samplecode/
DSampleIdentityScale.cpp28 SkFILEStream stream(resourcePath.c_str()); in IdentityScaleView()
DSamplePictFile.cpp138 SkFILEStream stream(path); in LoadPicture()
DSampleSubpixelTranslate.cpp31 SkFILEStream stream(resourcePath.c_str()); in SubpixelTranslateView()
DSampleUnpremul.cpp170 SkFILEStream stream(fCurrFile.c_str()); in decodeCurrFile()
/external/skia/bench/
DSkipZeroesBench.cpp56 SkFILEStream fileStream(fullPath.c_str()); in onPreDraw()
/external/skia/tools/skpdiff/
DSkCLImageDiffer.cpp38 SkFILEStream sourceStream(file); in loadKernelFile()
/external/skia/experimental/tools/
Dmultipage_pdf_profiler.cpp60 SkFILEStream inputStream(path); in main()
Dskp_to_pdf_md5.cpp177 SkFILEStream inputStream(files[i].c_str()); in main()
/external/skia/experimental/PdfViewer/
Dchop_transparency_main.cpp97 SkFILEStream stream(srcPath); in decodeFileAndWrite()

12