Searched refs:fdTar (Results 1 – 4 of 4) sorted by relevance
/device/google/barbet/dumpstate/ |
D | DumpstateDevice.cpp | 158 int fdTar = open(tarFile.c_str(), O_WRONLY | O_CREAT, 0666); in createTarFile() local 159 if (fdTar < 0) { in createTarFile() 179 if (TEMP_FAILURE_RETRY(write(fdTar, tarHeader( in createTarFile() 188 write(fdTar, buffer, size); in createTarFile() 193 write(fdTar, &padding, 1); in createTarFile() 198 close(fdTar); in createTarFile()
|
/device/google/coral/dumpstate/ |
D | DumpstateDevice.cpp | 159 int fdTar = open(tarFile.c_str(), O_WRONLY | O_CREAT, 0666); in createTarFile() local 160 if (fdTar < 0) { in createTarFile() 180 if (TEMP_FAILURE_RETRY(write(fdTar, tarHeader( in createTarFile() 189 write(fdTar, buffer, size); in createTarFile() 194 write(fdTar, &padding, 1); in createTarFile() 199 close(fdTar); in createTarFile()
|
/device/google/redfin/dumpstate/ |
D | DumpstateDevice.cpp | 156 int fdTar = open(tarFile.c_str(), O_WRONLY | O_CREAT, 0666); in createTarFile() local 157 if (fdTar < 0) { in createTarFile() 177 if (TEMP_FAILURE_RETRY(write(fdTar, tarHeader( in createTarFile() 186 write(fdTar, buffer, size); in createTarFile() 191 write(fdTar, &padding, 1); in createTarFile() 196 close(fdTar); in createTarFile()
|
/device/google/sunfish/dumpstate/ |
D | DumpstateDevice.cpp | 157 int fdTar = open(tarFile.c_str(), O_WRONLY | O_CREAT, 0666); in createTarFile() local 158 if (fdTar < 0) { in createTarFile() 178 if (TEMP_FAILURE_RETRY(write(fdTar, tarHeader( in createTarFile() 187 write(fdTar, buffer, size); in createTarFile() 192 write(fdTar, &padding, 1); in createTarFile() 197 close(fdTar); in createTarFile()
|