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.cpp122 #define NET_IPV4_FALLBACK(jni_env, return_type, syscall_name, java_fd, java_addr, port, null_addr_o… argument
130 } else if (!inetAddressToSockaddr(jni_env, java_addr, port, _ss, _salen)) { \
137 _rc = NET_FAILURE_RETRY(jni_env, return_type, syscall_name, java_fd, ##args, _sa, _salen); \
141 (jni_env)->ExceptionClear(); \
142 if (!inetAddressToSockaddrVerbatim(jni_env, java_addr, port, _ss, _salen)) { \
146 … _rc = NET_FAILURE_RETRY(jni_env, return_type, syscall_name, java_fd, ##args, _sa, _salen); \
162 #define NET_FAILURE_RETRY(jni_env, return_type, syscall_name, java_fd, ...) ({ \ argument
168 int _fd = jniGetFDFromFileDescriptor(jni_env, java_fd); \
175 jniThrowException(jni_env, "java/net/SocketException", "Socket closed"); \
181 throwErrnoException(jni_env, # syscall_name); \
[all …]