Searched refs:de (Results 1 – 4 of 4) sorted by relevance
/bootable/recovery/applypatch/ |
D | freecache.c | 16 struct dirent* de; in EliminateOpenFiles() local 22 while ((de = readdir(d)) != 0) { in EliminateOpenFiles() 24 for (i = 0; de->d_name[i] != '\0' && isdigit(de->d_name[i]); ++i); in EliminateOpenFiles() 25 if (de->d_name[i]) continue; in EliminateOpenFiles() 31 strcat(path, de->d_name); in EliminateOpenFiles() 59 printf("%s is open by %s\n", link, de->d_name); in EliminateOpenFiles() 76 struct dirent* de; in FindExpendableFiles() local 96 while ((de = readdir(d)) != 0) { in FindExpendableFiles() 99 strcat(path, de->d_name); in FindExpendableFiles()
|
/bootable/recovery/minzip/ |
D | DirUtil.c | 187 struct dirent *de; in dirUnlinkHierarchy() local 208 while ((de = readdir(dir)) != NULL) { in dirUnlinkHierarchy() 211 if (!strcmp(de->d_name, "..") || !strcmp(de->d_name, ".")) { in dirUnlinkHierarchy() 214 snprintf(dn, sizeof(dn), "%s/%s", path, de->d_name); in dirUnlinkHierarchy()
|
/bootable/recovery/ |
D | recovery.cpp | 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() [all …]
|
/bootable/recovery/minui/ |
D | events.cpp | 66 dirent* de; in ev_init() local 67 while ((de = readdir(dir))) { in ev_init() 71 if (strncmp(de->d_name, "event", 5)) continue; in ev_init() 72 int fd = openat(dirfd(dir), de->d_name, O_RDONLY); in ev_init()
|