Searched defs:fd (Results 1 - 5 of 5) sorted by relevance

/dalvik/dx/tests/083-ssa-phi-placement/
H A DBlort.java48 Object fd; field in class:Blort
51 if (fd == null) {
/dalvik/libdex/
H A DZipArchive.h45 DEX_INLINE int dexZipOpenArchiveFd(int fd, const char* debugFileName, argument
47 return OpenArchiveFd(fd, debugFileName, pArchive);
82 ZipEntry* entry, int fd) {
83 return ExtractEntryToFile(handle, entry, fd);
81 dexZipExtractEntryToFile(ZipArchiveHandle handle, ZipEntry* entry, int fd) argument
H A DCmdUtils.cpp46 int fd = -1; local
57 fd = open(outFileName, O_RDWR | O_CREAT | O_EXCL, 0600);
58 if (fd < 0) {
76 if (dexZipExtractEntryToFile(archive, &entry, fd) != 0) {
84 if (fd >= 0)
85 close(fd);
117 int fd = -1; local
176 fd = open(fileName, O_RDONLY | O_BINARY);
177 if (fd < 0) {
185 if (sysMapFileInShmemWritableReadOnly(fd, pMa
[all...]
H A DOptInvocation.cpp152 * "fd" must be positioned at the start of the file. On return, it will
158 int dexOptCreateEmptyHeader(int fd) argument
163 assert(lseek(fd, 0, SEEK_CUR) == 0);
173 actual = write(fd, &optHdr, sizeof(optHdr));
H A DSysUtil.cpp80 static int getFileStartAndLength(int fd, off_t *start_, size_t *length_) argument
88 start = lseek(fd, 0L, SEEK_CUR);
89 end = lseek(fd, 0L, SEEK_END);
90 (void) lseek(fd, start, SEEK_SET);
110 int sysFakeMapFile(int fd, MemMapping* pMap) argument
122 if (getFileStartAndLength(fd, &start, &length) < 0)
126 if (read(fd, memPtr, length) < 0) {
127 ALOGW("read(fd=%d, start=%d, length=%d) failed: %s", (int) length,
128 fd, (int) start, strerror(errno));
140 * Map a file (from fd'
150 sysMapFileInShmemWritableReadOnly(int fd, MemMapping* pMap) argument
193 sysMapFileSegmentInShmem(int fd, off_t start, size_t length, MemMapping* pMap) argument
316 sysWriteFully(int fd, const void* buf, size_t count, const char* logMsg) argument
[all...]

Completed in 93 milliseconds