Searched refs:NewFromFileName (Results 1 – 22 of 22) sorted by relevance
30 SkAutoTUnref<SkData> resourceData(SkData::NewFromFileName(resourcePath.c_str())); in GetResourceAsBitmap()37 SkAutoTUnref<SkData> resourceData(SkData::NewFromFileName(path.c_str())); in GetResourceAsImage()
29 SkData* data = SkData::NewFromFileName(file_path); in read_file()
101 SkAutoTUnref<SkData> fileData(SkData::NewFromFileName(filename.c_str())); in onDraw()185 SkAutoDataUnref fileData(SkData::NewFromFileName(pkmFilename.c_str())); in onDraw()
33 SkAutoDataUnref data(SkData::NewFromFileName(pngFilename.c_str())); in onOnceBeforeDraw()
24 SkAutoDataUnref data(SkData::NewFromFileName("/Users/mike/Downloads/skia.google.jpeg")); in drawJpeg()
23 SkData* data = SkData::NewFromFileName(file); in read_into_data()
90 SkAutoDataUnref data(SkData::NewFromFileName(FLAGS_luaFile[i])); in tool_main()
120 static SkData* NewFromFileName(const char path[]);
97 SkAutoTUnref<SkData> json(SkData::NewFromFileName(path)); in ReadJson()
88 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()
192 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()
63 SkData* data = SkData::NewFromFileName(str.c_str()); in ensureLua()
44 SkData* data = SkData::NewFromFileName(path.c_str()); in load_resource()
888 SkAutoTUnref<SkData> data(SkData::NewFromFileName(fullPath.c_str())); in DEF_TEST()906 SkAutoTUnref<SkData> data(SkData::NewFromFileName(fullPath.c_str())); in DEF_TEST()
208 data.reset(SkData::NewFromFileName(FLAGS_infile[0])); in create_sk_window()
85 SkAutoTUnref<SkData> data(SkData::NewFromFileName(options.source)); in main()
126 SkData* SkData::NewFromFileName(const char path[]) { in NewFromFileName() function in SkData
86 SkAutoTUnref<SkData> imageData(SkData::NewFromFileName("ship.png")); in main()
76 SkAutoTUnref<const SkData> skp(SkData::NewFromFileName(skpPath)); in client()
737 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()
47 SkAutoTUnref<SkData> bytes(SkData::NewFromFileName(path)); in main()
2073 SkAutoDataUnref data(SkData::NewFromFileName(name)); in lsk_loadImage()