/prebuilts/ndk/android-ndk-r7/platforms/android-9/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 | 139 #define CHECK_BIT_BUFFER(state,nbits,action) \ 140 { if (bits_left < (nbits)) { \ 141 if (! jpeg_fill_bit_buffer(&(state),get_buffer,bits_left,nbits)) \ 145 #define GET_BITS(nbits) \ 146 (((int) (get_buffer >> (bits_left -= (nbits)))) & ((1<<(nbits))-1)) 148 #define PEEK_BITS(nbits) \ 149 (((int) (get_buffer >> (bits_left - (nbits)))) & ((1<<(nbits))-1)) 151 #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/qemu/distrib/jpeg-6b/ |
jdhuff.h | 139 #define CHECK_BIT_BUFFER(state,nbits,action) \ 140 { if (bits_left < (nbits)) { \ 141 if (! jpeg_fill_bit_buffer(&(state),get_buffer,bits_left,nbits)) \ 145 #define GET_BITS(nbits) \ 146 (((int) (get_buffer >> (bits_left -= (nbits)))) & ((1<<(nbits))-1)) 148 #define PEEK_BITS(nbits) \ 149 (((int) (get_buffer >> (bits_left - (nbits)))) & ((1<<(nbits))-1)) 151 #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/webrtc/src/common_audio/signal_processing/ |
get_scaling_square.c | 22 int nbits = WebRtcSpl_GetSizeInBits(times); local 42 return (t > nbits) ? 0 : nbits - t;
|
auto_correlation.c | 53 int nbits = WebRtcSpl_GetSizeInBits(in_vector_length); // # of bits in the sum loop local 56 if (t > nbits) 61 scaling = nbits - t;
|
/frameworks/av/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/openssh/ |
kexgexc.c | 58 int min, max, nbits; local 61 nbits = dh_estimate(kex->we_need * 8); 66 packet_put_int(nbits); 70 debug("SSH2_MSG_KEX_DH_GEX_REQUEST_OLD(%u) sent", nbits); 77 packet_put_int(nbits); 81 min, nbits, max); 84 fprintf(stderr, "\nmin = %d, nbits = %d, max = %d\n", 85 min, nbits, max); 179 min, nbits, max,
|
kexgexs.c | 61 int omin = -1, min = -1, omax = -1, max = -1, onbits = -1, nbits = -1; local 81 onbits = nbits = packet_get_int(); 85 nbits = MAX(DH_GRP_MIN, nbits); 86 nbits = MIN(DH_GRP_MAX, nbits); 90 onbits = nbits = packet_get_int(); 105 dh = PRIVSEP(choose_dh(min, nbits, max));
|
/external/aac/libAACdec/src/ |
channelinfo.cpp | 104 int nbits; local 107 nbits = 6; 110 nbits = 4; 113 pIcsInfo->MaxSfBands = (UCHAR) FDKreadBits(bs, nbits);
|
/external/openssl/crypto/dsa/ |
dsa_pmeth.c | 72 int nbits; /* size of p in bits (default: 1024) */ member in struct:__anon9950 87 dctx->nbits = 1024; 106 dctx->nbits = sctx->nbits; 167 dctx->nbits = p1; 222 int nbits; local 223 nbits = atoi(value); 224 return EVP_PKEY_CTX_set_dsa_paramgen_bits(ctx, nbits); 257 ret = dsa_builtin_paramgen(dsa, dctx->nbits, dctx->qbits, dctx->pmd,
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
ANTLRBitSet.h | 48 * @param nbits The size of the ANTLRBitSet in bits 50 + (ANTLRBitSet *) newANTLRBitSetWithNBits:(NSUInteger)nbits; 63 - (ANTLRBitSet *) initWithNBits:(NSUInteger)nbits;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
ANTLRBitSet.h | 48 * @param nbits The size of the ANTLRBitSet in bits 50 + (ANTLRBitSet *) newANTLRBitSetWithNBits:(NSUInteger)nbits; 63 - (ANTLRBitSet *) initWithNBits:(NSUInteger)nbits;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/ |
ANTLRBitSet.h | 48 * @param nbits The size of the ANTLRBitSet in bits 50 + (ANTLRBitSet *) newANTLRBitSetWithNBits:(NSUInteger)nbits; 63 - (ANTLRBitSet *) initWithNBits:(NSUInteger)nbits;
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRBitSet.h | 49 * @param nbits The size of the ANTLRBitSet in bits 51 + (ANTLRBitSet *) newANTLRBitSetWithNBits:(NSUInteger)nbits; 64 - (ANTLRBitSet *) initWithNBits:(NSUInteger)nbits;
|
/external/openssl/crypto/modes/ |
cfb128.c | 173 /* This expects a single block of size nbits for both in and out. Note that 176 int nbits,const void *key, 183 if (nbits<=0 || nbits>128) return; 189 num = (nbits+7)/8; 197 rem = nbits%8; 198 num = nbits/8;
|
/libcore/luni/src/main/java/java/util/concurrent/ |
Exchanger.java | 361 * with "nbits", the ceiling power of two of table size (looked up 363 * retried after rotating the hash by nbits bits, while forcing new 377 int nbits = (((0xfffffc00 >> m) & 4) | // Compute ceil(log2(m+1)) local 381 while ((index = hash & ((1 << nbits) - 1)) > m) // May retry on 382 hash = (hash >>> nbits) | (hash << (33 - nbits)); // non-power-2 m
|