Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/native/
DNet.c454 socklen_t arglen; in Java_sun_nio_ch_Net_getIntOption0() local
460 arglen = sizeof(result); in Java_sun_nio_ch_Net_getIntOption0()
465 arglen = sizeof(carg); in Java_sun_nio_ch_Net_getIntOption0()
470 arglen = sizeof(linger); in Java_sun_nio_ch_Net_getIntOption0()
474 n = NET_GetSockOpt(fdval(env, fdo), level, opt, arg, (int*)&arglen); in Java_sun_nio_ch_Net_getIntOption0()
476 n = getsockopt(fdval(env, fdo), level, opt, arg, &arglen); in Java_sun_nio_ch_Net_getIntOption0()
506 socklen_t arglen; in Java_sun_nio_ch_Net_setIntOption0() local
512 arglen = sizeof(arg); in Java_sun_nio_ch_Net_setIntOption0()
517 arglen = sizeof(carg); in Java_sun_nio_ch_Net_setIntOption0()
523 arglen = sizeof(linger); in Java_sun_nio_ch_Net_setIntOption0()
[all …]
DUnixAsynchronousSocketChannelImpl.c43 socklen_t arglen = sizeof(error); in Java_sun_nio_ch_UnixAsynchronousSocketChannelImpl_checkConnect() local
46 result = getsockopt(fd, SOL_SOCKET, SO_ERROR, &error, &arglen); in Java_sun_nio_ch_UnixAsynchronousSocketChannelImpl_checkConnect()
Dnet_util_md.c1109 int sotype=0, arglen; in NET_SetSockOpt() local
1120 arglen = sizeof(sotype); in NET_SetSockOpt()
1122 &arglen) < 0) { in NET_SetSockOpt()
1225 socklen_t arglen; in NET_SetSockOpt() local
1227 arglen = sizeof(sotype); in NET_SetSockOpt()
1228 if (getsockopt(fd, SOL_SOCKET, SO_TYPE, (void *)&sotype, &arglen) < 0) { in NET_SetSockOpt()