Searched defs:target (Results 1 - 25 of 69) sorted by relevance

123

/bind-9.6-ESV-R11/lib/dns/rdata/generic/
H A Duri_256.h27 unsigned char * target; member in struct:dns_rdata_uri
/bind-9.6-ESV-R11/lib/dns/rdata/in_1/
H A Dsrv_33.h34 dns_name_t target; member in struct:dns_rdata_in_srv
/bind-9.6-ESV-R11/bin/tests/
H A Dmaster_test.c40 isc_buffer_t target; local
45 isc_buffer_init(&target, buf, 64*1024);
47 &target);
49 fprintf(stdout, "%.*s\n", (int)target.used,
50 (char*)target.base);
63 isc_buffer_t target; local
75 isc_buffer_init(&target, name_buf, 255);
78 ISC_FALSE, &target);
H A Dcompress_test.c101 isc_buffer_t target; local
153 isc_buffer_init(&target, buf2, sizeof(buf2));
158 &target) == ISC_R_SUCCESS);
164 &target) == ISC_R_SUCCESS);
166 &target) == ISC_R_SUCCESS);
168 &target) == ISC_R_SUCCESS);
176 for (i = 0; i < target.used; /* */ ) {
178 ((unsigned char *)target.base)[i]);
182 if (i == target.used)
191 RUNTIME_CHECK(target
[all...]
H A Dprintmsg.c75 isc_buffer_t target; local
104 isc_buffer_init(&target, t, sizeof(t));
117 &target);
127 isc_buffer_usedregion(&target, &r);
144 isc_buffer_t target; local
152 isc_buffer_init(&target, t, sizeof(t));
155 &target);
158 isc_buffer_usedregion(&target, &r);
H A Dlwres_test.c153 test_gabn(const char *target) { argument
161 ret = lwres_getaddrsbyname(ctx, target,
164 printf("gabn %s ret == %d\n", target, ret);
197 test_gnba(const char *target, lwres_uint32_t af) { argument
206 ret = inet_pton(AF_INET, target, addrbuf);
210 ret = inet_pton(AF_INET6, target, addrbuf);
216 printf("gnba %s ret == %d\n", target, ret);
H A Dnsecify.c123 dns_name_t *name, *nextname, *target; local
170 target = nextname;
172 target = dns_db_origin(db);
174 target = NULL; /* Make compiler happy. */
177 dns_nsec_build(db, wversion, node, target, 3600); /* XXX BEW */
H A Drbt_test.c42 isc_buffer_t source, target; local
72 isc_buffer_init(&target, name + 1, DNSNAMELEN);
75 ISC_FALSE, &target);
97 isc_buffer_t target; local
100 isc_buffer_init(&target, buffer, sizeof(buffer));
105 dns_name_totext(name, ISC_FALSE, &target);
107 printf("%.*s", (int)target.used, (char *)target.base);
H A Dadb_test.c48 const char *target; member in struct:client
134 client->target,
237 lookup(const char *target) { argument
245 INSIST(target != NULL);
248 isc_buffer_constinit(&t, target, strlen(target));
249 isc_buffer_add(&t, strlen(target));
254 check_result(result, "dns_name_fromtext %s", target);
257 check_result(result, "dns_name_dup %s", target);
273 client->target
[all...]
H A Dbyname_test.c55 static dns_fixedname_t target; variable
125 dns_fixedname_init(&target);
129 dns_fixedname_name(&target), 0,
158 print_name(dns_fixedname_name(&target));
344 dns_fixedname_init(&target);
/bind-9.6-ESV-R11/lib/dns/tests/
H A Dtime_test.c46 isc_buffer_t target; local
55 isc_buffer_init(&target, buf, sizeof(buf));
56 result = dns_time32_totext(test_time, &target);
74 isc_buffer_t target; local
83 isc_buffer_init(&target, buf, sizeof(buf));
84 result = dns_time32_totext(test_time, &target);
102 isc_buffer_t target; local
111 isc_buffer_init(&target, buf, sizeof(buf));
112 result = dns_time32_totext(test_time, &target);
130 isc_buffer_t target; local
158 isc_buffer_t target; local
186 isc_buffer_t target; local
[all...]
H A Drdata_test.c50 isc_buffer_t source, target; local
69 isc_buffer_init(&target, buf, sizeof(buf));
74 0, &target);
205 isc_buffer_t source, target; local
217 isc_buffer_init(&target, buf, sizeof(buf));
222 &dctx, 0, &target);
/bind-9.6-ESV-R11/lib/isccc/
H A Dbase64.c49 const char *wordbreak, isccc_region_t *target)
57 isc_buffer_init(&tb, target->rstart, target->rend - target->rstart);
63 target->rstart = isc_buffer_used(&tb);
68 isccc_base64_decode(const char *cstr, isccc_region_t *target) { argument
72 isc_buffer_init(&b, target->rstart, target->rend - target->rstart);
76 target
48 isccc_base64_encode(isccc_region_t *source, int wordlength, const char *wordbreak, isccc_region_t *target) argument
[all...]
/bind-9.6-ESV-R11/bin/named/
H A Dlistenlist.c36 dns_acl_t *acl, ns_listenelt_t **target)
39 REQUIRE(target != NULL && *target == NULL);
47 *target = elt;
59 ns_listenlist_create(isc_mem_t *mctx, ns_listenlist_t **target) { argument
61 REQUIRE(target != NULL && *target == NULL);
68 *target = list;
86 ns_listenlist_attach(ns_listenlist_t *source, ns_listenlist_t **target) { argument
89 *target
35 ns_listenelt_create(isc_mem_t *mctx, in_port_t port, dns_acl_t *acl, ns_listenelt_t **target) argument
103 ns_listenlist_default(isc_mem_t *mctx, in_port_t port, isc_boolean_t enabled, ns_listenlist_t **target) argument
[all...]
H A Dlwsearch.c68 ns_lwsearchlist_attach(ns_lwsearchlist_t *source, ns_lwsearchlist_t **target) { argument
70 REQUIRE(target != NULL && *target == NULL);
78 *target = source;
/bind-9.6-ESV-R11/lib/dns/
H A Diptable.c32 dns_iptable_create(isc_mem_t *mctx, dns_iptable_t **target) { argument
48 *target = tab;
158 dns_iptable_attach(dns_iptable_t *source, dns_iptable_t **target) { argument
161 *target = source;
H A Dorder.c139 dns_order_attach(dns_order_t *source, dns_order_t **target) { argument
141 REQUIRE(target != NULL && *target == NULL);
143 *target = source;
H A Dttl.c53 isc_boolean_t space, isc_buffer_t *target)
68 isc_buffer_availableregion(target, &region);
72 isc_buffer_add(target, len);
81 dns_ttl_totext(isc_uint32_t src, isc_boolean_t verbose, isc_buffer_t *target) { argument
93 RETERR(ttlfmt(weeks, "week", verbose, ISC_TF(x > 0), target));
97 RETERR(ttlfmt(days, "day", verbose, ISC_TF(x > 0), target));
101 RETERR(ttlfmt(hours, "hour", verbose, ISC_TF(x > 0), target));
105 RETERR(ttlfmt(mins, "minute", verbose, ISC_TF(x > 0), target));
110 RETERR(ttlfmt(secs, "second", verbose, ISC_TF(x > 0), target));
128 isc_buffer_usedregion(target,
52 ttlfmt(unsigned int t, const char *s, isc_boolean_t verbose, isc_boolean_t space, isc_buffer_t *target) argument
[all...]
H A Drdatalist.c157 isc__rdatalist_clone(dns_rdataset_t *source, dns_rdataset_t *target) { argument
160 REQUIRE(target != NULL);
162 *target = *source;
167 target->private2 = NULL;
H A Dtime.c41 dns_time64_totext(isc_int64_t t, isc_buffer_t *target) { argument
95 isc_buffer_availableregion(target, &region);
102 isc_buffer_add(target, l);
129 dns_time32_totext(isc_uint32_t value, isc_buffer_t *target) { argument
130 return (dns_time64_totext(dns_time64_from32(value), target));
134 dns_time64_fromtext(const char *source, isc_int64_t *target) { argument
189 *target = value;
194 dns_time32_fromtext(const char *source, isc_uint32_t *target) { argument
200 *target = (isc_uint32_t)value64;
/bind-9.6-ESV-R11/lib/isc/
H A Dbitstring.c82 isc_bitstring_t *target, unsigned int tbitpos,
89 * the 'n' bits of 'target' starting at 'tbitpos'.
93 REQUIRE(VALID_BITSTRING(target));
94 REQUIRE(source->lsb0 == target->lsb0);
103 if (target->lsb0) {
104 REQUIRE(tbitpos <= target->length);
105 tbitpos = PADDED(target->size) - tbitpos;
109 REQUIRE(tlast <= target->size);
111 if (tlast > target->length)
112 target
81 isc_bitstring_copy(isc_bitstring_t *source, unsigned int sbitpos, isc_bitstring_t *target, unsigned int tbitpos, unsigned int n) argument
[all...]
H A Dbase64.c43 str_totext(const char *source, isc_buffer_t *target);
46 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length);
54 const char *wordbreak, isc_buffer_t *target)
70 RETERR(str_totext(buf, target));
78 RETERR(str_totext(wordbreak, target));
87 RETERR(str_totext(buf, target));
93 RETERR(str_totext(buf, target));
104 isc_buffer_t *target; /*%< Buffer for resulting binary data */ member in struct:__anon149
111 base64_decode_init(base64_decode_ctx_t *ctx, int length, isc_buffer_t *target) argument
116 ctx->target
53 isc_base64_totext(isc_region_t *source, int wordlength, const char *wordbreak, isc_buffer_t *target) argument
180 isc_base64_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length) argument
210 isc_base64_decodestring(const char *cstr, isc_buffer_t *target) argument
227 str_totext(const char *source, isc_buffer_t *target) argument
243 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length) argument
[all...]
H A Dhex.c43 str_totext(const char *source, isc_buffer_t *target);
46 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length);
52 const char *wordbreak, isc_buffer_t *target)
64 RETERR(str_totext(buf, target));
72 RETERR(str_totext(wordbreak, target));
83 isc_buffer_t *target; /*%< Buffer for resulting binary data */ member in struct:__anon156
89 hex_decode_init(hex_decode_ctx_t *ctx, int length, isc_buffer_t *target) argument
93 ctx->target = target;
107 RETERR(mem_tobuffer(ctx->target,
51 isc_hex_totext(isc_region_t *source, int wordlength, const char *wordbreak, isc_buffer_t *target) argument
129 isc_hex_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length) argument
159 isc_hex_decodestring(const char *cstr, isc_buffer_t *target) argument
176 str_totext(const char *source, isc_buffer_t *target) argument
192 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length) argument
[all...]
H A Dstring.c126 isc_string_copy(char *target, size_t size, const char *source) { argument
129 if (strlcpy(target, source, size) >= size) {
130 memset(target, ISC_STRING_MAGIC, size);
134 ENSURE(strlen(target) < size);
140 isc_string_copy_truncate(char *target, size_t size, const char *source) { argument
143 strlcpy(target, source, size);
145 ENSURE(strlen(target) < size);
149 isc_string_append(char *target, size_t size, const char *source) { argument
151 REQUIRE(strlen(target) < size);
153 if (strlcat(target, sourc
164 isc_string_append_truncate(char *target, size_t size, const char *source) argument
174 isc_string_printf(char *target, size_t size, const char *format, ...) argument
195 isc_string_printf_truncate(char *target, size_t size, const char *format, ...) argument
211 char *target; local
[all...]
/bind-9.6-ESV-R11/bin/tests/master/
H A Dt_master.c51 isc_buffer_t target; local
56 isc_buffer_init(&target, buf, BIGBUFLEN);
58 &target);
74 isc_buffer_t target; local
93 isc_buffer_init(&target, name_buf, BUFLEN);
96 ISC_FALSE, &target);

Completed in 79 milliseconds

123