Searched refs:length (Results 1 - 25 of 352) sorted by relevance

1234567891011>>

/bind-9.11.3/lib/isc/
H A Dregion.c29 l = (r1->length < r2->length) ? r1->length : r2->length;
34 return ((r1->length == r2->length) ? 0 :
35 (r1->length < r2->length) ? -1 : 1);
H A Dbufferlist.c24 unsigned int length; local
28 length = 0;
32 length += isc_buffer_usedlength(buffer);
36 return (length);
42 unsigned int length; local
46 length = 0;
50 length += isc_buffer_availablelength(buffer);
54 return (length);
H A Dhex.c37 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length);
52 while (source->length > 0) {
59 if (source->length != 0 &&
73 int length; /*%< Desired length of binary data or -1 */ member in struct:__anon224
80 hex_decode_init(hex_decode_ctx_t *ctx, int length, isc_buffer_t *target) argument
83 ctx->length = length;
99 if (ctx->length >= 0) {
100 if (ctx->length
120 isc_hex_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length) argument
183 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length) argument
[all...]
H A Dbase64.c37 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length);
54 while (source->length > 2) {
65 if (source->length != 0 &&
72 if (source->length == 2) {
80 } else if (source->length == 1) {
94 int length; /*%< Desired length of binary data or -1 */ member in struct:__anon216
102 base64_decode_init(base64_decode_ctx_t *ctx, int length, isc_buffer_t *target) argument
106 ctx->length = length;
171 isc_base64_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length) argument
234 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length) argument
[all...]
H A Dbase32.c38 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length);
58 while (source->length > 0) {
60 if (source->length == 1) {
70 if (source->length == 2) {
78 if (source->length == 3) {
87 if (source->length == 4) {
100 if (source->length != 0 && wordlength >= 0 &&
107 if (source->length > 0)
108 isc_region_consume(source, source->length);
140 int length; /* member in struct:__anon215
151 base32_decode_init(base32_decode_ctx_t *ctx, int length, const char base[], isc_boolean_t pad, isc_buffer_t *target) argument
278 base32_tobuffer(isc_lex_t *lexer, const char base[], isc_boolean_t pad, isc_buffer_t *target, int length) argument
310 isc_base32_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length) argument
315 isc_base32hex_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length) argument
320 isc_base32hexnp_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length) argument
406 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length) argument
[all...]
/bind-9.11.3/lib/isc/include/isc/
H A Dregion.h21 unsigned int length; member in struct:isc_region
26 unsigned int length; member in struct:isc_textregion
34 unsigned int length; member in struct:isc_constregion
39 unsigned int length; member in struct:isc_consttextregion
52 INSIST(_r->length >= _l); \
54 _r->length -= _l; \
61 INSIST(_r->length >= _l); \
63 _r->length -= _l; \
70 INSIST(_r->length >= _l); \
72 _r->length
[all...]
/bind-9.11.3/contrib/idn/idnkit-1.0-src/lib/tests/
H A Dutffilter47 my ($mask, $length);
51 $length = 1;
54 $length = 2;
57 $length = 3;
60 $length = 4;
63 $length = 5;
66 $length = 6;
72 $offset = 6 * ($length - 1);
/bind-9.11.3/lib/dns/rdata/in_1/
H A Ddhcid_49.h19 unsigned int length; member in struct:dns_rdata_in_dhcid
/bind-9.11.3/lib/dns/rdata/generic/
H A Dopt_41.c44 isc_uint16_t length; local
54 while (r.length > 0) {
57 length = uint16_fromregion(&r);
59 snprintf(buf, sizeof(buf), "%u %u", option, length);
61 INSIST(r.length >= length);
62 if (length > 0) {
67 or.length = length;
74 isc_region_consume(&r, length);
90 isc_uint16_t length; local
232 isc_uint16_t length; local
370 isc_uint16_t length; local
[all...]
H A Dnull_10.h18 isc_uint16_t length; member in struct:dns_rdata_null
H A Dopenpgpkey_61.h15 isc_uint16_t length; member in struct:dns_rdata_openpgpkey
H A Dopt_41.h19 isc_uint16_t length; member in struct:dns_rdata_opt_opcode
27 isc_uint16_t length; member in struct:dns_rdata_opt
H A Davc_258.h18 isc_uint16_t length; member in struct:dns_rdata_avc
H A Dcert_37.h21 isc_uint16_t length; member in struct:dns_rdata_cert
H A Dds_43.h22 isc_uint16_t length; member in struct:dns_rdata_ds
H A Dspf_99.h15 isc_uint8_t length; member in struct:dns_rdata_spf_string
H A Dsshfp_44.h22 isc_uint16_t length; member in struct:dns_rdata_sshfp
H A Dtlsa_52.h23 isc_uint16_t length; member in struct:dns_rdata_tlsa
H A Dds_43.c30 int length; local
68 length = ISC_SHA1_DIGESTLENGTH;
71 length = ISC_SHA256_DIGESTLENGTH;
75 length = ISC_GOST_DIGESTLENGTH;
79 length = ISC_SHA384_DIGESTLENGTH;
82 length = -1;
85 return (isc_hex_tobuffer(lexer, target, length));
103 REQUIRE(rdata->length != 0);
174 if (sr.length < 4 ||
176 sr.length <
[all...]
/bind-9.11.3/bin/tools/
H A Disc-hmac-fixup.c60 if (r.length > HMAC_LEN) {
63 isc_md5_update(&md5ctx, r.base, r.length);
67 r.length = ISC_MD5_DIGESTLENGTH;
73 if (r.length > ISC_SHA1_DIGESTLENGTH) {
76 isc_sha1_update(&sha1ctx, r.base, r.length);
80 r.length = ISC_SHA1_DIGESTLENGTH;
84 if (r.length > ISC_SHA224_DIGESTLENGTH) {
87 isc_sha224_update(&sha224ctx, r.base, r.length);
91 r.length = ISC_SHA224_DIGESTLENGTH;
95 if (r.length > ISC_SHA256_DIGESTLENGT
[all...]
/bind-9.11.3/lib/dns/
H A Dds.c71 isc_sha1_update(&sha1, r.base, r.length);
73 INSIST(r.length >= 4);
74 isc_sha1_update(&sha1, r.base, r.length);
90 RETERR(isc_gost_update(&gost, r.base, r.length));
92 INSIST(r.length >= 4);
93 RETERR(isc_gost_update(&gost, r.base, r.length));
101 isc_sha384_update(&sha384, r.base, r.length);
103 INSIST(r.length >= 4);
104 isc_sha384_update(&sha384, r.base, r.length);
112 isc_sha256_update(&sha256, r.base, r.length);
[all...]
/bind-9.11.3/lib/isc/tests/
H A Dbuffer_test.c36 ATF_CHECK_EQ(b->length, 1024);
46 ATF_CHECK_EQ(b->length, 1024);
56 ATF_CHECK_EQ(b->length, 2048);
66 ATF_CHECK_EQ(b->length, 2048);
76 ATF_CHECK_EQ(b->length, 4096);
88 ATF_CHECK_EQ(b->length, 4096);
111 ATF_CHECK_EQ(b->length, 1024);
117 ATF_CHECK_EQ(b->length, 1024);
123 ATF_CHECK_EQ(b->length, 1536);
148 ATF_CHECK_EQ(b->length, last_lengt
[all...]
/bind-9.11.3/bin/named/
H A Dfuzz.c90 ssize_t length; local
92 length = read(0, buf, 65536);
93 if (length <= 0) {
98 if (length > 4096) {
115 sent = sendto(sockfd, buf, length, 0,
117 RUNTIME_CHECK(sent == length);
203 ssize_t length; local
205 length = read(0, buf, 65536);
206 if (length <= 0) {
211 if (length > 409
358 ssize_t length; local
[all...]
/bind-9.11.3/lib/lwres/include/lwres/
H A Dlwbuffer.h49 * e == length of buffer.
51 * a-e == entire (length) of buffer.
61 * length > 0
63 * base is a valid pointer to length bytes of memory
65 * 0 <= used <= length
118 * Get the length of the used region of buffer "b"
123 * Get the length of the available region of buffer "b"
125 #define LWRES_BUFFER_AVAILABLECOUNT(b) ((b)->length - (b)->used)
143 unsigned int length; member in struct:lwres_buffer
154 lwres_buffer_init(lwres_buffer_t *b, void *base, unsigned int length);
[all...]
/bind-9.11.3/contrib/idn/idnkit-1.0-src/wsock/common/
H A Dencoding.c80 DWORD type, void *param, DWORD length);
83 void *param, DWORD length);
86 size_t length, int where);
90 void *param, DWORD length)
102 &realtype, (LPBYTE)param, &length);
140 void *param, DWORD length)
154 type, param, length)) ||
156 type, param, length)) {
168 type, param, length)) ||
170 type, param, length)) {
89 GetRegistry(HKEY top, const char *key, const char *name, DWORD type, void *param, DWORD length) argument
139 GetFromRegistry(const char *name, int where, DWORD type, void *param, DWORD length) argument
193 GetStringFromRegistry(const char *name, char *result, size_t length, int where) argument
[all...]

Completed in 119 milliseconds

1234567891011>>