Searched refs:subfd (Results 1 - 3 of 3) sorted by relevance

/frameworks/native/libs/diskusage/
H A Ddirsize.c46 int subfd; local
59 subfd = openat(dfd, name, O_RDONLY | O_DIRECTORY);
60 if (subfd >= 0) {
61 size += calculate_dir_size(subfd);
/frameworks/native/cmds/installd/
H A Dutils.cpp334 int subfd; local
343 subfd = openat(dfd, name, O_RDONLY | O_DIRECTORY | O_NOFOLLOW | O_CLOEXEC);
344 if (subfd < 0) {
349 subdir = fdopendir(subfd);
352 close(subfd);
696 int subfd; local
705 subfd = openat(dfd, name, O_RDONLY | O_DIRECTORY | O_NOFOLLOW | O_CLOEXEC);
706 if (subfd < 0) {
710 subdir = fdopendir(subfd);
713 close(subfd);
[all...]
H A Dcommands.cpp654 int subfd; local
661 subfd = openat(dfd, name, O_RDONLY | O_DIRECTORY);
662 if (subfd >= 0) {
663 dirsize = calculate_dir_size(subfd);
664 close(subfd);

Completed in 108 milliseconds