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

1234

/bind-9.11.3/lib/dns/rdata/generic/
H A Duri_256.h19 unsigned char * target; member in struct:dns_rdata_uri
/bind-9.11.3/lib/dns/rdata/in_1/
H A Dsrv_33.h25 dns_name_t target; member in struct:dns_rdata_in_srv
/bind-9.11.3/lib/dns/tests/
H A Dtime_test.c38 isc_buffer_t target; local
47 isc_buffer_init(&target, buf, sizeof(buf));
48 result = dns_time32_totext(test_time, &target);
66 isc_buffer_t target; local
75 isc_buffer_init(&target, buf, sizeof(buf));
76 result = dns_time32_totext(test_time, &target);
94 isc_buffer_t target; local
103 isc_buffer_init(&target, buf, sizeof(buf));
104 result = dns_time32_totext(test_time, &target);
122 isc_buffer_t target; local
150 isc_buffer_t target; local
178 isc_buffer_t target; local
[all...]
H A Dkeytable_test.c78 const char *keynamestr, const char *keystr, dst_key_t **target)
109 &rrdatabuf, mctx, target),
77 create_key(isc_uint16_t flags, isc_uint8_t proto, isc_uint8_t alg, const char *keynamestr, const char *keystr, dst_key_t **target) argument
H A Dmaster_test.c62 isc_buffer_t target; local
67 isc_buffer_init(&target, buf, BIGBUFLEN);
69 &target);
87 isc_buffer_t target; local
94 isc_buffer_init(&target, name_buf, BUFLEN);
99 0, &target);
468 isc_buffer_t target; local
486 isc_buffer_init(&target, buf, BIGBUFLEN);
489 &target);
491 ATF_CHECK_EQ(isc_buffer_usedlength(&target),
553 isc_buffer_t source, target; local
[all...]
H A Dname_test.c130 isc_buffer_t target; local
136 isc_buffer_init(&target, buf2, sizeof(buf2));
148 &target) == ISC_R_SUCCESS);
150 &target) == ISC_R_SUCCESS);
152 &target) == ISC_R_SUCCESS);
154 &target) == ISC_R_SUCCESS);
157 ATF_CHECK_EQ(target.used, length);
158 ATF_CHECK(memcmp(target.base, expected, target.used) == 0);
352 isc_buffer_t source, target; local
[all...]
/bind-9.11.3/lib/isccc/
H A Dbase64.c40 const char *wordbreak, isccc_region_t *target)
48 isc_buffer_init(&tb, target->rstart,
49 (unsigned int)(target->rend - target->rstart));
55 target->rstart = isc_buffer_used(&tb);
60 isccc_base64_decode(const char *cstr, isccc_region_t *target) { argument
64 isc_buffer_init(&b, target->rstart,
65 (unsigned int)(target->rend - target->rstart));
69 target
39 isccc_base64_encode(isccc_region_t *source, int wordlength, const char *wordbreak, isccc_region_t *target) argument
[all...]
/bind-9.11.3/bin/tests/
H A Dmaster_test.c32 isc_buffer_t target; local
37 isc_buffer_init(&target, buf, 64*1024);
39 &target);
41 fprintf(stdout, "%.*s\n", (int)target.used,
42 (char*)target.base);
55 isc_buffer_t target; local
67 isc_buffer_init(&target, name_buf, 255);
70 0, &target);
H A Dlwres_test.c145 test_gabn(const char *target) { argument
153 ret = lwres_getaddrsbyname(ctx, target,
156 printf("gabn %s ret == %d\n", target, ret);
189 test_gnba(const char *target, lwres_uint32_t af) { argument
198 ret = inet_pton(AF_INET, target, addrbuf);
202 ret = inet_pton(AF_INET6, target, addrbuf);
208 printf("gnba %s ret == %d\n", target, ret);
H A Dnsecify.c114 dns_name_t *name, *nextname, *target; local
161 target = nextname;
163 target = dns_db_origin(db);
165 target = NULL; /* Make compiler happy. */
168 dns_nsec_build(db, wversion, node, target, 3600); /* XXX BEW */
H A Drbt_test.c34 isc_buffer_t source, target; local
64 isc_buffer_init(&target, name + 1, DNSNAMELEN);
66 result = dns_name_fromtext(name, &source, dns_rootname, 0, &target);
88 isc_buffer_t target; local
91 isc_buffer_init(&target, buffer, sizeof(buffer));
96 dns_name_totext(name, ISC_FALSE, &target);
98 printf("%.*s", (int)target.used, (char *)target.base);
/bind-9.11.3/bin/named/
H A Dlistenlist.c27 dns_acl_t *acl, ns_listenelt_t **target)
30 REQUIRE(target != NULL && *target == NULL);
39 *target = elt;
51 ns_listenlist_create(isc_mem_t *mctx, ns_listenlist_t **target) { argument
53 REQUIRE(target != NULL && *target == NULL);
60 *target = list;
78 ns_listenlist_attach(ns_listenlist_t *source, ns_listenlist_t **target) { argument
81 *target
26 ns_listenelt_create(isc_mem_t *mctx, in_port_t port, isc_dscp_t dscp, dns_acl_t *acl, ns_listenelt_t **target) argument
95 ns_listenlist_default(isc_mem_t *mctx, in_port_t port, isc_dscp_t dscp, isc_boolean_t enabled, ns_listenlist_t **target) argument
[all...]
H A Dlwsearch.c59 ns_lwsearchlist_attach(ns_lwsearchlist_t *source, ns_lwsearchlist_t **target) { argument
61 REQUIRE(target != NULL && *target == NULL);
69 *target = source;
/bind-9.11.3/lib/dns/
H A Diptable.c23 dns_iptable_create(isc_mem_t *mctx, dns_iptable_t **target) { argument
40 *target = tab;
145 dns_iptable_attach(dns_iptable_t *source, dns_iptable_t **target) { argument
148 *target = source;
H A Dorder.c130 dns_order_attach(dns_order_t *source, dns_order_t **target) { argument
132 REQUIRE(target != NULL && *target == NULL);
134 *target = source;
H A Drdatalist.c160 isc__rdatalist_clone(dns_rdataset_t *source, dns_rdataset_t *target) { argument
163 REQUIRE(target != NULL);
165 *target = *source;
170 target->private2 = NULL;
H A Dtime.c32 dns_time64_totext(isc_int64_t t, isc_buffer_t *target) { argument
86 isc_buffer_availableregion(target, &region);
93 isc_buffer_add(target, l);
120 dns_time32_totext(isc_uint32_t value, isc_buffer_t *target) { argument
121 return (dns_time64_totext(dns_time64_from32(value), target));
125 dns_time64_fromtext(const char *source, isc_int64_t *target) { argument
188 *target = value;
193 dns_time32_fromtext(const char *source, isc_uint32_t *target) { argument
199 *target = (isc_uint32_t)value64;
H A Dttl.c44 isc_boolean_t space, isc_buffer_t *target)
59 isc_buffer_availableregion(target, &region);
63 isc_buffer_add(target, len);
72 dns_ttl_totext(isc_uint32_t src, isc_boolean_t verbose, isc_buffer_t *target) { argument
73 return (dns_ttl_totext2(src, verbose, ISC_TRUE, target));
78 isc_boolean_t upcase, isc_buffer_t *target)
91 RETERR(ttlfmt(weeks, "week", verbose, ISC_TF(x > 0), target));
95 RETERR(ttlfmt(days, "day", verbose, ISC_TF(x > 0), target));
99 RETERR(ttlfmt(hours, "hour", verbose, ISC_TF(x > 0), target));
103 RETERR(ttlfmt(mins, "minute", verbose, ISC_TF(x > 0), target));
43 ttlfmt(unsigned int t, const char *s, isc_boolean_t verbose, isc_boolean_t space, isc_buffer_t *target) argument
77 dns_ttl_totext2(isc_uint32_t src, isc_boolean_t verbose, isc_boolean_t upcase, isc_buffer_t *target) argument
[all...]
H A Dncache.c265 isc_buffer_t *target, unsigned int options,
279 * 'target'.
286 savedbuffer = *target;
330 result = dns_name_towire(&name, cctx, target);
338 isc_buffer_availableregion(target, &tavailable);
343 isc_buffer_putuint16(target, type);
344 isc_buffer_putuint16(target, rdataset->rdclass);
345 isc_buffer_putuint32(target, rdataset->ttl);
350 rdlen = *target;
351 isc_buffer_add(target,
264 dns_ncache_towire(dns_rdataset_t *rdataset, dns_compress_t *cctx, isc_buffer_t *target, unsigned int options, unsigned int *countp) argument
453 rdataset_clone(dns_rdataset_t *source, dns_rdataset_t *target) argument
[all...]
H A Dnsec.c95 dns_dbnode_t *node, dns_name_t *target,
108 dns_name_toregion(target, &r);
170 dns_name_t *target, dns_ttl_t ttl)
181 RETERR(dns_nsec_buildrdata(db, version, node, target, data, &rdata));
94 dns_nsec_buildrdata(dns_db_t *db, dns_dbversion_t *version, dns_dbnode_t *node, dns_name_t *target, unsigned char *buffer, dns_rdata_t *rdata) argument
169 dns_nsec_build(dns_db_t *db, dns_dbversion_t *version, dns_dbnode_t *node, dns_name_t *target, dns_ttl_t ttl) argument
H A Drootns.c195 const char *filename, dns_db_t **target)
203 REQUIRE(target != NULL && *target == NULL);
246 *target = db;
194 dns_rootns_create(isc_mem_t *mctx, dns_rdataclass_t rdclass, const char *filename, dns_db_t **target) argument
/bind-9.11.3/lib/isc/tests/
H A Dpool_test.c25 poolinit(void **target, void *arg) { argument
34 *target = (void *) task;
39 poolfree(void **target) { argument
40 isc_task_t *task = *(isc_task_t **) target;
42 *target = NULL;
/bind-9.11.3/lib/isc/
H A Dbase64.c34 str_totext(const char *source, isc_buffer_t *target);
37 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length);
45 const char *wordbreak, isc_buffer_t *target)
61 RETERR(str_totext(buf, target));
69 RETERR(str_totext(wordbreak, target));
78 RETERR(str_totext(buf, target));
84 RETERR(str_totext(buf, target));
95 isc_buffer_t *target; /*%< Buffer for resulting binary data */ member in struct:__anon216
102 base64_decode_init(base64_decode_ctx_t *ctx, int length, isc_buffer_t *target) argument
107 ctx->target
44 isc_base64_totext(isc_region_t *source, int wordlength, const char *wordbreak, isc_buffer_t *target) argument
171 isc_base64_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length) argument
201 isc_base64_decodestring(const char *cstr, isc_buffer_t *target) argument
218 str_totext(const char *source, isc_buffer_t *target) argument
234 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length) argument
[all...]
H A Dhex.c34 str_totext(const char *source, isc_buffer_t *target);
37 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length);
43 const char *wordbreak, isc_buffer_t *target)
55 RETERR(str_totext(buf, target));
63 RETERR(str_totext(wordbreak, target));
74 isc_buffer_t *target; /*%< Buffer for resulting binary data */ member in struct:__anon224
80 hex_decode_init(hex_decode_ctx_t *ctx, int length, isc_buffer_t *target) argument
84 ctx->target = target;
98 RETERR(mem_tobuffer(ctx->target,
42 isc_hex_totext(isc_region_t *source, int wordlength, const char *wordbreak, isc_buffer_t *target) argument
120 isc_hex_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length) argument
150 isc_hex_decodestring(const char *cstr, isc_buffer_t *target) argument
167 str_totext(const char *source, isc_buffer_t *target) argument
183 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length) argument
[all...]
H A Dstring.c117 isc_string_copy(char *target, size_t size, const char *source) { argument
120 if (strlcpy(target, source, size) >= size) {
121 memset(target, ISC_STRING_MAGIC, size);
125 ENSURE(strlen(target) < size);
131 isc_string_copy_truncate(char *target, size_t size, const char *source) { argument
134 strlcpy(target, source, size);
136 ENSURE(strlen(target) < size);
140 isc_string_append(char *target, size_t size, const char *source) { argument
142 REQUIRE(strlen(target) < size);
144 if (strlcat(target, sourc
155 isc_string_append_truncate(char *target, size_t size, const char *source) argument
165 isc_string_printf(char *target, size_t size, const char *format, ...) argument
186 isc_string_printf_truncate(char *target, size_t size, const char *format, ...) argument
202 char *target; local
[all...]

Completed in 25 milliseconds

1234