Lines Matching refs:de
213 struct dirent *de; in _delete_dir_contents() local
220 while ((de = readdir(d))) { in _delete_dir_contents()
221 const char *name = de->d_name; in _delete_dir_contents()
226 if (de->d_type == DT_DIR) { in _delete_dir_contents()
315 struct dirent *de; in lookup_media_dir() local
348 while ((de = readdir(d))) { in lookup_media_dir()
349 if (strcasecmp(de->d_name, dir) == 0) { in lookup_media_dir()
350 strcpy(dirpos, de->d_name); in lookup_media_dir()
510 struct dirent *de; in _add_cache_files() local
525 while ((de = readdir(dir))) { in _add_cache_files()
526 const char *name = de->d_name; in _add_cache_files()
528 if (de->d_type == DT_DIR) { in _add_cache_files()
573 } else if (de->d_type == DT_REG) { in _add_cache_files()
623 struct dirent *de; in add_cache_files() local
633 while ((de = readdir(d))) { in add_cache_files()
634 if (de->d_type == DT_DIR) { in add_cache_files()
636 const char *name = de->d_name; in add_cache_files()