Searched refs:stat_info (Results 1 – 10 of 10) sorted by relevance
/third_party/gn/src/base/files/ |
D | file_posix.cc | 85 void File::Info::FromStat(const stat_wrapper_t& stat_info) { in FromStat() argument 86 is_directory = S_ISDIR(stat_info.st_mode); in FromStat() 87 is_symbolic_link = S_ISLNK(stat_info.st_mode); in FromStat() 88 size = stat_info.st_size; in FromStat() 91 time_t last_modified_sec = stat_info.st_mtimespec.tv_sec; in FromStat() 92 int64_t last_modified_nsec = stat_info.st_mtimespec.tv_nsec; in FromStat() 93 time_t last_accessed_sec = stat_info.st_atimespec.tv_sec; in FromStat() 94 int64_t last_accessed_nsec = stat_info.st_atimespec.tv_nsec; in FromStat() 95 time_t creation_time_sec = stat_info.st_ctimespec.tv_sec; in FromStat() 96 int64_t creation_time_nsec = stat_info.st_ctimespec.tv_nsec; in FromStat() [all …]
|
D | file_util_posix.cc | 84 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()
|
D | file.h | 95 void FromStat(const stat_wrapper_t& stat_info);
|
/third_party/toybox/porting/liteos_a/toys/posix/ |
D | rm.c | 28 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/ |
D | __init__.py | 533 stat_info = os.stat(cached_path) 537 self.assertEqual(oct(stat.S_IMODE(stat_info.st_mode)), 552 stat_info = os.stat(cached_path) 554 self.assertEqual(oct(stat.S_IMODE(stat_info.st_mode)), oct(mode)) 567 stat_info = os.stat(cached_path) 570 self.assertEqual(oct(stat.S_IMODE(stat_info.st_mode)), oct(expected))
|
/third_party/icu/icu4c/source/tools/tzcode/ |
D | tz2icu.cpp | 648 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/flutter/skia/third_party/externals/icu/source/tools/tzcode/ |
D | tz2icu.cpp | 648 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/ |
D | tz2icu.cpp | 648 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/python/Lib/importlib/ |
D | _bootstrap_external.py | 153 stat_info = _path_stat(path) 156 return (stat_info.st_mode & 0o170000) == mode
|
/third_party/chromium/patch/ |
D | 0003-ohos-1115.patch | 1363 @@ -133,14 +133,14 @@ void File::Info::FromStat(const stat_wrapper_t& stat_info) { 1369 time_t last_modified_sec = stat_info.st_mtim.tv_sec; 1370 int64_t last_modified_nsec = stat_info.st_mtim.tv_nsec; 1371 time_t last_accessed_sec = stat_info.st_atim.tv_sec; 1372 int64_t last_accessed_nsec = stat_info.st_atim.tv_nsec; 1373 time_t creation_time_sec = stat_info.st_ctim.tv_sec; 1374 int64_t creation_time_nsec = stat_info.st_ctim.tv_nsec; 1377 time_t last_modified_sec = stat_info.st_mtime; 1378 int64_t last_modified_nsec = stat_info.st_mtime_nsec; 1379 time_t last_accessed_sec = stat_info.st_atime;
|