Searched defs:tolen (Results 1 - 10 of 10) sorted by last modified time

/external/syslinux/core/lwip/src/api/
H A Dsockets.c789 const struct sockaddr *to, socklen_t tolen)
818 LWIP_ERROR("lwip_sendto: invalid address", (((to == NULL) && (tolen == 0)) ||
819 ((tolen == sizeof(struct sockaddr_in)) &&
788 lwip_sendto(int s, const void *data, size_t size, int flags, const struct sockaddr *to, socklen_t tolen) argument
/external/python/cpython2/Modules/
H A Dstropmodule.c913 Py_ssize_t i, fromlen=0, tolen=0; local
916 if (!PyArg_ParseTuple(args, "t#t#:maketrans", &from, &fromlen, &to, &tolen))
919 if (fromlen != tolen) {
/external/openssh/
H A Dpacket.c434 socklen_t fromlen, tolen; local
447 tolen = sizeof(to);
450 &tolen) < 0)
452 if (fromlen != tolen || memcmp(&from, &to, fromlen) != 0)
472 socklen_t tolen = sizeof(to); local
476 &tolen) < 0)
/external/ltp/testcases/kernel/syscalls/sendmsg/
H A Dsendmsg01.c95 int tolen; /* length of "to" buffer */ member in struct:test_case_t
114 .tolen = sizeof(sin1),
131 .tolen = sizeof(sin1),
148 .tolen = sizeof(sin1),
165 .tolen = sizeof(sin2),
182 .tolen = sizeof(sin1),
199 .tolen = 1,
215 .tolen = sizeof(struct sockaddr),
231 .tolen = sizeof(sin1),
248 .tolen
[all...]
/external/ltp/testcases/kernel/syscalls/sendto/
H A Dsendto01.c61 int tolen; /* length of "to" buffer */ member in struct:test_case_t
87 .tolen = sizeof(sin1),
101 .tolen = sizeof(sin1),
117 .tolen = sizeof(sin1),
132 .tolen = sizeof(sin2),
146 .tolen = sizeof(sin1),
160 .tolen = -1,
176 .tolen = sizeof(sin1),
191 .tolen = sizeof(sin1),
205 .tolen
[all...]
/external/ltp/utils/sctp/lib/
H A Dsendmsg.c33 socklen_t tolen, uint32_t ppid, uint32_t flags,
43 outmsg.msg_namelen = tolen;
32 sctp_sendmsg(int s, const void *msg, size_t len, struct sockaddr *to, socklen_t tolen, uint32_t ppid, uint32_t flags, uint16_t stream_no, uint32_t timetolive, uint32_t context) argument
/external/ltp/utils/sctp/testlib/
H A Dsctputil.h199 const struct sockaddr *to, socklen_t tolen)
201 int error = sendto(sk, msg, len, flags, to, tolen);
271 struct sockaddr *to, socklen_t tolen,
276 int error = sctp_sendmsg(s, msg, len, to, tolen, ppid, flags, stream_no,
198 test_sendto(int sk, const void *msg, size_t len, int flags, const struct sockaddr *to, socklen_t tolen) argument
270 test_sctp_sendmsg(int s, const void *msg, size_t len, struct sockaddr *to, socklen_t tolen, uint32_t ppid, uint32_t flags, uint16_t stream_no, uint32_t timetolive, uint32_t context) argument
/external/libxml2/
H A Dxmlreader.c5758 * @tolen: the size of the output (in), the size written to (out)
5768 unsigned char *to, unsigned long *tolen)
5794 if ((in == NULL) || (inlen == NULL) || (to == NULL) || (tolen == NULL))
5801 outmax = *tolen;
5872 *tolen = outcur;
5767 xmlBase64Decode(const unsigned char *in, unsigned long *inlen, unsigned char *to, unsigned long *tolen) argument
/external/ipsec-tools/src/racoon/
H A Dsockmisc.c281 socklen_t *fromlen, struct sockaddr *to, unsigned int *tolen)
283 if (getsockname(s, to, (socklen_t *)tolen) == -1) {
385 recvfromto(s, buf, buflen, flags, from, fromlen, to, tolen)
393 u_int *tolen;
434 otolen = *tolen;
435 *tolen = 0;
449 *tolen = sizeof(*sin6);
475 *tolen = sizeof(*sin);
492 *tolen = sizeof(*sin6);
510 *tolen
280 recvfromto(int s, void *buf, size_t len, int flags, struct sockaddr *from, socklen_t *fromlen, struct sockaddr *to, unsigned int *tolen) argument
[all...]
/external/google-breakpad/src/third_party/lss/
H A Dlinux_syscall_support.h3650 unsigned int tolen) {
3651 LSS_BODY(6, ssize_t, 11, s, buf, len, flags, to, tolen);
3675 unsigned int, tolen)
3709 unsigned int tolen) {
3710 return (ssize_t)LSS_NAME(socketcall)(11, s, buf, len, flags, to, tolen);
3706 sendto(int s, const void *buf, size_t len, int flags, const struct kernel_sockaddr *to, unsigned int tolen) argument

Completed in 317 milliseconds