Home
last modified time | relevance | path

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

/libcore/luni/src/main/native/
DNetworkUtilities.cpp276 bool msgcontrolToStructCmsghdrArray(JNIEnv* env, jobject structMsghdr, struct msghdr& mhdr) { in msgcontrolToStructCmsghdrArray() argument
322 env->SetObjectField(structMsghdr, msgControlFid, structCmsghdrArray); in msgcontrolToStructCmsghdrArray()
446 bool convertStructMsghdrAndmsghdr(JNIEnv* env, jobject structMsghdr, struct msghdr& mhdr, in convertStructMsghdrAndmsghdr() argument
449 if (!structMsghdr) { in convertStructMsghdrAndmsghdr()
479 env->GetObjectField(structMsghdr, msgIovFid)); in convertStructMsghdrAndmsghdr()
492 env->GetObjectField(structMsghdr, msgControlFid)); in convertStructMsghdrAndmsghdr()
505 mhdr.msg_flags = env->GetIntField(structMsghdr, msgFlagsFid); in convertStructMsghdrAndmsghdr()
510 if (msgcontrolToStructCmsghdrArray(env, structMsghdr, mhdr) == false) in convertStructMsghdrAndmsghdr()
512 env->SetIntField(structMsghdr, msgFlagsFid, mhdr.msg_flags); in convertStructMsghdrAndmsghdr()
520 bool msghdrJavaToC(JNIEnv* env, jobject structMsghdr, struct msghdr& mhdr, in msghdrJavaToC() argument
[all …]
DNetworkUtilities.h44 bool msghdrJavaToC(JNIEnv* env, jobject structMsghdr, struct msghdr& mhdr,
49 bool msghdrCToJava(JNIEnv* env, jobject structMsghdr, struct msghdr& mhdr,
Dlibcore_io_Linux.cpp2192 static jint Linux_recvmsg(JNIEnv* env, jobject, jobject javaFd, jobject structMsghdr, jint flags) { in Linux_recvmsg() argument
2205 if (msghdrJavaToC(env, structMsghdr, scopedMsghdrValue.getObject(), in Linux_recvmsg()
2210 jobject javaSocketAddress = env->GetObjectField(structMsghdr, msgNameFid); in Linux_recvmsg()
2239 if (msghdrCToJava(env, structMsghdr, scopedMsghdrValue.getObject(), in Linux_recvmsg()
2304 static jint Linux_sendmsg(JNIEnv* env, jobject, jobject javaFd, jobject structMsghdr, jint flags) { in Linux_sendmsg() argument
2316 jobject sockAddrObj = env->GetObjectField(structMsghdr, msgNameFid); in Linux_sendmsg()
2319 if (msghdrJavaToC(env, structMsghdr, scopedMsghdrValue.getObject(), in Linux_sendmsg()