Home
last modified time | relevance | path

Searched refs:statEntity (Results 1 - 10 of 10) sorted by relevance

/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/class_stat_v9/
H A Dstat_n_exporter_v9.cpp49 auto statEntity = NClass::GetEntityOf<StatEntityV9>(env, funcArg.GetThisVar()); in CheckStatMode() local
50 if (!statEntity) { in CheckStatMode()
54 bool check = (statEntity->stat_.st_mode & S_IFMT) == mode; in CheckStatMode()
101 auto statEntity = NClass::GetEntityOf<StatEntityV9>(env, funcArg.GetThisVar()); in GetIno() local
102 if (!statEntity) { in GetIno()
106 return NVal::CreateInt64(env, statEntity->stat_.st_ino).val_; in GetIno()
117 auto statEntity = NClass::GetEntityOf<StatEntityV9>(env, funcArg.GetThisVar()); in GetMode() local
118 if (!statEntity) { in GetMode()
122 return NVal::CreateInt64(env, statEntity->stat_.st_mode & S_PERMISSION).val_; in GetMode()
133 auto statEntity in GetUid() local
149 auto statEntity = NClass::GetEntityOf<StatEntityV9>(env, funcArg.GetThisVar()); GetGid() local
165 auto statEntity = NClass::GetEntityOf<StatEntityV9>(env, funcArg.GetThisVar()); GetSize() local
181 auto statEntity = NClass::GetEntityOf<StatEntityV9>(env, funcArg.GetThisVar()); GetBlksize() local
197 auto statEntity = NClass::GetEntityOf<StatEntityV9>(env, funcArg.GetThisVar()); GetAtime() local
213 auto statEntity = NClass::GetEntityOf<StatEntityV9>(env, funcArg.GetThisVar()); GetMtime() local
229 auto statEntity = NClass::GetEntityOf<StatEntityV9>(env, funcArg.GetThisVar()); GetCtime() local
245 unique_ptr<StatEntityV9> statEntity = make_unique<StatEntityV9>(); Constructor() local
[all...]
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/class_stat/
H A Dstat_n_exporter.cpp46 auto statEntity = NClass::GetEntityOf<StatEntity>(env, funcArg.GetThisVar()); in CheckStatMode() local
47 if (!statEntity) { in CheckStatMode()
51 bool check = (statEntity->stat_.st_mode & S_IFMT) == mode; in CheckStatMode()
98 auto statEntity = NClass::GetEntityOf<StatEntity>(env, funcArg.GetThisVar()); in GetDev() local
99 if (!statEntity) { in GetDev()
103 return NVal::CreateInt64(env, statEntity->stat_.st_dev).val_; in GetDev()
114 auto statEntity = NClass::GetEntityOf<StatEntity>(env, funcArg.GetThisVar()); in GetIno() local
115 if (!statEntity) { in GetIno()
119 return NVal::CreateBigInt64(env, statEntity->stat_.st_ino).val_; in GetIno()
130 auto statEntity in GetMode() local
146 auto statEntity = NClass::GetEntityOf<StatEntity>(env, funcArg.GetThisVar()); GetNlink() local
162 auto statEntity = NClass::GetEntityOf<StatEntity>(env, funcArg.GetThisVar()); GetUid() local
178 auto statEntity = NClass::GetEntityOf<StatEntity>(env, funcArg.GetThisVar()); GetGid() local
194 auto statEntity = NClass::GetEntityOf<StatEntity>(env, funcArg.GetThisVar()); GetRdev() local
210 auto statEntity = NClass::GetEntityOf<StatEntity>(env, funcArg.GetThisVar()); GetSize() local
226 auto statEntity = NClass::GetEntityOf<StatEntity>(env, funcArg.GetThisVar()); GetBlksize() local
242 auto statEntity = NClass::GetEntityOf<StatEntity>(env, funcArg.GetThisVar()); GetBlocks() local
258 auto statEntity = NClass::GetEntityOf<StatEntity>(env, funcArg.GetThisVar()); GetAtime() local
274 auto statEntity = NClass::GetEntityOf<StatEntity>(env, funcArg.GetThisVar()); GetMtime() local
290 auto statEntity = NClass::GetEntityOf<StatEntity>(env, funcArg.GetThisVar()); GetCtime() local
306 unique_ptr<StatEntity> statEntity = make_unique<StatEntity>(); Constructor() local
[all...]
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/class_stat/
H A Dstat_n_exporter.cpp43 auto statEntity = NClass::GetEntityOf<StatEntity>(env, funcArg.GetThisVar()); in CheckStatMode() local
44 if (!statEntity) { in CheckStatMode()
49 bool check = (statEntity->stat_.st_mode & S_IFMT) == mode; in CheckStatMode()
97 auto statEntity = NClass::GetEntityOf<StatEntity>(env, funcArg.GetThisVar()); in GetIno() local
98 if (!statEntity) { in GetIno()
103 return NVal::CreateBigInt64(env, statEntity->stat_.st_ino).val_; in GetIno()
115 auto statEntity = NClass::GetEntityOf<StatEntity>(env, funcArg.GetThisVar()); in GetMode() local
116 if (!statEntity) { in GetMode()
121 return NVal::CreateInt64(env, statEntity->stat_.st_mode & S_PERMISSION).val_; in GetMode()
133 auto statEntity in GetUid() local
151 auto statEntity = NClass::GetEntityOf<StatEntity>(env, funcArg.GetThisVar()); GetGid() local
169 auto statEntity = NClass::GetEntityOf<StatEntity>(env, funcArg.GetThisVar()); GetSize() local
187 auto statEntity = NClass::GetEntityOf<StatEntity>(env, funcArg.GetThisVar()); GetAtime() local
205 auto statEntity = NClass::GetEntityOf<StatEntity>(env, funcArg.GetThisVar()); GetMtime() local
223 auto statEntity = NClass::GetEntityOf<StatEntity>(env, funcArg.GetThisVar()); GetCtime() local
242 auto statEntity = NClass::GetEntityOf<StatEntity>(env, funcArg.GetThisVar()); GetLocation() local
286 auto statEntity = CreateUniquePtr<StatEntity>(); Constructor() local
[all...]
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/properties/
H A Dfstat.cpp61 auto statEntity = NClass::GetEntityOf<StatEntity>(env, objStat); in Sync() local
62 if (!statEntity) { in Sync()
67 statEntity->stat_ = buf; in Sync()
106 auto statEntity = NClass::GetEntityOf<StatEntity>(env, objStat); in Async()
107 if (!statEntity) { in Async()
110 statEntity->stat_ = arg->stat_; in Async()
H A Dstat.cpp61 auto statEntity = NClass::GetEntityOf<StatEntity>(env, objStat); in Sync() local
62 if (!statEntity) { in Sync()
66 statEntity->stat_ = buf; in Sync()
108 auto statEntity = NClass::GetEntityOf<StatEntity>(env, objStat); in Async()
109 if (!statEntity) { in Async()
113 statEntity->stat_ = arg->stat_; in Async()
H A Dlstat.cpp61 auto statEntity = NClass::GetEntityOf<StatEntity>(env, objStat); in Sync() local
62 if (!statEntity) { in Sync()
66 statEntity->stat_ = buf; in Sync()
106 auto statEntity = NClass::GetEntityOf<StatEntity>(env, objStat); in Async()
107 if (!statEntity) { in Async()
110 statEntity->stat_ = arg->stat_; in Async()
H A Dstat_v9.cpp90 auto statEntity = NClass::GetEntityOf<StatEntityV9>(env, objStat); in Sync() local
91 if (!statEntity) { in Sync()
95 statEntity->stat_ = buf; in Sync()
136 auto statEntity = NClass::GetEntityOf<StatEntityV9>(env, objStat); in Async()
137 if (!statEntity) { in Async()
140 statEntity->stat_ = arg->stat_; in Async()
/foundation/filemanagement/user_file_service/utils/
H A Dfile_util.h94 static bool GetStat(const string &path, StatEntity &statEntity) in GetStat() argument
104 statEntity = StatEntity { stat_req->statbuf }; in GetStat()
158 StatEntity statEntity; in CopyAndDeleteFile() local
159 if (!GetStat(src, statEntity)) { in CopyAndDeleteFile()
164 uint64_t acTimeLong = static_cast<uint64_t>(statEntity.stat_.st_atim.tv_sec * TIME_CONVERT_BASE + in CopyAndDeleteFile()
165 statEntity.stat_.st_atim.tv_nsec); in CopyAndDeleteFile()
166 uint64_t modTimeLong = static_cast<uint64_t>(statEntity.stat_.st_mtim.tv_sec * TIME_CONVERT_BASE + in CopyAndDeleteFile()
167 statEntity.stat_.st_mtim.tv_nsec); in CopyAndDeleteFile()
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/
H A Dcommon_func.cpp185 auto statEntity = NClass::GetEntityOf<StatEntity>(env, objStat); in InstantiateStat() local
186 if (!statEntity) { in InstantiateStat()
192 statEntity->stat_ = buf; in InstantiateStat()
193 statEntity->fileInfo_ = fileInfo; in InstantiateStat()
207 auto statEntity = NClass::GetEntityOf<StatEntity>(env, objStat); in InstantiateStat() local
208 if (!statEntity) { in InstantiateStat()
214 statEntity->stat_ = buf; in InstantiateStat()
/foundation/filemanagement/user_file_service/interfaces/kits/native/trash/src/
H A Dfile_trash_n_exporter.cpp386 StatEntity statEntity; in GenerateFileInfoEntity() local
387 if (GetStat(filterDirent, statEntity)) { in GenerateFileInfoEntity()
388 bool check = (statEntity.stat_.st_mode & S_IFMT) == S_IFDIR; in GenerateFileInfoEntity()
397 fileInfoEntity.size = static_cast<int64_t>(statEntity.stat_.st_size); in GenerateFileInfoEntity()
398 fileInfoEntity.mtime = static_cast<int64_t>(statEntity.stat_.st_mtim.tv_sec); in GenerateFileInfoEntity()

Completed in 6 milliseconds