Home
last modified time | relevance | path

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

/dalvik/libdex/
DCmdUtils.cpp46 int fd = -1; in dexUnzipToFile() local
57 fd = open(outFileName, O_RDWR | O_CREAT | O_EXCL, 0600); in dexUnzipToFile()
58 if (fd < 0) { in dexUnzipToFile()
76 if (dexZipExtractEntryToFile(archive, &entry, fd) != 0) { in dexUnzipToFile()
84 if (fd >= 0) in dexUnzipToFile()
85 close(fd); in dexUnzipToFile()
117 int fd = -1; in dexOpenAndMap() local
176 fd = open(fileName, O_RDONLY | O_BINARY); in dexOpenAndMap()
177 if (fd < 0) { in dexOpenAndMap()
185 if (sysMapFileInShmemWritableReadOnly(fd, pMap) != 0) { in dexOpenAndMap()
[all …]
DSysUtil.cpp80 static int getFileStartAndLength(int fd, off_t *start_, size_t *length_) in getFileStartAndLength() argument
88 start = lseek(fd, 0L, SEEK_CUR); in getFileStartAndLength()
89 end = lseek(fd, 0L, SEEK_END); in getFileStartAndLength()
90 (void) lseek(fd, start, SEEK_SET); in getFileStartAndLength()
110 int sysFakeMapFile(int fd, MemMapping* pMap) in sysFakeMapFile() argument
122 if (getFileStartAndLength(fd, &start, &length) < 0) in sysFakeMapFile()
126 if (read(fd, memPtr, length) < 0) { in sysFakeMapFile()
128 fd, (int) start, strerror(errno)); in sysFakeMapFile()
150 int sysMapFileInShmemWritableReadOnly(int fd, MemMapping* pMap) in sysMapFileInShmemWritableReadOnly() argument
159 if (getFileStartAndLength(fd, &start, &length) < 0) in sysMapFileInShmemWritableReadOnly()
[all …]
DZipArchive.h45 DEX_INLINE int dexZipOpenArchiveFd(int fd, const char* debugFileName, in dexZipOpenArchiveFd() argument
47 return OpenArchiveFd(fd, debugFileName, pArchive); in dexZipOpenArchiveFd()
82 ZipEntry* entry, int fd) { in dexZipExtractEntryToFile() argument
83 return ExtractEntryToFile(handle, entry, fd); in dexZipExtractEntryToFile()
DSysUtil.h63 int sysMapFileInShmemWritableReadOnly(int fd, MemMapping* pMap);
70 int sysMapFileSegmentInShmem(int fd, off_t start, size_t length,
101 int sysWriteFully(int fd, const void* buf, size_t count, const char* logMsg);
DOptInvocation.h28 int dexOptCreateEmptyHeader(int fd);
DOptInvocation.cpp158 int dexOptCreateEmptyHeader(int fd) in dexOptCreateEmptyHeader() argument
163 assert(lseek(fd, 0, SEEK_CUR) == 0); in dexOptCreateEmptyHeader()
173 actual = write(fd, &optHdr, sizeof(optHdr)); in dexOptCreateEmptyHeader()
/dalvik/dx/tests/083-ssa-phi-placement/
DBlort.java48 Object fd; field in Blort
51 if (fd == null) { in getOption()
Dexpected.txt158 Blort.java:51@0001: get-field-object(Blort.fd:Ljava/lang/Object; catch) . <-
/dalvik/dx/tests/122-switch-with-high-register/
Dexpected.txt822 01fd: move/from16 v0, v258
1104 01fd: advance pc
1105 01fd: line 16
/dalvik/opcode-gen/
Dbytecode.txt343 op fd +sget-object-volatile 21c y field-ref optimized|continue|throw