Home
last modified time | relevance | path

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

123

/netbsd/external/bsd/nvi/dist/common/
H A Dconv.c59 *tolen = len; in raw2int()
163 *tolen = i; in default_char2int()
179 *tolen = i; in default_char2int()
209 size_t *tolen, const char **dst) in CHAR_T_int2char() argument
211 *tolen = len * sizeof(CHAR_T); in CHAR_T_int2char()
219 size_t *tolen, const CHAR_T **dst) in CHAR_T_char2int() argument
221 *tolen = len / sizeof(CHAR_T); in CHAR_T_char2int()
237 *tolen = len; in int2raw()
330 *tolen = j; in default_int2char()
336 *tolen = offset; in default_int2char()
[all …]
/netbsd/crypto/external/bsd/openssl/dist/crypto/bn/
H A Dbn_lib.c494 if (tolen == -1) { in bn2binpad()
495 tolen = n; 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()
529 return tolen; in bn2binpad()
534 if (tolen < 0) in BN_bn2binpad()
536 return bn2binpad(a, to, tolen, big); in BN_bn2binpad()
593 if (tolen < 0) in BN_bn2lebinpad()
[all …]
/netbsd/crypto/external/bsd/openssl.old/dist/crypto/bn/
H A Dbn_lib.c493 if (tolen == -1) { in bn2binpad()
494 tolen = n; in bn2binpad()
500 if (tolen < n) in bn2binpad()
507 OPENSSL_cleanse(to, tolen); in bn2binpad()
508 return tolen; in bn2binpad()
515 for (i = 0, j = 0; j < (size_t)tolen; j++) { in bn2binpad()
527 return tolen; in bn2binpad()
532 if (tolen < 0) in BN_bn2binpad()
534 return bn2binpad(a, to, tolen, big); in BN_bn2binpad()
591 if (tolen < 0) in BN_bn2lebinpad()
[all …]
/netbsd/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/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/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/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/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/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/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/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/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/external/gpl3/gdb.old/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/usr.bin/sed/
H A Ddefs.h83 size_t tolen; member
/netbsd/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/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/sys/compat/linux/common/
H A Dlinux_socketcall.h138 syscallarg(int) tolen;
/netbsd/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/share/doc/psd/21.ipc/
H A Dspell.ok327 tolen
/netbsd/external/gpl3/gdb/dist/gas/
H A Dapp.c360 do_scrub_chars (size_t (*get) (char *, size_t), char *tostart, size_t tolen) in do_scrub_chars() argument
363 char *toend = tostart + tolen; in do_scrub_chars()
/netbsd/external/gpl3/binutils.old/dist/gas/
H A Dapp.c367 do_scrub_chars (size_t (*get) (char *, size_t), char *tostart, size_t tolen) in do_scrub_chars() argument
370 char *toend = tostart + tolen; in do_scrub_chars()
/netbsd/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/external/gpl3/gdb.old/dist/gas/
H A Dapp.c360 do_scrub_chars (size_t (*get) (char *, size_t), char *tostart, size_t tolen) in do_scrub_chars() argument
363 char *toend = tostart + tolen; in do_scrub_chars()
/netbsd/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);

123