Home | History | Annotate | Download | only in recovery

Lines Matching defs:de

596         struct dirent* de;
603 while ((de = readdir(d)) != NULL) {
604 if (strncmp(de->d_name, "last_", 5) == 0 || strcmp(de->d_name, "log") == 0) {
606 strcpy(path+path_len, de->d_name);
756 struct dirent* de;
757 while ((de = readdir(d)) != NULL) {
758 int name_len = strlen(de->d_name);
760 if (de->d_type == DT_DIR) {
762 if (name_len == 1 && de->d_name[0] == '.') continue;
763 if (name_len == 2 && de->d_name[0] == '.' &&
764 de->d_name[1] == '.') continue;
771 strcpy(dirs[d_size], de->d_name);
775 } else if (de->d_type == DT_REG &&
777 strncasecmp(de->d_name + (name_len-4), ".zip", 4) == 0) {
782 zips[z_size++] = strdup(de->d_name);