Home
last modified time | relevance | path

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

/external/skia/tools/
DResources.cpp30 SkAutoTUnref<SkData> resourceData(SkData::NewFromFileName(resourcePath.c_str())); in GetResourceAsBitmap()
37 SkAutoTUnref<SkData> resourceData(SkData::NewFromFileName(path.c_str())); in GetResourceAsImage()
Dskdiff_utils.cpp29 SkData* data = SkData::NewFromFileName(file_path); in read_file()
/external/skia/gm/
Detc1bitmap.cpp101 SkAutoTUnref<SkData> fileData(SkData::NewFromFileName(filename.c_str())); in onDraw()
185 SkAutoDataUnref fileData(SkData::NewFromFileName(pkmFilename.c_str())); in onDraw()
Dfactory.cpp33 SkAutoDataUnref data(SkData::NewFromFileName(pngFilename.c_str())); in onOnceBeforeDraw()
Dimage.cpp24 SkAutoDataUnref data(SkData::NewFromFileName("/Users/mike/Downloads/skia.google.jpeg")); in drawJpeg()
/external/skia/tools/lua/
Dlua_app.cpp23 SkData* data = SkData::NewFromFileName(file); in read_into_data()
Dlua_pictures.cpp90 SkAutoDataUnref data(SkData::NewFromFileName(FLAGS_luaFile[i])); in tool_main()
/external/skia/include/core/
DSkData.h120 static SkData* NewFromFileName(const char path[]);
/external/skia/dm/
DDMJsonWriter.cpp97 SkAutoTUnref<SkData> json(SkData::NewFromFileName(path)); in ReadJson()
DDMSrcSink.cpp88 SkAutoTUnref<SkData> encoded(SkData::NewFromFileName(path.c_str())); in create_brd()
362 SkAutoTUnref<SkData> encoded(SkData::NewFromFileName(fPath.c_str())); in draw()
626 SkAutoTUnref<SkData> encoded(SkData::NewFromFileName(fPath.c_str())); in size()
660 SkAutoTUnref<SkData> encoded(SkData::NewFromFileName(fPath.c_str())); in draw()
787 SkAutoTUnref<SkData> encoded(SkData::NewFromFileName(fPath.c_str())); in size()
DDM.cpp192 SkAutoTUnref<SkData> data(SkData::NewFromFileName(FLAGS_uninterestingHashesFile[0])); in gather_uninteresting_hashes()
353 SkAutoTUnref<SkData> encoded(SkData::NewFromFileName(path.c_str())); in push_codec_srcs()
/external/skia/samplecode/
DSampleLua.cpp63 SkData* data = SkData::NewFromFileName(str.c_str()); in ensureLua()
/external/skia/tests/
DPDFJpegEmbedTest.cpp44 SkData* data = SkData::NewFromFileName(path.c_str()); in load_resource()
DCodexTest.cpp888 SkAutoTUnref<SkData> data(SkData::NewFromFileName(fullPath.c_str())); in DEF_TEST()
906 SkAutoTUnref<SkData> data(SkData::NewFromFileName(fullPath.c_str())); in DEF_TEST()
/external/skia/experimental/SkV8Example/
DSkV8Example.cpp208 data.reset(SkData::NewFromFileName(FLAGS_infile[0])); in create_sk_window()
/external/skia/experimental/fiddle/
Dfiddle_main.cpp85 SkAutoTUnref<SkData> data(SkData::NewFromFileName(options.source)); in main()
/external/skia/src/core/
DSkData.cpp126 SkData* SkData::NewFromFileName(const char path[]) { in NewFromFileName() function in SkData
/external/skia/experimental/GLFWTest/
Dglfw_main.cpp86 SkAutoTUnref<SkData> imageData(SkData::NewFromFileName("ship.png")); in main()
/external/skia/experimental/nanomsg/
Dpicture_demo.cpp76 SkAutoTUnref<const SkData> skp(SkData::NewFromFileName(skpPath)); in client()
/external/skia/bench/
Dnanobench.cpp737 SkAutoTUnref<SkData> encoded(SkData::NewFromFileName(path.c_str())); in rawNext()
813 SkAutoTUnref<SkData> encoded(SkData::NewFromFileName(path.c_str())); in rawNext()
874 SkAutoTUnref<SkData> encoded(SkData::NewFromFileName(path.c_str())); in rawNext()
/external/skia/fuzz/
Dfuzz.cpp47 SkAutoTUnref<SkData> bytes(SkData::NewFromFileName(path)); in main()
/external/skia/src/utils/
DSkLua.cpp2073 SkAutoDataUnref data(SkData::NewFromFileName(name)); in lsk_loadImage()