Searched refs:mask (Results 1 - 23 of 23) sorted by relevance

/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/lib/tests/
H A Dutffilter47 my ($mask, $length);
50 $mask = 0;
53 $mask = 0xc0;
56 $mask = 0xe0;
59 $mask = 0xf0;
62 $mask = 0xf8;
65 $mask = 0xfc;
73 $result .= sprintf('\\x%02x', ($utf32 >> $offset) | $mask);
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/lib/
H A Dutf8.c183 int mask; local
194 mask = 0;
197 mask = 0xc0;
200 mask = 0xe0;
203 mask = 0xf0;
206 mask = 0xf8;
209 mask = 0xfc;
219 *p++ = (v >> off) | mask;
220 mask = 0x80;
223 *p++ = ((v >> off) & 0x3f) | mask;
[all...]
H A Ducs4.c299 int mask; local
315 mask = 0;
318 mask = 0xc0;
321 mask = 0xe0;
324 mask = 0xf0;
327 mask = 0xf8;
330 mask = 0xfc;
343 *utf8p++ = (v >> offset) | mask;
344 mask = 0x80;
347 *utf8p++ = ((v >> offset) & 0x3f) | mask;
[all...]
/bind-9.6-ESV-R11/lib/dns/
H A Ddst_parse.c136 unsigned int mask; local
149 mask = ~0;
150 mask <<= sizeof(mask) * 8 - TAG_SHIFT;
151 mask >>= sizeof(mask) * 8 - TAG_SHIFT;
153 if (have[TAG_RSA_ENGINE & mask])
154 ok = have[TAG_RSA_MODULUS & mask] &&
155 have[TAG_RSA_PUBLICEXPONENT & mask] &&
156 have[TAG_RSA_LABEL & mask];
[all...]
H A Dnsec.c47 unsigned int shift, mask; local
50 mask = 1 << shift;
53 array[index / 8] |= mask;
55 array[index / 8] &= (~mask & 0xFF);
60 unsigned int byte, shift, mask; local
64 mask = 1 << shift;
66 return ((byte & mask) != 0);
H A Drcode.c141 unsigned int mask; member in struct:keyflag
342 unsigned int value, mask; local
354 value = mask = 0;
372 if ((mask & p->mask) != 0)
375 mask |= p->mask;
H A Dnsec3.c55 unsigned int shift, mask; local
58 mask = 1 << shift;
61 array[index / 8] |= mask;
63 array[index / 8] &= (~mask & 0xFF);
68 unsigned int byte, shift, mask; local
72 mask = 1 << shift;
74 return ((byte & mask) != 0);
H A Ddispatch.c2258 unsigned int attributes, unsigned int mask,
2268 mask |= (DNS_DISPATCHATTR_PRIVATE|DNS_DISPATCHATTR_EXCLUSIVE);
2274 && ATTRMATCH(disp->attributes, attributes, mask)
2597 unsigned int attributes, unsigned int mask,
2629 result = dispatch_find(mgr, localaddr, attributes, mask, &disp);
3391 unsigned int attributes, unsigned int mask)
3406 if ((mask & DNS_DISPATCHATTR_NOLISTEN) != 0) {
3421 disp->attributes &= ~mask;
3422 disp->attributes |= (attributes & mask);
2257 dispatch_find(dns_dispatchmgr_t *mgr, isc_sockaddr_t *local, unsigned int attributes, unsigned int mask, dns_dispatch_t **dispp) argument
2592 dns_dispatch_getudp(dns_dispatchmgr_t *mgr, isc_socketmgr_t *sockmgr, isc_taskmgr_t *taskmgr, isc_sockaddr_t *localaddr, unsigned int buffersize, unsigned int maxbuffers, unsigned int maxrequests, unsigned int buckets, unsigned int increment, unsigned int attributes, unsigned int mask, dns_dispatch_t **dispp) argument
3390 dns_dispatch_changeattributes(dns_dispatch_t *disp, unsigned int attributes, unsigned int mask) argument
H A Dresolver.c2373 isc_uint32_t mask = 0xffffffff; local
2375 mask = (1 << bits) - 1;
2378 ret |= fctx->rand_buf & mask;
6783 unsigned int flags, mask; local
6791 mask = DNS_FETCHOPT_EDNSVERSIONMASK |
6796 flags, mask);
8432 unsigned int len, mask; local
8453 mask = 1 << (alg%8);
8468 new[len-1] |= mask;
8475 algorithms[len-1] |= mask;
8489 unsigned int len, mask; local
[all...]
H A Dadb.c3446 unsigned int bits, unsigned int mask)
3457 addr->entry->flags = (addr->entry->flags & ~mask) | (bits & mask);
3467 addr->flags = (addr->flags & ~mask) | (bits & mask);
3445 dns_adb_changeflags(dns_adb_t *adb, dns_adbaddrinfo_t *addr, unsigned int bits, unsigned int mask) argument
H A Dzone.c4283 unsigned int shift, mask; local
4286 mask = 1 << shift;
4288 array[index / 8] |= mask;
/bind-9.6-ESV-R11/contrib/query-loc-0.4.0/
H A Dloc.c147 getlocbyaddr (addr, mask)
149 const struct in_addr *mask;
157 if (mask == NULL)
163 themask = *mask;
172 if (mask == NULL)
200 return getlocbynet (in_addr_arpa (inet_ntoa (netaddr)), addr, mask);
210 getlocbynet (name, addr, mask)
213 struct in_addr *mask;
223 printf ("Testing network %s with mask %s\n", name, inet_ntoa(*mask));
[all...]
/bind-9.6-ESV-R11/lib/dns/rdata/in_1/
H A Da6_38.c35 unsigned char mask; local
74 mask = 0xff >> (prefixlen % 8);
75 addr[octets] &= mask;
104 unsigned char mask; local
126 mask = 0xff >> (prefixlen % 8);
127 addr[octets] &= mask;
150 unsigned char mask; local
181 mask = 0xff >> (prefixlen % 8);
182 sr.base[0] &= mask; /* Ensure pad bits are zero. */
284 isc_uint8_t mask; local
[all...]
/bind-9.6-ESV-R11/contrib/nslint-2.1a3/
H A Dnslint.c279 u_int32_t mask; member in struct:netlist
292 if ((addr & netlist[i].mask) == netlist[i].net)
293 return (netlist[i].mask);
301 register u_int32_t net, mask; local
309 mask = 0;
328 mask = htonl(inet_addr(cp));
329 if ((int)mask == -1) {
331 (void)sprintf(errstr, "bad mask \"%s\"", cp);
343 *errstrp = "wrong number of dots in mask";
353 *errstrp = "bad mask widt
1036 u_int32_t net, mask; local
1786 register u_int32_t addr, lastaddr, mask; local
2052 register u_int32_t o, net, mask; local
2119 parseptr(register const char *cp, u_int32_t net, u_int32_t mask, register char **errstrp) argument
[all...]
/bind-9.6-ESV-R11/lib/dns/include/dns/
H A Ddispatch.h95 * Values with the mask 0xffff0000 are application defined.
96 * Values with the mask 0x0000ffff are library defined.
246 unsigned int attributes, unsigned int mask,
464 unsigned int attributes, unsigned int mask);
466 * Set the bits described by "mask" to the corresponding values in
472 * new = (old & ~mask) | (attributes & mask)
H A Dadb.h553 unsigned int bits, unsigned int mask);
559 *\li newflags = (oldflags & ~mask) | (bits & mask);
/bind-9.6-ESV-R11/lib/lwres/
H A Dlwconfig.c249 lwres_resetaddr(&confdata->sortlist[i].mask);
281 lwres_resetaddr(&confdata->sortlist[i].mask);
503 &confdata->sortlist[idx].mask,
509 * Make up a mask.
511 confdata->sortlist[idx].mask =
514 memset(&confdata->sortlist[idx].mask.address, 0xff,
690 tmpaddr = confdata->sortlist[i].mask;
694 confdata->sortlist[i].mask.address,
695 confdata->sortlist[i].mask.length) != 0) {
697 confdata->sortlist[i].mask
[all...]
/bind-9.6-ESV-R11/unit/atf-src/atf-run/
H A Dmisc_helpers.cpp340 sigset_t mask; local
341 sigemptyset(&mask);
345 ::sigsuspend(&mask);
/bind-9.6-ESV-R11/lib/isc/
H A Dnetaddr.c114 unsigned int bytea, byteb, mask; local
119 mask = (0xFF << (8-nbits)) & 0xFF;
120 if ((bytea & mask) != (byteb & mask))
H A Dradix.c43 _comp_with_mask(void *addr, void *dest, u_int mask);
122 _comp_with_mask(void *addr, void *dest, u_int mask) { argument
125 if (mask == 0)
128 if (memcmp(addr, dest, mask / 8) == 0) {
129 int n = mask / 8;
130 int m = ((~0) << (8 - (mask % 8)));
132 if ((mask % 8) == 0 ||
/bind-9.6-ESV-R11/bin/named/
H A Dlwresd.c179 lwres_addr_t *lwmask = &lwc->sortlist[i].mask;
180 unsigned int mask; local
184 result = isc_netaddr_masktoprefixlen(&na, &mask);
204 snprintf(str, sizeof(str), "%u", mask);
/bind-9.6-ESV-R11/lib/lwres/include/lwres/
H A Dlwres.h238 /*% mask has a non-zero 'family' and 'length' if set */
239 lwres_addr_t mask; member in struct:__anon223::__anon224
/bind-9.6-ESV-R11/lib/bind9/
H A Dcheck.c2149 isc_uint32_t perm, mask; local
2205 mask = (0x1 << (i*3)); /* SEARCH */
2207 mask = (0x6 << (i*3)); /* READ + WRITE */
2209 if ((perm & mask) == mask)

Completed in 150 milliseconds