Searched refs:len (Results 76 - 100 of 6822) sorted by relevance

1234567891011>>

/freebsd-13-stable/contrib/bc/tests/bc/scripts/
H A Dreferences.bc3 define printarray(a[], len) {
7 for (i = 0; i < len; ++i) {
12 define a2(a[], len) {
16 for (i = 0; i < len; ++i) {
20 printarray(a[], len)
23 define a4(a__[], len) {
27 for (i = 0; i < len; ++i) {
31 printarray(a__[], len)
34 define a6(*a__[], len) {
38 for (i = 0; i < len;
[all...]
/freebsd-13-stable/contrib/bc/tests/fuzzing/bc_inputs2/
H A Dreferences.bc3 define printarray(a[], len) {
7 for (i = 0; i < len; ++i) {
12 define a2(a[], len) {
16 for (i = 0; i < len; ++i) {
20 printarray(a[], len)
23 define a4(a__[], len) {
27 for (i = 0; i < len; ++i) {
31 printarray(a__[], len)
34 define a6(*a__[], len) {
38 for (i = 0; i < len;
[all...]
/freebsd-13-stable/crypto/openssl/crypto/modes/
H A Dcts128.c28 unsigned char *out, size_t len,
34 if (len <= 16)
37 if ((residue = len % 16) == 0)
40 len -= residue;
42 CRYPTO_cbc128_encrypt(in, out, len, key, ivec, block);
44 in += len;
45 out += len;
53 return len + residue;
57 unsigned char *out, size_t len,
64 if (len < 1
27 CRYPTO_cts128_encrypt_block(const unsigned char *in, unsigned char *out, size_t len, const void *key, unsigned char ivec[16], block128_f block) argument
56 CRYPTO_nistcts128_encrypt_block(const unsigned char *in, unsigned char *out, size_t len, const void *key, unsigned char ivec[16], block128_f block) argument
87 CRYPTO_cts128_encrypt(const unsigned char *in, unsigned char *out, size_t len, const void *key, unsigned char ivec[16], cbc128_f cbc) argument
123 CRYPTO_nistcts128_encrypt(const unsigned char *in, unsigned char *out, size_t len, const void *key, unsigned char ivec[16], cbc128_f cbc) argument
158 CRYPTO_cts128_decrypt_block(const unsigned char *in, unsigned char *out, size_t len, const void *key, unsigned char ivec[16], block128_f block) argument
200 CRYPTO_nistcts128_decrypt_block(const unsigned char *in, unsigned char *out, size_t len, const void *key, unsigned char ivec[16], block128_f block) argument
248 CRYPTO_cts128_decrypt(const unsigned char *in, unsigned char *out, size_t len, const void *key, unsigned char ivec[16], cbc128_f cbc) argument
288 CRYPTO_nistcts128_decrypt(const unsigned char *in, unsigned char *out, size_t len, const void *key, unsigned char ivec[16], cbc128_f cbc) argument
[all...]
/freebsd-13-stable/lib/libsecureboot/
H A Dreadfile.c31 read_fd(int fd, size_t len) argument
36 buf = malloc(len + 1);
37 for (x = 0, m = len; m > 0; ) {
47 buf[len] = '\0';
55 read_file(const char *path, size_t *len) argument
61 if (len)
62 *len = 0;
68 if (len != NULL && ucp != NULL)
69 *len = st.st_size;
/freebsd-13-stable/contrib/bearssl/src/symcipher/
H A Daes_big_ctr.c30 const void *key, size_t len)
33 ctx->num_rounds = br_aes_keysched(ctx->skey, key, len);
37 xorbuf(void *dst, const void *src, size_t len) argument
44 while (len -- > 0) {
52 const void *iv, uint32_t cc, void *data, size_t len)
57 while (len > 0) {
63 if (len <= 16) {
64 xorbuf(buf, tmp, len);
69 len -= 16;
29 br_aes_big_ctr_init(br_aes_big_ctr_keys *ctx, const void *key, size_t len) argument
51 br_aes_big_ctr_run(const br_aes_big_ctr_keys *ctx, const void *iv, uint32_t cc, void *data, size_t len) argument
H A Daes_small_ctr.c30 const void *key, size_t len)
33 ctx->num_rounds = br_aes_keysched(ctx->skey, key, len);
37 xorbuf(void *dst, const void *src, size_t len) argument
44 while (len -- > 0) {
52 const void *iv, uint32_t cc, void *data, size_t len)
57 while (len > 0) {
63 if (len <= 16) {
64 xorbuf(buf, tmp, len);
69 len -= 16;
29 br_aes_small_ctr_init(br_aes_small_ctr_keys *ctx, const void *key, size_t len) argument
51 br_aes_small_ctr_run(const br_aes_small_ctr_keys *ctx, const void *iv, uint32_t cc, void *data, size_t len) argument
/freebsd-13-stable/crypto/heimdal/lib/krb5/
H A Dpadata.c37 krb5_find_padata(PA_DATA *val, unsigned len, int type, int *idx) argument
39 for(; *idx < (int)len; (*idx)++)
47 int type, void *buf, size_t len)
51 pa = realloc (md->val, (md->len + 1) * sizeof(*md->val));
59 pa[md->len].padata_type = type;
60 pa[md->len].padata_value.length = len;
61 pa[md->len].padata_value.data = buf;
62 md->len++;
46 krb5_padata_add(krb5_context context, METHOD_DATA *md, int type, void *buf, size_t len) argument
/freebsd-13-stable/crypto/heimdal/lib/roken/
H A Dconcat.c39 roken_concat (char *s, size_t len, ...) argument
44 va_start(args, len);
45 ret = roken_vconcat (s, len, args);
51 roken_vconcat (char *s, size_t len, va_list args) argument
58 if (n >= len)
62 len -= n;
73 size_t len = 0; local
78 len = 1;
82 if(max_len && len + n > max_len){
86 q = realloc(p, len
[all...]
/freebsd-13-stable/lib/libugidfw/
H A Dugidfw.c70 size_t left, len; local
76 len = snprintf(cur, left, "subject ");
77 if (len < 0 || len > left)
79 left -= len;
80 cur += len;
83 len = snprintf(cur, left, "not ");
84 if (len < 0 || len > left)
86 left -= len;
1108 size_t len; local
1123 size_t len; local
1145 size_t len; local
1167 size_t len; local
1195 size_t len, size; local
1233 size_t len; local
1265 size_t len; local
1298 size_t len; local
[all...]
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/hash/
H A Dh_hash.c55 hexdump (unsigned char *buf, int len) argument
58 for (i=0; i<len; i++) {
71 #define CHOMP(buf, len, last) \
72 if ((len > 0) && \
73 (buf[len-1] == '\n')) { \
74 buf[len-1] = '\0'; \
75 len--; \
84 int len, outlen, last; local
89 len = strlen((char *)buf);
90 CHOMP(buf, len, las
[all...]
/freebsd-13-stable/contrib/bearssl/src/rsa/
H A Drsa_ssl_decrypt.c30 unsigned char *data, size_t len)
39 if (len < 59 || len != (sk->n_bitlen + 7) >> 3) {
46 for (u = 2; u < (len - 49); u ++) {
49 x &= EQ(data[len - 49], 0x00);
50 memmove(data, data + len - 48, 48);
29 br_rsa_ssl_decrypt(br_rsa_private core, const br_rsa_private_key *sk, unsigned char *data, size_t len) argument
/freebsd-13-stable/contrib/diff/lib/
H A Dbasename.c73 size_t len; local
75 for (len = strlen (name); 1 < len && ISSLASH (name[len - 1]); len--)
78 return len;
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/
H A DTestProbeDescription.java41 int len = args.length;
42 if (len == 0) {
44 } else if (len == 1) {
46 } else if (len == 2) {
48 } else if (len == 3) {
50 } else if (len == 4) {
/freebsd-13-stable/sys/contrib/libfdt/
H A Dfdt_addresses.c62 int len; local
64 ac = fdt_getprop(fdt, nodeoffset, "#address-cells", &len);
68 if (len != sizeof(*ac))
82 int len; local
84 sc = fdt_getprop(fdt, nodeoffset, "#size-cells", &len);
88 if (len != sizeof(*sc))
/freebsd-13-stable/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_proc.c34 uread(proc_t *p, void *kaddr, size_t len, uintptr_t uaddr) argument
38 n = proc_readmem(curthread, p, uaddr, kaddr, len);
39 if (n != len)
45 uwrite(proc_t *p, void *kaddr, size_t len, uintptr_t uaddr) argument
49 n = proc_writemem(curthread, p, uaddr, kaddr, len);
50 if (n != len)
/freebsd-13-stable/crypto/heimdal/lib/wind/
H A Dtest-utf8.c75 size_t len; member in struct:testcase
109 size_t len, len2; local
114 len = MAX_LENGTH;
115 ret = wind_utf8ucs4(*s, u, &len);
125 ret = wind_utf8ucs4_length(t->utf8_str, &len);
132 if (len != t->len) {
135 t->utf8_str, (unsigned int)t->len, (unsigned int)len);
140 len
[all...]
/freebsd-13-stable/tools/regression/audit/audit_pipe_ioctl/
H A Daudit_pipe_ioctl.c48 u_int len, minlen, maxlen; local
60 len = (u_int)(-1);
61 if (ioctl(fd, AUDITPIPE_GET_QLEN, &len) < 0)
63 if (len == (u_int)(-1))
78 len = (u_int)(-1);
79 if (ioctl(fd, AUDITPIPE_GET_QLIMIT, &len) < 0)
81 if (len == (u_int)(-1))
84 if (!(len >= minlen))
87 if (!(len <= maxlen))
94 len
[all...]
/freebsd-13-stable/contrib/ofed/libibverbs/
H A Dsysfs.c63 int len; local
67 len = strlen(dup);
68 while (len > 0 && dup[len - 1] == '/') {
69 --len;
70 dup[len] = '\0';
83 size_t len; local
92 len = size;
93 ret = sysctlbyname(&path[1], buf, &len, NULL, 0);
99 if (len >
[all...]
/freebsd-13-stable/contrib/subversion/subversion/libsvn_subr/
H A Deol.c35 svn_eol__find_eol_start(char *buf, apr_size_t len)
40 for (; len > sizeof(apr_uintptr_t)
41 ; buf += sizeof(apr_uintptr_t), len -= sizeof(apr_uintptr_t))
65 for (; len > 0; ++buf, --len)
75 svn_eol__detect_eol(char *buf, apr_size_t len, char **eolp)
79 eol = svn_eol__find_eol_start(buf, len);
90 if (eol == buf + len || *eol != '\n')
34 svn_eol__find_eol_start(char *buf, apr_size_t len) argument
74 svn_eol__detect_eol(char *buf, apr_size_t len, char **eolp) argument
/freebsd-13-stable/contrib/wpa/src/tls/
H A Dpkcs8.h12 struct crypto_private_key * pkcs8_key_import(const u8 *buf, size_t len);
14 pkcs8_enc_key_import(const u8 *buf, size_t len, const char *passwd);
/freebsd-13-stable/lib/libc/amd64/string/
H A Dbcopy.c11 bcopy(const void *src, void *dst, size_t len) argument
14 memmove(dst, src, len);
/freebsd-13-stable/crypto/openssl/crypto/
H A Dmem_clr.c22 void OPENSSL_cleanse(void *ptr, size_t len) argument
24 memset_func(ptr, 0, len);
/freebsd-13-stable/contrib/tcpdump/
H A Dprint-ftp.c29 ftp_print(netdissect_options *ndo, const u_char *pptr, u_int len) argument
31 txtproto_print(ndo, pptr, len, "ftp", NULL, 0);
H A Dprint-sip.c51 sip_print(netdissect_options *ndo, const u_char *pptr, u_int len) argument
53 txtproto_print(ndo, pptr, len, "sip", sipcmds, RESP_CODE_SECOND_TOKEN);
H A Dprint-smtp.c29 smtp_print(netdissect_options *ndo, const u_char *pptr, u_int len) argument
31 txtproto_print(ndo, pptr, len, "smtp", NULL, 0);

Completed in 346 milliseconds

1234567891011>>