Searched refs:base (Results 1 - 25 of 247) sorted by relevance

12345678910

/bind-9.11.3/util/
H A Dmerge_copyrights56 my $base;
57 ($base = $_) =~ s/\.in$//;
60 if ($base =~ /\.\/contrib\//) {
62 } elsif ($base =~ /\.\/unit\/atf-src\//) {
64 } elsif ($base =~ /\/openssl-[a-z0-9.]*-patch$/) {
66 } elsif ($base =~ /\.(c|h|css)$/) {
68 } elsif ($base =~ /\.y$/) {
70 } elsif ($base =~ /\.pl$/i) {
72 } elsif ($base =~ /\.py$/i) {
79 } elsif ($base
[all...]
/bind-9.11.3/lib/isc/include/isc/
H A Dparseint.h28 isc_parse_uint32(isc_uint32_t *uip, const char *string, int base);
31 isc_parse_uint16(isc_uint16_t *uip, const char *string, int base);
34 isc_parse_uint8(isc_uint8_t *uip, const char *string, int base);
36 * Parse the null-terminated string 'string' containing a base 'base'
38 * The base is interpreted
45 *\li 0 <= 'base' <= 36
49 *\li #ISC_R_BADNUMBER The string is not numeric (in the given base)
H A Dregion.h20 unsigned char * base; member in struct:isc_region
25 char * base; member in struct:isc_textregion
33 const void * base; member in struct:isc_constregion
38 const char * base; member in struct:isc_consttextregion
53 _r->base += _l; \
62 _r->base += _l; \
71 _r->base += _l; \
/bind-9.11.3/lib/lwres/
H A Dlwinetntop.c109 struct { int base, len; } best, cur; member in struct:__anon324
121 best.base = -1;
123 cur.base = -1;
127 if (cur.base == -1)
128 cur.base = i, cur.len = 1;
132 if (cur.base != -1) {
133 if (best.base == -1 || cur.len > best.len)
135 cur.base = -1;
139 if (cur.base != -1) {
140 if (best.base
[all...]
H A Dcompat.c66 lwres_strtoul(const char *nptr, char **endptr, int base) { argument
84 if ((base == 0 || base == 16) &&
88 base = 16;
90 if (base == 0)
91 base = c == '0' ? 8 : 10;
92 cutoff = (unsigned long)ULONG_MAX / (unsigned long)base;
93 cutlim = (unsigned long)ULONG_MAX % (unsigned long)base;
103 if (c >= base)
109 acc *= base;
[all...]
H A Dlwinetaton.c86 int base; local
105 base = 10;
110 base = 16;
113 base = 8;
125 if (base == 8 && (c == '8' || c == '9'))
127 val = (val * base) + (c - '0');
130 } else if (base == 16 && isascii(c) && isxdigit(c)) {
H A Dlwbuffer.c49 * a == base of buffer.
63 * with the memory region of size length bytes starting at location base.
99 * base to b. Conversely, lwres_buffer_getmem() copies length bytes of
100 * memory from b to base.
112 lwres_buffer_init(lwres_buffer_t *b, void *base, unsigned int length) argument
115 * Make 'b' refer to the 'length'-byte region starting at base.
121 b->base = base;
136 b->base = NULL;
224 cp = b->base;
324 lwres_buffer_putmem(lwres_buffer_t *b, const unsigned char *base, unsigned int length) argument
339 lwres_buffer_getmem(lwres_buffer_t *b, unsigned char *base, unsigned int length) argument
[all...]
H A Dlwresutil.c44 * void *base;
141 data = b->base + b->current;
189 string = (char *)b->base + b->current;
251 b_in.base = NULL;
252 b_out.base = NULL;
285 ret = lwres_context_sendrecv(ctx, b_out.base, b_out.length, buffer,
311 CTXFREE(b_out.base, b_out.length);
312 b_out.base = NULL;
326 response->base = buffer;
334 if (b_out.base !
[all...]
/bind-9.11.3/lib/isc/
H A Dstrtoul.c61 isc_strtoul(const char *nptr, char **endptr, int base) { argument
79 if ((base == 0 || base == 16) &&
83 base = 16;
85 if (base == 0)
86 base = c == '0' ? 8 : 10;
87 cutoff = (unsigned long)ULONG_MAX / (unsigned long)base;
88 cutlim = (unsigned long)ULONG_MAX % (unsigned long)base;
98 if (c >= base)
104 acc *= base;
[all...]
H A Dinet_ntop.c116 struct { int base, len; } best, cur; member in struct:__anon260
128 best.base = -1;
130 cur.base = -1;
134 if (cur.base == -1)
135 cur.base = i, cur.len = 1;
139 if (cur.base != -1) {
140 if (best.base == -1 || cur.len > best.len)
142 cur.base = -1;
146 if (cur.base != -1) {
147 if (best.base
[all...]
H A Dinet_aton.c82 int base; local
98 val = 0; base = 10; digit = 0;
102 base = 16, c = *++cp;
104 base = 8;
116 if (base == 8 && (c == '8' || c == '9'))
118 val = (val * base) + (c - '0');
121 } else if (base == 16 && isascii(c) && isxdigit(c)) {
H A Dbase32.c38 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length);
49 isc_buffer_t *target, const char base[], char pad)
59 buf[0] = base[((source->base[0]>>3)&0x1f)]; /* 5 + */
61 buf[1] = base[(source->base[0]<<2)&0x1c];
67 buf[1] = base[((source->base[0]<<2)&0x1c)| /* 3 = 8 */
68 ((source->base[1]>>6)&0x03)]; /* 2 + */
69 buf[2] = base[((sourc
48 base32_totext(isc_region_t *source, int wordlength, const char *wordbreak, isc_buffer_t *target, const char base[], char pad) argument
145 const char *base; /*%< Which encoding we are using */ 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
325 base32_decodestring(const char *cstr, const char base[], isc_boolean_t pad, isc_buffer_t *target) argument
359 base32_decoderegion(isc_region_t *source, const char base[], isc_boolean_t pad, isc_buffer_t *target) argument
406 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length) argument
[all...]
H A Dparseint.c24 isc_parse_uint32(isc_uint32_t *uip, const char *string, int base) { argument
31 n = strtoul(string, &e, base);
47 isc_parse_uint16(isc_uint16_t *uip, const char *string, int base) { argument
50 result = isc_parse_uint32(&val, string, base);
60 isc_parse_uint8(isc_uint8_t *uip, const char *string, int base) { argument
63 result = isc_parse_uint32(&val, string, base);
H A Dresult.c24 unsigned int base; member in struct:resulttable
177 register_table(resulttable_list_t *tables, unsigned int base, argument
183 REQUIRE(base % ISC_RESULTCLASS_SIZE == 0);
194 table->base = base;
195 table->last = base + nresults - 1;
259 if (result >= table->base && result <= table->last) {
260 index = (int)(result - table->base);
292 isc_result_register(unsigned int base, unsigned int nresults, argument
297 return (register_table(&description_tables, base, nresult
302 isc_result_registerids(unsigned int base, unsigned int nresults, const char **ids, isc_msgcat_t *msgcat, int set) argument
[all...]
H A Dbase64.c37 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length);
55 buf[0] = base64[(source->base[0]>>2)&0x3f];
56 buf[1] = base64[((source->base[0]<<4)&0x30)|
57 ((source->base[1]>>4)&0x0f)];
58 buf[2] = base64[((source->base[1]<<2)&0x3c)|
59 ((source->base[2]>>6)&0x03)];
60 buf[3] = base64[source->base[2]&0x3f];
73 buf[0] = base64[(source->base[0]>>2)&0x3f];
74 buf[1] = base64[((source->base[0]<<4)&0x30)|
75 ((source->base[
234 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length) argument
[all...]
H A Dregion.c31 if ((result = memcmp(r1->base, r2->base, l)) != 0)
H A Dhex.c37 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length);
53 buf[0] = hex[(source->base[0] >> 4) & 0xf];
54 buf[1] = hex[(source->base[0]) & 0xf];
141 RETERR(hex_decode_char(&ctx, tr->base[i]));
177 memmove(region.base, source, l);
183 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length) { argument
189 memmove(tr.base, base, length);
/bind-9.11.3/bin/tools/
H A Disc-hmac-fixup.c63 isc_md5_update(&md5ctx, r.base, r.length);
66 r.base = key;
76 isc_sha1_update(&sha1ctx, r.base, r.length);
79 r.base = key;
87 isc_sha224_update(&sha224ctx, r.base, r.length);
90 r.base = key;
98 isc_sha256_update(&sha256ctx, r.base, r.length);
101 r.base = key;
109 isc_sha384_update(&sha384ctx, r.base, r.length);
112 r.base
[all...]
/bind-9.11.3/lib/dns/rdata/generic/
H A Dnaptr_35.c263 RETERR(mem_tobuffer(target, sr.base, 4));
303 RETERR(mem_tobuffer(target, sr.base, 4));
309 RETERR(mem_tobuffer(target, sr.base, sr.base[0] + 1));
310 isc_region_consume(&sr, sr.base[0] + 1);
315 RETERR(mem_tobuffer(target, sr.base, sr.base[0] + 1));
316 isc_region_consume(&sr, sr.base[0] + 1);
321 RETERR(mem_tobuffer(target, sr.base, sr.base[
[all...]
/bind-9.11.3/lib/dns/
H A Drbtdb.h29 dns_rbtdb_create(isc_mem_t *mctx, dns_name_t *base, dns_dbtype_t type,
H A Drbtdb64.h30 dns_rbtdb64_create(isc_mem_t *mctx, dns_name_t *base, dns_dbtype_t type,
H A Dtcpmsg.c69 region.base = isc_mem_get(tcpmsg->mctx, tcpmsg->size);
71 if (region.base == NULL) {
77 isc_buffer_init(&tcpmsg->buffer, region.base, region.length);
132 tcpmsg->buffer.base = NULL;
165 if (tcpmsg->buffer.base != NULL) {
166 isc_mem_put(tcpmsg->mctx, tcpmsg->buffer.base,
168 tcpmsg->buffer.base = NULL;
181 region.base = (unsigned char *)&tcpmsg->size;
205 tcpmsg->buffer.base = NULL;
214 if (tcpmsg->buffer.base
[all...]
H A Dds.c71 isc_sha1_update(&sha1, r.base, r.length);
74 isc_sha1_update(&sha1, r.base, r.length);
90 RETERR(isc_gost_update(&gost, r.base, r.length));
93 RETERR(isc_gost_update(&gost, r.base, r.length));
101 isc_sha384_update(&sha384, r.base, r.length);
104 isc_sha384_update(&sha384, r.base, r.length);
112 isc_sha256_update(&sha256, r.base, r.length);
115 isc_sha256_update(&sha256, r.base, r.length);
123 ds.algorithm = r.base[3];
/bind-9.11.3/lib/lwres/include/lwres/
H A Dlwbuffer.h45 * a == base of buffer.
63 * base is a valid pointer to length bytes of memory
141 unsigned char *base; member in struct:lwres_buffer
142 /* The following integers are byte offsets from 'base'. */
154 lwres_buffer_init(lwres_buffer_t *b, void *base, unsigned int length);
156 * Make 'b' refer to the 'length'-byte region starting at base.
162 * 'base' is a pointer to a sequence of 'length' bytes.
369 lwres_buffer_putmem(lwres_buffer_t *b, const unsigned char *base,
372 * Copy 'length' bytes of memory at 'base' into 'b'.
377 * 'base' point
[all...]
/bind-9.11.3/lib/isccc/
H A Dccmsg.c74 region.base = isc_mem_get(ccmsg->mctx, ccmsg->size);
76 if (region.base == NULL) {
81 isc_buffer_init(&ccmsg->buffer, region.base, region.length);
134 ccmsg->buffer.base = NULL;
166 if (ccmsg->buffer.base != NULL) {
167 isc_mem_put(ccmsg->mctx, ccmsg->buffer.base,
169 ccmsg->buffer.base = NULL;
182 region.base = (unsigned char *)&ccmsg->size;
205 if (ccmsg->buffer.base == NULL)
208 isc_mem_put(ccmsg->mctx, ccmsg->buffer.base, ccms
[all...]

Completed in 28 milliseconds

12345678910