Home
last modified time | relevance | path

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

/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp123 #define NET_IPV4_FALLBACK(jni_env, return_type, syscall_name, java_fd, java_addr, port, null_addr_o… argument
131 } else if (!inetAddressToSockaddr(jni_env, java_addr, port, _ss, _salen)) { \
138 _rc = NET_FAILURE_RETRY(jni_env, return_type, syscall_name, java_fd, ##args, _sa, _salen); \
142 (jni_env)->ExceptionClear(); \
143 if (!inetAddressToSockaddrVerbatim(jni_env, java_addr, port, _ss, _salen)) { \
147 … _rc = NET_FAILURE_RETRY(jni_env, return_type, syscall_name, java_fd, ##args, _sa, _salen); \
163 #define NET_FAILURE_RETRY(jni_env, return_type, syscall_name, java_fd, ...) ({ \ argument
169 int _fd = jniGetFDFromFileDescriptor(jni_env, java_fd); \
176 jniThrowException(jni_env, "java/net/SocketException", "Socket closed"); \
182 throwErrnoException(jni_env, # syscall_name); \
[all …]