Searched refs:SkFILEStream (Results 1 – 25 of 34) sorted by relevance
12
183 SkFILEStream::SkFILEStream(const char file[]) : fName(file), fOwnership(kCallerPasses_Ownership) { in SkFILEStream() function in SkFILEStream187 SkFILEStream::SkFILEStream(FILE* file, Ownership ownership) in SkFILEStream() function in SkFILEStream192 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 …]
232 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;
35 SkAutoTDelete<SkFILEStream> stream(new SkFILEStream(resourcePath.c_str())); in GetResourceAsStream()
37 SkFILEStream inputStream(FLAGS_readFile[0]); in tool_main()
20 SkFILEStream stream(path); in inspect()
43 SkFILEStream stream(FLAGS_input[0]); in tool_main()
216 SkFILEStream inputStream; in tool_main_core()
59 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()
82 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()
382 SkFILEStream stream(path.c_str()); in testOne()491 SkFILEStream reader; in PreParser()498 bool fetch(SkFILEStream& reader, TestResult* result) { in fetch()
206 SkFILEStream fileStream(GetResourcePath("test640x479.gif").c_str()); in DEF_TEST()
30 SkFILEStream stream(jpgFilename.c_str()); in onOnceBeforeDraw()
104 SkFILEStream stream(resourcePath.c_str()); in makeBitmap()
201 SkFILEStream stream(resourcePath.c_str()); in makeBitmap()
176 SkFILEStream stream(resourcePath.c_str()); in make_bitmap()
34 SkFILEStream stream(FLAGS_input[0]); in tool_main()
28 SkFILEStream stream(resourcePath.c_str()); in IdentityScaleView()
138 SkFILEStream stream(path); in LoadPicture()
31 SkFILEStream stream(resourcePath.c_str()); in SubpixelTranslateView()
170 SkFILEStream stream(fCurrFile.c_str()); in decodeCurrFile()
56 SkFILEStream fileStream(fullPath.c_str()); in onPreDraw()
38 SkFILEStream sourceStream(file); in loadKernelFile()
60 SkFILEStream inputStream(path); in main()
177 SkFILEStream inputStream(files[i].c_str()); in main()
97 SkFILEStream stream(srcPath); in decodeFileAndWrite()