Home
last modified time | relevance | path

Searched refs:stat_info (Results 1 – 8 of 8) 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/ImageMagick/coders/
Dora.c132 stat_info; in ReadORAImage() local
147 stat(image_info->filename,&stat_info); in ReadORAImage()
237 out_image->timestamp=time(&stat_info.st_mtime); in ReadORAImage()
240 out_image->extent=stat_info.st_size; in ReadORAImage()
/external/autotest/client/cros/crash/
Duser_crash_test.py320 stat_info = os.stat(crash_dir)
321 user = pwd.getpwuid(stat_info.st_uid).pw_name
322 group = grp.getgrgid(stat_info.st_gid).gr_name
323 mode = stat.S_IMODE(stat_info.st_mode)
326 if stat.S_ISDIR(stat_info.st_mode):
/external/python/cpython3/Lib/test/test_import/
D__init__.py532 stat_info = os.stat(cached_path)
536 self.assertEqual(oct(stat.S_IMODE(stat_info.st_mode)),
551 stat_info = os.stat(cached_path)
553 self.assertEqual(oct(stat.S_IMODE(stat_info.st_mode)), oct(mode))
566 stat_info = os.stat(cached_path)
569 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.py93 stat_info = _path_stat(path)
96 return (stat_info.st_mode & 0o170000) == mode