Home
last modified time | relevance | path

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

/dalvik/vm/hprof/
DHprof.cpp114 int outFd; in hprofShutdown() local
116 outFd = dup(headCtx->fd); in hprofShutdown()
117 if (outFd < 0) { in hprofShutdown()
122 outFd = open(tailCtx->fileName, O_WRONLY|O_CREAT|O_TRUNC, 0644); in hprofShutdown()
123 if (outFd < 0) { in hprofShutdown()
128 if (outFd < 0) { in hprofShutdown()
135 result = sysWriteFully(outFd, headCtx->fileDataPtr, in hprofShutdown()
137 result |= sysWriteFully(outFd, tailCtx->fileDataPtr, in hprofShutdown()
139 close(outFd); in hprofShutdown()
/dalvik/dexopt/
DOptMain.cpp337 int outFd = -1; in preopt() local
367 outFd = open(outName, O_RDWR | O_EXCL | O_CREAT, 0666); in preopt()
368 if (outFd < 0) { in preopt()
373 result = processZipFile(zipFd, outFd, zipName, dexoptFlags); in preopt()
380 if (outFd >= 0) { in preopt()
381 close(outFd); in preopt()
/dalvik/libdex/
DSysUtil.h124 int sysCopyFileToFile(int outFd, int inFd, size_t count);
DSysUtil.cpp411 int sysCopyFileToFile(int outFd, int inFd, size_t count) in sysCopyFileToFile() argument
426 if (sysWriteFully(outFd, buf, getSize, "sysCopyFileToFile") != 0) in sysCopyFileToFile()
DZipArchive.cpp587 static int inflateToFile(int outFd, int inFd, size_t uncompLen, size_t compLen) in inflateToFile() argument
662 if (sysWriteFully(outFd, writeBuf, writeSize, "Zip inflate") != 0) in inflateToFile()