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.cpp310 st.fileSize = fs.statbuf.st_size; in OnFileOpen()
313 … st.atime = fs.statbuf.st_atim.tv_sec * HDC_TIME_CONVERT_BASE + fs.statbuf.st_atim.tv_nsec; in OnFileOpen()
314 … 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.u_id = fs.statbuf.st_uid; in OnFileOpen()
322 context->fileMode.g_id = fs.statbuf.st_gid; in OnFileOpen()
432 mode.perm = fs.statbuf.st_mode; in GetSubFilesRecursively()
433 mode.u_id = fs.statbuf.st_uid; in GetSubFilesRecursively()
434 mode.g_id = fs.statbuf.st_gid; in GetSubFilesRecursively()
480 mode_t mode = req.statbuf.st_mode; in CheckLocalPath()
[all …]
Dbase.cpp164 uint64_t size = fs.statbuf.st_size; in RollLogFile()
703 size_t nFileSize = req.statbuf.st_size; in ReadBinFile()
1134 mode = req.statbuf.st_mode; in CheckDirectoryOrPath()
1171 mode_t mode = req.statbuf.st_mode; in TryCreateDirectory()
Dfile.cpp280 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.cpp132 struct stat statbuf; in GetFileSize() local
133 stat(fileName, &statbuf); in GetFileSize()
134 size_t fileSize = statbuf.st_size; in GetFileSize()