/bind-9.6-ESV-R11/lib/isc/ |
H A D | region.c | 38 l = (r1->length < r2->length) ? r1->length : r2->length; 43 return ((r1->length == r2->length) ? 0 : 44 (r1->length < r2->length) ? -1 : 1);
|
H A D | bufferlist.c | 33 unsigned int length; local 37 length = 0; 41 length += isc_buffer_usedlength(buffer); 45 return (length); 51 unsigned int length; local 55 length = 0; 59 length += isc_buffer_availablelength(buffer); 63 return (length);
|
H A D | hex.c | 46 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length); 61 while (source->length > 0) { 68 if (source->length != 0 && 82 int length; /*%< Desired length of binary data or -1 */ member in struct:__anon156 89 hex_decode_init(hex_decode_ctx_t *ctx, int length, isc_buffer_t *target) argument 92 ctx->length = length; 108 if (ctx->length >= 0) { 109 if (ctx->length 129 isc_hex_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length) argument 192 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length) argument [all...] |
H A D | base32.c | 46 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length); 66 while (source->length > 0) { 68 if (source->length == 1) { 78 if (source->length == 2) { 86 if (source->length == 3) { 95 if (source->length == 4) { 108 if (source->length != 0 && wordlength >= 0 && 115 if (source->length > 0) 116 isc_region_consume(source, source->length); 139 int length; /* member in struct:__anon148 149 base32_decode_init(base32_decode_ctx_t *ctx, int length, const char base[], isc_buffer_t *target) argument 255 base32_tobuffer(isc_lex_t *lexer, const char base[], isc_buffer_t *target, int length) argument 287 isc_base32_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length) argument 292 isc_base32hex_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length) argument 364 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length) argument [all...] |
H A D | base64.c | 46 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length); 63 while (source->length > 2) { 74 if (source->length != 0 && 81 if (source->length == 2) { 89 } else if (source->length == 1) { 103 int length; /*%< Desired length of binary data or -1 */ member in struct:__anon149 111 base64_decode_init(base64_decode_ctx_t *ctx, int length, isc_buffer_t *target) argument 115 ctx->length = length; 180 isc_base64_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length) argument 243 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length) argument [all...] |
H A D | bitstring.c | 44 unsigned int length, unsigned int size, isc_boolean_t lsb0) 48 * at 'data'. 'length' bits of the bitstring are valid. If 'lsb0' 55 REQUIRE(length <= size); 59 bitstring->length = length; 75 bitstring->length = 0; 96 REQUIRE(sbitpos <= source->length); 101 REQUIRE(sbitpos + n <= source->length); 104 REQUIRE(tbitpos <= target->length); 111 if (tlast > target->length) 43 isc_bitstring_init(isc_bitstring_t *bitstring, unsigned char *data, unsigned int length, unsigned int size, isc_boolean_t lsb0) argument [all...] |
H A D | buffer.c | 31 isc__buffer_init(isc_buffer_t *b, void *base, unsigned int length) { argument 33 * Make 'b' refer to the 'length'-byte region starting at 'base'. 39 ISC__BUFFER_INIT(b, base, length); 53 isc_buffer_reinit(isc_buffer_t *b, void *base, unsigned int length) { argument 60 * The buffer must not be smaller than the length of the original 63 REQUIRE(b->length <= length); 66 (void)memmove(base, b->base, b->length); 68 b->length = length; 240 unsigned int length; local 398 isc__buffer_putmem(isc_buffer_t *b, const unsigned char *base, unsigned int length) argument 449 isc_buffer_allocate(isc_mem_t *mctx, isc_buffer_t **dynbuffer, unsigned int length) argument 462 length); local [all...] |
/bind-9.6-ESV-R11/lib/isc/include/isc/ |
H A D | region.h | 29 unsigned int length; member in struct:isc_region 34 unsigned int length; member in struct:isc_textregion 42 unsigned int length; member in struct:isc_constregion 47 unsigned int length; member in struct:isc_consttextregion 60 INSIST(_r->length >= _l); \ 62 _r->length -= _l; \ 69 INSIST(_r->length >= _l); \ 71 _r->length -= _l; \ 78 INSIST(_r->length >= _l); \ 80 _r->length [all...] |
H A D | bitstring.h | 87 unsigned int length; member in struct:isc_bitstring 98 unsigned int length, unsigned int size, isc_boolean_t lsb0); 101 * at 'data'. 'length' bits of the bitstring are valid. If 'lsb0' 112 *\li 'length' <= 'size'. 145 *\li 'sbitpos' + 'n' is less than or equal to the length of 'source'. 151 *\li The specified bits have been copied, and the length of 'target'
|
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/lib/tests/ |
H A D | utffilter | 47 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.6-ESV-R11/lib/dns/rdata/in_1/ |
H A D | dhcid_49.h | 27 unsigned int length; member in struct:dns_rdata_in_dhcid
|
/bind-9.6-ESV-R11/lib/dns/rdata/generic/ |
H A D | opt_41.c | 55 isc_uint16_t length; local 65 while (r.length > 0) { 68 length = uint16_fromregion(&r); 70 sprintf(buf, "%u %u", option, length); 72 INSIST(r.length >= length); 73 if (length > 0) { 78 or.length = length; 81 isc_region_consume(&r, length); 97 isc_uint16_t length; local 196 isc_uint16_t length; local [all...] |
H A D | null_10.h | 27 isc_uint16_t length; member in struct:dns_rdata_null
|
H A D | opt_41.h | 28 isc_uint16_t length; member in struct:dns_rdata_opt_opcode 36 isc_uint16_t length; member in struct:dns_rdata_opt
|
H A D | cert_37.h | 30 isc_uint16_t length; member in struct:dns_rdata_cert
|
H A D | dlv_32769.h | 29 isc_uint16_t length; member in struct:dns_rdata_dlv
|
H A D | ds_43.h | 31 isc_uint16_t length; member in struct:dns_rdata_ds
|
H A D | sshfp_44.h | 31 isc_uint16_t length; member in struct:dns_rdata_sshfp
|
H A D | tlsa_52.h | 31 isc_uint16_t length; member in struct:dns_rdata_tlsa
|
H A D | dlv_32769.c | 36 int length; local 78 length = ISC_SHA1_DIGESTLENGTH; 80 length = ISC_SHA256_DIGESTLENGTH; 82 length = -1; 83 return (isc_hex_tobuffer(lexer, target, length)); 93 REQUIRE(rdata->length != 0); 151 if (sr.length < 4 || 153 sr.length < 4 + ISC_SHA1_DIGESTLENGTH) || 155 sr.length < 4 + ISC_SHA256_DIGESTLENGTH)) 164 sr.length [all...] |
H A D | ds_43.c | 37 int length; local 78 length = ISC_SHA1_DIGESTLENGTH; 80 length = ISC_SHA256_DIGESTLENGTH; 82 length = -1; 83 return (isc_hex_tobuffer(lexer, target, length)); 93 REQUIRE(rdata->length != 0); 151 if (sr.length < 4 || 153 sr.length < 4 + ISC_SHA1_DIGESTLENGTH) || 155 sr.length < 4 + ISC_SHA256_DIGESTLENGTH)) 164 sr.length [all...] |
H A D | hip_55.c | 125 size_t length, key_len, hit_len; local 130 REQUIRE(rdata->length != 0); 155 INSIST(hit_len < region.length); 156 length = region.length; 157 region.length = hit_len; 159 region.length = length - hit_len; 165 INSIST(key_len <= region.length); 166 length [all...] |
/bind-9.6-ESV-R11/lib/lwres/include/lwres/ |
H A D | lwbuffer.h | 58 * e == length of buffer. 60 * a-e == entire (length) of buffer. 70 * length > 0 72 * base is a valid pointer to length bytes of memory 74 * 0 <= used <= length 127 * Get the length of the used region of buffer "b" 132 * Get the length of the available region of buffer "b" 134 #define LWRES_BUFFER_AVAILABLECOUNT(b) ((b)->length - (b)->used) 152 unsigned int length; member in struct:lwres_buffer 163 lwres_buffer_init(lwres_buffer_t *b, void *base, unsigned int length); [all...] |
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/wsock/common/ |
H A D | encoding.c | 80 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...] |
/bind-9.6-ESV-R11/lib/lwres/ |
H A D | lwbuffer.c | 51 * /------------entire length---------------\\ 62 * e == length of buffer. 64 * a-e == entire length of buffer. 72 * with the memory region of size length bytes starting at location base. 107 * respectively. lwres_buffer_putmem() copies length bytes of memory at 108 * base to b. Conversely, lwres_buffer_getmem() copies length bytes of 121 lwres_buffer_init(lwres_buffer_t *b, void *base, unsigned int length) argument 124 * Make 'b' refer to the 'length'-byte region starting at base. 131 b->length = length; 333 lwres_buffer_putmem(lwres_buffer_t *b, const unsigned char *base, unsigned int length) argument 348 lwres_buffer_getmem(lwres_buffer_t *b, unsigned char *base, unsigned int length) argument [all...] |