OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:iaObj
(Results
1 - 4
of
4
) sorted by null
/libcore/ojluni/src/main/native/
net_util.c
75
void setInetAddress_addr(JNIEnv *env, jobject
iaObj
, int address) {
77
holder = (*env)->GetObjectField(env,
iaObj
, ia_holderID);
81
void setInetAddress_family(JNIEnv *env, jobject
iaObj
, int family) {
83
holder = (*env)->GetObjectField(env,
iaObj
, ia_holderID);
87
void setInetAddress_hostName(JNIEnv *env, jobject
iaObj
, jobject host) {
89
holder = (*env)->GetObjectField(env,
iaObj
, ia_holderID);
93
int getInetAddress_addr(JNIEnv *env, jobject
iaObj
) {
95
holder = (*env)->GetObjectField(env,
iaObj
, ia_holderID);
99
int getInetAddress_family(JNIEnv *env, jobject
iaObj
) {
102
holder = (*env)->GetObjectField(env,
iaObj
, ia_holderID)
[
all
...]
PlainSocketImpl.c
220
jobject
iaObj
, jint port,
235
/* fd is an int field on
iaObj
*/
248
if (IS_NULL(
iaObj
)) {
254
if (NET_InetAddressToSockaddr(env,
iaObj
, port, (struct sockaddr *)&him, &len, JNI_TRUE) != 0) {
484
(*env)->SetObjectField(env, this, psi_addressID,
iaObj
);
514
jobject
iaObj
, jint localport) {
530
if (IS_NULL(
iaObj
)) {
531
JNU_ThrowNullPointerException(env, "
iaObj
is null.");
536
if (NET_InetAddressToSockaddr(env,
iaObj
, localport, (struct sockaddr *)&him, &len, JNI_TRUE) != 0) {
554
(*env)->SetObjectField(env, this, psi_addressID,
iaObj
);
[
all
...]
NetworkInterface.c
251
(JNIEnv *env, jclass cls, jobject
iaObj
) {
255
int family = (getInetAddress_family(env,
iaObj
) == IPv4) ? AF_INET : AF_INET6;
277
int address2 = getInetAddress_addr(env,
iaObj
);
287
jbyteArray ipaddress = (*env)->GetObjectField(env,
iaObj
, ni_ia6ipaddressID);
555
jobject
iaObj
= NULL;
559
iaObj
= (*env)->NewObject(env, ni_ia4cls, ni_ia4ctrID);
560
if (
iaObj
) {
561
setInetAddress_addr(env,
iaObj
, htonl(((struct sockaddr_in*)addrP->addr)->sin_addr.s_addr));
565
(*env)->SetObjectField(env, ibObj, ni_ibaddressID,
iaObj
);
581
iaObj
= (*env)->NewObject(env, ni_ia6cls, ni_ia6ctrID)
[
all
...]
PlainDatagramSocketImpl.c
192
jint localport, jobject
iaObj
) {
208
if (IS_NULL(
iaObj
)) {
209
JNU_ThrowNullPointerException(env, "
iaObj
is null.");
214
if (NET_InetAddressToSockaddr(env,
iaObj
, localport, (struct sockaddr *)&him, &len, JNI_TRUE) != 0) {
511
jobject
iaObj
;
571
iaObj
= NET_SockaddrToInetAddress(env, (struct sockaddr *)&remote_addr, &port);
573
family = getInetAddress_family(env,
iaObj
) == IPv4? AF_INET : AF_INET6;
578
int address = getInetAddress_addr(env,
iaObj
);
[
all
...]
Completed in 318 milliseconds