Searched refs:offset (Results 1 - 25 of 50) sorted by relevance

12

/bind-9.11.3/contrib/idn/idnkit-1.0-src/lib/tests/
H A Dutffilter71 my ($result, $offset);
72 $offset = 6 * ($length - 1);
73 $result .= sprintf('\\x%02x', ($utf32 >> $offset) | $mask);
74 while ($offset > 0) {
75 $offset -= 6;
76 $result .= sprintf('\\x%02x', (($utf32 >> $offset) & 0x3f) | 0x80);
/bind-9.11.3/lib/dns/rdata/generic/
H A Davc_258.h20 isc_uint16_t offset; member in struct:dns_rdata_avc
H A Dspf_99.h25 isc_uint16_t offset; member in struct:dns_rdata_spf
H A Dhip_55.h27 isc_uint16_t offset; member in struct:dns_rdata_hip
H A Dopt_41.h29 isc_uint16_t offset; member in struct:dns_rdata_opt
H A Dtxt_16.h26 isc_uint16_t offset; member in struct:dns_rdata_txt
H A Dtxt_16.c177 txt->offset = 0;
289 txt->offset = 0;
301 INSIST(txt->offset + 1 <= txt->txt_len);
302 r.base = txt->txt + txt->offset;
303 r.length = txt->txt_len - txt->offset;
305 INSIST(txt->offset + 1 + length <= txt->txt_len);
306 txt->offset = txt->offset + 1 + length;
307 if (txt->offset == txt->txt_len)
319 REQUIRE(txt->offset < tx
[all...]
H A Dopt_41.c277 opt->offset = 0;
363 opt->offset = 0;
375 REQUIRE(opt->offset < opt->length);
377 INSIST(opt->offset + 4 <= opt->length);
378 r.base = opt->options + opt->offset + 2;
379 r.length = opt->length - opt->offset - 2;
381 INSIST(opt->offset + 4 + length <= opt->length);
382 opt->offset = opt->offset + 4 + length;
383 if (opt->offset
[all...]
/bind-9.11.3/contrib/dnsperf-2.1.0.0-1/
H A Dnet.h51 unsigned int offset, int bufsize);
H A Dnet.c123 unsigned int offset, int bufsize)
155 if (port != 0 && offset != 0) {
156 port += offset;
122 perf_net_opensocket(const isc_sockaddr_t *server, const isc_sockaddr_t *local, unsigned int offset, int bufsize) argument
/bind-9.11.3/bin/tests/system/
H A Dans.pl223 my $offset;
233 ($header, $offset) = Net::DNS::Header->decode(\$data);
235 ($header, $offset) = Net::DNS::Header->parse(\$data);
240 ($q, $offset) =
241 Net::DNS::Question->decode(\$data, $offset);
243 ($q, $offset) =
244 Net::DNS::Question->parse(\$data, $offset);
249 ($q, $offset) = Net::DNS::RR->decode(\$data, $offset);
251 ($q, $offset)
[all...]
/bind-9.11.3/lib/dns/
H A Dsoa.c40 soa_get(dns_rdata_t *rdata, int offset) { argument
53 INSIST(offset >= 0 && offset <= 16);
54 return (decode_uint32(rdata->data + rdata->length - 20 + offset));
112 soa_set(dns_rdata_t *rdata, isc_uint32_t val, int offset) { argument
115 INSIST(offset >= 0 && offset <= 16);
116 encode_uint32(val, rdata->data + rdata->length - 20 + offset);
H A Dcompress.c70 if ((node->offset & 0x8000) != 0)
137 * If match is found return ISC_TRUE. prefix, suffix and offset are updated.
142 dns_name_t *prefix, isc_uint16_t *offset)
150 REQUIRE(offset != NULL);
196 *offset = (node->offset & 0x7fff);
209 const dns_name_t *prefix, isc_uint16_t offset)
231 if (offset >= 0x4000)
260 toffset = (isc_uint16_t)(offset + (length - tlength));
281 node->offset
141 dns_compress_findglobal(dns_compress_t *cctx, const dns_name_t *name, dns_name_t *prefix, isc_uint16_t *offset) argument
208 dns_compress_add(dns_compress_t *cctx, const dns_name_t *name, const dns_name_t *prefix, isc_uint16_t offset) argument
296 dns_compress_rollback(dns_compress_t *cctx, isc_uint16_t offset) argument
[all...]
H A Djournal.c48 * serial number. Unused index entries have an "offset"
184 * XXXRTH Should offset be 8 bytes?
190 unsigned char offset[4]; /*%< Offset from beginning of file. */ member in struct:__anon154
245 isc_offset_t offset; member in struct:__anon159
248 #define POS_VALID(pos) ((pos).offset != 0)
249 #define POS_INVALIDATE(pos) ((pos).offset = 0, (pos).serial = 0)
292 #define JOURNAL_EMPTY(h) ((h)->begin.offset == (h)->end.offset)
308 isc_offset_t offset; /*%< Current file offset */ member in struct:dns_journal
384 journal_seek(dns_journal_t *j, isc_uint32_t offset) argument
969 isc_uint32_t offset; local
1170 isc_offset_t offset; local
[all...]
/bind-9.11.3/lib/dns/rdata/in_1/
H A Dapl_42.h30 isc_uint16_t offset; member in struct:dns_rdata_in_apl
H A Dapl_42.c278 apl->offset = 0;
317 length = apl->apl[apl->offset + 3] & 0x7f;
320 apl->offset = 0;
336 if (apl->apl == NULL || apl->offset == apl->apl_len)
342 INSIST(apl->offset < apl->apl_len);
344 INSIST(apl->offset <= apl->apl_len - 4U);
345 length = apl->apl[apl->offset + 3] & 0x7f;
350 INSIST(4 + length + apl->offset <= apl->apl_len);
352 apl->offset += 4 + length;
353 return ((apl->offset < ap
[all...]
/bind-9.11.3/lib/dns/include/dns/
H A Dcompress.h49 isc_uint16_t offset; member in struct:dns_compressnode
177 dns_name_t *prefix, isc_uint16_t *offset);
185 *\li 'offset' to point to an isc_uint16_t.
188 *\li 'prefix' and 'offset' are valid if ISC_TRUE is returned.
196 const dns_name_t *prefix, isc_uint16_t offset);
212 dns_compress_rollback(dns_compress_t *cctx, isc_uint16_t offset);
215 * Remove any compression pointers from global table >= offset.
/bind-9.11.3/bin/tests/
H A Dbacktrace_test.c34 unsigned long offset; local
48 result = isc_backtrace_getsymbol(tracebuf[i], &fname, &offset);
64 &offset);
/bind-9.11.3/contrib/idn/idnkit-1.0-src/lib/
H A Dnameprep_template.c78 int offset; local
83 offset = TABLE[IMAP[IMAP[idx0] + idx1]].tbl[idx2];
84 if (offset == 0)
86 return (const char *)(DATA + offset);
127 int offset; local
132 offset = TABLE[IMAP[IMAP[idx0] + idx1]].tbl[idx2];
133 return DATA[offset];
/bind-9.11.3/bin/tests/system/upforwd/ans4/
H A Dans.pl187 my ($header, $offset) = Net::DNS::Header->parse(\$data);
189 ($q, $offset) = Net::DNS::Question->parse(\$data, $offset);
192 ($rr, $offset) = Net::DNS::RR->parse(\$data, $offset);
195 ($rr, $offset) = Net::DNS::RR->parse(\$data, $offset);
198 ($rr, $offset) = Net::DNS::RR->parse(\$data, $offset);
200 return $offset;
[all...]
/bind-9.11.3/lib/isc/
H A Dassertions.c116 unsigned long offset; local
120 &offset);
123 tracebuf[i], fname, offset);
/bind-9.11.3/lib/isc/unix/
H A Dstdio.c45 isc_stdio_seek(FILE *f, off_t offset, int whence) { argument
49 r = fseeko(f, offset, whence);
51 r = fseek(f, offset, whence);
/bind-9.11.3/lib/isc/win32/
H A Dstdio.c47 isc_stdio_seek(FILE *f, off_t offset, int whence) { argument
51 r = fseek(f, offset, whence);
53 r = _fseeki64(f, offset, whence);
/bind-9.11.3/lib/isc/include/isc/
H A Dstdio.h42 isc_stdio_seek(FILE *f, off_t offset, int whence);
/bind-9.11.3/contrib/idn/idnkit-1.0-src/util/
H A Dgenerate_normalize_data.pl253 my $offset = @toupper_data;
256 $upper->add($code, $offset);
268 my $offset = @tolower_data;
271 $lower->add($code, $offset);
284 my $offset = @decomp_data;
295 $offset |= $DECOMP_COMPAT_BIT;
297 $decomp->add($code, $offset);

Completed in 30 milliseconds

12