Lines Matching +refs:env +refs:Path
57 char *Path; member
211 mainFunc = _eglOpenLibrary(mod->Path, &lib); in _eglLoadModule()
224 _eglLog(_EGL_WARNING, "Driver loaded from %s has no name", mod->Path); in _eglLoadModule()
281 if (strcmp(mod->Path, path) == 0) in _eglAddModule()
288 mod->Path = _eglstrdup(path); in _eglAddModule()
289 if (!mod->Path) { in _eglAddModule()
296 _eglLog(_EGL_DEBUG, "added %s to module array", mod->Path); in _eglAddModule()
312 free(mod->Path); in _eglFreeModule()
469 char *env; in _eglAddUserDriver() local
472 env = getenv("EGL_DRIVER"); in _eglAddUserDriver()
474 if (env && strchr(env, '/')) { in _eglAddUserDriver()
479 env = NULL; in _eglAddUserDriver()
482 else if (env) { in _eglAddUserDriver()
483 char *suffix = strchr(env, '.'); in _eglAddUserDriver()
484 name_len = (suffix) ? suffix - env : strlen(env); in _eglAddUserDriver()
487 if (env) in _eglAddUserDriver()
488 name_len = strlen(env); in _eglAddUserDriver()
502 !strncmp(_eglBuiltInDrivers[i].name, env, name_len)) { in _eglAddUserDriver()
503 mod = _eglAddModule(env); in _eglAddUserDriver()
513 if (env) { in _eglAddUserDriver()
514 _eglPreloadForEach(search_path, _eglLoaderFile, (void *) env); in _eglAddUserDriver()