Home
last modified time | relevance | path

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

/external/skia/gm/
Detc1bitmap.cpp100 SkAutoTUnref<SkData> fileData(SkData::NewFromFileName(filename.c_str())); in onDraw()
184 SkAutoDataUnref fileData(SkData::NewFromFileName(pkmFilename.c_str())); in onDraw()
Dfactory.cpp33 SkAutoDataUnref data(SkData::NewFromFileName(pngFilename.c_str())); in onOnceBeforeDraw()
Dastcbitmap.cpp72 SkAutoTUnref<SkData> fileData(SkData::NewFromFileName(filename.c_str())); in onDraw()
Dimage.cpp23 SkAutoDataUnref data(SkData::NewFromFileName("/Users/mike/Downloads/skia.google.jpeg")); in drawJpeg()
/external/skia/tests/
DKtxTest.cpp147 SkAutoTUnref<SkData> fileData(SkData::NewFromFileName(pkmFilename.c_str())); in DEF_TEST()
164 SkAutoDataUnref oldKtxData(SkData::NewFromFileName(ktxFilename.c_str())); in DEF_TEST()
DPDFJpegEmbedTest.cpp44 SkData* data = SkData::NewFromFileName(path.c_str()); in load_resource()
DImageDecodingTest.cpp637 SkAutoDataUnref encodedData(SkData::NewFromFileName(path.c_str())); in DEF_TEST()
670 SkAutoDataUnref encoded(SkData::NewFromFileName(path.c_str())); in DEF_TEST()
/external/skia/tools/lua/
Dlua_app.cpp21 SkData* data = SkData::NewFromFileName(file); in read_into_data()
Dlua_pictures.cpp89 SkAutoDataUnref data(SkData::NewFromFileName(FLAGS_luaFile[i])); in tool_main()
/external/skia/tools/
DResources.cpp29 SkAutoTUnref<SkData> resourceData(SkData::NewFromFileName(resourcePath.c_str())); in GetResourceAsBitmap()
Dskdiff_utils.cpp28 SkData* data = SkData::NewFromFileName(file_path); in read_file()
/external/skia/bench/
DDecodingSubsetBench.cpp45 SkAutoTUnref<SkData> encoded(SkData::NewFromFileName(path.c_str())); in DecodingSubsetBench()
DDecodingBench.cpp24 , fData(SkData::NewFromFileName(path.c_str())) in DecodingBench()
DETCBitmapBench.cpp95 SkAutoDataUnref fileData(SkData::NewFromFileName(pkmFilename.c_str())); in loadPKM()
Dnanobench.cpp669 SkAutoTUnref<SkData> encoded(SkData::NewFromFileName(path.c_str())); in next()
746 SkData::NewFromFileName(path.c_str())); in next()
/external/skia/include/core/
DSkData.h121 static SkData* NewFromFileName(const char path[]);
/external/skia/dm/
DDMJsonWriter.cpp97 SkAutoTUnref<SkData> json(SkData::NewFromFileName(path)); in ReadJson()
DDMSrcSink.cpp76 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()
DDM.cpp152 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()
/external/skia/samplecode/
DSamplePicture.cpp41 SkAutoDataUnref data(SkData::NewFromFileName(pngFilename.c_str())); in load_bitmap()
DSampleLua.cpp65 SkData* data = SkData::NewFromFileName(str.c_str()); in ensureLua()
/external/skia/experimental/SkV8Example/
DSkV8Example.cpp210 data.reset(SkData::NewFromFileName(FLAGS_infile[0])); in create_sk_window()
/external/skia/src/core/
DSkData.cpp124 SkData* SkData::NewFromFileName(const char path[]) { in NewFromFileName() function in SkData
/external/skia/experimental/nanomsg/
Dpicture_demo.cpp76 SkAutoTUnref<const SkData> skp(SkData::NewFromFileName(skpPath)); in client()
/external/skia/src/utils/
DSkLua.cpp2008 SkAutoDataUnref data(SkData::NewFromFileName(name)); in lsk_loadImage()