Searched refs:zfd (Results 1 – 3 of 3) sorted by relevance
/libcore/ojluni/src/main/native/ |
D | zip_util.c | 138 ZFILE_Close(ZFILE zfd) { in ZFILE_Close() argument 140 CloseHandle((HANDLE) zfd); in ZFILE_Close() 142 JVM_Close(zfd); in ZFILE_Close() 147 ZFILE_read(ZFILE zfd, char *buf, jint nbytes, jlong offset) { in ZFILE_read() argument 149 return (int) IO_Read(zfd, buf, nbytes); in ZFILE_read() 159 return pread(zfd, buf, nbytes, offset); in ZFILE_read() 192 readFullyAt(ZFILE zfd, void *buf, jlong len, jlong offset) { in readFullyAt() argument 200 jint n = ZFILE_read(zfd, bp, count, offset); in readFullyAt() 228 zip->zfd = -1; in allocZip() 262 if (zip->zfd != -1) ZFILE_Close(zip->zfd); in freeZip() [all …]
|
D | ZipFile.c | 104 ZFILE zfd = 0; in ZipFile_open() local 106 zfd = winFileHandleOpen(env, name, flag); in ZipFile_open() 107 if (zfd == -1) { in ZipFile_open() 112 zfd = JVM_Open(path, flag, 0); in ZipFile_open() 113 if (zfd < 0) { in ZipFile_open() 118 zip = ZIP_Put_In_Cache0(path, zfd, &msg, lastModified, usemmap); in ZipFile_open() 162 return zip->zfd; in ZipFile_getFileDescriptor()
|
D | zip_util.h | 222 ZFILE zfd; /* open file descriptor */ member 265 ZIP_Put_In_Cache(const char *name, ZFILE zfd, char **pmsg, jlong lastModified); 268 ZIP_Put_In_Cache0(const char *name, ZFILE zfd, char **pmsg, jlong lastModified, jboolean usemmap);
|