Searched refs:NewFromFileName (Results 1 – 25 of 25) sorted by relevance
100 SkAutoTUnref<SkData> fileData(SkData::NewFromFileName(filename.c_str())); in onDraw()184 SkAutoDataUnref fileData(SkData::NewFromFileName(pkmFilename.c_str())); in onDraw()
33 SkAutoDataUnref data(SkData::NewFromFileName(pngFilename.c_str())); in onOnceBeforeDraw()
72 SkAutoTUnref<SkData> fileData(SkData::NewFromFileName(filename.c_str())); in onDraw()
23 SkAutoDataUnref data(SkData::NewFromFileName("/Users/mike/Downloads/skia.google.jpeg")); in drawJpeg()
147 SkAutoTUnref<SkData> fileData(SkData::NewFromFileName(pkmFilename.c_str())); in DEF_TEST()164 SkAutoDataUnref oldKtxData(SkData::NewFromFileName(ktxFilename.c_str())); in DEF_TEST()
44 SkData* data = SkData::NewFromFileName(path.c_str()); in load_resource()
637 SkAutoDataUnref encodedData(SkData::NewFromFileName(path.c_str())); in DEF_TEST()670 SkAutoDataUnref encoded(SkData::NewFromFileName(path.c_str())); in DEF_TEST()
21 SkData* data = SkData::NewFromFileName(file); in read_into_data()
89 SkAutoDataUnref data(SkData::NewFromFileName(FLAGS_luaFile[i])); in tool_main()
29 SkAutoTUnref<SkData> resourceData(SkData::NewFromFileName(resourcePath.c_str())); in GetResourceAsBitmap()
28 SkData* data = SkData::NewFromFileName(file_path); in read_file()
45 SkAutoTUnref<SkData> encoded(SkData::NewFromFileName(path.c_str())); in DecodingSubsetBench()
24 , fData(SkData::NewFromFileName(path.c_str())) in DecodingBench()
95 SkAutoDataUnref fileData(SkData::NewFromFileName(pkmFilename.c_str())); in loadPKM()
669 SkAutoTUnref<SkData> encoded(SkData::NewFromFileName(path.c_str())); in next()746 SkData::NewFromFileName(path.c_str())); in next()
121 static SkData* NewFromFileName(const char path[]);
97 SkAutoTUnref<SkData> json(SkData::NewFromFileName(path)); in ReadJson()
76 SkAutoTUnref<SkData> encoded(SkData::NewFromFileName(fPath.c_str())); in draw()171 SkAutoTUnref<SkData> encoded(SkData::NewFromFileName(fPath.c_str())); in size()195 SkAutoTUnref<SkData> encoded(SkData::NewFromFileName(fPath.c_str())); in draw()258 SkAutoTUnref<SkData> encoded(SkData::NewFromFileName(fPath.c_str())); in size()
152 SkAutoTUnref<SkData> data(SkData::NewFromFileName(FLAGS_uninterestingHashesFile[0])); in gather_uninteresting_hashes()192 SkAutoTUnref<SkData> encoded(SkData::NewFromFileName(path.c_str())); in push_codec_srcs()
41 SkAutoDataUnref data(SkData::NewFromFileName(pngFilename.c_str())); in load_bitmap()
65 SkData* data = SkData::NewFromFileName(str.c_str()); in ensureLua()
210 data.reset(SkData::NewFromFileName(FLAGS_infile[0])); in create_sk_window()
124 SkData* SkData::NewFromFileName(const char path[]) { in NewFromFileName() function in SkData
76 SkAutoTUnref<const SkData> skp(SkData::NewFromFileName(skpPath)); in client()
2008 SkAutoDataUnref data(SkData::NewFromFileName(name)); in lsk_loadImage()