Home
last modified time | relevance | path

Searched refs:BITS_PER_LONG (Results 1 – 2 of 2) sorted by relevance

/aosp12/bootable/recovery/minui/
H A Devents.cpp44 constexpr size_t BITS_PER_LONG = sizeof(unsigned long) * 8; variable
46 return ((bits + BITS_PER_LONG - 1) / BITS_PER_LONG); in BITS_TO_LONGS()
67 return (array[bit / BITS_PER_LONG] & (1UL << (bit % BITS_PER_LONG))) != 0; in test_bit()
/aosp12/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/chunking/cdc/
H A DIsChunkBreakpointTest.java39 private static final int BITS_PER_LONG = 64; field in IsChunkBreakpointTest
93 for (int i = 0; i < BITS_PER_LONG; i++) { in getLeadingZeros_squaredIsAverageNumberOfTrials()