Home
last modified time | relevance | path

Searched refs:st_mode (Results 1 – 8 of 8) sorted by relevance

/device/google/cuttlefish/host/libs/command_util/
Dsnapshot_utils.cc40 return S_ISFIFO(file_stat.st_mode); in IsFifo()
44 return S_ISSOCK(file_stat.st_mode); in IsSocket()
48 return S_ISLNK(file_stat.st_mode); in IsSymlink()
52 return S_ISREG(file_stat.st_mode); in IsRegular()
/device/google/cuttlefish/host/commands/assemble_cvd/
Dclean.cc51 if ((statbuf.st_mode & S_IFMT) != S_IFDIR) { in CleanPriorFiles()
94 bool is_directory = (statbuf.st_mode & S_IFMT) == S_IFDIR; in CleanPriorFiles()
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c593 bool st_mode; member
1500 if (T(self_test).st_mode) {
1735 T(self_test).st_mode,
1743 if (T(self_test).st_mode) {
1751 if (!T(self_test).st_mode) {
1752 T(self_test).st_mode = true;
1828 T(self_test).st_mode = false;
1846 T(self_test).st_mode = false;
/device/google/redbull/json-c/
Drandom_seed.c144 return ((buf.st_mode & S_IFCHR) != 0); in has_dev_urandom()
/device/google/coral/json-c/
Drandom_seed.c144 return ((buf.st_mode & S_IFCHR) != 0); in has_dev_urandom()
/device/google/sunfish/json-c/
Drandom_seed.c144 return ((buf.st_mode & S_IFCHR) != 0); in has_dev_urandom()
/device/google/cuttlefish/common/libs/utils/
Dfiles.cpp165 if ((st.st_mode & S_IFMT) != S_IFDIR) { in DirectoryExists()
540 return stat(path.c_str(), &st) == 0 && S_ISSOCK(st.st_mode); in FileIsSocket()
/device/google/cuttlefish/common/libs/fs/
Dshared_fd.cpp106 return S_ISREG(info.st_mode); in IsRegularFile()