Home | History | Annotate | Download | only in main

Lines Matching defs:Path

57    char *Path;
211 mainFunc = _eglOpenLibrary(mod->Path, &lib);
224 _eglLog(_EGL_WARNING, "Driver loaded from %s has no name", mod->Path);
267 _eglAddModule(const char *path)
281 if (strcmp(mod->Path, path) == 0)
288 mod->Path = _eglstrdup(path);
289 if (!mod->Path) {
296 _eglLog(_EGL_DEBUG, "added %s to module array", mod->Path);
312 free(mod->Path);
324 char path[1024];
328 /* make a full path */
329 if (len + flen + 2 > sizeof(path))
332 memcpy(path, dir, len);
333 path[len++] = '/';
335 memcpy(path + len, filename, flen);
337 path[len] = '\0';
349 if (len + slen + 1 > sizeof(path))
351 strcpy(path + len, suffix);
357 if (access(path, F_OK))
361 _eglAddModule(path);
452 _eglLog(_EGL_DEBUG, "EGL search path is %s", search_path);
512 /* otherwise, treat env as a path */
703 * Invoke a callback function on each EGL search path.
705 * The first argument of the callback function is the name of the search path.