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

12

/bind-9.6-ESV-R11/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.6-ESV-R11/lib/dns/
H A Dsoa.c46 soa_get(dns_rdata_t *rdata, int offset) { argument
59 INSIST(offset >= 0 && offset <= 16);
60 return (decode_uint32(rdata->data + rdata->length - 20 + offset));
85 soa_set(dns_rdata_t *rdata, isc_uint32_t val, int offset) { argument
88 INSIST(offset >= 0 && offset <= 16);
89 encode_uint32(val, rdata->data + rdata->length - 20 + offset);
H A Dcompress.c130 * If match is found return ISC_TRUE. prefix, suffix and offset are updated.
135 dns_name_t *prefix, isc_uint16_t *offset)
143 REQUIRE(offset != NULL);
184 *offset = node->offset;
197 const dns_name_t *prefix, isc_uint16_t offset)
221 if (offset >= 0x4000)
227 toffset = (isc_uint16_t)(offset + (length - tlength));
240 node->offset = toffset;
252 dns_compress_rollback(dns_compress_t *cctx, isc_uint16_t offset) { argument
134 dns_compress_findglobal(dns_compress_t *cctx, const dns_name_t *name, dns_name_t *prefix, isc_uint16_t *offset) argument
196 dns_compress_add(dns_compress_t *cctx, const dns_name_t *name, const dns_name_t *prefix, isc_uint16_t offset) argument
[all...]
H A Djournal.c56 * serial number. Unused index entries have an "offset"
186 * XXXRTH Should offset be 8 bytes?
192 unsigned char offset[4]; /*%< Offset from beginning of file. */ member in struct:__anon111
244 isc_offset_t offset; member in struct:__anon116
247 #define POS_VALID(pos) ((pos).offset != 0)
248 #define POS_INVALIDATE(pos) ((pos).offset = 0, (pos).serial = 0)
289 #define JOURNAL_EMPTY(h) ((h)->begin.offset == (h)->end.offset)
304 isc_offset_t offset; /*%< Current file offset */ member in struct:dns_journal
372 journal_seek(dns_journal_t *j, isc_uint32_t offset) argument
949 isc_uint32_t offset; local
[all...]
H A Dname.c1710 unsigned int offset, count, length, nlabels; local
1716 offset = 0;
1719 while (offset != length) {
1721 offsets[nlabels++] = offset;
1723 offset++;
1725 offset += count;
1727 INSIST(offset <= length);
1737 set_name->length = offset;
1744 INSIST(offset == name->length);
1931 isc_uint16_t offset; local
[all...]
/bind-9.6-ESV-R11/lib/dns/rdata/generic/
H A Dhip_55.h35 isc_uint16_t offset; member in struct:dns_rdata_hip
H A Dopt_41.h38 isc_uint16_t offset; member in struct:dns_rdata_opt
H A Dspf_99.h34 isc_uint16_t offset; member in struct:dns_rdata_spf
H A Dtxt_16.h35 isc_uint16_t offset; member in struct:dns_rdata_txt
H A Dhip_55.c333 hip->offset = hip->servers_len;
414 hip->offset = 0;
423 if (hip->offset >= hip->servers_len)
426 region.base = hip->servers + hip->offset;
427 region.length = hip->servers_len - hip->offset;
430 hip->offset += name.length;
431 INSIST(hip->offset <= hip->servers_len);
439 REQUIRE(hip->offset < hip->servers_len);
441 region.base = hip->servers + hip->offset;
442 region.length = hip->servers_len - hip->offset;
[all...]
/bind-9.6-ESV-R11/bin/tests/system/
H A Dans.pl210 my $offset;
220 ($header, $offset) = Net::DNS::Header->decode(\$data);
222 ($header, $offset) = Net::DNS::Header->parse(\$data);
227 ($q, $offset) =
228 Net::DNS::Question->decode(\$data, $offset);
230 ($q, $offset) =
231 Net::DNS::Question->parse(\$data, $offset);
236 ($q, $offset) = Net::DNS::RR->decode(\$data, $offset);
238 ($q, $offset)
[all...]
/bind-9.6-ESV-R11/lib/dns/rdata/in_1/
H A Dapl_42.c287 apl->offset = 0;
326 length = apl->apl[apl->offset + 3] & 0x7f;
329 apl->offset = 0;
345 if (apl->apl == NULL || apl->offset == apl->apl_len)
351 INSIST(apl->offset < apl->apl_len);
353 INSIST(apl->offset <= apl->apl_len - 4U);
354 length = apl->apl[apl->offset + 3] & 0x7f;
359 INSIST(length + apl->offset <= apl->apl_len);
361 apl->offset += apl->apl[apl->offset
[all...]
H A Dapl_42.h39 isc_uint16_t offset; member in struct:dns_rdata_in_apl
/bind-9.6-ESV-R11/lib/dns/include/dns/
H A Dcompress.h46 isc_uint16_t offset; member in struct:dns_compressnode
161 dns_name_t *prefix, isc_uint16_t *offset);
169 *\li 'offset' to point to an isc_uint16_t.
172 *\li 'prefix' and 'offset' are valid if ISC_TRUE is returned.
180 const dns_name_t *prefix, isc_uint16_t offset);
196 dns_compress_rollback(dns_compress_t *cctx, isc_uint16_t offset);
199 * Remove any compression pointers from global table >= offset.
/bind-9.6-ESV-R11/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];
H A Ducs4.c300 int offset; local
342 offset = 6 * (width - 1);
343 *utf8p++ = (v >> offset) | mask;
345 while (offset > 0) {
346 offset -= 6;
347 *utf8p++ = ((v >> offset) & 0x3f) | mask;
/bind-9.6-ESV-R11/bin/tests/system/upforwd/ans4/
H A Dans.pl195 my ($header, $offset) = Net::DNS::Header->parse(\$data);
197 ($q, $offset) = Net::DNS::Question->parse(\$data, $offset);
200 ($rr, $offset) = Net::DNS::RR->parse(\$data, $offset);
203 ($rr, $offset) = Net::DNS::RR->parse(\$data, $offset);
206 ($rr, $offset) = Net::DNS::RR->parse(\$data, $offset);
208 return $offset;
[all...]
/bind-9.6-ESV-R11/lib/isc/include/isc/
H A Dstdio.h51 isc_stdio_seek(FILE *f, long offset, int whence);
H A Dtypes.h28 #include <isc/offset.h>
/bind-9.6-ESV-R11/lib/isc/unix/
H A Dstdio.c53 isc_stdio_seek(FILE *f, long offset, int whence) { argument
56 r = fseek(f, offset, whence);
/bind-9.6-ESV-R11/lib/isc/win32/
H A Dstdio.c52 isc_stdio_seek(FILE *f, long offset, int whence) { argument
56 r = fseek(f, offset, whence);
/bind-9.6-ESV-R11/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);
H A Dgenerate_nameprep_data.pl254 my $offset;
256 $offset = $hashref->{$ucs4};
258 $offset = length $$bufref;
260 $hashref->{$ucs4} = $offset;
264 $map->add($fcode[0], $offset);
H A DSparseMap.pm153 my $offset;
158 $offset = @indirect + @{$maps[$lv]} * @{$maps[$lv]->[0]};
162 $offset = 0;
175 push @indirect, $offset + $chunksz * $idx;
/bind-9.6-ESV-R11/bin/dnssec/
H A Ddnssectool.c270 isc_int64_t val, offset; local
275 offset = strtol(str + 1, &endp, 0);
278 val = base + offset;
280 offset = strtol(str + 4, &endp, 0);
283 val = now + offset;

Completed in 75 milliseconds

12