Searched refs:slen (Results 1 – 2 of 2) sorted by relevance
/system/netd/resolv/ |
D | hostent.h | 59 #define HENT_COPY(dst, src, slen, ptr, len) do { \ argument 60 if ((size_t) slen > len) goto nospc; \ 61 memcpy(ptr, src, (size_t) slen); \ 63 ptr += slen; \ 64 len -= slen; \
|
D | res_send.cpp | 207 socklen_t slen; in random_bind() local 215 slen = sizeof u.sin; in random_bind() 219 slen = sizeof u.sin6; in random_bind() 235 if (!bind(s, &u.sa, slen)) return 0; in random_bind() 245 return bind(s, &u.sa, slen); in random_bind()
|