/bionic/libc/kernel/common/linux/ |
bitmap.h | 21 #define BITMAP_LAST_WORD_MASK(nbits) ( ((nbits) % BITS_PER_LONG) ? (1UL<<((nbits) % BITS_PER_LONG))-1 : ~0UL )
|
/ndk/build/platforms/android-3/arch-arm/usr/include/linux/ |
bitmap.h | 21 #define BITMAP_LAST_WORD_MASK(nbits) ( ((nbits) % BITS_PER_LONG) ? (1UL<<((nbits) % BITS_PER_LONG))-1 : ~0UL )
|
/ndk/build/platforms/android-4/arch-arm/usr/include/linux/ |
bitmap.h | 21 #define BITMAP_LAST_WORD_MASK(nbits) ( ((nbits) % BITS_PER_LONG) ? (1UL<<((nbits) % BITS_PER_LONG))-1 : ~0UL )
|
/ndk/build/platforms/android-5/arch-arm/usr/include/linux/ |
bitmap.h | 21 #define BITMAP_LAST_WORD_MASK(nbits) ( ((nbits) % BITS_PER_LONG) ? (1UL<<((nbits) % BITS_PER_LONG))-1 : ~0UL )
|
/ndk/build/platforms/android-5/arch-x86/usr/include/linux/ |
bitmap.h | 21 #define BITMAP_LAST_WORD_MASK(nbits) ( ((nbits) % BITS_PER_LONG) ? (1UL<<((nbits) % BITS_PER_LONG))-1 : ~0UL )
|
/ndk/build/platforms/android-8/arch-arm/usr/include/linux/ |
bitmap.h | 21 #define BITMAP_LAST_WORD_MASK(nbits) ( ((nbits) % BITS_PER_LONG) ? (1UL<<((nbits) % BITS_PER_LONG))-1 : ~0UL )
|
/ndk/build/platforms/android-8/arch-x86/usr/include/linux/ |
bitmap.h | 21 #define BITMAP_LAST_WORD_MASK(nbits) ( ((nbits) % BITS_PER_LONG) ? (1UL<<((nbits) % BITS_PER_LONG))-1 : ~0UL )
|
/external/kernel-headers/original/linux/ |
bitmap.h | 27 * Note that nbits should be always a compile time evaluable constant. 30 * bitmap_zero(dst, nbits) *dst = 0UL 31 * bitmap_fill(dst, nbits) *dst = ~0UL 32 * bitmap_copy(dst, src, nbits) *dst = *src 33 * bitmap_and(dst, src1, src2, nbits) *dst = *src1 & *src2 34 * bitmap_or(dst, src1, src2, nbits) *dst = *src1 | *src2 35 * bitmap_xor(dst, src1, src2, nbits) *dst = *src1 ^ *src2 36 * bitmap_andnot(dst, src1, src2, nbits) *dst = *src1 & ~(*src2) 37 * bitmap_complement(dst, src, nbits) *dst = ~(*src) 38 * bitmap_equal(src1, src2, nbits) Are *src1 and *src2 equal [all...] |
cpumask.h | 104 static inline void __cpus_setall(cpumask_t *dstp, int nbits) 106 bitmap_fill(dstp->bits, nbits); 110 static inline void __cpus_clear(cpumask_t *dstp, int nbits) 112 bitmap_zero(dstp->bits, nbits); 126 const cpumask_t *src2p, int nbits) 128 bitmap_and(dstp->bits, src1p->bits, src2p->bits, nbits); 133 const cpumask_t *src2p, int nbits) 135 bitmap_or(dstp->bits, src1p->bits, src2p->bits, nbits); 140 const cpumask_t *src2p, int nbits) 142 bitmap_xor(dstp->bits, src1p->bits, src2p->bits, nbits); [all...] |
nodemask.h | 104 static inline void __nodes_setall(nodemask_t *dstp, int nbits) 106 bitmap_fill(dstp->bits, nbits); 110 static inline void __nodes_clear(nodemask_t *dstp, int nbits) 112 bitmap_zero(dstp->bits, nbits); 128 const nodemask_t *src2p, int nbits) 130 bitmap_and(dstp->bits, src1p->bits, src2p->bits, nbits); 136 const nodemask_t *src2p, int nbits) 138 bitmap_or(dstp->bits, src1p->bits, src2p->bits, nbits); 144 const nodemask_t *src2p, int nbits) 146 bitmap_xor(dstp->bits, src1p->bits, src2p->bits, nbits); [all...] |
/external/dropbear/libtomcrypt/src/pk/asn1/der/bit/ |
der_length_bit_string.c | 21 @param nbits The number of bits in the string to encode 25 int der_length_bit_string(unsigned long nbits, unsigned long *outlen) 31 nbytes = (nbits >> 3) + ((nbits & 7) ? 1 : 0) + 1;
|
/external/jpeg/ |
jdhuff.h | 138 #define CHECK_BIT_BUFFER(state,nbits,action) \ 139 { if (bits_left < (nbits)) { \ 140 if (! jpeg_fill_bit_buffer(&(state),get_buffer,bits_left,nbits)) \ 144 #define GET_BITS(nbits) \ 145 (((int) (get_buffer >> (bits_left -= (nbits)))) & ((1<<(nbits))-1)) 147 #define PEEK_BITS(nbits) \ 148 (((int) (get_buffer >> (bits_left - (nbits)))) & ((1<<(nbits))-1)) 150 #define DROP_BITS(nbits) \ [all...] |
jcphuff.c | 298 unsigned int nbits) 303 while (nbits > 0) { 306 nbits--; 318 register int temp, nbits; local 322 nbits = 0; 324 nbits++; 326 if (nbits > 14) 329 emit_symbol(entropy, entropy->ac_tbl_no, nbits << 4); 330 if (nbits) 331 emit_bits(entropy, entropy->EOBRUN, nbits); 381 register int nbits; local 468 register int nbits; local [all...] |
jchuff.c | 357 register int nbits; local 372 nbits = 0; 374 nbits++; 380 if (nbits > MAX_COEF_BITS+1) 384 if (! emit_bits(state, dctbl->ehufco[nbits], dctbl->ehufsi[nbits])) 389 if (nbits) /* emit_bits rejects calls with size 0 */ 390 if (! emit_bits(state, (unsigned int) temp2, nbits)) 416 nbits = 1; /* there must be at least one 1 bit */ 418 nbits++ 576 register int nbits; local [all...] |
/external/opencore/codecs_v2/video/m4v_h263/dec/src/ |
bitstream.h | 39 PV_STATUS BitstreamShowBits32(BitstreamDecVideo *stream, int nbits, uint32 *code); 40 uint32 BitstreamReadBits32(BitstreamDecVideo *stream, int nbits); 42 uint BitstreamReadBits16(BitstreamDecVideo *stream, int nbits); 45 PV_STATUS BitstreamShowBits16(BitstreamDecVideo *stream, int nbits, uint *code); 48 uint BitstreamReadBits16_INLINE(BitstreamDecVideo *stream, int nbits); 51 __inline PV_STATUS BitstreamShowBits16(BitstreamDecVideo *stream, int nbits, uint *code) 56 if (stream->incnt < nbits) 62 *code = stream->curr_word >> (32 - nbits); 95 __inline uint BitstreamReadBits16_INLINE(BitstreamDecVideo *stream, int nbits) 99 if (stream->incnt < nbits) [all...] |
bitstream.cpp | 196 PV_STATUS BitstreamShowBits32(BitstreamDecVideo *stream, int nbits, uint32 *code) 200 if (stream->incnt < nbits) 205 *code = stream->curr_word >> (32 - nbits); 214 /* Purpose: To see the next "nbits"(nbits<=16) bitstream bits */ 218 PV_STATUS BitstreamShowBits16(BitstreamDecVideo *stream, int nbits, uint *code) 223 if (stream->incnt < nbits) 229 *code = stream->curr_word >> (32 - nbits); 273 uint BitstreamReadBits16_INLINE(BitstreamDecVideo *stream, int nbits) 278 if (stream->incnt < nbits) [all...] |
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/ |
bitstream.h | 39 PV_STATUS BitstreamShowBits32(BitstreamDecVideo *stream, int nbits, uint32 *code); 40 uint32 BitstreamReadBits32(BitstreamDecVideo *stream, int nbits); 42 uint BitstreamReadBits16(BitstreamDecVideo *stream, int nbits); 45 PV_STATUS BitstreamShowBits16(BitstreamDecVideo *stream, int nbits, uint *code); 48 uint BitstreamReadBits16_INLINE(BitstreamDecVideo *stream, int nbits); 51 __inline PV_STATUS BitstreamShowBits16(BitstreamDecVideo *stream, int nbits, uint *code) 56 if (stream->incnt < nbits) 62 *code = stream->curr_word >> (32 - nbits); 95 __inline uint BitstreamReadBits16_INLINE(BitstreamDecVideo *stream, int nbits) 99 if (stream->incnt < nbits) [all...] |
bitstream.cpp | 193 PV_STATUS BitstreamShowBits32(BitstreamDecVideo *stream, int nbits, uint32 *code) 197 if (stream->incnt < nbits) 202 *code = stream->curr_word >> (32 - nbits); 211 /* Purpose: To see the next "nbits"(nbits<=16) bitstream bits */ 215 PV_STATUS BitstreamShowBits16(BitstreamDecVideo *stream, int nbits, uint *code) 220 if (stream->incnt < nbits) 226 *code = stream->curr_word >> (32 - nbits); 270 uint BitstreamReadBits16_INLINE(BitstreamDecVideo *stream, int nbits) 275 if (stream->incnt < nbits) [all...] |
/external/openssl/crypto/aes/ |
aes_cfb.c | 159 /* This expects a single block of size nbits for both in and out. Note that 162 const int nbits,const AES_KEY *key, 168 if (nbits<=0 || nbits>128) return; 174 num = (nbits+7)/8; 182 rem = nbits%8; 183 num = nbits/8;
|
/external/openssl/crypto/camellia/ |
cmll_cfb.c | 169 /* This expects a single block of size nbits for both in and out. Note that 172 const int nbits,const CAMELLIA_KEY *key, 178 if (nbits<=0 || nbits>128) return; 184 num = (nbits+7)/8; 192 rem = nbits%8; 193 num = nbits/8;
|
camellia.h | 118 const int nbits,const CAMELLIA_KEY *key,
|
/dalvik/libcore/support/src/test/java/tests/support/ |
Support_BitSet.java | 40 * Create a new BitSet with size equal to nbits. If nbits is not a multiple 41 * of 64, then create a BitSet with size nbits rounded to the next closest 45 * if nbits < 0. 49 public Support_BitSet(int nbits) { 50 if (nbits >= 0) { 51 bits = new long[(nbits / ELM_SIZE) + (nbits % ELM_SIZE > 0 ? 1 : 0)];
|
/external/openssl/crypto/bn/ |
bn_x931p.c | 193 * Note: nbits paramter is sum of number of bits in both. 196 int BN_X931_generate_Xpq(BIGNUM *Xp, BIGNUM *Xq, int nbits, BN_CTX *ctx) 203 if ((nbits < 1024) || (nbits & 0xff)) 205 nbits >>= 1; 206 /* The random value Xp must be between sqrt(2) * 2^(nbits-1) and 207 * 2^nbits - 1. By setting the top two bits we ensure that the lower 210 if (!BN_rand(Xp, nbits, 1, 0)) 218 if (!BN_rand(Xq, nbits, 1, 0)) 220 /* Check that |Xp - Xq| > 2^(nbits - 100) * [all...] |
/external/opencore/protocols/systems/3g-324m_pvterminal/h245/per/src/ |
genericper.cpp | 225 uint8 nbits, nbytes = 0; local 244 if (range <= 2) nbits = 1; 245 else if (range <= 4) nbits = 2; 246 else if (range <= 8) nbits = 3; 247 else if (range <= 16) nbits = 4; 248 else if (range <= 32) nbits = 5; 249 else if (range <= 64) nbits = 6; 250 else if (range <= 128) nbits = 7; 251 else nbits = 8; 252 value = ReadBits(nbits, stream) 285 uint8 nbits, nbytes = 0; local 1088 uint8 nbits, nbytes = 0; local 1161 uint8 nbits, nbytes = 0; local [all...] |
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/ |
Exchanger.java | 359 * with "nbits", the ceiling power of two of table size (looked up 361 * retried after rotating the hash by nbits bits, while forcing new 375 int nbits = (((0xfffffc00 >> m) & 4) | // Compute ceil(log2(m+1)) local 379 while ((index = hash & ((1 << nbits) - 1)) > m) // May retry on 380 hash = (hash >>> nbits) | (hash << (33 - nbits)); // non-power-2 m
|