Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/native/
Dzip_util.c136 ZFILE_Close(ZFILE zfd) { in ZFILE_Close() argument
138 CloseHandle((HANDLE) zfd); in ZFILE_Close()
140 JVM_Close(zfd); in ZFILE_Close()
145 ZFILE_read(ZFILE zfd, char *buf, jint nbytes) { in ZFILE_read() argument
147 return (int) IO_Read(zfd, buf, nbytes); in ZFILE_read()
157 return read(zfd, buf, nbytes); in ZFILE_read()
190 readFully(ZFILE zfd, void *buf, jlong len) { in readFully() argument
198 jint n = ZFILE_read(zfd, bp, count); in readFully()
218 readFullyAt(ZFILE zfd, void *buf, jlong len, jlong offset) in readFullyAt() argument
220 if (IO_Lseek(zfd, offset, SEEK_SET) == -1) { in readFullyAt()
[all …]
Djava_util_zip_ZipFile.c104 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()
Dzip_util.h220 ZFILE zfd; /* open file descriptor */ member
263 ZIP_Put_In_Cache(const char *name, ZFILE zfd, char **pmsg, jlong lastModified);
266 ZIP_Put_In_Cache0(const char *name, ZFILE zfd, char **pmsg, jlong lastModified, jboolean usemmap);