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.cpp329 int subfd; local
338 subfd = openat(dfd, name, O_RDONLY | O_DIRECTORY | O_NOFOLLOW | O_CLOEXEC);
339 if (subfd < 0) {
344 subdir = fdopendir(subfd);
347 close(subfd);
691 int subfd; local
700 subfd = openat(dfd, name, O_RDONLY | O_DIRECTORY | O_NOFOLLOW | O_CLOEXEC);
701 if (subfd < 0) {
705 subdir = fdopendir(subfd);
708 close(subfd);
[all...]
H A Dcommands.cpp551 int subfd; local
558 subfd = openat(dfd, name, O_RDONLY | O_DIRECTORY);
559 if (subfd >= 0) {
560 dirsize = calculate_dir_size(subfd);
561 close(subfd);

Completed in 82 milliseconds