Home
last modified time | relevance | path

Searched refs:sstat (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/mtp/
DMtpUtils.cpp172 struct stat sstat = {}; in copyFile() local
173 if (stat(fromPath, &sstat) == -1) in copyFile()
176 off_t length = sstat.st_size; in copyFile()
DMtpServer.cpp798 struct stat sstat; in doGetObject() local
810 fstat(mfr.fd, &sstat); in doGetObject()
811 finalsize = sstat.st_size; in doGetObject()
827 fstat(mfr.fd, &sstat); in doGetObject()
828 finalsize = sstat.st_size; in doGetObject()
1211 struct stat sstat = {}; in doSendObject() local
1287 fstat(mfr.fd, &sstat); in doSendObject()
1310 uint64_t finalsize = sstat.st_size; in doSendObject()
/frameworks/av/media/mtp/tests/MtpFuzzer/
DMtpMockDatabase.cpp242 struct stat sstat; in getObjectFilePath() local
245 if (stat((const char*)outFilePath, &sstat) < 0) { in getObjectFilePath()
251 outFileLength = sstat.st_size; in getObjectFilePath()