/freebsd-12-stable/contrib/apr-util/include/ |
H A D | apr_siphash.h | 64 * @param len The length of the message 70 APU_DECLARE(apr_uint64_t) apr_siphash(const void *src, apr_size_t len, 81 * @param len The length of the message 88 const void *src, apr_size_t len, 96 * @param len The length of the message 100 APU_DECLARE(apr_uint64_t) apr_siphash24(const void *src, apr_size_t len, 110 * @param len The length of the message 115 const void *src, apr_size_t len, 122 * @param len The length of the message 126 APU_DECLARE(apr_uint64_t) apr_siphash48(const void *src, apr_size_t len, [all...] |
/freebsd-12-stable/contrib/bc/tests/bc/scripts/ |
H A D | divide.bc | 5 len = 1 + 2 * scale 10 for (i = 0; i <= len; ++i) { 16 for (j = 0; j < len; ++j) {
|
H A D | multiply.bc | 5 len = length(x) + 1 + scale 7 for (i = 0; i <= len; ++i) { 13 for (j = 0; j < len; ++j) {
|
/freebsd-12-stable/contrib/bearssl/src/ec/ |
H A D | ec_all_m31.c | 28 api_generator(int curve, size_t *len) argument 33 return br_ec_p256_m64.generator(curve, len); 35 return br_ec_p256_m31.generator(curve, len); 39 return br_ec_c25519_m64.generator(curve, len); 41 return br_ec_c25519_m31.generator(curve, len); 44 return br_ec_prime_i31.generator(curve, len); 49 api_order(int curve, size_t *len) argument 54 return br_ec_p256_m64.order(curve, len); 56 return br_ec_p256_m31.order(curve, len); 60 return br_ec_c25519_m64.order(curve, len); 70 api_xoff(int curve, size_t *len) argument 135 api_muladd(unsigned char *A, const unsigned char *B, size_t len, const unsigned char *x, size_t xlen, const unsigned char *y, size_t ylen, int curve) argument [all...] |
/freebsd-12-stable/contrib/apr/include/ |
H A D | apr_encode.h | 87 * returned in the len field, including space for a terminating zero character 92 * and the actual number of characters written is returned in the len field, 157 * @param len If present and src is NULL, returns the maximum possible length 163 apr_ssize_t slen, int flags, apr_size_t * len); 174 * @param len If present and src is NULL, returns the maximum possible length 180 apr_ssize_t slen, int flags, apr_size_t * len); 192 * @param len If present, returns the number of characters written excluding 198 apr_ssize_t slen, int flags, apr_size_t * len)__attribute__((nonnull(1))); 209 * @param len If present, returns the number of characters written excluding 215 apr_ssize_t slen, int flags, apr_size_t * len)__attribute_ [all...] |
/freebsd-12-stable/crypto/heimdal/lib/gssapi/krb5/ |
H A D | display_name.c | 47 size_t len; local 57 len = strlen (buf); 58 output_name_buffer->length = len; 59 output_name_buffer->value = malloc(len + 1); 65 memcpy (output_name_buffer->value, buf, len); 66 ((char *)output_name_buffer->value)[len] = '\0';
|
/freebsd-12-stable/lib/libc/gen/ |
H A D | sysctlbyname.c | 48 size_t len; local 51 len = strlen(name); 52 return (__sysctlbyname(name, len, oldp, oldlenp, newp, 55 len = nitems(oid); 56 if (sysctlnametomib(name, oid, &len) == -1) 58 return (sysctl(oid, len, oldp, oldlenp, newp, newlen));
|
/freebsd-12-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | socket.h | 38 memcpy_toiovec(struct iovec *v, unsigned char *kdata, int len) argument 46 uio.uio_resid = len; 49 error = -uiomove(kdata, len, &uio); 54 memcpy_fromiovec(unsigned char *kdata, struct iovec *iov, int len) argument 62 uio.uio_resid = len; 65 error = -uiomove(kdata, len, &uio);
|
/freebsd-12-stable/sys/kern/ |
H A D | subr_early.c | 46 memset_early(void *buf, int c, size_t len) argument 49 return (MEMSET_EARLY_FUNC(buf, c, len)); 59 memcpy_early(void *to, const void *from, size_t len) argument 62 return (MEMCPY_EARLY_FUNC(to, from, len)); 72 memmove_early(void *to, const void *from, size_t len) argument 75 return (MEMMOVE_EARLY_FUNC(to, from, len));
|
/freebsd-12-stable/tools/test/devrandom/ |
H A D | hammer.urandom | 15 $len = sysread(BIN, $a, 20); 18 if ($len > 0) { 19 for ($j = 0; $j < $len; $j += 2) {
|
H A D | stat.16bit | 16 $len = sysread(BIN, $a, 512); 18 if ($len > 0) { 19 for ($j = 0; $j < $len; $j += 2) {
|
H A D | stat.8bit | 16 $len = sysread(BIN, $a, 256); 18 if ($len > 0) { 19 for ($j = 0; $j < $len; $j++) {
|
/freebsd-12-stable/lib/libutil/ |
H A D | kinfo_getproc.c | 47 size_t len; local 49 len = 0; 54 if (sysctl(mib, nitems(mib), NULL, &len, NULL, 0) < 0) 57 kipp = malloc(len); 61 if (sysctl(mib, nitems(mib), kipp, &len, NULL, 0) < 0) 63 if (len != sizeof(*kipp))
|
/freebsd-12-stable/crypto/openssh/ |
H A D | ssh_api.h | 104 size_t len); 107 * ssh_input_space() checks if 'len' bytes can be appended to the 110 int ssh_input_space(struct ssh *ssh, size_t len); 115 int ssh_input_append(struct ssh *ssh, const u_char *data, size_t len); 118 * ssh_output_space() checks if 'len' bytes can be appended to the 121 int ssh_output_space(struct ssh *ssh, size_t len); 129 const u_char *ssh_output_ptr(struct ssh *ssh, size_t *len); 135 int ssh_output_consume(struct ssh *ssh, size_t len);
|
/freebsd-12-stable/crypto/openssl/crypto/modes/ |
H A D | cbc128.c | 25 size_t len, const void *key, 31 if (len == 0) 37 while (len >= 16) { 42 len -= 16; 47 while (len >= 16) { 53 len -= 16; 59 while (len) { 60 for (n = 0; n < 16 && n < len; ++n) 66 if (len <= 16) 68 len 24 CRYPTO_cbc128_encrypt(const unsigned char *in, unsigned char *out, size_t len, const void *key, unsigned char ivec[16], block128_f block) argument 76 CRYPTO_cbc128_decrypt(const unsigned char *in, unsigned char *out, size_t len, const void *key, unsigned char ivec[16], block128_f block) argument [all...] |
/freebsd-12-stable/usr.bin/cksum/ |
H A D | print.c | 49 pcrc(char *fn, uint32_t val, off_t len) argument 51 (void)printf("%lu %jd", (u_long)val, (intmax_t)len); 58 psum1(char *fn, uint32_t val, off_t len) argument 60 (void)printf("%lu %jd", (u_long)val, (intmax_t)(len + 1023) / 1024); 67 psum2(char *fn, uint32_t val, off_t len) argument 69 (void)printf("%lu %jd", (u_long)val, (intmax_t)(len + 511) / 512);
|
/freebsd-12-stable/usr.sbin/traceroute/ |
H A D | findsaddr-udp.c | 61 socklen_t len; local 68 len = sizeof(struct sockaddr_in); 69 memcpy(&cto, to, len); 71 if (connect(s, (struct sockaddr *)&cto, len) == -1) { 76 if (getsockname(s, (struct sockaddr *)&cfrom, &len) == -1) { 81 if (len != sizeof(struct sockaddr_in) || cfrom.sin_family != AF_INET) {
|
/freebsd-12-stable/contrib/ntp/sntp/libevent/ |
H A D | event_tagging.c | 155 int len = encode_int_internal(data, number); local 156 evbuffer_add(evbuf, data, len); 163 int len = encode_int64_internal(data, number); local 164 evbuffer_add(evbuf, data, len); 199 size_t len = evbuffer_get_length(evbuf); local 209 evbuf, len < sizeof(number) + 1 ? len : sizeof(number) + 1); 213 while (count++ < len) { 257 const void *data, ev_uint32_t len) 260 evtag_encode_int(evbuf, len); 256 evtag_marshal(struct evbuffer *evbuf, ev_uint32_t tag, const void *data, ev_uint32_t len) argument 279 int len = encode_int_internal(data, integer); local 291 int len = encode_int64_internal(data, integer); local 309 int len = encode_int_internal(data, tv->tv_sec); local 403 int res, len; local 421 int res, len; local 439 ev_uint32_t len; local 455 int len; local 468 int len; local 488 ev_uint32_t len; local 514 ev_uint32_t len; local 538 evtag_unmarshal_fixed(struct evbuffer *src, ev_uint32_t need_tag, void *data, size_t len) argument 584 int len, offset, offset2; local [all...] |
/freebsd-12-stable/contrib/libevent/ |
H A D | event_tagging.c | 156 int len = encode_int_internal(data, number); local 157 evbuffer_add(evbuf, data, len); 164 int len = encode_int64_internal(data, number); local 165 evbuffer_add(evbuf, data, len); 200 size_t len = evbuffer_get_length(evbuf); local 210 evbuf, len < sizeof(number) + 1 ? len : sizeof(number) + 1); 214 while (count++ < len) { 258 const void *data, ev_uint32_t len) 261 evtag_encode_int(evbuf, len); 257 evtag_marshal(struct evbuffer *evbuf, ev_uint32_t tag, const void *data, ev_uint32_t len) argument 280 int len = encode_int_internal(data, integer); local 292 int len = encode_int64_internal(data, integer); local 310 int len = encode_int_internal(data, tv->tv_sec); local 404 int res, len; local 422 int res, len; local 440 ev_uint32_t len; local 456 int len; local 469 int len; local 489 ev_uint32_t len; local 515 ev_uint32_t len; local 539 evtag_unmarshal_fixed(struct evbuffer *src, ev_uint32_t need_tag, void *data, size_t len) argument 585 int len, offset, offset2; local [all...] |
/freebsd-12-stable/contrib/ntp/lib/isc/ |
H A D | hmacsha.c | 40 unsigned int len) 42 HMAC_Init(ctx, (const void *) key, (int) len, EVP_sha1()); 52 unsigned int len) 54 HMAC_Update(ctx, buf, (int) len); 58 isc_hmacsha1_sign(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len) { argument 61 REQUIRE(len <= ISC_SHA1_DIGESTLENGTH); 65 memcpy(digest, newdigest, len); 71 unsigned int len) 73 HMAC_Init(ctx, (const void *) key, (int) len, EVP_sha224()); 83 unsigned int len) 39 isc_hmacsha1_init(isc_hmacsha1_t *ctx, const unsigned char *key, unsigned int len) argument 51 isc_hmacsha1_update(isc_hmacsha1_t *ctx, const unsigned char *buf, unsigned int len) argument 70 isc_hmacsha224_init(isc_hmacsha224_t *ctx, const unsigned char *key, unsigned int len) argument 82 isc_hmacsha224_update(isc_hmacsha224_t *ctx, const unsigned char *buf, unsigned int len) argument 89 isc_hmacsha224_sign(isc_hmacsha224_t *ctx, unsigned char *digest, size_t len) argument 101 isc_hmacsha256_init(isc_hmacsha256_t *ctx, const unsigned char *key, unsigned int len) argument 113 isc_hmacsha256_update(isc_hmacsha256_t *ctx, const unsigned char *buf, unsigned int len) argument 120 isc_hmacsha256_sign(isc_hmacsha256_t *ctx, unsigned char *digest, size_t len) argument 132 isc_hmacsha384_init(isc_hmacsha384_t *ctx, const unsigned char *key, unsigned int len) argument 144 isc_hmacsha384_update(isc_hmacsha384_t *ctx, const unsigned char *buf, unsigned int len) argument 151 isc_hmacsha384_sign(isc_hmacsha384_t *ctx, unsigned char *digest, size_t len) argument 163 isc_hmacsha512_init(isc_hmacsha512_t *ctx, const unsigned char *key, unsigned int len) argument 175 isc_hmacsha512_update(isc_hmacsha512_t *ctx, const unsigned char *buf, unsigned int len) argument 182 isc_hmacsha512_sign(isc_hmacsha512_t *ctx, unsigned char *digest, size_t len) argument 202 isc_hmacsha1_init(isc_hmacsha1_t *ctx, const unsigned char *key, unsigned int len) argument 235 isc_hmacsha1_update(isc_hmacsha1_t *ctx, const unsigned char *buf, unsigned int len) argument 245 isc_hmacsha1_sign(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len) argument 270 isc_hmacsha224_init(isc_hmacsha224_t *ctx, const unsigned char *key, unsigned int len) argument 302 isc_hmacsha224_update(isc_hmacsha224_t *ctx, const unsigned char *buf, unsigned int len) argument 312 isc_hmacsha224_sign(isc_hmacsha224_t *ctx, unsigned char *digest, size_t len) argument 336 isc_hmacsha256_init(isc_hmacsha256_t *ctx, const unsigned char *key, unsigned int len) argument 368 isc_hmacsha256_update(isc_hmacsha256_t *ctx, const unsigned char *buf, unsigned int len) argument 378 isc_hmacsha256_sign(isc_hmacsha256_t *ctx, unsigned char *digest, size_t len) argument 402 isc_hmacsha384_init(isc_hmacsha384_t *ctx, const unsigned char *key, unsigned int len) argument 434 isc_hmacsha384_update(isc_hmacsha384_t *ctx, const unsigned char *buf, unsigned int len) argument 444 isc_hmacsha384_sign(isc_hmacsha384_t *ctx, unsigned char *digest, size_t len) argument 468 isc_hmacsha512_init(isc_hmacsha512_t *ctx, const unsigned char *key, unsigned int len) argument 500 isc_hmacsha512_update(isc_hmacsha512_t *ctx, const unsigned char *buf, unsigned int len) argument 510 isc_hmacsha512_sign(isc_hmacsha512_t *ctx, unsigned char *digest, size_t len) argument 536 isc_hmacsha1_verify(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len) argument 549 isc_hmacsha224_verify(isc_hmacsha224_t *ctx, unsigned char *digest, size_t len) argument 562 isc_hmacsha256_verify(isc_hmacsha256_t *ctx, unsigned char *digest, size_t len) argument 575 isc_hmacsha384_verify(isc_hmacsha384_t *ctx, unsigned char *digest, size_t len) argument 588 isc_hmacsha512_verify(isc_hmacsha512_t *ctx, unsigned char *digest, size_t len) argument [all...] |
/freebsd-12-stable/crypto/heimdal/appl/gssmask/ |
H A D | common.c | 40 size_t len = strlen(str) + 1; local 43 ret = krb5_store_int32(sp, len); 46 ret = krb5_storage_write(sp, str, len); 47 if (ret != len) 53 add_list(char ****list, size_t *listlen, char **str, size_t len) argument 58 (*list)[*listlen] = ecalloc(len, sizeof(**list)); 59 for (i = 0; i < len; i++) 66 char **str, const int start, const int len) 72 for (i = start; i < len - 1; i++) { 73 for (j = i+1; j < len; 65 permute(char ****list, size_t *listlen, char **str, const int start, const int len) argument [all...] |
/freebsd-12-stable/contrib/mandoc/ |
H A D | compat_strcasestr.c | 57 size_t len; local 61 len = strlen(find); 67 } while (strncasecmp(s, find, len) != 0);
|
/freebsd-12-stable/contrib/ncurses/ncurses/tinfo/ |
H A D | strings.c | 70 _nc_str_init(string_desc * dst, char *src, size_t len) argument 75 dst->s_size = len - 1; 87 _nc_str_null(string_desc * dst, size_t len) argument 89 return _nc_str_init(dst, 0, len); 109 size_t len = strlen(src); local 111 if (len < dst->s_size) { 114 dst->s_tail += len; 116 dst->s_size -= len; 130 size_t len = strlen(src); local 132 if (len < ds [all...] |
/freebsd-12-stable/contrib/nvi/vi/ |
H A D | v_right.c | 36 size_t len; local 39 if (db_eget(sp, vp->m_start.lno, NULL, &len, &isempty)) { 46 if (len == 0) { 62 if (vp->m_start.cno == len - 1 && !ISMOTION(vp)) { 66 if (vp->m_stop.cno >= len) { 67 vp->m_stop.cno = len - 1; 86 size_t len; local 120 if (db_eget(sp, vp->m_stop.lno, NULL, &len, &isempty)) { 123 len = 0; 126 if (len [all...] |
/freebsd-12-stable/contrib/openpam/lib/libpam/ |
H A D | openpam_findenv.c | 58 size_t len) 64 if (strncmp(pamh->env[i], name, len) == 0 && 65 pamh->env[i][len] == '=') 56 openpam_findenv(pam_handle_t *pamh, const char *name, size_t len) argument
|