Searched refs:mask_bits (Results 1 - 6 of 6) sorted by relevance
/external/libcxx/test/std/numerics/rand/rand.eng/rand.eng.mers/ |
H A D | values.pass.cpp | 25 // static constexpr size_t mask_bits = r; 53 static_assert((E::mask_bits == 31), ""); 74 where(E::mask_bits); 94 static_assert((E::mask_bits == 31), ""); 115 where(E::mask_bits);
|
/external/autotest/client/common_lib/cros/network/ |
H A D | netblock.py | 125 mask_bits = (-1 << (32 - prefix_len)) & 0xffffffff 126 self._mask_octets = self._int_to_octets(mask_bits)
|
/external/syslinux/memdisk/ |
H A D | inflate.c | 184 x = b & mask_bits[j]; 213 STATIC const ush mask_bits[] = { variable 512 ml = mask_bits[bl]; /* precompute masks for speed */ 513 md = mask_bits[bd]; 523 } while ((e = (t = t->v.t + ((unsigned)b & mask_bits[e]))->e) > 16); 540 n = t->v.n + ((unsigned)b & mask_bits[e]); 553 (t = t->v.t + ((unsigned)b & mask_bits[e]))->e) > 16); 556 d = w - t->v.n - ((unsigned)b & mask_bits[e]); 759 m = mask_bits[bl];
|
/external/harfbuzz_ng/src/ |
H A D | hb-set-private.hh | 56 static const unsigned int mask_bits = sizeof (mask_t) * 8; member in struct:hb_set_digest_lowest_bits_t 77 if ((b >> shift) - (a >> shift) >= mask_bits - 1) 93 return ((mask_t) 1) << ((g >> shift) & (mask_bits - 1));
|
/external/autotest/client/common_lib/ |
H A D | utils.py | 329 def format_ip_with_mask(ip, mask_bits): 330 masked_ip = ip_to_long(ip) & create_subnet_mask(mask_bits) 331 return "%s/%s" % (long_to_ip(masked_ip), mask_bits) 1801 # subnet. Each item is a tuple of (subnet_ip, mask_bits), e.g., 1812 ip, mask_bits = subnet.split('/') if '/' in subnet \ 1814 RESTRICTED_SUBNETS.append((ip, int(mask_bits))) 2515 def is_in_same_subnet(ip_1, ip_2, mask_bits=24): 2522 @param mask_bits: Number of mask bits for subnet comparison. Default to 24. 2527 mask = ((2L<<mask_bits-1) -1)<<(32-mask_bits) [all...] |
/external/autotest/client/common_lib/cros/ |
H A D | dev_server.py | 609 def get_devservers_in_same_subnet(cls, ip, mask_bits=DEFAULT_SUBNET_MASKBIT, 614 @param mask_bits: Number of mask bits. Default is 19. 638 devservers = utils.get_servers_in_same_subnet(ip, mask_bits, 721 for subnet_ip, mask_bits in restricted_subnets: 722 if utils.is_in_same_subnet(host_ip, subnet_ip, mask_bits): 726 mask_bits) 728 subnet_ip, mask_bits)
|
Completed in 241 milliseconds