Searched refs:target (Results 1 - 25 of 226) sorted by relevance

12345678910

/bind-9.11.3/lib/dns/include/dns/
H A Dtime.h30 dns_time64_fromtext(const char *source, isc_int64_t *target);
34 * Store the count at 'target'.
38 dns_time32_fromtext(const char *source, isc_uint32_t *target);
46 dns_time64_totext(isc_int64_t value, isc_buffer_t *target);
49 * a YYYYMMDDHHMMSS text representation and append it to 'target'.
53 dns_time32_totext(isc_uint32_t value, isc_buffer_t *target);
H A Dopcode.h22 isc_result_t dns_opcode_totext(dns_opcode_t opcode, isc_buffer_t *target);
24 * Put a textual representation of error 'opcode' into 'target'.
29 *\li 'target' is a valid text buffer.
33 * The used space in 'target' is updated.
37 *\li #ISC_R_NOSPACE target buffer is too small
H A Drcode.h36 isc_result_t dns_rcode_totext(dns_rcode_t rcode, isc_buffer_t *target);
38 * Put a textual representation of error 'rcode' into 'target'.
43 *\li 'target' is a valid text buffer.
47 * The used space in 'target' is updated.
51 *\li #ISC_R_NOSPACE target buffer is too small
69 isc_result_t dns_tsigrcode_totext(dns_rcode_t rcode, isc_buffer_t *target);
71 * Put a textual representation of TSIG/TKEY error 'rcode' into 'target'.
76 *\li 'target' is a valid text buffer.
80 * The used space in 'target' is updated.
84 *\li #ISC_R_NOSPACE target buffe
[all...]
H A Drdataclass.h38 dns_rdataclass_totext(dns_rdataclass_t rdclass, isc_buffer_t *target);
40 * Put a textual representation of class 'rdclass' into 'target'.
45 *\li 'target' is a valid text buffer.
49 *\li The used space in 'target' is updated.
53 *\li #ISC_R_NOSPACE target buffer is too small
57 dns_rdataclass_tounknowntext(dns_rdataclass_t rdclass, isc_buffer_t *target);
60 * 'target'.
65 *\li 'target' is a valid text buffer.
69 *\li The used space in 'target' is updated.
73 *\li #ISC_R_NOSPACE target buffe
[all...]
H A Drdatatype.h38 dns_rdatatype_totext(dns_rdatatype_t type, isc_buffer_t *target);
40 * Put a textual representation of type 'type' into 'target'.
45 *\li 'target' is a valid text buffer.
49 *\li The used space in 'target' is updated.
53 *\li #ISC_R_NOSPACE target buffer is too small
57 dns_rdatatype_tounknowntext(dns_rdatatype_t type, isc_buffer_t *target);
60 * 'target'.
65 *\li 'target' is a valid text buffer.
69 *\li The used space in 'target' is updated.
73 *\li #ISC_R_NOSPACE target buffe
[all...]
H A Dttl.h31 isc_buffer_t *target);
34 isc_boolean_t upcase, isc_buffer_t *target);
38 * The text representation is appended to 'target'.
/bind-9.11.3/lib/isc/include/isc/
H A Dbase32.h35 const char *wordbreak, isc_buffer_t *target);
38 const char *wordbreak, isc_buffer_t *target);
41 const char *wordbreak, isc_buffer_t *target);
46 *\li The base32 encoded text in 'target' will be divided into
53 *\li 'target' is a text buffer containing available space
58 *\li target will contain the base32 encoded version of the data
59 * in source. The 'used' pointer in target will be advanced as
64 isc_base32_decodestring(const char *cstr, isc_buffer_t *target);
66 isc_base32hex_decodestring(const char *cstr, isc_buffer_t *target);
68 isc_base32hexnp_decodestring(const char *cstr, isc_buffer_t *target);
[all...]
H A Dbase64.h27 const char *wordbreak, isc_buffer_t *target);
32 *\li The base64 encoded text in 'target' will be divided into
39 *\li 'target' is a text buffer containing available space
44 *\li target will contain the base64 encoded version of the data
45 * in source. The 'used' pointer in target will be advanced as
50 isc_base64_decodestring(const char *cstr, isc_buffer_t *target);
56 *\li 'target' is a valid buffer.
60 * fit in 'target'.
70 isc_base64_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length);
76 *\li 'target' i
[all...]
H A Dhex.h27 const char *wordbreak, isc_buffer_t *target);
32 *\li The hex encoded text in 'target' will be divided into
39 *\li 'target' is a text buffer containing available space
44 *\li target will contain the hex encoded version of the data
45 * in source. The 'used' pointer in target will be advanced as
50 isc_hex_decodestring(const char *cstr, isc_buffer_t *target);
56 *\li 'target' is a valid buffer.
60 * fit in 'target'.
70 isc_hex_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length);
76 *\li 'target' i
[all...]
H A Dstring.h48 isc_string_copy(char *target, size_t size, const char *source);
50 * Copy the string pointed to by 'source' to 'target' which is a
54 * 'target' is a pointer to a char[] of at least 'size' bytes.
60 * 'target' will be a NUL terminated string of no more
64 * 'target' is undefined.
67 * ISC_R_SUCCESS -- 'source' was successfully copied to 'target'.
68 * ISC_R_NOSPACE -- 'source' could not be copied since 'target'
73 isc_string_copy_truncate(char *target, size_t size, const char *source);
75 * Copy the string pointed to by 'source' to 'target' which is a
79 * 'target' i
[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/lib/isccc/include/isccc/
H A Dbase64.h41 const char *wordbreak, isccc_region_t *target);
46 *\li The base64 encoded text in 'target' will be divided into
53 *\li 'target' is a text region containing available space.
59 isccc_base64_decode(const char *cstr, isccc_region_t *target);
65 *\li 'target' is a valid region.
69 * fit in 'target'.
71 *\li #ISC_R_NOSPACE -- 'target' is not big enough.
/bind-9.11.3/lib/dns/rdata/generic/
H A Dkeydata_65533.c40 RETERR(uint32_tobuffer(refresh, target));
46 RETERR(uint32_tobuffer(addhd, target));
52 RETERR(uint32_tobuffer(removehd, target));
58 RETERR(uint16_tobuffer(flags, target));
64 RETERR(mem_tobuffer(target, &proto, 1));
70 RETERR(mem_tobuffer(target, &alg, 1));
76 result = isc_base64_tobuffer(lexer, target, -1);
81 if (alg == DST_ALG_RSAMD5 && isc_buffer_usedlength(target) < 19)
100 return (unknown_totext(rdata, tctx, target));
107 RETERR(dns_time32_totext(refresh, target));
[all...]
H A Dsig_24.c52 RETERR(uint16_tobuffer(covered, target));
60 RETERR(mem_tobuffer(target, &c, 1));
70 RETERR(mem_tobuffer(target, &c, 1));
77 RETERR(uint32_tobuffer(token.value.as_ulong, target));
85 RETERR(uint32_tobuffer(time_expire, target));
93 RETERR(uint32_tobuffer(time_signed, target));
100 RETERR(uint16_tobuffer(token.value.as_ulong, target));
111 RETTOK(dns_name_fromtext(&name, &buffer, origin, options, target));
116 return (isc_base64_tobuffer(lexer, target, -1));
147 RETERR(dns_rdatatype_totext(covered, target));
[all...]
H A Duri_256.h19 unsigned char * target; member in struct:dns_rdata_uri
H A Dkey_25.c42 RETERR(uint16_tobuffer(flags, target));
48 RETERR(mem_tobuffer(target, &proto, 1));
54 RETERR(mem_tobuffer(target, &alg, 1));
60 result = isc_base64_tobuffer(lexer, target, -1);
65 if (alg == DST_ALG_RSAMD5 && isc_buffer_usedlength(target) < 7)
89 RETERR(str_totext(buf, target));
90 RETERR(str_totext(" ", target));
103 RETERR(str_totext(buf, target));
104 RETERR(str_totext(" ", target));
110 RETERR(str_totext(buf, target));
[all...]
H A Dds_43.c45 RETERR(uint16_tobuffer(token.value.as_ulong, target));
53 RETERR(mem_tobuffer(target, &c, 1));
61 RETERR(mem_tobuffer(target, &c, 1));
85 return (isc_hex_tobuffer(lexer, target, length));
94 target, callbacks));
115 RETERR(str_totext(buf, target));
123 RETERR(str_totext(buf, target));
131 RETERR(str_totext(buf, target));
137 RETERR(str_totext(" (", target));
138 RETERR(str_totext(tctx->linebreak, target));
[all...]
/bind-9.11.3/lib/isc/
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...]
H A Dbase32.c35 str_totext(const char *source, isc_buffer_t *target);
38 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length);
49 isc_buffer_t *target, const char base[], char pad)
64 RETERR(str_totext(buf, target));
73 RETERR(str_totext(buf, target));
81 RETERR(str_totext(buf, target));
90 RETERR(str_totext(buf, target));
96 RETERR(str_totext(buf, target));
104 RETERR(str_totext(wordbreak, target));
114 const char *wordbreak, isc_buffer_t *target)
48 base32_totext(isc_region_t *source, int wordlength, const char *wordbreak, isc_buffer_t *target, const char base[], char pad) argument
113 isc_base32_totext(isc_region_t *source, int wordlength, const char *wordbreak, isc_buffer_t *target) argument
121 isc_base32hex_totext(isc_region_t *source, int wordlength, const char *wordbreak, isc_buffer_t *target) argument
129 isc_base32hexnp_totext(isc_region_t *source, int wordlength, const char *wordbreak, isc_buffer_t *target) argument
141 isc_buffer_t *target; /*%< Buffer for resulting binary data */ 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
325 base32_decodestring(const char *cstr, const char base[], isc_boolean_t pad, isc_buffer_t *target) argument
344 isc_base32_decodestring(const char *cstr, isc_buffer_t *target) argument
349 isc_base32hex_decodestring(const char *cstr, isc_buffer_t *target) argument
354 isc_base32hexnp_decodestring(const char *cstr, isc_buffer_t *target) argument
359 base32_decoderegion(isc_region_t *source, const char base[], isc_boolean_t pad, isc_buffer_t *target) argument
375 isc_base32_decoderegion(isc_region_t *source, isc_buffer_t *target) argument
380 isc_base32hex_decoderegion(isc_region_t *source, isc_buffer_t *target) argument
385 isc_base32hexnp_decoderegion(isc_region_t *source, isc_buffer_t *target) argument
390 str_totext(const char *source, isc_buffer_t *target) argument
406 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length) argument
[all...]
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...]
/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/bin/named/include/named/
H A Dlistenlist.h57 dns_acl_t *acl, ns_listenelt_t **target);
69 ns_listenlist_create(isc_mem_t *mctx, ns_listenlist_t **target);
75 ns_listenlist_attach(ns_listenlist_t *source, ns_listenlist_t **target);
77 * Attach '*target' to '*source'.
88 isc_boolean_t enabled, ns_listenlist_t **target);
/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);
/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...]

Completed in 509 milliseconds

12345678910