Home
last modified time | relevance | path

Searched refs:stat_info (Results 1 – 5 of 5) sorted by relevance

/external/libchrome/base/files/
Dfile_posix.cc110 void File::Info::FromStat(const stat_wrapper_t& stat_info) { in FromStat() argument
111 is_directory = S_ISDIR(stat_info.st_mode); in FromStat()
112 is_symbolic_link = S_ISLNK(stat_info.st_mode); in FromStat()
113 size = stat_info.st_size; in FromStat()
116 time_t last_modified_sec = stat_info.st_mtim.tv_sec; in FromStat()
117 int64_t last_modified_nsec = stat_info.st_mtim.tv_nsec; in FromStat()
118 time_t last_accessed_sec = stat_info.st_atim.tv_sec; in FromStat()
119 int64_t last_accessed_nsec = stat_info.st_atim.tv_nsec; in FromStat()
120 time_t creation_time_sec = stat_info.st_ctim.tv_sec; in FromStat()
121 int64_t creation_time_nsec = stat_info.st_ctim.tv_nsec; in FromStat()
[all …]
Dfile_util_posix.cc98 stat_wrapper_t stat_info; in VerifySpecificPathControlledByUser() local
99 if (CallLstat(path.value().c_str(), &stat_info) != 0) { in VerifySpecificPathControlledByUser()
105 if (S_ISLNK(stat_info.st_mode)) { in VerifySpecificPathControlledByUser()
111 if (stat_info.st_uid != owner_uid) { in VerifySpecificPathControlledByUser()
117 if ((stat_info.st_mode & S_IWGRP) && in VerifySpecificPathControlledByUser()
118 !ContainsKey(group_gids, stat_info.st_gid)) { in VerifySpecificPathControlledByUser()
124 if (stat_info.st_mode & S_IWOTH) { in VerifySpecificPathControlledByUser()
Dfile.h135 void FromStat(const stat_wrapper_t& stat_info);
/external/autotest/client/site_tests/logging_UserCrash/
Dlogging_UserCrash.py256 stat_info = os.stat(crash_dir)
257 user = pwd.getpwuid(stat_info.st_uid)[0]
258 group = grp.getgrgid(stat_info.st_gid)[0]
259 mode = stat.S_IMODE(stat_info.st_mode)
/external/icu/icu4c/source/tools/tzcode/
Dtz2icu.cpp647 struct stat stat_info; in scandir() local
664 lstat(dir_entry->d_name,&stat_info); in scandir()
665 if (S_ISDIR(stat_info.st_mode)) { in scandir()