OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:iaObj
(Results
1 - 6
of
6
) 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
...]
net_util.h
61
extern void setInetAddress_addr(JNIEnv *env, jobject
iaObj
, int address);
62
extern void setInetAddress_family(JNIEnv *env, jobject
iaObj
, int family);
63
extern void setInetAddress_hostName(JNIEnv *env, jobject
iaObj
, jobject h);
64
extern int getInetAddress_addr(JNIEnv *env, jobject
iaObj
);
65
extern int getInetAddress_family(JNIEnv *env, jobject
iaObj
);
66
extern jobject getInetAddress_hostName(JNIEnv *env, jobject
iaObj
);
120
NET_InetAddressToSockaddr(JNIEnv *env, jobject
iaObj
, int port, struct sockaddr *him, int *len, jboolean v4MappedAddress);
135
NET_SockaddrEqualsInetAddress(JNIEnv *env,struct sockaddr *him, jobject
iaObj
);
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
...]
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
...]
net_util_md.c
767
NET_InetAddressToSockaddr(JNIEnv *env, jobject
iaObj
, int port, struct sockaddr *him,
770
family = getInetAddress_family(env,
iaObj
);
782
address = getInetAddress_addr(env,
iaObj
);
796
ipaddress = (*env)->GetObjectField(env,
iaObj
, ia6_ipaddressID);
815
int scope_id = (int)(*env)->GetIntField(env,
iaObj
, ia6_scopeidID);
831
address = getInetAddress_addr(env,
iaObj
);
[
all
...]
Completed in 233 milliseconds