Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/syscalls/sendto/
Dsendto01.c62 int tolen; /* length of "to" buffer */ member
88 .tolen = sizeof(sin1),
102 .tolen = sizeof(sin1),
118 .tolen = sizeof(sin1),
133 .tolen = sizeof(sin2),
147 .tolen = sizeof(sin1),
161 .tolen = -1,
177 .tolen = sizeof(sin1),
192 .tolen = sizeof(sin1),
206 .tolen = sizeof(sin1),
[all …]
/third_party/ltp/testcases/kernel/syscalls/sendmsg/
Dsendmsg01.c96 int tolen; /* length of "to" buffer */ member
115 .tolen = sizeof(sin1),
132 .tolen = sizeof(sin1),
149 .tolen = sizeof(sin1),
166 .tolen = sizeof(sin2),
183 .tolen = sizeof(sin1),
200 .tolen = 1,
216 .tolen = sizeof(struct sockaddr),
232 .tolen = sizeof(sin1),
249 .tolen = sizeof(sin1),
[all …]
/third_party/openssl/crypto/bn/
Dbn_lib.c482 int bn2binpad(const BIGNUM *a, unsigned char *to, int tolen, endianess_t endianess) in bn2binpad() argument
494 if (tolen == -1) { in bn2binpad()
495 tolen = n; in bn2binpad()
496 } else if (tolen < n) { /* uncommon/unlike case */ in bn2binpad()
501 if (tolen < n) in bn2binpad()
508 if (tolen != 0) in bn2binpad()
509 memset(to, '\0', tolen); in bn2binpad()
510 return tolen; in bn2binpad()
516 to += tolen; /* start from the end of the buffer */ in bn2binpad()
517 for (i = 0, j = 0; j < (size_t)tolen; j++) { in bn2binpad()
[all …]
/third_party/ltp/utils/sctp/testlib/
Dsctputil.h198 const struct sockaddr *to, socklen_t tolen) in test_sendto() argument
200 int error = sendto(sk, msg, len, flags, to, tolen); in test_sendto()
269 struct sockaddr *to, socklen_t tolen, in test_sctp_sendmsg() argument
274 int error = sctp_sendmsg(s, msg, len, to, tolen, ppid, flags, stream_no, in test_sctp_sendmsg()
/third_party/openssl/doc/man3/
DBN_bn2bin.pod15 int BN_bn2binpad(const BIGNUM *a, unsigned char *to, int tolen);
18 int BN_bn2lebinpad(const BIGNUM *a, unsigned char *to, int tolen);
21 int BN_bn2nativepad(const BIGNUM *a, unsigned char *to, int tolen);
42 and stores it at B<to>. B<tolen> indicates the length of the output buffer
43 B<to>. The result is padded with zeros if necessary. If B<tolen> is less than
/third_party/libwebsockets/lib/tls/openssl/
Dlws-genec.c77 int BN_bn2binpad(const BIGNUM *a, unsigned char *to, int tolen) in BN_bn2binpad() argument
90 if (tolen > i) { in BN_bn2binpad()
91 memset(to, 0, (size_t)(tolen - i)); in BN_bn2binpad()
92 to += tolen - i; in BN_bn2binpad()
102 return tolen; in BN_bn2binpad()
Dprivate-lib-tls-openssl.h58 int BN_bn2binpad(const BIGNUM *a, unsigned char *to, int tolen);
/third_party/ltp/utils/sctp/lib/
Dsendmsg.c33 socklen_t tolen, uint32_t ppid, uint32_t flags, in sctp_sendmsg() argument
43 outmsg.msg_namelen = tolen; in sctp_sendmsg()
/third_party/lwip/src/include/lwip/
Dsockets.h595 const struct sockaddr *to, socklen_t tolen);
619 socklen_t tolen);
663 #define sendto(s,dataptr,size,flags,to,tolen) lwip_sendto(s,dataptr,size,flags,to,tolen) argument
/third_party/NuttX/include/nuttx/net/
Dnet.h154 socklen_t tolen);
863 socklen_t tolen);
/third_party/ffmpeg/libavutil/
Davstring.c241 size_t tolen = strlen(to), fromlen = strlen(from); in av_strireplace() local
248 av_bprint_append_data(&pbuf, to, tolen); in av_strireplace()
/third_party/openssl/include/openssl/
Dbn.h245 int BN_bn2binpad(const BIGNUM *a, unsigned char *to, int tolen);
247 int BN_bn2lebinpad(const BIGNUM *a, unsigned char *to, int tolen);
249 int BN_bn2nativepad(const BIGNUM *a, unsigned char *to, int tolen);
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/
Duser_socket.c743 socklen_t tolen, in userspace_sctp_sendmsg() argument
764 if (tolen > SOCK_MAXADDRLEN) { in userspace_sctp_sendmsg()
768 if ((tolen > 0) && in userspace_sctp_sendmsg()
769 ((to == NULL) || (tolen < (socklen_t)sizeof(struct sockaddr)))) { in userspace_sctp_sendmsg()
781 to->sa_len = tolen; in userspace_sctp_sendmsg()
927 socklen_t tolen, in userspace_sctp_sendmbuf() argument
950 if (tolen > SOCK_MAXADDRLEN){ in userspace_sctp_sendmbuf()
954 if (tolen < (socklen_t)offsetof(struct sockaddr, sa_data)){ in userspace_sctp_sendmbuf()
961 to->sa_len = tolen; in userspace_sctp_sendmbuf()
/third_party/openssl/ohos_lite/include/openssl/
Dbn.h223 int BN_bn2binpad(const BIGNUM *a, unsigned char *to, int tolen);
225 int BN_bn2lebinpad(const BIGNUM *a, unsigned char *to, int tolen);
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
Dbn.rs27 pub fn BN_bn2binpad(a: *const BIGNUM, to: *mut u8, tolen: c_int) -> c_int; in BN_bn2binpad()
/third_party/ltp/utils/sctp/include/netinet/
Dsctp.h846 socklen_t tolen, uint32_t ppid, uint32_t flags,
/third_party/lwip/src/api/
Dsockets.c1644 const struct sockaddr *to, socklen_t tolen) in lwip_sendto() argument
1648 return lwip_sendto_internal(s, data, size, flags, to, tolen); in lwip_sendto()
1650 return distributed_net_sendto(s, data, size, flags, to, tolen); in lwip_sendto()
1655 const struct sockaddr *to, socklen_t tolen) in lwip_sendto_internal() argument
1688 LWIP_ERROR("lwip_sendto: invalid address", (((to == NULL) && (tolen == 0)) || in lwip_sendto_internal()
1689 (IS_SOCK_ADDR_LEN_VALID(tolen) && in lwip_sendto_internal()
1692 LWIP_UNUSED_ARG(tolen); in lwip_sendto_internal()
/third_party/rust/crates/libc/src/windows/
Dmod.rs554 tolen: ::c_int, in sendto()
/third_party/libxml2/
Dxmlreader.c5846 unsigned char *to, unsigned long *tolen) in xmlBase64Decode() argument
5872 if ((in == NULL) || (inlen == NULL) || (to == NULL) || (tolen == NULL)) in xmlBase64Decode()
5879 outmax = *tolen; in xmlBase64Decode()
5950 *tolen = outcur; in xmlBase64Decode()