/external/skia/tools/ |
D | Resources.cpp | 23 SkString GetResourcePath(const char* resource) { in GetResourcePath() function 33 auto path = GetResourcePath(resource); in GetResourceAsStream() 45 : SkData::MakeFromFileName(GetResourcePath(resource).c_str())) { in GetResourceAsData() 48 SkDebugf("Resource \"%s\" not found.\n", GetResourcePath(resource).c_str()); in GetResourceAsData()
|
D | Resources.h | 20 SkString GetResourcePath(const char* resource = "");
|
/external/skia/tests/ |
D | FontMgrAndroidParserTest.cpp | 222 GetResourcePath("android_fonts/pre_v17/system_fonts.xml").c_str(), in DEF_TEST_SCANNERS() 223 GetResourcePath("android_fonts/pre_v17/fallback_fonts.xml").c_str()); in DEF_TEST_SCANNERS() 243 GetResourcePath("android_fonts/v17/system_fonts.xml").c_str(), in DEF_TEST_SCANNERS() 244 GetResourcePath("android_fonts/v17/fallback_fonts.xml").c_str(), in DEF_TEST_SCANNERS() 245 GetResourcePath("android_fonts/v17").c_str()); in DEF_TEST_SCANNERS() 265 GetResourcePath("android_fonts/v22/fonts.xml").c_str(), in DEF_TEST_SCANNERS() 289 SkString basePath = GetResourcePath("fonts/"); in DEF_TEST_SCANNERS() 290 SkString fontsXml = GetResourcePath(fontsXmlFilename); in DEF_TEST_SCANNERS() 325 SkString basePath = GetResourcePath("fonts/"); in DEF_TEST_SCANNERS() 326 SkString fontsXml = GetResourcePath(fontsXmlFilename); in DEF_TEST_SCANNERS() [all …]
|
D | FontMgrFontConfigTest.cpp | 63 FcConfigSetSysRoot(config, reinterpret_cast<const FcChar8*>(GetResourcePath("").c_str())); in build_fontconfig_with_fontfile() 75 SkString path = GetResourcePath(""); in build_fontconfig_from_resources() 178 SkString filePath = GetResourcePath("fonts/Roboto-Regular.ttf"); in testAllBold() 210 SkString dataPath = GetResourcePath("/fonts/data.png"); in testAllBold() 217 SkString matchPath = GetResourcePath("/fonts/match.png"); in testAllBold() 286 SkString dataPath = GetResourcePath("/fonts/data.png"); in DEF_TEST_DISABLED() 293 SkString matchPath = GetResourcePath("/fonts/match.png"); in DEF_TEST_DISABLED()
|
D | AndroidCodecTest.cpp | 42 if (GetResourcePath().isEmpty()) { in DEF_TEST() 136 if (GetResourcePath().isEmpty()) { in DEF_TEST() 166 if (GetResourcePath().isEmpty()) { in DEF_TEST() 205 if (GetResourcePath().isEmpty()) { in DEF_TEST() 241 if (GetResourcePath().isEmpty()) { in DEF_TEST()
|
D | AnimatedImageTest.cpp | 36 if (GetResourcePath().isEmpty()) { in DEF_TEST() 55 if (GetResourcePath().isEmpty()) { in DEF_TEST() 90 if (GetResourcePath().isEmpty()) { in DEF_TEST() 150 if (GetResourcePath().isEmpty()) { in DEF_TEST() 219 if (GetResourcePath().isEmpty()) { in DEF_TEST() 290 if (GetResourcePath().isEmpty()) { in DEF_TEST()
|
D | FontScanner.cpp | 19 SkString name = GetResourcePath("fonts/Variable.ttf"); in FontScanner_VariableFont() 74 SkString name = GetResourcePath("fonts/Variable.ttf"); in FontScanner_NamedInstances1() 142 SkString name = GetResourcePath("fonts/VaryAlongQuads.ttf"); in FontScanner_NamedInstances2()
|
D | FCITest.cpp | 35 FcConfigSetSysRoot(config, reinterpret_cast<const FcChar8*>(GetResourcePath("").c_str())); in build_fontconfig_with_fontfile()
|
D | SkSLES2ConformanceTest.cpp | 100 SkString resourceDirectory = GetResourcePath(directory); in iterate_dir()
|
D | SkSLErrorTest.cpp | 167 SkString resourceDirectory = GetResourcePath(directory); in iterate_dir()
|
D | StreamTest.cpp | 525 if (GetResourcePath().isEmpty()) { in DEF_TEST() 529 SkString filename = GetResourcePath("images/baby_tux.png"); in DEF_TEST()
|
D | CodecTest.cpp | 846 if (GetResourcePath().isEmpty()) { in DEF_TEST() 1879 if (GetResourcePath().isEmpty()) { in DEF_TEST() 1892 if (GetResourcePath().isEmpty()) { in DEF_TEST() 1928 if (GetResourcePath().isEmpty()) { in DEF_TEST() 1947 if (GetResourcePath().isEmpty()) { in DEF_TEST()
|
D | GifTest.cpp | 419 if (GetResourcePath().isEmpty()) { in DEF_TEST()
|
D | CodecAnimTest.cpp | 515 if (GetResourcePath().isEmpty()) { in test_animated_AndroidCodec()
|
/external/skia/gm/ |
D | exoticformats.cpp | 348 sk_sp<SkData> data = load_ktx(GetResourcePath("images/flower-etc1.ktx").c_str(), &info); in loadImages() 363 sk_sp<SkData> data = load_dds(GetResourcePath("images/flower-bc1.dds").c_str(), &info); in loadImages()
|
/external/skia/tools/skqp/src/ |
D | skqp_main.cpp | 34 SkString resourceDirectory = GetResourcePath(directory); in iterateDir()
|
/external/skia/fuzz/ |
D | FuzzSkParagraph.cpp | 67 , fResourceDir(GetResourcePath("fonts").c_str()) in ResourceFontCollection()
|
/external/google-breakpad/src/client/mac/Framework/ |
D | Breakpad.mm | 309 NSString* GetResourcePath(); function 310 NSString* GetResourcePath() { function 321 if (dladdr((const void*)GetResourcePath, &info) != 0) { 540 resourcePath = GetResourcePath();
|
/external/skia/modules/skparagraph/slides/ |
D | ParagraphSlide.cpp | 57 fFC = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), false, true); in getFontCollection() 1139 …auto fontCollection = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), true, true); in draw() 1280 … auto fontCollection = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), false); in draw() 1516 …auto fontCollection = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), false, true… in draw() 1540 …auto fontCollection = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), false, true… in draw() 2552 …auto fontCollection = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), true, true); in draw() 2653 std::string fonts = GetResourcePath("fonts/").c_str(); in draw() 3110 … auto fontCollection = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), false); in draw() 3246 …auto fontCollection = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), true, true); in draw() 3272 …auto fontCollection = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), true, true); in draw() [all …]
|
/external/skia/tools/viewer/ |
D | SkottieSlide.cpp | 358 prepareImageAssetList(GetResourcePath("skottie/images").c_str()); in initializeSlotManagerUI()
|
D | Viewer.cpp | 3214 GetResourcePath().c_str(), in dumpShadersToResources()
|
/external/skia/dm/ |
D | DM.cpp | 1425 SkString resources = GetResourcePath(); in WriteToDisk()
|
/external/skia/modules/skparagraph/tests/ |
D | SkParagraphTest.cpp | 125 SkString fontResources = GetResourcePath(FLAGS_paragraph_fonts[0]); in getTypefaces() 5842 sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), false); in UNIX_ONLY_TEST() 5906 …sk_sp<TestFontCollection> fontCollection = sk_make_sp<TestFontCollection>(GetResourcePath("fonts")… in UNIX_ONLY_TEST() 5945 sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), true); in UNIX_ONLY_TEST()
|