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.cpp794 struct stat sstat; in doGetObject() local
806 fstat(mfr.fd, &sstat); in doGetObject()
807 finalsize = sstat.st_size; in doGetObject()
823 fstat(mfr.fd, &sstat); in doGetObject()
824 finalsize = sstat.st_size; in doGetObject()
1207 struct stat sstat = {}; in doSendObject() local
1283 fstat(mfr.fd, &sstat); in doSendObject()
1306 uint64_t finalsize = sstat.st_size; in doSendObject()
/frameworks/av/media/mtp/tests/MtpFuzzer/
DMtpMockDatabase.cpp241 struct stat sstat; in getObjectFilePath() local
244 if (stat((const char*)outFilePath, &sstat) < 0) { in getObjectFilePath()
250 outFileLength = sstat.st_size; in getObjectFilePath()