Home
last modified time | relevance | path

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

/sdk/emulator/opengl/tests/event_injector/
Dsockets.c550 int slen = strlen(a->u._unix.path); in sock_address_to_bsd() local
553 if (slen >= (int)UNIX_PATH_MAX) in sock_address_to_bsd()
559 memcpy( dst->sun_path, a->u._unix.path, slen ); in sock_address_to_bsd()
560 dst->sun_path[slen] = 0; in sock_address_to_bsd()
562 *psize = (char*)&dst->sun_path[slen+1] - (char*)dst; in sock_address_to_bsd()
866 socklen_t slen; in sock_address_get_numeric_info() local
872 slen = sizeof(a->u.inet.address); in sock_address_get_numeric_info()
878 slen = sizeof(a->u.in6.address); in sock_address_get_numeric_info()
885 ret = getnameinfo( saddr, slen, host, hostlen, serv, servlen, in sock_address_get_numeric_info()