Home
last modified time | relevance | path

Searched refs:stat_info (Results 1 - 8 of 8) sorted by relevance

/third_party/gn/src/base/files/
H A Dfile_posix.cc85 void File::Info::FromStat(const stat_wrapper_t& stat_info) { argument
86 is_directory = S_ISDIR(stat_info.st_mode);
87 is_symbolic_link = S_ISLNK(stat_info.st_mode);
88 size = stat_info.st_size;
91 time_t last_modified_sec = stat_info.st_mtimespec.tv_sec;
92 int64_t last_modified_nsec = stat_info.st_mtimespec.tv_nsec;
93 time_t last_accessed_sec = stat_info.st_atimespec.tv_sec;
94 int64_t last_accessed_nsec = stat_info.st_atimespec.tv_nsec;
95 time_t creation_time_sec = stat_info.st_ctimespec.tv_sec;
96 int64_t creation_time_nsec = stat_info
[all...]
H A Dfile_util_posix.cc84 stat_wrapper_t stat_info; in VerifySpecificPathControlledByUser() local
85 if (CallLstat(path.value().c_str(), &stat_info) != 0) { in VerifySpecificPathControlledByUser()
90 if (S_ISLNK(stat_info.st_mode)) { in VerifySpecificPathControlledByUser()
95 if (stat_info.st_uid != owner_uid) { in VerifySpecificPathControlledByUser()
100 if ((stat_info.st_mode & S_IWGRP) && in VerifySpecificPathControlledByUser()
101 !ContainsKey(group_gids, stat_info.st_gid)) { in VerifySpecificPathControlledByUser()
107 if (stat_info.st_mode & S_IWOTH) { in VerifySpecificPathControlledByUser()
H A Dfile.h96 // Fills this struct with values from |stat_info|.
97 void FromStat(const stat_wrapper_t& stat_info);
/third_party/toybox/porting/liteos_a/toys/posix/
H A Drm.c28 struct stat stat_info; in toybox_cmd_do_rmdir() local
33 (void)memset(&stat_info, 0, sizeof(struct stat)); in toybox_cmd_do_rmdir()
34 if (stat(pathname, &stat_info) != 0) return -1; in toybox_cmd_do_rmdir()
36 if (S_ISREG(stat_info.st_mode) || S_ISLNK(stat_info.st_mode)) { in toybox_cmd_do_rmdir()
/third_party/python/Lib/test/test_import/
H A D__init__.py551 stat_info = os.stat(cached_path)
555 self.assertEqual(oct(stat.S_IMODE(stat_info.st_mode)),
571 stat_info = os.stat(cached_path)
573 self.assertEqual(oct(stat.S_IMODE(stat_info.st_mode)), oct(mode))
587 stat_info = os.stat(cached_path)
590 self.assertEqual(oct(stat.S_IMODE(stat_info.st_mode)), oct(expected))
/third_party/python/Lib/importlib/
H A D_bootstrap_external.py153 stat_info = _path_stat(path)
156 return (stat_info.st_mode & 0o170000) == mode
/third_party/icu/icu4c/source/tools/tzcode/
H A 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()
/third_party/skia/third_party/externals/icu/source/tools/tzcode/
H A 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()

Completed in 13 milliseconds