Searched defs:source (Results 1 - 25 of 91) sorted by relevance

1234

/bind-9.11.3/lib/isccc/
H A Dbase64.c39 isccc_base64_encode(isccc_region_t *source, int wordlength, argument
46 sr.base = source->rstart;
47 sr.length = (unsigned int)(source->rend - source->rstart);
54 source->rstart = source->rend;
/bind-9.11.3/bin/tests/
H A Dmaster_test.c54 isc_buffer_t source; local
64 isc_buffer_init(&source, argv[1], strlen(argv[1]));
65 isc_buffer_add(&source, strlen(argv[1]));
66 isc_buffer_setactive(&source, strlen(argv[1]));
69 result = dns_name_fromtext(&origin, &source, dns_rootname,
H A Dentropy2_test.c53 start(isc_entropysource_t *source, void *arg, isc_boolean_t blocking) { argument
56 UNUSED(source);
67 stop(isc_entropysource_t *source, void *arg) { argument
70 UNUSED(source);
79 get(isc_entropysource_t *source, void *arg, isc_boolean_t blocking) { argument
99 result = isc_entropy_addcallbacksample(source, sample, extra);
116 isc_entropysource_t *source; local
135 source = NULL;
137 &source);
159 isc_entropy_destroysource(&source);
[all...]
H A Dwire_test.c30 process_message(isc_buffer_t *source);
258 process_message(isc_buffer_t *source) { argument
267 result = dns_message_parse(message, source, parseflags);
H A Dname_test.c41 isc_buffer_t source; local
45 isc_buffer_init(&source, s, sizeof(s));
47 result = dns_name_totext(name, ISC_FALSE, &source);
51 isc_buffer_usedregion(&source, &r);
65 isc_buffer_t source; local
118 isc_buffer_init(&source, argv[0], len);
119 isc_buffer_add(&source, len);
122 result = dns_name_fromtext(origin, &source,
141 isc_buffer_init(&source, argv[1], len);
142 isc_buffer_add(&source, le
[all...]
H A Drbt_test.c34 isc_buffer_t source, target; local
44 isc_buffer_init(&source, s, length);
45 isc_buffer_add(&source, length);
66 result = dns_name_fromtext(name, &source, dns_rootname, 0, &target);
/bind-9.11.3/bin/named/
H A Dlistenlist.c78 ns_listenlist_attach(ns_listenlist_t *source, ns_listenlist_t **target) { argument
79 INSIST(source->refcount > 0);
80 source->refcount++;
81 *target = source;
H A Dlwsearch.c59 ns_lwsearchlist_attach(ns_lwsearchlist_t *source, ns_lwsearchlist_t **target) { argument
60 REQUIRE(VALID_LWSEARCHLIST(source));
63 LOCK(&source->lock);
64 INSIST(source->refs > 0);
65 source->refs++;
66 INSIST(source->refs != 0);
67 UNLOCK(&source->lock);
69 *target = source;
/bind-9.11.3/lib/dns/
H A Diptable.c108 dns_iptable_merge(dns_iptable_t *tab, dns_iptable_t *source, isc_boolean_t pos) argument
114 RADIX_WALK (source->radix->head, node) {
145 dns_iptable_attach(dns_iptable_t *source, dns_iptable_t **target) { argument
146 REQUIRE(DNS_IPTABLE_VALID(source));
147 isc_refcount_increment(&source->refcount, NULL);
148 *target = source;
H A Dkey.c26 dst_region_computeid(const isc_region_t *source, unsigned int alg) { argument
31 REQUIRE(source != NULL);
32 REQUIRE(source->length >= 4);
34 p = source->base;
35 size = source->length;
51 dst_region_computerid(const isc_region_t *source, unsigned int alg) { argument
56 REQUIRE(source != NULL);
57 REQUIRE(source->length >= 4);
59 p = source->base;
60 size = source
[all...]
H A Dorder.c130 dns_order_attach(dns_order_t *source, dns_order_t **target) { argument
131 REQUIRE(DNS_ORDER_VALID(source));
133 isc_refcount_increment(&source->references, NULL);
134 *target = source;
H A Drdatalist.c160 isc__rdatalist_clone(dns_rdataset_t *source, dns_rdataset_t *target) { argument
162 REQUIRE(source != NULL);
165 *target = *source;
H A Dtime.c125 dns_time64_fromtext(const char *source, isc_int64_t *target) { argument
137 if (strlen(source) != 14U)
140 * Confirm the source only consists digits. sscanf() allows some
144 if (!isdigit((unsigned char)source[i]))
147 if (sscanf(source, "%4d%2d%2d%2d%2d%2d",
193 dns_time32_fromtext(const char *source, isc_uint32_t *target) { argument
196 result = dns_time64_fromtext(source, &value64);
H A Dttl.c37 static isc_result_t bind_ttl(isc_textregion_t *source, isc_uint32_t *ttl);
134 dns_counter_fromtext(isc_textregion_t *source, isc_uint32_t *ttl) { argument
135 return (bind_ttl(source, ttl));
139 dns_ttl_fromtext(isc_textregion_t *source, isc_uint32_t *ttl) { argument
142 result = bind_ttl(source, ttl);
149 bind_ttl(isc_textregion_t *source, isc_uint32_t *ttl) { argument
160 if (source->length > sizeof(buf) - 1)
162 /* Copy source->length bytes and NUL terminate. */
163 snprintf(buf, sizeof(buf), "%.*s", (int)source->length, source
[all...]
H A Ddbtable.c128 dns_dbtable_attach(dns_dbtable_t *source, dns_dbtable_t **targetp) { argument
129 REQUIRE(VALID_DBTABLE(source));
132 LOCK(&source->lock);
134 INSIST(source->references > 0);
135 source->references++;
136 INSIST(source->references != 0);
138 UNLOCK(&source->lock);
140 *targetp = source;
H A Dncache.c271 isc_buffer_t source, savedbuffer, rdlen; local
292 isc_buffer_init(&source, rdata.data, rdata.length);
293 isc_buffer_add(&source, rdata.length);
295 isc_buffer_remainingregion(&source, &remaining);
298 isc_buffer_forward(&source, name.length);
302 type = isc_buffer_getuint16(&source);
303 isc_buffer_forward(&source, 1);
304 rcount = isc_buffer_getuint16(&source);
311 isc_buffer_remainingregion(&source, &remaining);
314 rdata.length = isc_buffer_getuint16(&source);
453 rdataset_clone(dns_rdataset_t *source, dns_rdataset_t *target) argument
508 isc_buffer_t source; local
585 isc_buffer_t source; local
681 isc_buffer_t source; local
[all...]
/bind-9.11.3/lib/isc/
H A Dcounter.c91 isc_counter_attach(isc_counter_t *source, isc_counter_t **targetp) { argument
92 REQUIRE(VALID_COUNTER(source));
95 LOCK(&source->lock);
96 source->references++;
97 INSIST(source->references > 0);
98 UNLOCK(&source->lock);
100 *targetp = source;
H A Dbase64.c34 str_totext(const char *source, isc_buffer_t *target);
44 isc_base64_totext(isc_region_t *source, int wordlength, argument
54 while (source->length > 2) {
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];
62 isc_region_consume(source,
218 str_totext(const char *source, isc_buffer_t *target) argument
[all...]
H A Dhex.c34 str_totext(const char *source, isc_buffer_t *target);
42 isc_hex_totext(isc_region_t *source, int wordlength, argument
52 while (source->length > 0) {
53 buf[0] = hex[(source->base[0] >> 4) & 0xf];
54 buf[1] = hex[(source->base[0]) & 0xf];
56 isc_region_consume(source, 1);
59 if (source->length != 0 &&
167 str_totext(const char *source, isc_buffer_t *target) { argument
172 l = strlen(source);
177 memmove(region.base, source,
[all...]
H A Dstring.c13 * Redistribution and use in source and binary forms, with or without
16 * 1. Redistributions of source code must retain the above copyright
53 isc_string_touint64(char *source, char **end, int base) { argument
56 char *s = source;
61 *end = source;
79 *end = source;
100 *end = source;
106 *end = source;
117 isc_string_copy(char *target, size_t size, const char *source) { argument
120 if (strlcpy(target, source, siz
131 isc_string_copy_truncate(char *target, size_t size, const char *source) argument
140 isc_string_append(char *target, size_t size, const char *source) argument
155 isc_string_append_truncate(char *target, size_t size, const char *source) argument
201 isc_string_regiondup(isc_mem_t *mctx, const isc_region_t *source) argument
[all...]
/bind-9.11.3/lib/isc/win32/
H A Dentropy.c40 get_from_filesource(isc_entropysource_t *source, isc_uint32_t desired) { argument
41 isc_entropy_t *ent = source->ent;
43 HCRYPTPROV hcryptprov = source->sources.file.handle;
47 if (source->bad)
57 source->bad = ISC_TRUE;
73 * Poll each source, trying to get data from it to stuff into the entropy
82 isc_entropysource_t *source; local
136 * Poll each file source to see if we can read anything useful from
150 source = ent->nextsource;
152 * Remember the first source s
223 destroyfilesource(isc_entropyfilesource_t *source) argument
228 destroyusocketsource(isc_entropyusocketsource_t *source) argument
236 isc_entropysource_t *source; local
[all...]
/bind-9.11.3/lib/dns/include/dns/
H A Ddnssec.h56 dns_keysource_t source; /*% how the key was found */ member in struct:dns_dnsseckey
220 dns_dnssec_verifymessage(isc_buffer_t *source, dns_message_t *msg,
231 *\li 'source' is a valid buffer containing the unparsed message
/bind-9.11.3/bin/tests/system/rsabigexponent/
H A Dbigkey.c127 isc_entropysource_t *source; variable
184 CHECK(isc_entropy_usebestsource(ectx, &source,
231 if (source != NULL)
232 isc_entropy_destroysource(&source);
/bind-9.11.3/unit/atf-src/atf-c++/
H A Dutils.cpp4 // Redistribution and use in source and binary forms, with or without
7 // 1. Redistributions of source code must retain the above copyright
42 atf::utils::copy_file(const std::string& source, const std::string& destination) argument
44 atf_utils_copy_file(source.c_str(), destination.c_str());
/bind-9.11.3/contrib/sdb/pgsql/
H A Dzonetodb.c65 * "dest" must be an array of at least size 2*strlen(source) + 1.
68 quotestring(const unsigned char *source, unsigned char *dest) { argument
69 while (*source != 0) {
70 if (*source == '\'')
72 else if (*source == '\\')
74 *dest++ = *source++;

Completed in 29 milliseconds

1234