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

123

/bind-9.11.3/lib/lwres/
H A Dlwbuffer.c19 * subregions. The used region and the available region are disjoint, and
20 * their union is the buffer's region. The used region extends from the
21 * beginning of the buffer region to the last used byte. The available
22 * region extends from one byte greater than the last used byte to the
23 * end of the buffer's region. The size of the used region can be changed
24 * using various buffer commands. Initially, the used region is empty.
26 * The used region is further subdivided into two disjoint regions: the
28 * regions is the used region. The consumed region extends from the
29 * beginning of the used region to the byte before the current offset (if
30 * any). The remaining region the current pointer to the end of the used
[all...]
H A Dlwresutil.c61 * ctx is used for memory allocation. The address type is indicated by
82 * #LWRES_R_UNEXPECTEDEND if the buffers used for sending queries and
291 b_in.used = recvlen;
401 b_in.used = recvlen;
516 b_in.used = recvlen;
/bind-9.11.3/lib/isc/
H A Dquota.c23 quota->used = 0;
30 INSIST(quota->used == 0);
32 quota->used = 0;
55 if (quota->max == 0 || quota->used < quota->max) {
56 if (quota->soft == 0 || quota->used < quota->soft)
60 quota->used++;
70 INSIST(quota->used > 0);
71 quota->used--;
H A Dcounter.c29 unsigned int used; member in struct:isc_counter
54 counter->used = 0;
66 counter->used++;
67 if (counter->limit != 0 && counter->used >= counter->limit)
78 return (counter->used);
H A Dbuffer.c97 * Make 'r' refer to the used region of 'b'.
121 * Increase the 'used' region of 'b' by 'n' bytes.
125 REQUIRE(b->used + n <= b->length);
133 * Decrease the 'used' region of 'b' by 'n' bytes.
137 REQUIRE(b->used >= n);
145 * Make the used region empty.
196 REQUIRE(b->current + n <= b->used);
219 REQUIRE(b->current + n <= b->used);
242 * Compact the used region by moving the remaining region so it occurs
243 * at the start of the buffer. The used regio
[all...]
/bind-9.11.3/lib/lwres/include/lwres/
H A Dlwbuffer.h15 * Buffers are used for parsing and I/O operations.
17 * The 'used region' and the 'available' region are disjoint, and their
18 * union is the buffer's region. The used region extends from the beginning
19 * of the buffer region to the last used byte. The available region
20 * extends from one byte greater than the last used byte to the end of the
21 * buffer's region. The size of the used region can be changed using various
22 * buffer commands. Initially, the used region is empty.
24 * The used region is further subdivided into two disjoint regions: the
26 * regions is the used region. The consumed region extends from the beginning
27 * of the used regio
144 unsigned int used; member in struct:lwres_buffer
[all...]
/bind-9.11.3/lib/isc/include/isc/
H A Dbuffer.h19 * Buffers are used for parsing and I/O operations.
21 * The 'used region' and the 'available' region are disjoint, and their
22 * union is the buffer's region. The used region extends from the beginning
23 * of the buffer region to the last used byte. The available region
24 * extends from one byte greater than the last used byte to the end of the
25 * buffer's region. The size of the used region can be changed using various
26 * buffer commands. Initially, the used region is empty.
28 * The used region is further subdivided into two disjoint regions: the
30 * regions is the used region. The consumed region extends from the beginning
31 * of the used regio
174 unsigned int used; member in struct:isc_buffer
[all...]
H A Dquota.h45 int used; member in struct:isc_quota
/bind-9.11.3/bin/named/
H A Dlwdgnba.c95 (int)(client->recv_buffer.used - b.used),
96 (char *)(b.base) + b.used);
98 gnba->realname = (char *)(b.base) + b.used;
99 gnba->realnamelen = client->recv_buffer.used - b.used;
104 gnba->aliases[naliases] = (char *)(b.base) + b.used;
106 client->recv_buffer.used - b.used;
128 r.length = lwb.used;
[all...]
H A Dlwdgrbn.c67 int used = 0, count; local
102 if (used + count > size) {
118 memmove(rdatas, oldrdatas, used * sizeof(*rdatas));
119 memmove(lens, oldlens, used * sizeof(*lens));
130 result = fill_array(&used, &set, size, rdatas, lens);
144 if (size != used) {
146 newrdatas = isc_mem_get(mctx, used * sizeof(*rdatas));
149 newlens = isc_mem_get(mctx, used * sizeof(*lens));
152 memmove(newrdatas, rdatas, used * sizeof(*rdatas));
153 memmove(newlens, lens, used * sizeo
[all...]
H A Dlwderror.c62 r.length = b.used;
H A Dlwdnoop.c54 r.length = lwb.used;
H A Dlwdgabn.c44 * Destroy any finds. This can be used to "start over from scratch" and
234 r.length = lwb.used;
296 client->gabn.realname = (char *)(b.base) + b.used;
297 client->gabn.realnamelen = client->recv_buffer.used - b.used;
325 client->gabn.realname = (char *) b.base + b.used;
326 client->gabn.realnamelen = client->recv_buffer.used - b.used;
/bind-9.11.3/bin/tests/
H A Dnamed.conf14 * It could also be used as a conceptual template for users of new features.
71 // it and it was used by large sites
93 // "forward only;" which is what used to be specified with
95 // a full lookup; only the forwarders will be used.
205 // 'keys' must be used and the list must have at least one entry
214 type master; // what used to be called "primary"
232 type slave; // what used to be called "secondary"
246 max-transfer-time-in 120; // if not set, global option is used.
247 max-transfer-time-out 1; // if not set, global option is used.
248 max-transfer-idle-in 2; // if not set, global option is used
[all...]
H A Dmaster_test.c41 fprintf(stdout, "%.*s\n", (int)target.used,
H A Dlwres_test.c82 hexdump("rendered noop request", b.base, b.used);
118 hexdump("rendered noop response", b.base, b.used);
/bind-9.11.3/bin/tests/system/inline/ns7/
H A Dnamed.conf12 * NOTE: This named instance is used to reproduce a scenario which involves a
/bind-9.11.3/lib/isccc/
H A Dcc.c129 unsigned int used; local
139 used = (*buffer)->used;
149 len = (*buffer)->used - used;
158 isc_buffer_init(&b, (unsigned char *) (*buffer)->base + used, 4);
161 unsigned int used; local
171 used = (*buffer)->used;
181 len = (*buffer)->used
[all...]
/bind-9.11.3/lib/dns/
H A Drdataset.c513 INSIST((target->used >= rdlen.used + 2) &&
514 (target->used - rdlen.used - 2 < 65536));
516 (isc_uint16_t)(target->used -
517 rdlen.used - 2));
542 INSIST(rrbuffer.used < 65536);
543 dns_compress_rollback(cctx, (isc_uint16_t)rrbuffer.used);
548 INSIST(savedbuffer.used < 65536);
549 dns_compress_rollback(cctx, (isc_uint16_t)savedbuffer.used);
[all...]
H A Dncache.c364 INSIST((target->used >= rdlen.used + 2) &&
365 (target->used - rdlen.used - 2 < 65536));
367 (isc_uint16_t)(target->used -
368 rdlen.used - 2));
384 INSIST(savedbuffer.used < 65536);
385 dns_compress_rollback(cctx, (isc_uint16_t)savedbuffer.used);
H A Dmasterdump.c535 unsigned int name_start = target->used;
537 column += target->used - name_start;
554 length = target->used;
560 column += target->used - length;
592 class_start = target->used;
601 column += (target->used - class_start);
615 type_start = target->used;
637 column += (target->used - type_start);
708 * such as those used to represent the question section
730 unsigned int name_start = target->used;
[all...]
H A Dname.c1316 name->ndata = (unsigned char *)target->base + target->used;
1402 unsigned int oused = target->used;
1708 ndata = (unsigned char *)target->base + target->used;
1716 if (nlen > (target->length - target->used)) {
1802 unsigned int cused; /* Bytes of compressed name data used */
1944 name->ndata = (unsigned char *)target->base + target->used;
2005 offset = target->used; /*XXX*/
2029 if (target->length - target->used < gp.length)
2033 (void)memmove(base + target->used, gp.ndata,
2038 if (target->length - target->used <
[all...]
/bind-9.11.3/bin/tools/
H A Dnamed-rrchecker.c40 fprintf(stderr, "\t-o origin: set origin to be used when "
285 printf("%.*s\n", (int)tbuf.used, (char*)tbuf.base);
311 printf("%.*s\n", (int)tbuf.used, (char*)tbuf.base);
/bind-9.11.3/contrib/dlz/example/
H A Dnamed.conf31 * answered with the source address of the query. This is used to
56 * not check the key that's used: as long as the update is signed by a key
/bind-9.11.3/lib/dns/tests/
H A Dname_test.c144 isc_buffer_setactive(&source, source.used);
157 ATF_CHECK_EQ(target.used, length);
158 ATF_CHECK(memcmp(target.base, expected, target.used) == 0);

Completed in 48 milliseconds

123