Searched refs:used (Results 1 - 25 of 69) sorted by relevance

123

/bind-9.6-ESV-R11/lib/lwres/
H A Dlwbuffer.c28 * subregions. The used region and the available region are disjoint, and
29 * their union is the buffer's region. The used region extends from the
30 * beginning of the buffer region to the last used byte. The available
31 * region extends from one byte greater than the last used byte to the
32 * end of the buffer's region. The size of the used region can be changed
33 * using various buffer commands. Initially, the used region is empty.
35 * The used region is further subdivided into two disjoint regions: the
37 * regions is the used region. The consumed region extends from the
38 * beginning of the used region to the byte before the current offset (if
39 * any). The remaining region the current pointer to the end of the used
[all...]
H A Dlwresutil.c70 * ctx is used for memory allocation. The address type is indicated by
91 * #LWRES_R_UNEXPECTEDEND if the buffers used for sending queries and
300 b_in.used = recvlen;
410 b_in.used = recvlen;
525 b_in.used = recvlen;
/bind-9.6-ESV-R11/lib/isc/
H A Dquota.c32 quota->used = 0;
39 INSIST(quota->used == 0);
41 quota->used = 0;
64 if (quota->max == 0 || quota->used < quota->max) {
65 if (quota->soft == 0 || quota->used < quota->soft)
69 quota->used++;
79 INSIST(quota->used > 0);
80 quota->used--;
H A Dbuffer.c99 * Make 'r' refer to the used region of 'b'.
123 * Increase the 'used' region of 'b' by 'n' bytes.
127 REQUIRE(b->used + n <= b->length);
135 * Decrease the 'used' region of 'b' by 'n' bytes.
139 REQUIRE(b->used >= n);
147 * Make the used region empty.
198 REQUIRE(b->current + n <= b->used);
221 REQUIRE(b->current + n <= b->used);
244 * Compact the used region by moving the remaining region so it occurs
245 * at the start of the buffer. The used regio
[all...]
H A Dlex.c334 isc_region_t used; local
341 isc_buffer_usedregion(source->pushback, &used);
342 result = isc_buffer_copyregion(tbuf, &used);
444 if (buffer->current == buffer->used) {
/bind-9.6-ESV-R11/lib/isc/include/isc/
H A Dbuffer.h30 * Buffers are used for parsing and I/O operations.
32 * The 'used region' and the 'available' region are disjoint, and their
33 * union is the buffer's region. The used region extends from the beginning
34 * of the buffer region to the last used byte. The available region
35 * extends from one byte greater than the last used byte to the end of the
36 * buffer's region. The size of the used region can be changed using various
37 * buffer commands. Initially, the used region is empty.
39 * The used region is further subdivided into two disjoint regions: the
41 * regions is the used region. The consumed region extends from the beginning
42 * of the used regio
174 unsigned int used; member in struct:isc_buffer
[all...]
H A Dquota.h54 int used; member in struct:isc_quota
/bind-9.6-ESV-R11/lib/lwres/include/lwres/
H A Dlwbuffer.h24 * Buffers are used for parsing and I/O operations.
26 * The 'used region' and the 'available' region are disjoint, and their
27 * union is the buffer's region. The used region extends from the beginning
28 * of the buffer region to the last used byte. The available region
29 * extends from one byte greater than the last used byte to the end of the
30 * buffer's region. The size of the used region can be changed using various
31 * buffer commands. Initially, the used region is empty.
33 * The used region is further subdivided into two disjoint regions: the
35 * regions is the used region. The consumed region extends from the beginning
36 * of the used regio
153 unsigned int used; member in struct:lwres_buffer
[all...]
/bind-9.6-ESV-R11/bin/tests/
H A Dcompress_test.c139 for (i = 0; i < source.used; /* */ ) {
145 if (i == source.used)
152 isc_buffer_setactive(&source, source.used);
176 for (i = 0; i < target.used; /* */ ) {
182 if (i == target.used)
191 RUNTIME_CHECK(target.used == length);
192 RUNTIME_CHECK(memcmp(target.base, result, target.used) == 0);
H A Dnamed.conf23 * It could also be used as a conceptual template for users of new features.
80 // it and it was used by large sites
102 // "forward only;" which is what used to be specified with
104 // a full lookup; only the forwarders will be used.
213 // 'keys' must be used and the list must have at least one entry
222 type master; // what used to be called "primary"
240 type slave; // what used to be called "secondary"
254 max-transfer-time-in 120; // if not set, global option is used.
255 max-transfer-time-out 1; // if not set, global option is used.
256 max-transfer-idle-in 2; // if not set, global option is used
[all...]
H A Dmaster_test.c49 fprintf(stdout, "%.*s\n", (int)target.used,
H A Dlwres_test.c90 hexdump("rendered noop request", b.base, b.used);
126 hexdump("rendered noop response", b.base, b.used);
H A Dname_test.c268 printf("%u bytes.\n", source.used);
/bind-9.6-ESV-R11/bin/named/
H A Dlwdgnba.c104 (int)(client->recv_buffer.used - b.used),
105 (char *)(b.base) + b.used);
107 gnba->realname = (char *)(b.base) + b.used;
108 gnba->realnamelen = client->recv_buffer.used - b.used;
113 gnba->aliases[naliases] = (char *)(b.base) + b.used;
115 client->recv_buffer.used - b.used;
137 r.length = lwb.used;
[all...]
H A Dlwdgrbn.c76 int used = 0, count; local
111 if (used + count > size) {
127 memmove(rdatas, oldrdatas, used * sizeof(*rdatas));
128 memmove(lens, oldlens, used * sizeof(*lens));
139 result = fill_array(&used, &set, size, rdatas, lens);
153 if (size != used) {
155 newrdatas = isc_mem_get(mctx, used * sizeof(*rdatas));
158 newlens = isc_mem_get(mctx, used * sizeof(*lens));
161 memmove(newrdatas, rdatas, used * sizeof(*rdatas));
162 memmove(newlens, lens, used * sizeo
[all...]
H A Dlwderror.c71 r.length = b.used;
H A Dlwdnoop.c63 r.length = lwb.used;
H A Dlwdgabn.c53 * Destroy any finds. This can be used to "start over from scratch" and
243 r.length = lwb.used;
305 client->gabn.realname = (char *)(b.base) + b.used;
306 client->gabn.realnamelen = client->recv_buffer.used - b.used;
334 client->gabn.realname = (char *) b.base + b.used;
335 client->gabn.realnamelen = client->recv_buffer.used - b.used;
H A Dxfrout.c343 INSIST(buf.used >= 1 &&
344 ((char *) buf.base)[buf.used - 1] == '\n');
345 buf.used--;
851 dns_tsigkey_t *tsigkey; /* Key used to create TSIG */
1436 isc_region_t used; local
1656 isc_buffer_usedregion(&xfr->txbuf, &used);
1658 (isc_uint16_t)used.length);
1660 region.length = 2 + used.length;
1663 used.length);
/bind-9.6-ESV-R11/
H A Dbind.keys13 # (NOTE: If this file is used via the "include" directive in named.conf,
15 # is used directly by named. Upgrades to BIND may overwrite the file and
17 # BIND, this file can only be used for a specific set of domain names, and
/bind-9.6-ESV-R11/lib/dns/
H A Drdataset.c510 INSIST((target->used >= rdlen.used + 2) &&
511 (target->used - rdlen.used - 2 < 65536));
513 (isc_uint16_t)(target->used -
514 rdlen.used - 2));
539 INSIST(rrbuffer.used < 65536);
540 dns_compress_rollback(cctx, (isc_uint16_t)rrbuffer.used);
545 INSIST(savedbuffer.used < 65536);
546 dns_compress_rollback(cctx, (isc_uint16_t)savedbuffer.used);
[all...]
H A Dncache.c426 INSIST((target->used >= rdlen.used + 2) &&
427 (target->used - rdlen.used - 2 < 65536));
429 (isc_uint16_t)(target->used -
430 rdlen.used - 2));
446 INSIST(savedbuffer.used < 65536);
447 dns_compress_rollback(cctx, (isc_uint16_t)savedbuffer.used);
H A Dmasterdump.c431 unsigned int name_start = target->used;
435 column += target->used - name_start;
480 class_start = target->used;
485 column += (target->used - class_start);
499 type_start = target->used;
505 column += (target->used - type_start);
567 * such as those used to represent the question section
589 unsigned int name_start = target->used;
593 column += target->used - name_start;
600 class_start = target->used;
[all...]
H A Dname.c1271 name->ndata = (unsigned char *)target->base + target->used;
1356 unsigned int oused = target->used;
1658 ndata = (unsigned char *)target->base + target->used;
1666 if (nlen > (target->length - target->used)) {
1753 unsigned int cused; /* Bytes of compressed name data used */
1901 name->ndata = (unsigned char *)target->base + target->used;
1962 offset = target->used; /*XXX*/
1986 if (target->length - target->used < gp.length)
1988 (void)memmove((unsigned char *)target->base + target->used,
1992 if (target->length - target->used <
[all...]
H A Ddiff.c608 INSIST(buf.used >= 1 &&
609 ((char *) buf.base)[buf.used-1] == '\n');
610 buf.used--;

Completed in 63 milliseconds

123