Searched defs:buffer (Results 1 - 25 of 129) sorted by relevance

123456

/bind-9.11.3/lib/isc/
H A Dbufferlist.c17 #include <isc/buffer.h>
23 isc_buffer_t *buffer; local
29 buffer = ISC_LIST_HEAD(*bl);
30 while (buffer != NULL) {
31 REQUIRE(ISC_BUFFER_VALID(buffer));
32 length += isc_buffer_usedlength(buffer);
33 buffer = ISC_LIST_NEXT(buffer, link);
41 isc_buffer_t *buffer; local
47 buffer
[all...]
/bind-9.11.3/lib/isc/include/isc/
H A Dsha1.h50 unsigned char buffer[ISC_SHA1_BLOCK_LENGTH]; member in struct:__anon245
H A Dsha2.h100 * Keep buffer immediately after bitcount to preserve alignment.
105 isc_uint8_t buffer[ISC_SHA256_BLOCK_LENGTH]; member in struct:__anon247
109 * Keep buffer immediately after bitcount to preserve alignment.
114 isc_uint8_t buffer[ISC_SHA512_BLOCK_LENGTH]; member in struct:__anon248
/bind-9.11.3/lib/dns/include/dns/
H A Dfixedname.h23 * and a dedicated buffer big enough for the longest possible name.
49 #include <isc/buffer.h>
60 isc_buffer_t buffer; member in struct:dns_fixedname
67 isc_buffer_init(&((fn)->buffer), (fn)->data, \
69 dns_name_setbuffer(&((fn)->name), &((fn)->buffer)); \
H A Dtcpmsg.h16 #include <isc/buffer.h>
24 isc_buffer_t buffer; member in struct:dns_tcpmsg
108 dns_tcpmsg_keepbuffer(dns_tcpmsg_t *tcpmsg, isc_buffer_t *buffer);
110 * If a dns buffer is to be kept between calls, this function marks the
111 * internal state-machine buffer as invalid, and copies all the contents
112 * of the state into "buffer".
118 *\li "buffer" be non-NULL.
H A Ddispatch.h33 * buffer overruns.
44 #include <isc/buffer.h>
57 * other than parts of the buffer. The holy parts of the buffer are
58 * the base and size of the buffer. All other parts of the buffer may
65 * "buffer" holds state on the received data.
68 * any buffer space allocated from common pools.
77 isc_buffer_t buffer; /*%< data buffer */ member in struct:dns_dispatchevent
[all...]
/bind-9.11.3/lib/isccc/include/isccc/
H A Dccmsg.h30 #include <isc/buffer.h>
39 isc_buffer_t buffer; member in struct:isccc_ccmsg
/bind-9.11.3/contrib/idn/idnkit-1.0-src/lib/tests/
H A Dsetenv.c106 char *buffer; local
112 buffer = (char *) malloc(strlen(name) + strlen(value) + 2);
113 if (buffer == NULL)
115 strcpy(buffer, name);
116 strcat(buffer, "=");
117 strcat(buffer, value);
124 mye->pointer = buffer;
131 result = putenv(buffer);
/bind-9.11.3/lib/dns/
H A Dds.c17 #include <isc/buffer.h>
38 unsigned int digest_type, unsigned char *buffer,
64 memset(buffer, 0, DNS_DS_BUFFERSIZE);
65 isc_buffer_init(&b, buffer, DNS_DS_BUFFERSIZE);
37 dns_ds_buildrdata(dns_name_t *owner, dns_rdata_t *key, unsigned int digest_type, unsigned char *buffer, dns_rdata_t *rdata) argument
H A Dtcpmsg.c77 isc_buffer_init(&tcpmsg->buffer, region.base, region.length);
114 isc_buffer_add(&tcpmsg->buffer, ev->n);
132 tcpmsg->buffer.base = NULL;
133 tcpmsg->buffer.length = 0;
165 if (tcpmsg->buffer.base != NULL) {
166 isc_mem_put(tcpmsg->mctx, tcpmsg->buffer.base,
167 tcpmsg->buffer.length);
168 tcpmsg->buffer.base = NULL;
169 tcpmsg->buffer.length = 0;
200 dns_tcpmsg_keepbuffer(dns_tcpmsg_t *tcpmsg, isc_buffer_t *buffer) { argument
[all...]
/bind-9.11.3/bin/tests/
H A Dentropy_test.c53 unsigned char buffer[512]; local
88 result = isc_entropy_getdata(ent, buffer, 32, &returned, flags);
93 hex_dump("good data only:", buffer, returned);
98 isc_entropy_getdata(ent, buffer, 128, NULL, 0));
99 hex_dump("pseudorandom data", buffer, 128);
105 result = isc_entropy_getdata(ent, buffer, sizeof(buffer), &returned,
108 hex_dump("blocking mode data", buffer, sizeof(buffer));
H A Dentropy2_test.c114 unsigned char buffer[512]; local
148 result = isc_entropy_getdata(ent, buffer, 32, &returned, flags);
155 hex_dump("good data only:", buffer, returned);
H A Dhash_test.c56 unsigned char buffer[1024]; local
65 memmove(buffer, s, strlen(s));
66 isc_sha1_update(&sha1, buffer, strlen(s));
72 memmove(buffer, s, strlen(s));
73 isc_sha1_update(&sha1, buffer, strlen(s));
79 memmove(buffer, s, strlen(s));
80 isc_sha224_update(&sha224, buffer, strlen(s));
86 memmove(buffer, s, strlen(s));
87 isc_sha224_update(&sha224, buffer, strlen(s));
94 memmove(buffer,
[all...]
/bind-9.11.3/lib/dns/rdata/generic/
H A Dcname_5.c23 isc_buffer_t buffer; local
35 buffer_fromregion(&buffer, &token.value.as_region);
38 RETTOK(dns_name_fromtext(&name, &buffer, origin, options, target));
H A Ddname_39.c24 isc_buffer_t buffer; local
36 buffer_fromregion(&buffer, &token.value.as_region);
39 RETTOK(dns_name_fromtext(&name, &buffer, origin, options, target));
H A Dmb_7.c22 isc_buffer_t buffer; local
34 buffer_fromregion(&buffer, &token.value.as_region);
37 RETTOK(dns_name_fromtext(&name, &buffer, origin, options, target));
H A Dmd_3.c22 isc_buffer_t buffer; local
34 buffer_fromregion(&buffer, &token.value.as_region);
37 RETTOK(dns_name_fromtext(&name, &buffer, origin, options, target));
H A Dmf_4.c22 isc_buffer_t buffer; local
34 buffer_fromregion(&buffer, &token.value.as_region);
37 RETTOK(dns_name_fromtext(&name, &buffer, origin, options, target));
H A Dmg_8.c22 isc_buffer_t buffer; local
34 buffer_fromregion(&buffer, &token.value.as_region);
37 RETTOK(dns_name_fromtext(&name, &buffer, origin, options, target));
H A Dmr_9.c22 isc_buffer_t buffer; local
34 buffer_fromregion(&buffer, &token.value.as_region);
37 RETTOK(dns_name_fromtext(&name, &buffer, origin, options, target));
/bind-9.11.3/lib/dns/rdata/in_1/
H A Dnsap-ptr_23.c24 isc_buffer_t buffer; local
37 buffer_fromregion(&buffer, &token.value.as_region);
40 RETTOK(dns_name_fromtext(&name, &buffer, origin, options, target));
/bind-9.11.3/bin/tools/
H A Dnsec3hash.c17 #include <isc/buffer.h>
64 isc_buffer_t buffer; local
82 isc_buffer_init(&buffer, salt, sizeof(salt));
83 result = isc_hex_decodestring(argv[1], &buffer);
85 salt_length = isc_buffer_usedlength(&buffer);
98 isc_buffer_init(&buffer, argv[4], strlen(argv[4]));
99 isc_buffer_add(&buffer, strlen(argv[4]));
100 result = dns_name_fromtext(name, &buffer, dns_rootname, 0, NULL);
110 isc_buffer_init(&buffer, text, sizeof(text));
111 isc_base32hexnp_totext(&region, 1, "", &buffer);
[all...]
/bind-9.11.3/bin/tests/pkcs11/
H A Dpkcs11-md5sum.c75 char buffer[BLOCKSIZE + 72]; variable
167 n = fread(buffer + sum, 1, BLOCKSIZE - sum, stdin);
183 rv = pkcs_C_DigestUpdate(hSession, (CK_BYTE_PTR) buffer,
196 rv = pkcs_C_DigestUpdate(hSession, (CK_BYTE_PTR) buffer,
/bind-9.11.3/lib/dns/rdata/any_255/
H A Dtsig_250.c24 isc_buffer_t buffer; local
42 buffer_fromregion(&buffer, &token.value.as_region);
45 RETTOK(dns_name_fromtext(&name, &buffer, origin, options, target));
/bind-9.11.3/lib/dns/rdata/ch_3/
H A Da_1.c25 isc_buffer_t buffer; local
38 buffer_fromregion(&buffer, &token.value.as_region);
41 RETTOK(dns_name_fromtext(&name, &buffer, origin, options, target));

Completed in 43 milliseconds

123456