Home
last modified time | relevance | path

Searched refs:CHAR_BIT (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/net/util/
DDnsUtils.java53 private static final int CHAR_BIT = 8; field in DnsUtils
336 return i * CHAR_BIT + (Integer.numberOfLeadingZeros(x) - 24); // Java ints are 32 bits in compareIpv6PrefixMatchLen()
338 return dstByte.length * CHAR_BIT; in compareIpv6PrefixMatchLen()
/frameworks/base/native/android/
Dnet.c39 *netid = ((handle >> (CHAR_BIT * sizeof(k32BitMask))) & k32BitMask); in getnetidfromhandle()
/frameworks/native/services/surfaceflinger/tests/unittests/
DRegionSamplingTest.cpp68 uint32_t const pixel = (n % std::numeric_limits<uint8_t>::max()) << ((n % 3) * CHAR_BIT); in TEST_F()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
DFwdLockFile.c228 unsigned char part = pNonce[i] + (unsigned char)(blockIndex >> (i * CHAR_BIT)); in FwdLockFile_CalculateCounter()
/frameworks/av/media/libaudioprocessing/
DAudioResamplerFirGen.h550 constexpr int integralShift = std::is_integral<T>::value ? (sizeof(T) * CHAR_BIT - 1) : 0;