Home
last modified time | relevance | path

Searched refs:fdSrc (Results 1 – 4 of 4) sorted by relevance

/device/google/barbet/dumpstate/
DDumpstateDevice.cpp76 int fdSrc = open(srcFile.c_str(), O_RDONLY); in copyFile() local
77 if (fdSrc < 0) { in copyFile()
85 close(fdSrc); in copyFile()
90 while ((size = TEMP_FAILURE_RETRY(read(fdSrc, buffer, BUFSIZE))) > 0) { in copyFile()
95 close(fdSrc); in copyFile()
/device/google/coral/dumpstate/
DDumpstateDevice.cpp77 int fdSrc = open(srcFile.c_str(), O_RDONLY); in copyFile() local
78 if (fdSrc < 0) { in copyFile()
86 close(fdSrc); in copyFile()
91 while ((size = TEMP_FAILURE_RETRY(read(fdSrc, buffer, BUFSIZE))) > 0) { in copyFile()
96 close(fdSrc); in copyFile()
/device/google/redfin/dumpstate/
DDumpstateDevice.cpp74 int fdSrc = open(srcFile.c_str(), O_RDONLY); in copyFile() local
75 if (fdSrc < 0) { in copyFile()
83 close(fdSrc); in copyFile()
88 while ((size = TEMP_FAILURE_RETRY(read(fdSrc, buffer, BUFSIZE))) > 0) { in copyFile()
93 close(fdSrc); in copyFile()
/device/google/sunfish/dumpstate/
DDumpstateDevice.cpp75 int fdSrc = open(srcFile.c_str(), O_RDONLY); in copyFile() local
76 if (fdSrc < 0) { in copyFile()
84 close(fdSrc); in copyFile()
89 while ((size = TEMP_FAILURE_RETRY(read(fdSrc, buffer, BUFSIZE))) > 0) { in copyFile()
94 close(fdSrc); in copyFile()