Home
last modified time | relevance | path

Searched refs:num_bits_set (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/third_party/skia/src/utils/
DSkThreadUtils_win.cpp100 static unsigned int num_bits_set(DWORD_PTR mask) { in num_bits_set() function
109 n %= num_bits_set(mask); in nth_set_bit()
/external/skia/src/utils/
DSkThreadUtils_win.cpp100 static unsigned int num_bits_set(DWORD_PTR mask) { in num_bits_set() function
109 n %= num_bits_set(mask); in nth_set_bit()
/external/chromium_org/v8/src/
Dassembler.h1074 unsigned int num_bits_set; in NumberOfBitsSet() local
1075 for (num_bits_set = 0; x; x >>= 1) { in NumberOfBitsSet()
1076 num_bits_set += x & 1; in NumberOfBitsSet()
1078 return num_bits_set; in NumberOfBitsSet()
/external/wpa_supplicant_8/src/wps/
Dwps_validate.c630 static int num_bits_set(u16 val) in num_bits_set() function
675 (num_bits_set(val) > 1 && in wps_validate_auth_type()
721 (num_bits_set(val) > 1 && val != (WPS_ENCR_TKIP | WPS_ENCR_AES))) { in wps_validate_encr_type()