Lines Matching defs:sysroot
2661 const FcChar8 *sysroot;
2666 sysroot = FcConfigGetSysRoot (config);
2677 if (sysroot)
2679 size_t len = strlen ((const char *) sysroot);
2681 /* Workaround to avoid adding sysroot repeatedly */
2682 if (strncmp ((const char *) url, (const char *) sysroot, len) == 0)
2683 sysroot = NULL;
2685 file = FcConfigFileExists (sysroot, url);
2696 if (sysroot)
2697 s = FcStrBuildFilename (sysroot, dir, NULL);
2701 if (sysroot)
2719 if (sysroot)
2720 s = FcStrBuildFilename (sysroot, *p, NULL);
2724 if (sysroot)
3002 const FcChar8 *sysroot)
3012 * the sysroot is set prior to initialize FcConfig,
3013 * to avoid loading caches from non-sysroot dirs.
3026 if (sysroot)
3028 s = FcStrRealPath (sysroot);
3046 fprintf (stderr, "Fontconfig warning: Unable to initialize config and retry limit exceeded. sysroot functionality may not work as expected.\n");