Searched refs:len (Results 1 - 25 of 238) sorted by relevance

12345678910

/bind-9.11.3/bin/tests/startperf/
H A Dmakenames.pl12 die "Usage: makenames.pl <num> [<len>]" if (@ARGV == 0 || @ARGV > 2);
13 my $len = 10;
14 $len = @ARGV[1] if (@ARGV == 2);
21 for (my $j = 0; $j < $len; $j++) {
/bind-9.11.3/lib/lwres/
H A Dcontext_p.h21 #define CTXMALLOC(len) ctx->malloc(ctx->arg, (len))
22 #define CTXFREE(addr, len) ctx->free(ctx->arg, (addr), (len))
H A Dlwinetntop.c80 size_t len; local
82 len = snprintf(tmp, sizeof(tmp), fmt, src[0], src[1], src[2], src[3]);
83 if (len >= size) {
109 struct { int base, len; } best, cur; member in struct:__anon324
122 best.len = 0;
124 cur.len = 0;
128 cur.base = i, cur.len = 1;
130 cur.len++;
133 if (best.base == -1 || cur.len > best.len)
[all...]
/bind-9.11.3/lib/isc/include/isc/
H A Dhmacsha.h89 unsigned int len);
96 unsigned int len);
99 isc_hmacsha1_sign(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len);
102 isc_hmacsha1_verify(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len);
110 unsigned int len);
117 unsigned int len);
120 isc_hmacsha224_sign(isc_hmacsha224_t *ctx, unsigned char *digest, size_t len);
123 isc_hmacsha224_verify(isc_hmacsha224_t *ctx, unsigned char *digest, size_t len);
128 unsigned int len);
135 unsigned int len);
[all...]
H A Dsafe.h30 isc_safe_memcompare(const void *b1, const void *b2, size_t len);
36 isc_safe_memwipe(void *ptr, size_t len);
38 * Clear the memory of length `len` pointed to by `ptr`.
H A Dhmacmd5.h58 unsigned int len);
65 unsigned int len);
74 isc_hmacmd5_verify2(isc_hmacmd5_t *ctx, unsigned char *digest, size_t len);
/bind-9.11.3/contrib/idn/idnkit-1.0-src/include/idn/
H A Dutf8.h71 * to 'buf', whose length is 'len'. Returns the number of bytes copied,
72 * or zero if the encoding is invalid or len is too small.
80 idn_utf8_getmb(const char *s, size_t len, char *buf);
89 idn_utf8_getwc(const char *s, size_t len, unsigned long *vp);
96 * whose length is 'len'. It returns the number of bytes written, or
97 * zero 'v' is out of range or 'len' is too small.
100 idn_utf8_putwc(char *s, size_t len, unsigned long v);
/bind-9.11.3/lib/dns/rdata/generic/
H A Dnsec_47.h22 isc_uint16_t len; member in struct:dns_rdata_nsec
H A Dnxt_30.h22 isc_uint16_t len; member in struct:dns_rdata_nxt
H A Dcsync_62.h22 isc_uint16_t len; member in struct:dns_rdata_csync
/bind-9.11.3/lib/dns/
H A Dspnego.c234 der_get_length(const unsigned char *p, size_t len,
238 der_get_octet_string(const unsigned char *p, size_t len,
241 der_get_oid(const unsigned char *p, size_t len,
244 der_get_tag(const unsigned char *p, size_t len,
249 der_match_tag(const unsigned char *p, size_t len,
253 der_match_tag_and_length(const unsigned char *p, size_t len,
258 decode_oid(const unsigned char *p, size_t len,
262 decode_enumerated(const unsigned char *p, size_t len, void *num, size_t *size);
268 der_put_int(unsigned char *p, size_t len, int val, size_t *);
271 der_put_length(unsigned char *p, size_t len, size_
373 size_t len; local
575 size_t len, taglen, ni_len; local
694 size_t len, len_len, mech_len, foo; local
777 der_get_unsigned(const unsigned char *p, size_t len, unsigned *ret, size_t *size) argument
792 der_get_int(const unsigned char *p, size_t len, int *ret, size_t *size) argument
810 der_get_length(const unsigned char *p, size_t len, size_t *val, size_t *size) argument
848 der_get_octet_string(const unsigned char *p, size_t len, octet_string *data, size_t *size) argument
865 der_get_oid(const unsigned char *p, size_t len, oid *data, size_t *size) argument
903 der_get_tag(const unsigned char *p, size_t len, Der_class *xclass, Der_type *type, int *tag, size_t *size) argument
918 der_match_tag(const unsigned char *p, size_t len, Der_class xclass, Der_type type, int tag, size_t *size) argument
943 der_match_tag_and_length(const unsigned char *p, size_t len, Der_class xclass, Der_type type, int tag, size_t *length_ret, size_t *size) argument
969 decode_enumerated(const unsigned char *p, size_t len, void *num, size_t *size) argument
1000 decode_octet_string(const unsigned char *p, size_t len, octet_string *k, size_t *size) argument
1040 decode_oid(const unsigned char *p, size_t len, oid *k, size_t *size) argument
1077 fix_dce(size_t reallen, size_t *len) argument
1102 length_len(size_t len) argument
1121 der_put_unsigned(unsigned char *p, size_t len, unsigned val, size_t *size) argument
1147 der_put_int(unsigned char *p, size_t len, int val, size_t *size) argument
1186 der_put_length(unsigned char *p, size_t len, size_t val, size_t *size) argument
1209 der_put_octet_string(unsigned char *p, size_t len, const octet_string *data, size_t *size) argument
1223 der_put_oid(unsigned char *p, size_t len, const oid *data, size_t *size) argument
1253 der_put_tag(unsigned char *p, size_t len, Der_class xclass, Der_type type, int tag, size_t *size) argument
1264 der_put_length_and_tag(unsigned char *p, size_t len, size_t len_val, Der_class xclass, Der_type type, int tag, size_t *size) argument
1289 encode_enumerated(unsigned char *p, size_t len, const void *data, size_t *size) argument
1314 encode_octet_string(unsigned char *p, size_t len, const octet_string *k, size_t *size) argument
1339 encode_oid(unsigned char *p, size_t len, const oid *k, size_t *size) argument
1367 gssapi_encap_length(size_t data_len, size_t *len, size_t *total_len, const gss_OID mech) argument
1382 gssapi_mech_make_header(u_char *p, size_t len, const gss_OID mech) argument
1413 size_t len, outer_len; local
1470 size_t len, len_len, mech_len, foo; local
1513 size_t len; local
1648 size_t len, taglen; local
[all...]
H A Dspnego_asn1.c76 unsigned int len; member in struct:MechTypeList
166 #define BACK if (e) return e; p -= l; len -= l; ret += l; POST(p); POST(len); POST(ret)
169 encode_MechType(unsigned char *p, size_t len, const MechType * data, size_t * size) argument
175 e = encode_oid(p, len, data, &l);
181 #define FORW if(e) goto fail; p += l; len -= l; ret += l; POST(p); POST(len); POST(ret)
184 decode_MechType(const unsigned char *p, size_t len, MechType * data, size_t * size) argument
191 e = decode_oid(p, len, data, &l);
217 encode_MechTypeList(unsigned char *p, size_t len, cons argument
237 decode_MechTypeList(const unsigned char *p, size_t len, MechTypeList * data, size_t * size) argument
300 encode_ContextFlags(unsigned char *p, size_t len, const ContextFlags * data, size_t * size) argument
347 decode_ContextFlags(const unsigned char *p, size_t len, ContextFlags * data, size_t * size) argument
406 encode_NegTokenInit(unsigned char *p, size_t len, const NegTokenInit * data, size_t * size) argument
454 decode_NegTokenInit(const unsigned char *p, size_t len, NegTokenInit * data, size_t * size) argument
629 encode_NegTokenResp(unsigned char *p, size_t len, const NegTokenResp * data, size_t * size) argument
678 decode_NegTokenResp(const unsigned char *p, size_t len, NegTokenResp * data, size_t * size) argument
[all...]
H A Dopenssleddsa_link.c67 int len; local
69 len = i2d_PUBKEY(pkey, NULL);
70 if ((len <= DNS_KEY_ED25519SIZE) ||
71 (len > PUBPREFIXLEN + DNS_KEY_ED25519SIZE))
74 len = i2d_PUBKEY(pkey, &p);
75 if ((len <= DNS_KEY_ED25519SIZE) ||
76 (len > PUBPREFIXLEN + DNS_KEY_ED25519SIZE))
78 memmove(key, buf + len - DNS_KEY_ED25519SIZE, DNS_KEY_ED25519SIZE);
103 int len; local
105 len
142 int len; local
179 int len; local
422 int len; local
481 unsigned int len; local
514 unsigned int len; local
582 unsigned int len; local
[all...]
/bind-9.11.3/bin/tests/system/formerr/
H A Dformerr.pl77 my $len = length $data;
86 $bytes = $sock->syswrite(pack("n", $len), 2);
87 $bytes = $sock->syswrite($data, $len);
89 $len = unpack("n", $data);
90 $bytes = $sock->sysread($data, $len);
/bind-9.11.3/lib/isc/
H A Dsafe.c41 isc_safe_memcompare(const void *b1, const void *b2, size_t len) { argument
46 for (i = 0; i < len; i++) {
67 isc_safe_memwipe(void *ptr, size_t len) { argument
68 if (ISC_UNLIKELY(ptr == NULL || len == 0))
72 SecureZeroMemory(ptr, len);
74 explicit_bzero(ptr, len);
76 memset(ptr, 0, len);
H A Dhmacsha.c42 unsigned int len)
47 (int) len, EVP_sha1(), NULL) == 1);
60 unsigned int len)
62 RUNTIME_CHECK(HMAC_Update(ctx->ctx, buf, (int) len) == 1);
66 isc_hmacsha1_sign(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len) { argument
69 REQUIRE(len <= ISC_SHA1_DIGESTLENGTH);
74 memmove(digest, newdigest, len);
80 unsigned int len)
85 (int) len, EVP_sha224(), NULL) == 1);
98 unsigned int len)
41 isc_hmacsha1_init(isc_hmacsha1_t *ctx, const unsigned char *key, unsigned int len) argument
59 isc_hmacsha1_update(isc_hmacsha1_t *ctx, const unsigned char *buf, unsigned int len) argument
79 isc_hmacsha224_init(isc_hmacsha224_t *ctx, const unsigned char *key, unsigned int len) argument
97 isc_hmacsha224_update(isc_hmacsha224_t *ctx, const unsigned char *buf, unsigned int len) argument
104 isc_hmacsha224_sign(isc_hmacsha224_t *ctx, unsigned char *digest, size_t len) argument
117 isc_hmacsha256_init(isc_hmacsha256_t *ctx, const unsigned char *key, unsigned int len) argument
135 isc_hmacsha256_update(isc_hmacsha256_t *ctx, const unsigned char *buf, unsigned int len) argument
142 isc_hmacsha256_sign(isc_hmacsha256_t *ctx, unsigned char *digest, size_t len) argument
155 isc_hmacsha384_init(isc_hmacsha384_t *ctx, const unsigned char *key, unsigned int len) argument
173 isc_hmacsha384_update(isc_hmacsha384_t *ctx, const unsigned char *buf, unsigned int len) argument
180 isc_hmacsha384_sign(isc_hmacsha384_t *ctx, unsigned char *digest, size_t len) argument
193 isc_hmacsha512_init(isc_hmacsha512_t *ctx, const unsigned char *key, unsigned int len) argument
211 isc_hmacsha512_update(isc_hmacsha512_t *ctx, const unsigned char *buf, unsigned int len) argument
218 isc_hmacsha512_sign(isc_hmacsha512_t *ctx, unsigned char *digest, size_t len) argument
252 isc_hmacsha1_init(isc_hmacsha1_t *ctx, const unsigned char *key, unsigned int len) argument
294 CK_ULONG len = ISC_SHA1_DIGESTLENGTH; local
307 isc_hmacsha1_update(isc_hmacsha1_t *ctx, const unsigned char *buf, unsigned int len) argument
319 isc_hmacsha1_sign(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len) argument
336 isc_hmacsha1_init(isc_hmacsha1_t *ctx, const unsigned char *key, unsigned int len) argument
379 isc_hmacsha1_update(isc_hmacsha1_t *ctx, const unsigned char *buf, unsigned int len) argument
391 isc_hmacsha1_sign(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len) argument
422 isc_hmacsha224_init(isc_hmacsha224_t *ctx, const unsigned char *key, unsigned int len) argument
464 CK_ULONG len = ISC_SHA224_DIGESTLENGTH; local
477 isc_hmacsha224_update(isc_hmacsha224_t *ctx, const unsigned char *buf, unsigned int len) argument
489 isc_hmacsha224_sign(isc_hmacsha224_t *ctx, unsigned char *digest, size_t len) argument
506 isc_hmacsha224_init(isc_hmacsha224_t *ctx, const unsigned char *key, unsigned int len) argument
549 isc_hmacsha224_update(isc_hmacsha224_t *ctx, const unsigned char *buf, unsigned int len) argument
561 isc_hmacsha224_sign(isc_hmacsha224_t *ctx, unsigned char *digest, size_t len) argument
592 isc_hmacsha256_init(isc_hmacsha256_t *ctx, const unsigned char *key, unsigned int len) argument
634 CK_ULONG len = ISC_SHA256_DIGESTLENGTH; local
647 isc_hmacsha256_update(isc_hmacsha256_t *ctx, const unsigned char *buf, unsigned int len) argument
659 isc_hmacsha256_sign(isc_hmacsha256_t *ctx, unsigned char *digest, size_t len) argument
676 isc_hmacsha256_init(isc_hmacsha256_t *ctx, const unsigned char *key, unsigned int len) argument
719 isc_hmacsha256_update(isc_hmacsha256_t *ctx, const unsigned char *buf, unsigned int len) argument
731 isc_hmacsha256_sign(isc_hmacsha256_t *ctx, unsigned char *digest, size_t len) argument
762 isc_hmacsha384_init(isc_hmacsha384_t *ctx, const unsigned char *key, unsigned int len) argument
804 CK_ULONG len = ISC_SHA384_DIGESTLENGTH; local
817 isc_hmacsha384_update(isc_hmacsha384_t *ctx, const unsigned char *buf, unsigned int len) argument
829 isc_hmacsha384_sign(isc_hmacsha384_t *ctx, unsigned char *digest, size_t len) argument
846 isc_hmacsha384_init(isc_hmacsha384_t *ctx, const unsigned char *key, unsigned int len) argument
889 isc_hmacsha384_update(isc_hmacsha384_t *ctx, const unsigned char *buf, unsigned int len) argument
901 isc_hmacsha384_sign(isc_hmacsha384_t *ctx, unsigned char *digest, size_t len) argument
932 isc_hmacsha512_init(isc_hmacsha512_t *ctx, const unsigned char *key, unsigned int len) argument
974 CK_ULONG len = ISC_SHA512_DIGESTLENGTH; local
987 isc_hmacsha512_update(isc_hmacsha512_t *ctx, const unsigned char *buf, unsigned int len) argument
999 isc_hmacsha512_sign(isc_hmacsha512_t *ctx, unsigned char *digest, size_t len) argument
1016 isc_hmacsha512_init(isc_hmacsha512_t *ctx, const unsigned char *key, unsigned int len) argument
1059 isc_hmacsha512_update(isc_hmacsha512_t *ctx, const unsigned char *buf, unsigned int len) argument
1071 isc_hmacsha512_sign(isc_hmacsha512_t *ctx, unsigned char *digest, size_t len) argument
1109 isc_hmacsha1_init(isc_hmacsha1_t *ctx, const unsigned char *key, unsigned int len) argument
1142 isc_hmacsha1_update(isc_hmacsha1_t *ctx, const unsigned char *buf, unsigned int len) argument
1152 isc_hmacsha1_sign(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len) argument
1177 isc_hmacsha224_init(isc_hmacsha224_t *ctx, const unsigned char *key, unsigned int len) argument
1209 isc_hmacsha224_update(isc_hmacsha224_t *ctx, const unsigned char *buf, unsigned int len) argument
1219 isc_hmacsha224_sign(isc_hmacsha224_t *ctx, unsigned char *digest, size_t len) argument
1243 isc_hmacsha256_init(isc_hmacsha256_t *ctx, const unsigned char *key, unsigned int len) argument
1275 isc_hmacsha256_update(isc_hmacsha256_t *ctx, const unsigned char *buf, unsigned int len) argument
1285 isc_hmacsha256_sign(isc_hmacsha256_t *ctx, unsigned char *digest, size_t len) argument
1309 isc_hmacsha384_init(isc_hmacsha384_t *ctx, const unsigned char *key, unsigned int len) argument
1341 isc_hmacsha384_update(isc_hmacsha384_t *ctx, const unsigned char *buf, unsigned int len) argument
1351 isc_hmacsha384_sign(isc_hmacsha384_t *ctx, unsigned char *digest, size_t len) argument
1375 isc_hmacsha512_init(isc_hmacsha512_t *ctx, const unsigned char *key, unsigned int len) argument
1407 isc_hmacsha512_update(isc_hmacsha512_t *ctx, const unsigned char *buf, unsigned int len) argument
1417 isc_hmacsha512_sign(isc_hmacsha512_t *ctx, unsigned char *digest, size_t len) argument
1443 isc_hmacsha1_verify(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len) argument
1456 isc_hmacsha224_verify(isc_hmacsha224_t *ctx, unsigned char *digest, size_t len) argument
1469 isc_hmacsha256_verify(isc_hmacsha256_t *ctx, unsigned char *digest, size_t len) argument
1482 isc_hmacsha384_verify(isc_hmacsha384_t *ctx, unsigned char *digest, size_t len) argument
1495 isc_hmacsha512_verify(isc_hmacsha512_t *ctx, unsigned char *digest, size_t len) argument
[all...]
H A Dinet_ntop.c116 struct { int base, len; } best, cur; member in struct:__anon260
129 best.len = 0; /* silence compiler */
131 cur.len = 0; /* silence compiler */
135 cur.base = i, cur.len = 1;
137 cur.len++;
140 if (best.base == -1 || cur.len > best.len)
147 if (best.base == -1 || cur.len > best.len)
150 if (best.base != -1 && best.len <
[all...]
H A Dhmacmd5.c44 unsigned int len)
49 (int) len, EVP_md5(), NULL) == 1);
62 unsigned int len)
64 RUNTIME_CHECK(HMAC_Update(ctx->ctx, buf, (int) len) == 1);
83 unsigned int len)
96 { CKA_VALUE, NULL, (CK_ULONG) len }
101 if (len < ISC_MD5_DIGESTLENGTH) {
103 memmove(keypad, key, len);
124 CK_ULONG len = ISC_MD5_DIGESTLENGTH; local
128 (void) pkcs_C_SignFinal(ctx->session, garbage, &len);
43 isc_hmacmd5_init(isc_hmacmd5_t *ctx, const unsigned char *key, unsigned int len) argument
61 isc_hmacmd5_update(isc_hmacmd5_t *ctx, const unsigned char *buf, unsigned int len) argument
82 isc_hmacmd5_init(isc_hmacmd5_t *ctx, const unsigned char *key, unsigned int len) argument
137 isc_hmacmd5_update(isc_hmacmd5_t *ctx, const unsigned char *buf, unsigned int len) argument
151 CK_ULONG len = ISC_MD5_DIGESTLENGTH; local
168 isc_hmacmd5_init(isc_hmacmd5_t *ctx, const unsigned char *key, unsigned int len) argument
209 isc_hmacmd5_update(isc_hmacmd5_t *ctx, const unsigned char *buf, unsigned int len) argument
224 CK_ULONG len = ISC_MD5_DIGESTLENGTH; local
259 isc_hmacmd5_init(isc_hmacmd5_t *ctx, const unsigned char *key, unsigned int len) argument
292 isc_hmacmd5_update(isc_hmacmd5_t *ctx, const unsigned char *buf, unsigned int len) argument
331 isc_hmacmd5_verify2(isc_hmacmd5_t *ctx, unsigned char *digest, size_t len) argument
[all...]
/bind-9.11.3/bin/tools/
H A Dgenrandom.c70 size_t len; local
114 len = strlen(argv[isc_commandline_index]);
115 INSIST((len + 2) > len);
116 len += 2;
117 name = (char *) malloc(len);
124 snprintf(name, len, "%s%d", argv[isc_commandline_index], i);
/bind-9.11.3/lib/isc/tests/
H A Daes_test.c44 size_t len; variable
127 len = fromhexstr(testcase->key, key);
128 ATF_CHECK_EQ(len, ISC_AES128_KEYLENGTH);
129 len = fromhexstr(testcase->input, plaintext);
130 ATF_CHECK_EQ(len, ISC_AES_BLOCK_LENGTH);
189 len = fromhexstr(testcase->key, key);
190 ATF_CHECK_EQ(len, ISC_AES192_KEYLENGTH);
191 len = fromhexstr(testcase->input, plaintext);
192 ATF_CHECK_EQ(len, ISC_AES_BLOCK_LENGTH);
257 len
[all...]
/bind-9.11.3/contrib/idn/idnkit-1.0-src/include/mdn/
H A Dapi.h68 mdn_encodename(IDN_LOCALCONV, from, to, len)
70 mdn_encodename(IDN_DELIMMAP, from, to, len)
72 mdn_encodename(IDN_LOCALMAP, from, to, len)
74 mdn_encodename(IDN_NAMEPREP, from, to, len)
76 mdn_encodename(IDN_IDNCONV, from, to, len)
/bind-9.11.3/lib/isc/unix/
H A Dos.c58 size_t len; local
60 len = sizeof(ncpu);
61 result = sysctlbyname("hw.ncpu", &ncpu, &len , 0, 0);
H A Dmeminfo.c28 size_t len = sizeof(size); local
29 if (sysctl(mib, 2, &size, &len, NULL, 0) == 0)
/bind-9.11.3/bin/tests/system/
H A Dpacket.pl81 my $len = length $data;
93 $bytes = $sock->syswrite(pack("n", $len), 2);
94 $bytes += $sock->syswrite($data, $len);
/bind-9.11.3/contrib/idn/idnkit-1.0-src/wsock/wsock11/
H A Ddlldef.h76 _org_gethostbyaddr(const char FAR * addr, int len, int type);
83 int len, int type, char FAR * buf, int buflen);

Completed in 3946 milliseconds

12345678910