Home
last modified time | relevance | path

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

/external/chromium_org/chrome/common/extensions/docs/server2/
Dpatched_file_system.py94 def _PatchStat(self, stat_info, version, added, deleted, modified): argument
96 assert stat_info.child_versions is not None
100 stat_info = deepcopy(stat_info)
102 stat_info.version = version
104 stat_info.child_versions[child] = version
106 if stat_info.child_versions.get(child):
107 del stat_info.child_versions[child]
109 return stat_info
124 stat_info = self._PatchStat(
131 stat_info = StatInfo(
[all …]
Dgitiles_file_system.py213 stat_info = _CreateStatInfo(content)
214 if stat_info.version is None:
217 return stat_info
218 if filename not in stat_info.child_versions:
221 return StatInfo(stat_info.child_versions[filename])
Dsubversion_file_system.py192 stat_info = _CreateStatInfo(result.content)
193 if stat_info.version is None:
196 return stat_info
197 if filename not in stat_info.child_versions:
200 return StatInfo(stat_info.child_versions[filename])
Dsubversion_file_system_test.py62 stat_info = file_system.Stat('stat/')
69 self.assertEqual(expected, stat_info)
74 stat_info = file_system.Stat('stat/extension_api.h')
77 self.assertEqual(StatInfo('146163'), stat_info)
Dnew_github_file_system.py282 stat_info = StatInfo(version)
284 stat_info.child_versions = dict((p, StatInfo(version))
286 return stat_info
/external/chromium_org/base/files/
Dfile_posix.cc118 void File::Info::FromStat(const stat_wrapper_t& stat_info) { in FromStat() argument
119 is_directory = S_ISDIR(stat_info.st_mode); in FromStat()
120 is_symbolic_link = S_ISLNK(stat_info.st_mode); in FromStat()
121 size = stat_info.st_size; in FromStat()
124 time_t last_modified_sec = stat_info.st_mtim.tv_sec; in FromStat()
125 int64 last_modified_nsec = stat_info.st_mtim.tv_nsec; in FromStat()
126 time_t last_accessed_sec = stat_info.st_atim.tv_sec; in FromStat()
127 int64 last_accessed_nsec = stat_info.st_atim.tv_nsec; in FromStat()
128 time_t creation_time_sec = stat_info.st_ctim.tv_sec; in FromStat()
129 int64 creation_time_nsec = stat_info.st_ctim.tv_nsec; in FromStat()
[all …]
Dfile_util_posix.cc99 stat_wrapper_t stat_info; in VerifySpecificPathControlledByUser() local
100 if (CallLstat(path.value().c_str(), &stat_info) != 0) { in VerifySpecificPathControlledByUser()
106 if (S_ISLNK(stat_info.st_mode)) { in VerifySpecificPathControlledByUser()
112 if (stat_info.st_uid != owner_uid) { in VerifySpecificPathControlledByUser()
118 if ((stat_info.st_mode & S_IWGRP) && in VerifySpecificPathControlledByUser()
119 !ContainsKey(group_gids, stat_info.st_gid)) { in VerifySpecificPathControlledByUser()
125 if (stat_info.st_mode & S_IWOTH) { in VerifySpecificPathControlledByUser()
Dfile.h136 void FromStat(const stat_wrapper_t& stat_info);
/external/lldb/source/Host/linux/
DHost.cpp52 …o (lldb::pid_t pid, ProcessInstanceInfo &process_info, ProcessStatInfo &stat_info, lldb::pid_t &tr…
111 ReadProcPseudoFileStat (lldb::pid_t pid, ProcessStatInfo& stat_info) in ReadProcPseudoFileStat() argument
127 stat_info.ppid = ppid; in ReadProcPseudoFileStat()
132 stat_info.fProcessState |= eProcessStateRunning; in ReadProcPseudoFileStat()
135 stat_info.fProcessState |= eProcessStateSleeping; in ReadProcPseudoFileStat()
138 stat_info.fProcessState |= eProcessStateWaiting; in ReadProcPseudoFileStat()
141 stat_info.fProcessState |= eProcessStateZombie; in ReadProcPseudoFileStat()
144 stat_info.fProcessState |= eProcessStateTracedOrStopped; in ReadProcPseudoFileStat()
147 stat_info.fProcessState |= eProcessStatePaging; in ReadProcPseudoFileStat()
269 ProcessStatInfo stat_info; in FindProcesses() local
[all …]
/external/chromium_org/third_party/icu/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()
/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()