Searched refs:MakeFromFileName (Results 1 – 25 of 56) sorted by relevance
123
19 sk_sp<SkData> data(SkData::MakeFromFileName(filename));38 sk_sp<SkData> data(SkData::MakeFromFileName(filename)); in decode_file()
39 return decode_file(SkData::MakeFromFileName(filename), bitmap, colorType, requireUnpremul);43 sk_sp<SkData> data(SkData::MakeFromFileName(filename)); in decode_file()
26 … auto data = SkData::MakeFromFileName("/Users/reed/skia/mp3/scott-joplin-peacherine-rag.mp3"); in onOnceBeforeDraw()
33 dst_blob = SkData::MakeFromFileName(dst_profile_path); in main()40 auto blob = SkData::MakeFromFileName(source_path); in main()
47 : SkData::MakeFromFileName(GetResourcePath(resource).c_str())) { in GetResourceAsData()
48 : SkData::MakeFromFileName(GetResourcePath(resource).c_str())) { in GetResourceAsData()
28 SkCodec::MakeFromData(SkData::MakeFromFileName(path))) { in main()
28 sk_sp<SkData> encoded = SkData::MakeFromFileName(fPath.c_str()); in load()
23 sk_sp<SkData> data(SkData::MakeFromFileName(file)); in read_into_data()
87 sk_sp<SkData> data(SkData::MakeFromFileName(FLAGS_luaFile[i])); in main()
43 auto data = SkData::MakeFromFileName(file_path.c_str()); in addFontFromFile()
23 images[i] = SkImage::MakeFromEncoded(SkData::MakeFromFileName(path.c_str())); in main()
121 static sk_sp<SkData> MakeFromFileName(const char path[]);
28 fData = SkData::MakeFromFileName(kBenchFile); in onPerCanvasPreDraw()
665 sk_sp<SkData> data(SkData::MakeFromFileName(path)); in ReadSVGPicture()743 sk_sp<SkData> data = SkData::MakeFromFileName(path.c_str()); in rawNext()827 sk_sp<SkData> encoded(SkData::MakeFromFileName(path.c_str())); in rawNext()906 sk_sp<SkData> encoded(SkData::MakeFromFileName(path.c_str())); in rawNext()956 sk_sp<SkData> encoded(SkData::MakeFromFileName(path.c_str())); in rawNext()
129 sk_sp<SkData> encoded(SkData::MakeFromFileName(path.c_str())); in create_brd()390 sk_sp<SkData> encoded(SkData::MakeFromFileName(fPath.c_str())); in draw()725 sk_sp<SkData> encoded(SkData::MakeFromFileName(fPath.c_str())); in size()775 sk_sp<SkData> encoded(SkData::MakeFromFileName(fPath.c_str())); in draw()829 sk_sp<SkData> encoded(SkData::MakeFromFileName(fPath.c_str())); in size()871 sk_sp<SkData> encoded(SkData::MakeFromFileName(fPath.c_str())); in draw()945 sk_sp<SkData> encoded(SkData::MakeFromFileName(fPath.c_str())); in size()1003 sk_sp<SkData> encoded(SkData::MakeFromFileName(fPath.c_str())); in draw()1075 sk_sp<SkData> encoded(SkData::MakeFromFileName(fPath.c_str())); in size()1256 sk_sp<SkData> data(SkData::MakeFromFileName(path.c_str())); in SVGSrc()
28 return SkData::MakeFromFileName((fPrefix + path).c_str()); in open()
129 auto data = SkData::MakeFromFileName("/Users/reed/Downloads/maps_pinlet.json");
123 auto data = SkData::MakeFromFileName("/Users/reed/Downloads/maps_pinlet.json");
46 if (auto codec = SkCodec::MakeFromData(SkData::MakeFromFileName(path))) { in decode_to_srgb_8888_unpremul()