Home
last modified time | relevance | path

Searched refs:statbuf (Results 1 – 8 of 8) sorted by relevance

/developtools/hdc/src/test/
Dut_runtime.cpp198 struct stat statbuf; in ResetUtTmpFolder() local
199 if (!stat(UT_TMP_PATH.c_str(), &statbuf)) in ResetUtTmpFolder()
203 struct stat statbuf; in ResetUtTmpFolder() local
204 if (!stat(UT_TMP_PATH.c_str(), &statbuf)) { in ResetUtTmpFolder()
216 struct stat statbuf; in ResetUtTmpFile() local
217 if (!stat(utFile.c_str(), &statbuf)) { in ResetUtTmpFile()
/developtools/hdc/src/common/
Ddebug.cpp65 struct stat statbuf; in ReadHexFromDebugFile() local
66 stat(pathName, &statbuf); in ReadHexFromDebugFile()
67 int size = statbuf.st_size; in ReadHexFromDebugFile()
Dtransfer.cpp309 context->fsOpenReq.result, fs.statbuf.st_size); in OnFileOpen()
311 st.fileSize = fs.statbuf.st_size; in OnFileOpen()
314 … st.atime = fs.statbuf.st_atim.tv_sec * HDC_TIME_CONVERT_BASE + fs.statbuf.st_atim.tv_nsec; in OnFileOpen()
315 … st.mtime = fs.statbuf.st_mtim.tv_sec * HDC_TIME_CONVERT_BASE + fs.statbuf.st_mtim.tv_nsec; in OnFileOpen()
320 context->fileMode.perm = fs.statbuf.st_mode; in OnFileOpen()
321 context->fileMode.uId = fs.statbuf.st_uid; in OnFileOpen()
322 context->fileMode.gId = fs.statbuf.st_gid; in OnFileOpen()
428 mode.perm = fs.statbuf.st_mode; in GetSubFilesRecursively()
429 mode.uId = fs.statbuf.st_uid; in GetSubFilesRecursively()
430 mode.gId = fs.statbuf.st_gid; in GetSubFilesRecursively()
[all …]
Dbase.cpp161 uint64_t size = fs.statbuf.st_size; in RollLogFile()
748 size_t nFileSize = req.statbuf.st_size; in ReadBinFile()
1179 mode = req.statbuf.st_mode; in CheckDirectoryOrPath()
1215 mode_t mode = req.statbuf.st_mode; in TryCreateDirectory()
Dfile.cpp278 if ((uint64_t)fs.statbuf.st_mtim.tv_sec >= ctxNow.transferConfig.mtime) { in SlaveCheck()
/developtools/hdc/src/host/
Dhost_updater.cpp132 Base::ZeroStruct(fs.statbuf); in CheckMaster()
134 context->transferConfig.fileSize = fs.statbuf.st_size; in CheckMaster()
Dhost_app.cpp102 context->transferConfig.fileSize = fs.statbuf.st_size; in CheckMaster()
/developtools/hiperf/test/unittest/common/native/
Dsubcommand_record_test.cpp150 struct stat statbuf; in GetFileSize() local
151 stat(fileName, &statbuf); in GetFileSize()
152 size_t fileSize = statbuf.st_size; in GetFileSize()