Home
last modified time | relevance | path

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

/build/libs/host/
DCopyFile.c115 static int copyFileContents(const char* dst, int dstFd, const char* src, int srcFd) in copyFileContents() argument
132 writeCount = write(dstFd, buf, readCount); in copyFileContents()
211 int srcFd, dstFd, statResult, copyResult; in copyRegular() local
250 dstFd = open(dst, O_CREAT | O_TRUNC | O_WRONLY | O_BINARY, 0644); in copyRegular()
252 if (dstFd < 0) { in copyRegular()
280 dstFd = open(dst, O_CREAT | O_TRUNC | O_WRONLY | O_BINARY, 0644); in copyRegular()
283 if (dstFd < 0) { in copyRegular()
290 copyResult = copyFileContents(dst, dstFd, src, srcFd); in copyRegular()
293 (void) close(dstFd); in copyRegular()
315 dstFd = open(dstRsrcName, O_TRUNC | O_WRONLY, 0); in copyRegular()
[all …]