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

12345678

/bind-9.6-ESV-R11/lib/isc/include/isc/
H A Dbase32.h43 const char *wordbreak, isc_buffer_t *target);
46 const char *wordbreak, isc_buffer_t *target);
51 *\li The base32 encoded text in 'target' will be divided into
58 *\li 'target' is a text buffer containing available space
63 *\li target will contain the base32 encoded version of the data
64 * in source. The 'used' pointer in target will be advanced as
69 isc_base32_decodestring(const char *cstr, isc_buffer_t *target);
71 isc_base32hex_decodestring(const char *cstr, isc_buffer_t *target);
77 *\li 'target' is a valid buffer.
81 * fit in 'target'
[all...]
H A Dbase64.h36 const char *wordbreak, isc_buffer_t *target);
41 *\li The base64 encoded text in 'target' will be divided into
48 *\li 'target' is a text buffer containing available space
53 *\li target will contain the base64 encoded version of the data
54 * in source. The 'used' pointer in target will be advanced as
59 isc_base64_decodestring(const char *cstr, isc_buffer_t *target);
65 *\li 'target' is a valid buffer.
69 * fit in 'target'.
79 isc_base64_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length);
85 *\li 'target' i
[all...]
H A Dhex.h36 const char *wordbreak, isc_buffer_t *target);
41 *\li The hex encoded text in 'target' will be divided into
48 *\li 'target' is a text buffer containing available space
53 *\li target will contain the hex encoded version of the data
54 * in source. The 'used' pointer in target will be advanced as
59 isc_hex_decodestring(const char *cstr, isc_buffer_t *target);
65 *\li 'target' is a valid buffer.
69 * fit in 'target'.
79 isc_hex_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length);
85 *\li 'target' i
[all...]
H A Dstring.h57 isc_string_copy(char *target, size_t size, const char *source);
59 * Copy the string pointed to by 'source' to 'target' which is a
63 * 'target' is a pointer to a char[] of at least 'size' bytes.
69 * 'target' will be a NUL terminated string of no more
73 * 'target' is undefined.
76 * ISC_R_SUCCESS -- 'source' was successfully copied to 'target'.
77 * ISC_R_NOSPACE -- 'source' could not be copied since 'target'
82 isc_string_copy_truncate(char *target, size_t size, const char *source);
84 * Copy the string pointed to by 'source' to 'target' which is a
88 * 'target' i
[all...]
/bind-9.6-ESV-R11/lib/dns/include/dns/
H A Dtime.h39 dns_time64_fromtext(const char *source, isc_int64_t *target);
43 * Store the count at 'target'.
47 dns_time32_fromtext(const char *source, isc_uint32_t *target);
55 dns_time64_totext(isc_int64_t value, isc_buffer_t *target);
58 * a YYYYMMDDHHMMSS text representation and append it to 'target'.
62 dns_time32_totext(isc_uint32_t value, isc_buffer_t *target);
H A Dopcode.h31 isc_result_t dns_opcode_totext(dns_opcode_t opcode, isc_buffer_t *target);
33 * Put a textual representation of error 'opcode' into 'target'.
38 *\li 'target' is a valid text buffer.
42 * The used space in 'target' is updated.
46 *\li #ISC_R_NOSPACE target buffer is too small
H A Drcode.h45 isc_result_t dns_rcode_totext(dns_rcode_t rcode, isc_buffer_t *target);
47 * Put a textual representation of error 'rcode' into 'target'.
52 *\li 'target' is a valid text buffer.
56 * The used space in 'target' is updated.
60 *\li #ISC_R_NOSPACE target buffer is too small
78 isc_result_t dns_tsigrcode_totext(dns_rcode_t rcode, isc_buffer_t *target);
80 * Put a textual representation of TSIG/TKEY error 'rcode' into 'target'.
85 *\li 'target' is a valid text buffer.
89 * The used space in 'target' is updated.
93 *\li #ISC_R_NOSPACE target buffe
[all...]
/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/lib/isc/
H A Dbase32.c43 str_totext(const char *source, isc_buffer_t *target);
46 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length);
57 isc_buffer_t *target, const char base[])
72 RETERR(str_totext(buf, target));
81 RETERR(str_totext(buf, target));
89 RETERR(str_totext(buf, target));
98 RETERR(str_totext(buf, target));
104 RETERR(str_totext(buf, target));
112 RETERR(str_totext(wordbreak, target));
122 const char *wordbreak, isc_buffer_t *target)
56 base32_totext(isc_region_t *source, int wordlength, const char *wordbreak, isc_buffer_t *target, const char base[]) argument
121 isc_base32_totext(isc_region_t *source, int wordlength, const char *wordbreak, isc_buffer_t *target) argument
128 isc_base32hex_totext(isc_region_t *source, int wordlength, const char *wordbreak, isc_buffer_t *target) argument
140 isc_buffer_t *target; /*%< Buffer for resulting binary data */ 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
297 base32_decodestring(const char *cstr, const char base[], isc_buffer_t *target) argument
314 isc_base32_decodestring(const char *cstr, isc_buffer_t *target) argument
319 isc_base32hex_decodestring(const char *cstr, isc_buffer_t *target) argument
324 base32_decoderegion(isc_region_t *source, const char base[], isc_buffer_t *target) argument
338 isc_base32_decoderegion(isc_region_t *source, isc_buffer_t *target) argument
343 isc_base32hex_decoderegion(isc_region_t *source, isc_buffer_t *target) argument
348 str_totext(const char *source, isc_buffer_t *target) argument
364 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...]
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...]
/bind-9.6-ESV-R11/lib/isccc/include/isccc/
H A Dbase64.h50 const char *wordbreak, isccc_region_t *target);
55 *\li The base64 encoded text in 'target' will be divided into
62 *\li 'target' is a text region containing available space.
68 isccc_base64_decode(const char *cstr, isccc_region_t *target);
74 *\li 'target' is a valid region.
78 * fit in 'target'.
80 *\li #ISC_R_NOSPACE -- 'target' is not big enough.
/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...]
/bind-9.6-ESV-R11/lib/dns/rdata/generic/
H A Drrsig_46.c61 RETERR(uint16_tobuffer(covered, target));
69 RETERR(mem_tobuffer(target, &c, 1));
79 RETERR(mem_tobuffer(target, &c, 1));
86 RETERR(uint32_tobuffer(token.value.as_ulong, target));
107 RETERR(uint32_tobuffer(time_expire, target));
128 RETERR(uint32_tobuffer(time_signed, target));
135 RETERR(uint16_tobuffer(token.value.as_ulong, target));
145 RETTOK(dns_name_fromtext(&name, &buffer, origin, options, target));
150 return (isc_base64_tobuffer(lexer, target, -1));
179 RETERR(dns_rdatatype_totext(covered, target));
[all...]
H A Dsig_24.c61 RETERR(uint16_tobuffer(covered, target));
69 RETERR(mem_tobuffer(target, &c, 1));
79 RETERR(mem_tobuffer(target, &c, 1));
86 RETERR(uint32_tobuffer(token.value.as_ulong, target));
94 RETERR(uint32_tobuffer(time_expire, target));
102 RETERR(uint32_tobuffer(time_signed, target));
109 RETERR(uint16_tobuffer(token.value.as_ulong, target));
119 RETTOK(dns_name_fromtext(&name, &buffer, origin, options, target));
124 return (isc_base64_tobuffer(lexer, target, -1));
155 RETERR(dns_rdatatype_totext(covered, target));
[all...]
H A Dtkey_249.c54 RETTOK(dns_name_fromtext(&name, &buffer, origin, options, target));
62 RETERR(uint32_tobuffer(token.value.as_ulong, target));
69 RETERR(uint32_tobuffer(token.value.as_ulong, target));
78 RETERR(uint16_tobuffer(token.value.as_ulong, target));
95 RETERR(uint16_tobuffer(rcode, target));
104 RETERR(uint16_tobuffer(token.value.as_ulong, target));
109 RETERR(isc_base64_tobuffer(lexer, target, (int)token.value.as_ulong));
118 RETERR(uint16_tobuffer(token.value.as_ulong, target));
123 return (isc_base64_tobuffer(lexer, target, (int)token.value.as_ulong));
147 RETERR(dns_name_totext(&prefix, sub, target));
[all...]
H A Duri_256.h27 unsigned char * target; member in struct:dns_rdata_uri
H A Duri_256.c43 RETERR(uint16_tobuffer(token.value.as_ulong, target));
52 RETERR(uint16_tobuffer(token.value.as_ulong, target));
61 RETTOK(multitxt_fromtext(&token.value.as_textregion, target));
84 RETERR(str_totext(buf, target));
92 RETERR(str_totext(buf, target));
97 RETERR(multitxt_totext(&region, target));
118 RETERR(mem_tobuffer(target, region.base, 4));
124 RETERR(multitxt_fromwire(source, target));
139 return (mem_tobuffer(target, region.base, region.length));
188 REQUIRE(uri->target !
[all...]
H A Dipseckey_45.c51 RETERR(uint8_tobuffer(token.value.as_ulong, target));
60 RETERR(uint8_tobuffer(token.value.as_ulong, target));
70 RETERR(uint8_tobuffer(token.value.as_ulong, target));
87 isc_buffer_availableregion(target, &region);
91 isc_buffer_add(target, 4);
97 isc_buffer_availableregion(target, &region);
101 isc_buffer_add(target, 16);
109 options, target));
116 return (isc_base64_tobuffer(lexer, target, -1));
136 RETERR(str_totext("( ", target));
[all...]
/bind-9.6-ESV-R11/bin/named/include/named/
H A Dlistenlist.h65 dns_acl_t *acl, ns_listenelt_t **target);
77 ns_listenlist_create(isc_mem_t *mctx, ns_listenlist_t **target);
83 ns_listenlist_attach(ns_listenlist_t *source, ns_listenlist_t **target);
85 * Attach '*target' to '*source'.
96 isc_boolean_t enabled, ns_listenlist_t **target);
/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);
/bind-9.6-ESV-R11/lib/dns/
H A Drdata.c71 unsigned int options, isc_buffer_t *target, \
75 isc_buffer_t *target
79 unsigned int options, isc_buffer_t *target
82 isc_buffer_t *target
87 void *source, isc_buffer_t *target
89 #define ARGS_TOSTRUCT dns_rdata_t *rdata, void *target, isc_mem_t *mctx
117 txt_totext(isc_region_t *source, isc_buffer_t *target);
120 txt_fromtext(isc_textregion_t *source, isc_buffer_t *target);
123 txt_fromwire(isc_buffer_t *source, isc_buffer_t *target);
126 multitxt_totext(isc_region_t *source, isc_buffer_t *target);
307 name_duporclone(dns_name_t *source, isc_mem_t *mctx, dns_name_t *target) argument
391 dns_rdata_clone(const dns_rdata_t *src, dns_rdata_t *target) argument
478 dns_rdata_fromwire(dns_rdata_t *rdata, dns_rdataclass_t rdclass, dns_rdatatype_t type, isc_buffer_t *source, dns_decompress_t *dctx, unsigned int options, isc_buffer_t *target) argument
549 dns_rdata_towire(dns_rdata_t *rdata, dns_compress_t *cctx, isc_buffer_t *target) argument
609 unknown_fromtext(dns_rdataclass_t rdclass, dns_rdatatype_t type, isc_lex_t *lexer, isc_mem_t *mctx, isc_buffer_t *target) argument
655 dns_rdata_fromtext(dns_rdata_t *rdata, dns_rdataclass_t rdclass, dns_rdatatype_t type, isc_lex_t *lexer, dns_name_t *origin, unsigned int options, isc_mem_t *mctx, isc_buffer_t *target, dns_rdatacallbacks_t *callbacks) argument
779 unknown_totext(dns_rdata_t *rdata, dns_rdata_textctx_t *tctx, isc_buffer_t *target) argument
821 rdata_totext(dns_rdata_t *rdata, dns_rdata_textctx_t *tctx, isc_buffer_t *target) argument
848 dns_rdata_totext(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) argument
865 dns_rdata_tofmttext(dns_rdata_t *rdata, dns_name_t *origin, unsigned int flags, unsigned int width, const char *linebreak, isc_buffer_t *target) argument
889 dns_rdata_fromstruct(dns_rdata_t *rdata, dns_rdataclass_t rdclass, dns_rdatatype_t type, void *source, isc_buffer_t *target) argument
927 dns_rdata_tostruct(dns_rdata_t *rdata, void *target, isc_mem_t *mctx) argument
1069 dns_rdatatype_totext(dns_rdatatype_t type, isc_buffer_t *target) argument
1112 txt_totext(isc_region_t *source, isc_buffer_t *target) argument
1166 txt_fromtext(isc_textregion_t *source, isc_buffer_t *target) argument
1232 txt_fromwire(isc_buffer_t *source, isc_buffer_t *target) argument
1256 multitxt_totext(isc_region_t *source, isc_buffer_t *target) argument
1312 multitxt_fromtext(isc_textregion_t *source, isc_buffer_t *target) argument
1378 multitxt_fromwire(isc_buffer_t *source, isc_buffer_t *target) argument
1407 name_prefix(dns_name_t *name, dns_name_t *origin, dns_name_t *target) argument
1439 str_totext(const char *source, isc_buffer_t *target) argument
1455 inet_totext(int af, isc_region_t *src, isc_buffer_t *target) argument
1480 uint32_tobuffer(isc_uint32_t value, isc_buffer_t *target) argument
1491 uint16_tobuffer(isc_uint32_t value, isc_buffer_t *target) argument
1504 uint8_tobuffer(isc_uint32_t value, isc_buffer_t *target) argument
1517 name_tobuffer(dns_name_t *name, isc_buffer_t *target) argument
1568 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length) argument
1655 byte_atob(int c, isc_buffer_t *target, struct state *state) argument
1693 putbyte(int c, isc_buffer_t *target, struct state *state) argument
1728 atob_tobuffer(isc_lex_t *lexer, isc_buffer_t *target) argument
1792 byte_btoa(int c, isc_buffer_t *target, struct state *state) argument
1858 btoa_totext(unsigned char *inbuf, int inbuflen, isc_buffer_t *target) argument
[all...]

Completed in 446 milliseconds

12345678