Home
last modified time | relevance | path

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

123

/netbsd-src/external/bsd/nvi/dist/common/
H A Dconv.c50 raw2int(SCR *sp, const char * str, ssize_t len, CONVWIN *cw, size_t *tolen, in raw2int() argument
59 *tolen = len; in raw2int()
111 size_t *tolen, const CHAR_T **dst, const char *enc) in default_char2int() argument
163 *tolen = i; in default_char2int()
179 *tolen = i; in default_char2int()
187 size_t *tolen, const CHAR_T **dst) in fe_char2int() argument
189 return default_char2int(sp, str, len, cw, tolen, dst, O_STR(sp, O_FILEENCODING)); in fe_char2int()
194 size_t *tolen, const CHAR_T **dst) in ie_char2int() argument
196 return default_char2int(sp, str, len, cw, tolen, dst, O_STR(sp, O_INPUTENCODING)); in ie_char2int()
201 size_t *tolen, const CHAR_T **dst) in cs_char2int() argument
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/bn/
H A 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 …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/bn/
H A Dbn_lib.c481 int bn2binpad(const BIGNUM *a, unsigned char *to, int tolen, endianess_t endianess) in bn2binpad() argument
493 if (tolen == -1) { in bn2binpad()
494 tolen = n; in bn2binpad()
495 } else if (tolen < n) { /* uncommon/unlike case */ in bn2binpad()
500 if (tolen < n) in bn2binpad()
507 OPENSSL_cleanse(to, tolen); in bn2binpad()
508 return tolen; in bn2binpad()
514 to += tolen; /* start from the end of the buffer */ in bn2binpad()
515 for (i = 0, j = 0; j < (size_t)tolen; j++) { in bn2binpad()
527 return tolen; in bn2binpad()
[all …]
/netbsd-src/sys/fs/v7fs/
H A Dv7fs_file_util.c123 const char *to, size_t tolen) in v7fs_file_rename() argument
140 error = v7fs_file_lookup_by_name(fs, parent_to, to, tolen, &to_ino); in v7fs_file_rename()
142 DPRINTF("%.*s already exists\n", (int)tolen, to); in v7fs_file_rename()
143 if ((error = v7fs_file_deallocate(fs, parent_to, to, tolen))) { in v7fs_file_rename()
144 DPRINTF("%.*s can't remove %d\n", (int)tolen, in v7fs_file_rename()
156 (int)tolen, to, (int)fromlen, from, error); in v7fs_file_rename()
161 tolen))) { in v7fs_file_rename()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dsocket_wrapper.h51 …_sendto(int s, const void *buf, size_t len, int flags, const struct sockaddr *to, socklen_t tolen);
109 #define sendto(s,buf,len,flags,to,tolen) swrap_sendto(s,buf,len,flags,to,tolen) argument
/netbsd-src/crypto/external/bsd/openssl/dist/doc/man3/
H A 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
/netbsd-src/crypto/dist/ipsec-tools/src/racoon/
H A Dsockmisc.c198 recvfromto(s, buf, buflen, flags, from, fromlen, to, tolen) in recvfromto() argument
206 u_int *tolen;
248 otolen = *tolen;
249 *tolen = 0;
263 *tolen = sizeof(*sin6);
288 *tolen = sizeof(*sin);
304 *tolen = sizeof(*sin6);
321 *tolen = sizeof(*sin);
/netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man3/
H A 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);
39 and stores it at B<to>. B<tolen> indicates the length of the output buffer
40 B<to>. The result is padded with zeros if necessary. If B<tolen> is less than
/netbsd-src/usr.sbin/inetd/
H A Dinetd.c980 struct sockaddr * restrict to, socklen_t * restrict tolen) in recvfromto() argument
992 if (tolen == NULL || fromlen == NULL) { in recvfromto()
1055 socklen_t sslen = (*tolen < ss.ss_len) ? *tolen : ss.ss_len; in recvfromto()
1058 *tolen = sslen; in recvfromto()
1071 const struct sockaddr *to, socklen_t tolen) in sendfromto() argument
1083 return sendto(s, buf, len, flags, to, tolen); in sendfromto()
1088 msg.msg_namelen = tolen; in sendfromto()
1146 return sendto(s, buf, len, flags, to, tolen); in sendfromto()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/hx509/
H A Dname.c87 size_t i, j, tolen; in quote_string() local
91 tolen = len * 3 + 1; in quote_string()
92 to = malloc(tolen); in quote_string()
109 int l = snprintf((char *)&to[j], tolen - j - 1, in quote_string()
117 assert(j < tolen); in quote_string()
/netbsd-src/external/bsd/unbound/dist/winrc/
H A Dw_inst.c178 size_t tolen = strlen(to); in change() local
180 if(pathlen - fromlen + tolen >= max) { in change()
/netbsd-src/external/gpl3/gdb/dist/gnulib/import/
H A Dsys_socket.in.h620 const struct sockaddr *to, socklen_t tolen)
624 const struct sockaddr *to, socklen_t tolen));
630 const struct sockaddr *to, socklen_t tolen));
/netbsd-src/usr.bin/sed/
H A Ddefs.h83 size_t tolen; member
/netbsd-src/crypto/external/bsd/openssl/dist/include/openssl/
H A 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);
/netbsd-src/sys/compat/linux32/common/
H A Dlinux32_socketcall.h75 syscallarg(int) tolen;
H A Dlinux32_socket.c135 NETBSD32TO64_UAP(tolen); in linux32_sys_sendto()
364 SCARG(&ua, tolen) = 0; in linux32_sys_send()
/netbsd-src/sys/compat/linux/common/
H A Dlinux_socketcall.h138 syscallarg(int) tolen;
/netbsd-src/usr.sbin/rwhod/
H A Drwhod.c551 socklen_t tolen) in Sendto() argument
558 ret = sendto(s, buf, cc, flags, to, tolen); in Sendto()
/netbsd-src/share/doc/psd/21.ipc/
H A Dspell.ok327 tolen
/netbsd-src/crypto/external/bsd/openssl.old/dist/include/openssl/
H A 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);
/netbsd-src/external/gpl3/binutils.old/dist/gas/
H A Dapp.c409 do_scrub_chars (size_t (*get) (char *, size_t), char *tostart, size_t tolen) in do_scrub_chars() argument
412 char *toend = tostart + tolen; in do_scrub_chars()
/netbsd-src/external/gpl3/binutils/dist/gas/
H A Dapp.c409 do_scrub_chars (size_t (*get) (char *, size_t), char *tostart, size_t tolen) in do_scrub_chars() argument
412 char *toend = tostart + tolen; in do_scrub_chars()
/netbsd-src/lib/libpthread/
H A Dpthread_cancelstub.c615 const struct sockaddr *to, socklen_t tolen) in sendto() argument
622 retval = _sys_sendto(s, msg, len, flags, to, tolen); in sendto()
/netbsd-src/share/doc/psd/05.sysman/
H A Dspell.ok481 tolen
/netbsd-src/sys/compat/common/
H A Duipc_syscalls_43.c297 SCARG(&bsa, tolen) = 0; in compat_43_sys_send()

123