Lines Matching refs:de
437 struct dirent* de; in erase_volume() local
444 while ((de = readdir(d)) != NULL) { in erase_volume()
445 if (strncmp(de->d_name, "last_", 5) == 0 || strcmp(de->d_name, "log") == 0) { in erase_volume()
447 strcpy(path+path_len, de->d_name); in erase_volume()
576 struct dirent* de; in browse_directory() local
577 while ((de = readdir(d)) != NULL) { in browse_directory()
578 int name_len = strlen(de->d_name); in browse_directory()
580 if (de->d_type == DT_DIR) { in browse_directory()
582 if (name_len == 1 && de->d_name[0] == '.') continue; in browse_directory()
583 if (name_len == 2 && de->d_name[0] == '.' && in browse_directory()
584 de->d_name[1] == '.') continue; in browse_directory()
591 strcpy(dirs[d_size], de->d_name); in browse_directory()
595 } else if (de->d_type == DT_REG && in browse_directory()
597 strncasecmp(de->d_name + (name_len-4), ".zip", 4) == 0) { in browse_directory()
602 zips[z_size++] = strdup(de->d_name); in browse_directory()