/frameworks/native/libs/diskusage/ |
dirsize.c | 57 int subfd; local 67 subfd = openat(dfd, name, O_RDONLY | O_DIRECTORY); 68 if (subfd >= 0) { 69 size += calculate_dir_size(subfd);
|
/frameworks/native/cmds/installd/ |
utils.c | 228 int r, subfd; local 237 subfd = openat(dfd, name, O_RDONLY | O_DIRECTORY); 238 if (subfd < 0) { 243 subdir = fdopendir(subfd); 246 close(subfd); 530 int subfd; local 539 subfd = openat(dfd, name, O_RDONLY | O_DIRECTORY); 540 if (subfd < 0) { 544 subdir = fdopendir(subfd); 547 close(subfd); [all...] |
commands.c | 498 int subfd; local 509 subfd = openat(dfd, name, O_RDONLY | O_DIRECTORY); 510 if (subfd >= 0) { 511 dirsize = calculate_dir_size(subfd); 878 int dfd, subfd; local 906 subfd = openat(dfd, name, O_RDONLY); 907 if (subfd < 0) { [all...] |