/external/linux-tools-perf/util/include/linux/ |
H A D | bitmap.h | 15 #define BITMAP_LAST_WORD_MASK(nbits) \ 17 ((nbits) % BITS_PER_LONG) ? \ 18 (1UL<<((nbits) % BITS_PER_LONG))-1 : ~0UL \ 21 #define small_const_nbits(nbits) \ 22 (__builtin_constant_p(nbits) && (nbits) <= BITS_PER_LONG) 24 static inline void bitmap_zero(unsigned long *dst, int nbits) argument 26 if (small_const_nbits(nbits)) 29 int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); 34 static inline int bitmap_weight(const unsigned long *src, int nbits) argument [all...] |
/external/kernel-headers/original/linux/ |
H A D | 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) Ar 129 bitmap_zero(unsigned long *dst, int nbits) argument 139 bitmap_fill(unsigned long *dst, int nbits) argument 149 bitmap_copy(unsigned long *dst, const unsigned long *src, int nbits) argument 160 bitmap_and(unsigned long *dst, const unsigned long *src1, const unsigned long *src2, int nbits) argument 169 bitmap_or(unsigned long *dst, const unsigned long *src1, const unsigned long *src2, int nbits) argument 178 bitmap_xor(unsigned long *dst, const unsigned long *src1, const unsigned long *src2, int nbits) argument 187 bitmap_andnot(unsigned long *dst, const unsigned long *src1, const unsigned long *src2, int nbits) argument 196 bitmap_complement(unsigned long *dst, const unsigned long *src, int nbits) argument 205 bitmap_equal(const unsigned long *src1, const unsigned long *src2, int nbits) argument 214 bitmap_intersects(const unsigned long *src1, const unsigned long *src2, int nbits) argument 223 bitmap_subset(const unsigned long *src1, const unsigned long *src2, int nbits) argument 232 bitmap_empty(const unsigned long *src, int nbits) argument 240 bitmap_full(const unsigned long *src, int nbits) argument 248 bitmap_weight(const unsigned long *src, int nbits) argument 255 bitmap_shift_right(unsigned long *dst, const unsigned long *src, int n, int nbits) argument 264 bitmap_shift_left(unsigned long *dst, const unsigned long *src, int n, int nbits) argument [all...] |
H A D | cpumask.h | 104 static inline void __cpus_setall(cpumask_t *dstp, int nbits) argument 106 bitmap_fill(dstp->bits, nbits); 110 static inline void __cpus_clear(cpumask_t *dstp, int nbits) argument 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); 125 __cpus_and(cpumask_t *dstp, const cpumask_t *src1p, const cpumask_t *src2p, int nbits) argument 132 __cpus_or(cpumask_t *dstp, const cpumask_t *src1p, const cpumask_t *src2p, int nbits) argument 139 __cpus_xor(cpumask_t *dstp, const cpumask_t *src1p, const cpumask_t *src2p, int nbits) argument 147 __cpus_andnot(cpumask_t *dstp, const cpumask_t *src1p, const cpumask_t *src2p, int nbits) argument 154 __cpus_complement(cpumask_t *dstp, const cpumask_t *srcp, int nbits) argument 161 __cpus_equal(const cpumask_t *src1p, const cpumask_t *src2p, int nbits) argument 168 __cpus_intersects(const cpumask_t *src1p, const cpumask_t *src2p, int nbits) argument 175 __cpus_subset(const cpumask_t *src1p, const cpumask_t *src2p, int nbits) argument 182 __cpus_empty(const cpumask_t *srcp, int nbits) argument 188 __cpus_full(const cpumask_t *srcp, int nbits) argument 194 __cpus_weight(const cpumask_t *srcp, int nbits) argument 201 __cpus_shift_right(cpumask_t *dstp, const cpumask_t *srcp, int n, int nbits) argument 209 __cpus_shift_left(cpumask_t *dstp, const cpumask_t *srcp, int n, int nbits) argument 270 __cpumask_scnprintf(char *buf, int len, const cpumask_t *srcp, int nbits) argument 278 __cpumask_parse(const char __user *buf, int len, cpumask_t *dstp, int nbits) argument 286 __cpulist_scnprintf(char *buf, int len, const cpumask_t *srcp, int nbits) argument 293 __cpulist_parse(const char *buf, cpumask_t *dstp, int nbits) argument 300 __cpu_remap(int oldbit, const cpumask_t *oldp, const cpumask_t *newp, int nbits) argument 308 __cpus_remap(cpumask_t *dstp, const cpumask_t *srcp, const cpumask_t *oldp, const cpumask_t *newp, int nbits) argument [all...] |
H A D | nodemask.h | 104 static inline void __nodes_setall(nodemask_t *dstp, int nbits) argument 106 bitmap_fill(dstp->bits, nbits); 110 static inline void __nodes_clear(nodemask_t *dstp, int nbits) argument 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); 127 __nodes_and(nodemask_t *dstp, const nodemask_t *src1p, const nodemask_t *src2p, int nbits) argument 135 __nodes_or(nodemask_t *dstp, const nodemask_t *src1p, const nodemask_t *src2p, int nbits) argument 143 __nodes_xor(nodemask_t *dstp, const nodemask_t *src1p, const nodemask_t *src2p, int nbits) argument 151 __nodes_andnot(nodemask_t *dstp, const nodemask_t *src1p, const nodemask_t *src2p, int nbits) argument 159 __nodes_complement(nodemask_t *dstp, const nodemask_t *srcp, int nbits) argument 167 __nodes_equal(const nodemask_t *src1p, const nodemask_t *src2p, int nbits) argument 175 __nodes_intersects(const nodemask_t *src1p, const nodemask_t *src2p, int nbits) argument 183 __nodes_subset(const nodemask_t *src1p, const nodemask_t *src2p, int nbits) argument 190 __nodes_empty(const nodemask_t *srcp, int nbits) argument 196 __nodes_full(const nodemask_t *srcp, int nbits) argument 202 __nodes_weight(const nodemask_t *srcp, int nbits) argument 209 __nodes_shift_right(nodemask_t *dstp, const nodemask_t *srcp, int n, int nbits) argument 217 __nodes_shift_left(nodemask_t *dstp, const nodemask_t *srcp, int n, int nbits) argument 285 __nodemask_scnprintf(char *buf, int len, const nodemask_t *srcp, int nbits) argument 293 __nodemask_parse(const char __user *buf, int len, nodemask_t *dstp, int nbits) argument 301 __nodelist_scnprintf(char *buf, int len, const nodemask_t *srcp, int nbits) argument 308 __nodelist_parse(const char *buf, nodemask_t *dstp, int nbits) argument 315 __node_remap(int oldbit, const nodemask_t *oldp, const nodemask_t *newp, int nbits) argument 323 __nodes_remap(nodemask_t *dstp, const nodemask_t *srcp, const nodemask_t *oldp, const nodemask_t *newp, int nbits) argument [all...] |
/external/dropbear/libtomcrypt/src/pk/asn1/der/bit/ |
H A D | 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) argument 31 nbytes = (nbits >> 3) + ((nbits & 7) ? 1 : 0) + 1;
|
/external/jpeg/ |
H A D | 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...] |
H A D | 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); 297 emit_buffered_bits(phuff_entropy_ptr entropy, char * bufstart, unsigned int nbits) argument 381 register int nbits; local 468 register int nbits; local [all...] |
H A D | 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/ |
H A D | 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...] |
H A D | 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); 297 emit_buffered_bits(phuff_entropy_ptr entropy, char * bufstart, unsigned int nbits) argument 381 register int nbits; local 468 register int nbits; local [all...] |
H A D | 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/ |
H A D | get_scaling_square.c | 22 int nbits = WebRtcSpl_GetSizeInBits(times); local 42 return (t > nbits) ? 0 : nbits - t;
|
H A D | 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;
|
/external/openssh/ |
H A D | 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,
|
H A D | 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/ |
H A D | channelinfo.cpp | 104 int nbits; local 107 nbits = 6; 110 nbits = 4; 113 pIcsInfo->MaxSfBands = (UCHAR) FDKreadBits(bs, nbits);
|
/external/openssl/crypto/dsa/ |
H A D | dsa_pmeth.c | 72 int nbits; /* size of p in bits (default: 1024) */ member in struct:__anon9733 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/ |
H A D | 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/ |
H A D | 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/ |
H A D | 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/ |
H A D | 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/ |
H A D | 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; 175 cfbr_encrypt_block(const unsigned char *in,unsigned char *out, int nbits,const void *key, unsigned char ivec[16],int enc, block128_f block) argument
|
/external/aac/libMpegTPEnc/src/ |
H A D | tpenc_lib.cpp | 499 INT nbits = 0, nPceBits = 0; local 510 nbits = 0; /* Do not consider the ADIF header into the total bitrate */ 513 nbits = adtsWrite_GetHeaderBits(&hTp->writer.adts); 518 nbits = transportEnc_LatmCountTotalBitDemandHeader( &hTp->writer.latm, auBits ); 521 nbits = 0; 526 nbits += nPceBits; 528 return nbits;
|
/external/openssl/crypto/rsa/ |
H A D | rsa_pmeth.c | 80 int nbits; member in struct:__anon9877 102 rctx->nbits = 1024; 125 dctx->nbits = sctx->nbits; 530 rctx->nbits = p1; 636 int nbits; local 637 nbits = atoi(value); 638 return EVP_PKEY_CTX_set_rsa_keygen_bits(ctx, nbits); 678 ret = RSA_generate_key_ex(rsa, rctx->nbits, rctx->pub_exp, pcb);
|
/external/freetype/src/sfnt/ |
H A D | ttsbit0.c | 516 FT_Int bit_height, bit_width, pitch, width, height, h, nbits; local 559 nbits = 0; 575 nbits = x_pos; 577 else if ( nbits < w ) 581 nbits += 8 - w; 586 nbits -= w; 589 *write++ |= ( ( rval >> nbits ) & 0xFF ) & 600 *write++ |= ( rval >> nbits ) & 0xFF; 608 if ( nbits < w ) 612 *write |= ( ( rval >> nbits ) [all...] |