Home
last modified time | relevance | path

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

/external/libchrome/base/files/
Dfile_posix.cc114 void File::Info::FromStat(const stat_wrapper_t& stat_info) { in FromStat() argument
115 is_directory = S_ISDIR(stat_info.st_mode); in FromStat()
116 is_symbolic_link = S_ISLNK(stat_info.st_mode); in FromStat()
117 size = stat_info.st_size; in FromStat()
120 time_t last_modified_sec = stat_info.st_mtim.tv_sec; in FromStat()
121 int64_t last_modified_nsec = stat_info.st_mtim.tv_nsec; in FromStat()
122 time_t last_accessed_sec = stat_info.st_atim.tv_sec; in FromStat()
123 int64_t last_accessed_nsec = stat_info.st_atim.tv_nsec; in FromStat()
124 time_t creation_time_sec = stat_info.st_ctim.tv_sec; in FromStat()
125 int64_t creation_time_nsec = stat_info.st_ctim.tv_nsec; in FromStat()
[all …]
Dfile_util_posix.cc97 stat_wrapper_t stat_info; in VerifySpecificPathControlledByUser() local
98 if (CallLstat(path.value().c_str(), &stat_info) != 0) { in VerifySpecificPathControlledByUser()
104 if (S_ISLNK(stat_info.st_mode)) { in VerifySpecificPathControlledByUser()
109 if (stat_info.st_uid != owner_uid) { in VerifySpecificPathControlledByUser()
114 if ((stat_info.st_mode & S_IWGRP) && in VerifySpecificPathControlledByUser()
115 !ContainsKey(group_gids, stat_info.st_gid)) { in VerifySpecificPathControlledByUser()
121 if (stat_info.st_mode & S_IWOTH) { in VerifySpecificPathControlledByUser()
Dfile.h127 void FromStat(const stat_wrapper_t& stat_info);
/external/autotest/client/cros/crash/
Duser_crash_test.py316 stat_info = os.stat(crash_dir)
317 user = pwd.getpwuid(stat_info.st_uid).pw_name
318 group = grp.getgrgid(stat_info.st_gid).gr_name
319 mode = stat.S_IMODE(stat_info.st_mode)
/external/python/cpython3/Lib/test/test_import/
D__init__.py457 stat_info = os.stat(cached_path)
461 self.assertEqual(oct(stat.S_IMODE(stat_info.st_mode)),
476 stat_info = os.stat(cached_path)
478 self.assertEqual(oct(stat.S_IMODE(stat_info.st_mode)), oct(mode))
491 stat_info = os.stat(cached_path)
494 self.assertEqual(oct(stat.S_IMODE(stat_info.st_mode)), oct(expected))
/external/icu/icu4c/source/tools/tzcode/
Dtz2icu.cpp648 struct stat stat_info; in scandir() local
665 lstat(dir_entry->d_name,&stat_info); in scandir()
666 if (S_ISDIR(stat_info.st_mode)) { in scandir()
/external/python/cpython3/Lib/importlib/
D_bootstrap_external.py87 stat_info = _path_stat(path)
90 return (stat_info.st_mode & 0o170000) == mode