Searched refs:search_paths (Results 1 – 2 of 2) sorted by relevance
173 char path[PATH_MAX], *search_paths, *p, *next, *end; in dri_load_driver() local175 search_paths = NULL; in dri_load_driver()178 search_paths = getenv("GBM_DRIVERS_PATH"); in dri_load_driver()180 if (search_paths == NULL) in dri_load_driver()181 search_paths = DEFAULT_DRIVER_DIR; in dri_load_driver()184 end = search_paths + strlen(search_paths); in dri_load_driver()185 for (p = search_paths; p < end && dri->driver == NULL; p = next + 1) { in dri_load_driver()208 search_paths); in dri_load_driver()
371 char path[PATH_MAX], *search_paths, *p, *next, *end; in dri2_open_driver() local373 search_paths = NULL; in dri2_open_driver()376 search_paths = getenv("LIBGL_DRIVERS_PATH"); in dri2_open_driver()378 if (search_paths == NULL) in dri2_open_driver()379 search_paths = DEFAULT_DRIVER_DIR; in dri2_open_driver()382 end = search_paths + strlen(search_paths); in dri2_open_driver()383 for (p = search_paths; p < end && dri2_dpy->driver == NULL; p = next + 1) { in dri2_open_driver()407 dri2_dpy->driver_name, search_paths); in dri2_open_driver()