Lines Matching defs:dir
370 static void find_libname_by_drivername(char* libname, char* dir, char* drivername)
373 if (libname == NULL || dir == NULL || drivername == NULL)
380 DIR *backends_dir = opendir(dir);
382 DBG(2, "open dir %s error\n", backends_dir);
391 snprintf(full_path, PATH_MAX, "%s/" "%s", dir, entry->d_name);
460 char *funcname, *src, *orig_src = 0, *dir, *path = 0;
534 dir = strsep (&src, DIR_SEP);
536 while (dir)
540 dir, be->name, strlen(be->name)>7 ? (be->name)+strlen(be->name)-5 :
543 find_libname_by_drivername(libname, dir, be->name);
546 dir, be->name, V_MAJOR);
558 dir, be->name, V_MAJOR);
566 dir = strsep (&src, DIR_SEP);
863 char *copy, *next, *dir;
874 for (next = copy; (dir = strsep (&next, DIR_SEP)) != NULL;)
876 snprintf (dlldir, sizeof (dlldir), "%s%s", dir, "/dll.d");
883 /* length of path to parent dir of dll.d/ */
884 plen = strlen (dir) + 1;
940 DIR *dir;
1005 dir=opendir(path);
1006 if(!dir) continue;
1008 while((dirent=readdir(dir)))
1014 closedir(dir);