Home
last modified time | relevance | path

Searched refs:jlong_to_ptr (Results 1 – 16 of 16) sorted by relevance

/libcore/ojluni/src/main/native/
DZipFile.c140 jzfile *zip = jlong_to_ptr(zfile); in ZipFile_getTotal()
148 jzfile *zip = jlong_to_ptr(zfile); in ZipFile_startsWithLOC()
156 ZIP_Close(jlong_to_ptr(zfile)); in ZipFile_close()
161 jzfile *zip = jlong_to_ptr(zfile); in ZipFile_getFileDescriptor()
170 jzfile *zip = jlong_to_ptr(zfile); in ZipFile_getEntry()
197 jzfile *zip = jlong_to_ptr(zfile); in ZipFile_freeEntry()
198 jzentry *ze = jlong_to_ptr(zentry); in ZipFile_freeEntry()
206 jzentry *ze = ZIP_GetNextEntry(jlong_to_ptr(zfile), n); in ZipFile_getNextEntry()
213 jzentry *ze = jlong_to_ptr(zentry); in ZipFile_getEntryMethod()
220 jzentry *ze = jlong_to_ptr(zentry); in ZipFile_getEntryFlag()
[all …]
DLinuxNativeDispatcher.c87 const char* name = jlong_to_ptr(nameAddress); in Java_sun_nio_fs_LinuxNativeDispatcher_fgetxattr0()
88 void* value = jlong_to_ptr(valueAddress); in Java_sun_nio_fs_LinuxNativeDispatcher_fgetxattr0()
106 const char* name = jlong_to_ptr(nameAddress); in Java_sun_nio_fs_LinuxNativeDispatcher_fsetxattr0()
107 void* value = jlong_to_ptr(valueAddress); in Java_sun_nio_fs_LinuxNativeDispatcher_fsetxattr0()
124 const char* name = jlong_to_ptr(nameAddress); in Java_sun_nio_fs_LinuxNativeDispatcher_fremovexattr0()
141 char* list = jlong_to_ptr(listAddress); in Java_sun_nio_fs_LinuxNativeDispatcher_flistxattr()
159 const char* path = (const char*)jlong_to_ptr(pathAddress); in Java_sun_nio_fs_LinuxNativeDispatcher_setmntent0()
160 const char* mode = (const char*)jlong_to_ptr(modeAddress); in Java_sun_nio_fs_LinuxNativeDispatcher_setmntent0()
179 FILE* fp = jlong_to_ptr(value); in Java_sun_nio_fs_LinuxNativeDispatcher_getmntent()
229 FILE* fp = jlong_to_ptr(stream); in Java_sun_nio_fs_LinuxNativeDispatcher_endmntent()
DUnixNativeDispatcher.c352 const char* path = (const char*)jlong_to_ptr(pathAddress); in Java_sun_nio_fs_UnixNativeDispatcher_fopen0()
353 const char* mode = (const char*)jlong_to_ptr(modeAddress); in Java_sun_nio_fs_UnixNativeDispatcher_fopen0()
369 FILE* fp = jlong_to_ptr(stream); in Java_sun_nio_fs_UnixNativeDispatcher_fclose()
386 const char* path = (const char*)jlong_to_ptr(pathAddress); in Java_sun_nio_fs_UnixNativeDispatcher_open0()
400 const char* path = (const char*)jlong_to_ptr(pathAddress); in Java_sun_nio_fs_UnixNativeDispatcher_openat0()
439 void* bufp = jlong_to_ptr(address); in Java_sun_nio_fs_UnixNativeDispatcher_read()
452 void* bufp = jlong_to_ptr(address); in Java_sun_nio_fs_UnixNativeDispatcher_write()
493 const char* path = (const char*)jlong_to_ptr(pathAddress); in Java_sun_nio_fs_UnixNativeDispatcher_stat0()
509 const char* path = (const char*)jlong_to_ptr(pathAddress); in Java_sun_nio_fs_UnixNativeDispatcher_lstat0()
540 const char* path = (const char*)jlong_to_ptr(pathAddress); in Java_sun_nio_fs_UnixNativeDispatcher_fstatat0()
[all …]
DInflater.c101 res = inflateSetDictionary(jlong_to_ptr(addr), buf + off, len); in Inflater_setDictionary()
108 JNU_ThrowIllegalArgumentException(env, ((z_stream *)jlong_to_ptr(addr))->msg); in Inflater_setDictionary()
111 JNU_ThrowInternalError(env, ((z_stream *)jlong_to_ptr(addr))->msg); in Inflater_setDictionary()
120 z_stream *strm = jlong_to_ptr(addr); in Inflater_inflateBytes()
183 return ((z_stream *)jlong_to_ptr(addr))->adler; in Inflater_getAdler()
189 if (inflateReset(jlong_to_ptr(addr)) != Z_OK) { in Inflater_reset()
197 if (inflateEnd(jlong_to_ptr(addr)) == Z_STREAM_ERROR) { in Inflater_end()
200 free(jlong_to_ptr(addr)); in Inflater_end()
DDatagramDispatcher.c55 void *buf = (void *)jlong_to_ptr(address); in Java_sun_nio_ch_DatagramDispatcher_read0()
73 struct iovec *iov = (struct iovec *)jlong_to_ptr(address); in Java_sun_nio_ch_DatagramDispatcher_readv0()
102 void *buf = (void *)jlong_to_ptr(address); in Java_sun_nio_ch_DatagramDispatcher_write0()
116 struct iovec *iov = (struct iovec *)jlong_to_ptr(address); in Java_sun_nio_ch_DatagramDispatcher_writev0()
DMappedByteBuffer.c51 void *a = (void *) jlong_to_ptr(address); in Java_java_nio_MappedByteBuffer_isLoaded0()
87 char *a = (char *)jlong_to_ptr(address); in Java_java_nio_MappedByteBuffer_load0()
99 void* a = (void *)jlong_to_ptr(address); in Java_java_nio_MappedByteBuffer_force0()
DDeflater.c110 res = deflateSetDictionary((z_stream *)jlong_to_ptr(addr), buf + off, len); in Deflater_setDictionary()
119 JNU_ThrowInternalError(env, ((z_stream *)jlong_to_ptr(addr))->msg); in Deflater_setDictionary()
128 z_stream *strm = jlong_to_ptr(addr); in Deflater_deflateBytes()
222 return ((z_stream *)jlong_to_ptr(addr))->adler; in Deflater_getAdler()
228 if (deflateReset((z_stream *)jlong_to_ptr(addr)) != Z_OK) { in Deflater_reset()
236 if (deflateEnd((z_stream *)jlong_to_ptr(addr)) == Z_STREAM_ERROR) { in Deflater_end()
239 free((z_stream *)jlong_to_ptr(addr)); in Deflater_end()
DFileDispatcherImpl.c70 void *buf = (void *)jlong_to_ptr(address); in FileDispatcherImpl_read0()
80 void *buf = (void *)jlong_to_ptr(address); in FileDispatcherImpl_pread0()
90 struct iovec *iov = (struct iovec *)jlong_to_ptr(address); in FileDispatcherImpl_readv0()
99 void *buf = (void *)jlong_to_ptr(address); in FileDispatcherImpl_write0()
109 void *buf = (void *)jlong_to_ptr(address); in FileDispatcherImpl_pwrite0()
119 struct iovec *iov = (struct iovec *)jlong_to_ptr(address); in FileDispatcherImpl_writev0()
Djlong_md.h68 #define jlong_to_ptr(a) ((void*)(a)) macro
71 #define jlong_to_ptr(a) ((void*)(int)(a)) macro
DPollArrayWrapper.c79 a = (struct pollfd *) jlong_to_ptr(address); in Java_sun_nio_ch_PollArrayWrapper_poll0()
DAdler32.c66 Bytef *buf = (Bytef *)jlong_to_ptr(address); in Java_java_util_zip_Adler32_updateByteBuffer()
DEPoll.c91 struct epoll_event *events = jlong_to_ptr(address); in Java_sun_nio_ch_EPoll_epollWait()
DCRC32.c70 Bytef *buf = (Bytef *)jlong_to_ptr(address); in CRC32_updateByteBuffer()
DDatagramChannelImpl.c157 void *buf = (void *)jlong_to_ptr(address); in Java_sun_nio_ch_DatagramChannelImpl_receive0()
247 void *buf = (void *)jlong_to_ptr(address); in Java_sun_nio_ch_DatagramChannelImpl_send0()
DLinuxWatchService.c93 const char* path = (const char*)jlong_to_ptr(address); in Java_sun_nio_fs_LinuxWatchService_inotifyAddWatch()
Djni_util.h338 (jlong_to_ptr((*(env))->GetLongField((env),(obj),(id))))