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

/bind-9.11.3/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.11.3/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.11.3/lib/dns/
H A Ddst_parse.c193 unsigned int mask; local
210 mask = ~0;
211 mask <<= sizeof(mask) * 8 - TAG_SHIFT;
212 mask >>= sizeof(mask) * 8 - TAG_SHIFT;
214 if (have[TAG_RSA_ENGINE & mask])
215 ok = have[TAG_RSA_MODULUS & mask] &&
216 have[TAG_RSA_PUBLICEXPONENT & mask] &&
217 have[TAG_RSA_LABEL & mask];
288 unsigned int mask; local
320 unsigned int mask; local
[all...]
H A Dnsec.c38 unsigned int shift, mask; local
41 mask = 1 << shift;
44 array[type / 8] |= mask;
46 array[type / 8] &= (~mask & 0xFF);
51 unsigned int byte, shift, mask; local
55 mask = 1 << shift;
57 return (ISC_TF(byte & mask));
H A Drcode.c183 unsigned int mask; member in struct:keyflag
402 unsigned int value, mask; local
414 value = mask = 0;
432 if ((mask & p->mask) != 0)
435 mask |= p->mask;
H A Drpz.c374 dns_rpz_zbits_t mask; local
387 * set to a non-zero value by fix_qname_skip_recurse(). The mask
418 * zbits_req = 0b000 mask = 0xffffffff (no zones have to wait for
420 * zbits_req = 0b001 mask = 0x00000000 (all zones have to wait)
421 * zbits_req = 0b010 mask = 0x00000001 (the first zone doesn't have to
424 * zbits_req = 0b011 mask = 0x00000000 (all zones have to wait)
425 * zbits_req = 0b100 mask = 0x00000011 (the 1st and 2nd zones don't
442 * Get a mask covering all policy zones that are not subordinate to
451 mask = 0;
469 mask
[all...]
H A Ddispatch.c2243 unsigned int attributes, unsigned int mask,
2253 mask |= (DNS_DISPATCHATTR_PRIVATE|DNS_DISPATCHATTR_EXCLUSIVE);
2259 && ATTRMATCH(disp->attributes, attributes, mask)
2627 unsigned int attributes, mask; local
2635 mask = DNS_DISPATCHATTR_TCP | DNS_DISPATCHATTR_PRIVATE |
2643 ATTRMATCH(disp->attributes, attributes, mask) &&
2677 unsigned int attributes, mask; local
2687 mask = DNS_DISPATCHATTR_TCP | DNS_DISPATCHATTR_PRIVATE |
2695 ATTRMATCH(disp->attributes, attributes, mask) &&
2729 ATTRMATCH(disp->attributes, attributes, mask)
2242 dispatch_find(dns_dispatchmgr_t *mgr, isc_sockaddr_t *local, unsigned int attributes, unsigned int mask, dns_dispatch_t **dispp) argument
2746 dns_dispatch_getudp_dup(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, dns_dispatch_t *dup_dispatch) argument
2832 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
3678 dns_dispatch_changeattributes(dns_dispatch_t *disp, unsigned int attributes, unsigned int mask) argument
[all...]
H A Dresolver.c948 isc_uint32_t mask; local
964 mask = 0x3fff;
966 mask = 0x7fff;
968 mask = 0xffff;
970 mask = 0x1ffff;
972 mask = 0x3ffff;
974 mask = 0x7ffff;
976 mask = 0xfffff;
984 mask >>= 2;
987 rtt = query->addrinfo->srtt + (value & mask);
8199 unsigned int flags, mask; local
9840 unsigned int len, mask; local
9915 unsigned int len, mask; local
9979 unsigned int len, mask; local
10050 unsigned int len, mask; local
[all...]
H A Dadb.c4184 unsigned int bits, unsigned int mask)
4193 REQUIRE((mask & ENTRY_IS_DEAD) == 0);
4198 addr->entry->flags = (addr->entry->flags & ~mask) | (bits & mask);
4208 addr->flags = (addr->flags & ~mask) | (bits & mask);
4183 dns_adb_changeflags(dns_adb_t *adb, dns_adbaddrinfo_t *addr, unsigned int bits, unsigned int mask) argument
/bind-9.11.3/lib/dns/rdata/in_1/
H A Da6_38.c26 unsigned char mask; local
65 mask = 0xff >> (prefixlen % 8);
66 addr[octets] &= mask;
96 unsigned char mask; local
118 mask = 0xff >> (prefixlen % 8);
119 addr[octets] &= mask;
142 unsigned char mask; local
173 mask = 0xff >> (prefixlen % 8);
174 sr.base[0] &= mask; /* Ensure pad bits are zero. */
276 isc_uint8_t mask; local
[all...]
/bind-9.11.3/lib/isc/
H A Dht.c38 size_t mask; member in struct:isc_ht
67 ht->mask = ((size_t)1<<bits)-1;
129 node = ht->table[hash & ht->mask];
144 node->next = ht->table[hash & ht->mask];
148 ht->table[hash & ht->mask] = node;
164 node = ht->table[hash & ht->mask];
187 node = ht->table[hash & ht->mask];
192 ht->table[hash & ht->mask] = node->next;
303 node = ht->table[hash & ht->mask];
311 ht->table[hash & ht->mask]
[all...]
H A Dnetaddr.c105 unsigned int bytea, byteb, mask; local
110 mask = (0xFF << (8-nbits)) & 0xFF;
111 if ((bytea & mask) != (byteb & mask))
H A Dradix.c35 _comp_with_mask(void *addr, void *dest, u_int mask);
118 _comp_with_mask(void *addr, void *dest, u_int mask) { argument
121 if (mask == 0)
124 if (memcmp(addr, dest, mask / 8) == 0) {
125 u_int n = mask / 8;
126 u_int m = ((~0U) << (8 - (mask % 8)));
128 if ((mask % 8) == 0 ||
/bind-9.11.3/lib/lwres/
H A Dlwconfig.c244 lwres_resetaddr(&confdata->sortlist[i].mask);
276 lwres_resetaddr(&confdata->sortlist[i].mask);
532 &confdata->sortlist[idx].mask,
538 * Make up a mask.
540 confdata->sortlist[idx].mask =
543 memset(&confdata->sortlist[idx].mask.address, 0xff,
748 tmpaddr = confdata->sortlist[i].mask;
752 confdata->sortlist[i].mask.address,
753 confdata->sortlist[i].mask.length) != 0) {
755 confdata->sortlist[i].mask
[all...]
/bind-9.11.3/lib/dns/include/dns/
H A Ddispatch.h97 * Values with the mask 0xffff0000 are application defined.
98 * Values with the mask 0x0000ffff are library defined.
252 unsigned int attributes, unsigned int mask,
261 unsigned int attributes, unsigned int mask,
506 unsigned int attributes, unsigned int mask);
508 * Set the bits described by "mask" to the corresponding values in
514 * new = (old & ~mask) | (attributes & mask)
H A Dadb.h569 unsigned int bits, unsigned int mask);
575 *\li newflags = (oldflags & ~mask) | (bits & mask);
/bind-9.11.3/unit/atf-src/tools/
H A Dmisc_helpers.cpp339 sigset_t mask; local
340 sigemptyset(&mask);
344 ::sigsuspend(&mask);
/bind-9.11.3/lib/irs/
H A Dresconf.c104 /*% mask has a non-zero 'family' if set */
105 isc_netaddr_t mask; member in struct:irs_resconf::__anon212
411 res = create_addr(p, &conf->sortlist[idx].mask, 0);
416 * Make up a mask. (XXX: is this correct?)
418 conf->sortlist[idx].mask = conf->sortlist[idx].addr;
419 memset(&conf->sortlist[idx].mask.type, 0xff,
420 sizeof(conf->sortlist[idx].mask.type));
/bind-9.11.3/lib/lwres/include/lwres/
H A Dlwres.h230 /*% mask has a non-zero 'family' and 'length' if set */
231 lwres_addr_t mask; member in struct:__anon322::__anon323
/bind-9.11.3/bin/named/
H A Dlwresd.c166 lwres_addr_t *lwmask = &lwc->sortlist[i].mask;
167 unsigned int mask; local
171 result = isc_netaddr_masktoprefixlen(&na, &mask);
191 snprintf(str, sizeof(str), "%u", mask);
/bind-9.11.3/contrib/dnsperf-2.1.0.0-1/
H A Ddnsperf.c773 unsigned int shift, mask; local
776 mask = 1 << shift;
778 bits[bit / 8] |= mask;
/bind-9.11.3/lib/bind9/
H A Dcheck.c3561 isc_uint32_t perm, mask; local
3617 mask = (0x1 << (i*3)); /* SEARCH */
3619 mask = (0x6 << (i*3)); /* READ + WRITE */
3621 if ((perm & mask) == mask)

Completed in 107 milliseconds