/bind-9.6-ESV-R11/lib/isc/win32/ |
H A D | entropy.c | 49 get_from_filesource(isc_entropysource_t *source, isc_uint32_t desired) { argument 50 isc_entropy_t *ent = source->ent; 52 HCRYPTPROV hcryptprov = source->sources.file.handle; 56 if (source->bad) 66 source->bad = ISC_TRUE; 80 * Poll each source, trying to get data from it to stuff into the entropy 89 isc_entropysource_t *source; local 143 * Poll each file source to see if we can read anything useful from 157 source = ent->nextsource; 159 * Remember the first source s 230 destroyfilesource(isc_entropyfilesource_t *source) argument 235 destroyusocketsource(isc_entropyusocketsource_t *source) argument 243 isc_entropysource_t *source; local [all...] |
/bind-9.6-ESV-R11/lib/isc/unix/ |
H A D | entropy.c | 73 get_from_filesource(isc_entropysource_t *source, isc_uint32_t desired) { argument 74 isc_entropy_t *ent = source->ent; 76 int fd = source->sources.file.handle; 80 if (source->bad) 105 source->sources.file.handle = -1; 106 source->bad = ISC_TRUE; 113 get_from_usocketsource(isc_entropysource_t *source, isc_uint32_t desired) { argument 114 isc_entropy_t *ent = source->ent; 116 int fd = source->sources.usocket.handle; 119 size_t sz_to_recv = source 255 isc_entropysource_t *source; local 391 isc_entropysource_t *source; local 444 destroyfilesource(isc_entropyfilesource_t *source) argument 449 destroyusocketsource(isc_entropyusocketsource_t *source) argument 494 isc_entropysource_t *source; local [all...] |
/bind-9.6-ESV-R11/lib/dns/include/dns/ |
H A D | rcode.h | 31 isc_result_t dns_rcode_fromtext(dns_rcode_t *rcodep, isc_textregion_t *source); 33 * Convert the text 'source' refers to into a DNS error value. 38 *\li 'source' is a valid text region. 64 isc_textregion_t *source); 66 * Convert the text 'source' refers to into a TSIG/TKEY error value. 71 *\li 'source' is a valid text region. 97 dns_hashalg_fromtext(unsigned char *hashalg, isc_textregion_t *source); 99 * Convert the text 'source' refers to into a has algorithm value. 104 *\li 'source' is a valid text region.
|
H A D | ttl.h | 57 dns_counter_fromtext(isc_textregion_t *source, isc_uint32_t *ttl); 67 dns_ttl_fromtext(isc_textregion_t *source, isc_uint32_t *ttl);
|
H A D | keyflags.h | 32 dns_keyflags_fromtext(dns_keyflags_t *flagsp, isc_textregion_t *source); 34 * Convert the text 'source' refers to into a DNSSEC KEY flags value. 44 *\li 'source' is a valid text region.
|
H A D | time.h | 39 dns_time64_fromtext(const char *source, isc_int64_t *target); 41 * Convert a date and time in YYYYMMDDHHMMSS text format at 'source' 47 dns_time32_fromtext(const char *source, isc_uint32_t *target);
|
/bind-9.6-ESV-R11/lib/isc/ |
H A D | base32.c | 43 str_totext(const char *source, isc_buffer_t *target); 56 base32_totext(isc_region_t *source, int wordlength, const char *wordbreak, argument 66 while (source->length > 0) { 67 buf[0] = base[((source->base[0]>>3)&0x1f)]; /* 5 + */ 68 if (source->length == 1) { 69 buf[1] = base[(source->base[0]<<2)&0x1c]; 75 buf[1] = base[((source->base[0]<<2)&0x1c)| /* 3 = 8 */ 76 ((source->base[1]>>6)&0x03)]; /* 2 + */ 77 buf[2] = base[((source->base[1]>>1)&0x1f)]; /* 5 + */ 78 if (source 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 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 [all...] |
H A D | lex.c | 195 inputsource *source; local 198 source = isc_mem_get(lex->mctx, sizeof(*source)); 199 if (source == NULL) 201 source->result = ISC_R_SUCCESS; 202 source->is_file = is_file; 203 source->need_close = need_close; 204 source->at_eof = ISC_FALSE; 205 source->input = input; 206 source 279 inputsource *source; local 318 pushback(inputsource *source, int c) argument 330 pushandgrow(isc_lex_t *lex, inputsource *source, int c) argument 354 inputsource *source; local 860 inputsource *source; local 883 inputsource *source; local 904 inputsource *source; local 917 inputsource *source; local 931 inputsource *source; local 949 inputsource *source; local [all...] |
H A D | entropy.c | 23 * compiled via inclusion from the relevant OS source file, ie, 85 * pseudorandom data and they cannot provide a stronger random source, 144 isc_uint32_t total; /*%< entropy from this source */ 158 #define ENTROPY_SOURCETYPE_SAMPLE 1 /*%< Type is a sample source */ 159 #define ENTROPY_SOURCETYPE_FILE 2 /*%< Type is a file source */ 160 #define ENTROPY_SOURCETYPE_CALLBACK 3 /*%< Type is a callback source */ 161 #define ENTROPY_SOURCETYPE_USOCKET 4 /*%< Type is a Unix socket source */ 186 destroyfilesource(isc_entropyfilesource_t *source); 189 destroyusocketsource(isc_entropyusocketsource_t *source); 478 get_from_callback(isc_entropysource_t *source, unsigne argument 721 isc_entropysource_t *source; local 763 isc_entropysource_t *source; local 786 isc_entropysource_t *source; local 831 isc_entropysource_t *source; local 865 isc_entropysource_t *source; local 925 isc_entropysource_t *source; local 953 isc_entropysource_t *source; local 1023 isc_entropy_addsample(isc_entropysource_t *source, isc_uint32_t sample, isc_uint32_t extra) argument 1050 isc_entropy_addcallbacksample(isc_entropysource_t *source, isc_uint32_t sample, isc_uint32_t extra) argument 1155 kbdstart(isc_entropysource_t *source, void *arg, isc_boolean_t blocking) argument 1181 kbdstop(isc_entropysource_t *source, void *arg) argument 1192 kbdget(isc_entropysource_t *source, void *arg, isc_boolean_t blocking) argument 1226 isc_entropy_usebestsource(isc_entropy_t *ectx, isc_entropysource_t **source, const char *randomfile, int use_keyboard) argument [all...] |
H A D | base64.c | 43 str_totext(const char *source, isc_buffer_t *target); 53 isc_base64_totext(isc_region_t *source, int wordlength, argument 63 while (source->length > 2) { 64 buf[0] = base64[(source->base[0]>>2)&0x3f]; 65 buf[1] = base64[((source->base[0]<<4)&0x30)| 66 ((source->base[1]>>4)&0x0f)]; 67 buf[2] = base64[((source->base[1]<<2)&0x3c)| 68 ((source->base[2]>>6)&0x03)]; 69 buf[3] = base64[source->base[2]&0x3f]; 71 isc_region_consume(source, 227 str_totext(const char *source, isc_buffer_t *target) argument [all...] |
H A D | string.c | 22 * Redistribution and use in source and binary forms, with or without 25 * 1. Redistributions of source code must retain the above copyright 62 isc_string_touint64(char *source, char **end, int base) { argument 65 char *s = source; 70 *end = source; 88 *end = source; 109 *end = source; 115 *end = source; 126 isc_string_copy(char *target, size_t size, const char *source) { argument 129 if (strlcpy(target, source, siz 140 isc_string_copy_truncate(char *target, size_t size, const char *source) argument 149 isc_string_append(char *target, size_t size, const char *source) argument 164 isc_string_append_truncate(char *target, size_t size, const char *source) argument 210 isc_string_regiondup(isc_mem_t *mctx, const isc_region_t *source) argument [all...] |
/bind-9.6-ESV-R11/lib/isc/include/isc/ |
H A D | base32.h | 42 isc_base32_totext(isc_region_t *source, int wordlength, 45 isc_base32hex_totext(isc_region_t *source, int wordlength, 57 *\li 'source' is a region containing binary data 64 * in source. The 'used' pointer in target will be advanced as 110 isc_base32_decoderegion(isc_region_t *source, isc_buffer_t *target); 112 isc_base32hex_decoderegion(isc_region_t *source, isc_buffer_t *target); 117 *\li 'source' is a valid region. 123 *\li #ISC_R_BADBASE32 -- 'source' is not a valid base32 encoding.
|
H A D | string.h | 42 isc_string_touint64(char *source, char **endp, int base); 44 * Convert the string pointed to by 'source' to isc_uint64_t. 53 * On error 'endp' points to 'source'. 57 isc_string_copy(char *target, size_t size, const char *source); 59 * Copy the string pointed to by 'source' to 'target' which is a 65 * 'source' == NULL or points to a NUL terminated string. 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' t [all...] |
/bind-9.6-ESV-R11/bin/tests/system/database/ns1/ |
H A D | named.conf1 | 31 query-source address 10.53.0.1; 32 notify-source 10.53.0.1; 33 transfer-source 10.53.0.1;
|
H A D | named.conf2 | 31 query-source address 10.53.0.1; 32 notify-source 10.53.0.1; 33 transfer-source 10.53.0.1;
|
/bind-9.6-ESV-R11/bin/tests/system/logfileconfig/ns1/ |
H A D | named.dirconf | 20 query-source address 10.53.0.1; 21 notify-source 10.53.0.1; 22 transfer-source 10.53.0.1;
|
H A D | named.pipeconf | 20 query-source address 10.53.0.1; 21 notify-source 10.53.0.1; 22 transfer-source 10.53.0.1;
|
H A D | named.plain | 20 query-source address 10.53.0.1; 21 notify-source 10.53.0.1; 22 transfer-source 10.53.0.1;
|
H A D | named.symconf | 20 query-source address 10.53.0.1; 21 notify-source 10.53.0.1; 22 transfer-source 10.53.0.1;
|
/bind-9.6-ESV-R11/bin/tests/system/tkey/ns1/ |
H A D | named.conf.in | 23 query-source address 10.53.0.1; 24 notify-source 10.53.0.1; 25 transfer-source 10.53.0.1;
|
/bind-9.6-ESV-R11/bin/tests/system/xfer/ns4/ |
H A D | named.conf.base | 20 query-source address 10.53.0.4; 21 notify-source 10.53.0.4; 22 transfer-source 10.53.0.4;
|
/bind-9.6-ESV-R11/lib/isccc/ |
H A D | base64.c | 48 isccc_base64_encode(isccc_region_t *source, int wordlength, argument 55 sr.base = source->rstart; 56 sr.length = source->rend - source->rstart; 62 source->rstart = source->rend;
|
/bind-9.6-ESV-R11/bin/tests/ |
H A D | compress_test.c | 100 isc_buffer_t source; local 117 isc_buffer_init(&source, buf1, sizeof(buf1)); 120 RUNTIME_CHECK(dns_name_towire(name1, &cctx, &source) == ISC_R_SUCCESS); 123 RUNTIME_CHECK(dns_compress_localinit(&cctx, name1, &source) == 127 RUNTIME_CHECK(dns_name_towire(name2, &cctx, &source) == ISC_R_SUCCESS); 128 RUNTIME_CHECK(dns_name_towire(name2, &cctx, &source) == ISC_R_SUCCESS); 129 RUNTIME_CHECK(dns_name_towire(name3, &cctx, &source) == ISC_R_SUCCESS); 139 for (i = 0; i < source.used; /* */ ) { 141 ((unsigned char *)source.base)[i]); 145 if (i == source [all...] |
H A D | entropy2_test.c | 61 start(isc_entropysource_t *source, void *arg, isc_boolean_t blocking) { argument 64 UNUSED(source); 75 stop(isc_entropysource_t *source, void *arg) { argument 78 UNUSED(source); 87 get(isc_entropysource_t *source, void *arg, isc_boolean_t blocking) { argument 107 result = isc_entropy_addcallbacksample(source, sample, extra); 124 isc_entropysource_t *source; local 143 source = NULL; 145 &source); 167 isc_entropy_destroysource(&source); [all...] |
/bind-9.6-ESV-R11/lib/dns/ |
H A D | rcode.c | 179 str_totext(const char *source, isc_buffer_t *target) { argument 184 l = strlen(source); 189 memmove(region.base, source, l); 195 maybe_numeric(unsigned int *valuep, isc_textregion_t *source, argument 202 if (! isdigit(source->base[0] & 0xff) || 203 source->length > NUMBERSIZE - 1) 211 strncpy(buffer, source->base, NUMBERSIZE); 212 INSIST(buffer[source->length] == '\0'); 226 dns_mnemonic_fromtext(unsigned int *valuep, isc_textregion_t *source, argument 232 result = maybe_numeric(valuep, source, ma 265 dns_rcode_fromtext(dns_rcode_t *rcodep, isc_textregion_t *source) argument 278 dns_tsigrcode_fromtext(dns_rcode_t *rcodep, isc_textregion_t *source) argument 291 dns_cert_fromtext(dns_cert_t *certp, isc_textregion_t *source) argument 304 dns_secalg_fromtext(dns_secalg_t *secalgp, isc_textregion_t *source) argument 317 dns_secproto_fromtext(dns_secproto_t *secprotop, isc_textregion_t *source) argument 330 dns_hashalg_fromtext(unsigned char *hashalg, isc_textregion_t *source) argument 338 dns_keyflags_fromtext(dns_keyflags_t *flagsp, isc_textregion_t *source) argument 389 dns_rdataclass_fromtext(dns_rdataclass_t *classp, isc_textregion_t *source) argument [all...] |