Searched defs:nbits (Results 1 - 25 of 59) sorted by relevance

123

/external/dropbear/libtomcrypt/src/pk/asn1/der/bit/
H A Dder_length_bit_string.c21 @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/linux-tools-perf/util/include/linux/
H A Dbitmap.h15 #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/aac/libAACdec/src/
H A Dchannelinfo.cpp104 int nbits; local
107 nbits = 6;
110 nbits = 4;
113 pIcsInfo->MaxSfBands = (UCHAR) FDKreadBits(bs, nbits);
/external/chromium_org/third_party/opus/src/celt/
H A Dentcode.c66 opus_uint32 nbits; local
82 nbits=_this->nbits_total<<BITRES;
92 return nbits-l;
/external/webrtc/src/common_audio/signal_processing/
H A Dget_scaling_square.c22 int nbits = WebRtcSpl_GetSizeInBits(times); local
42 return (t > nbits) ? 0 : nbits - t;
H A Dauto_correlation.c53 int nbits = WebRtcSpl_GetSizeInBits(in_vector_length); // # of bits in the sum loop local
56 if (t > nbits)
61 scaling = nbits - t;
/external/bison/src/
H A DSbitset.c26 Sbitset__new (Sbitset__Index nbits) argument
28 /* Some functions, like Sbitset__last_byte_mask, will fail if nbits = 0. */
29 aver (nbits);
30 return xcalloc (1, Sbitset__nbytes (nbits));
34 Sbitset__new_on_obstack (Sbitset__Index nbits, struct obstack *obstackp) argument
39 aver (nbits);
40 result = obstack_alloc (obstackp, Sbitset__nbytes (nbits));
41 for (ptr = result, end = result + Sbitset__nbytes (nbits); ptr < end; ++ptr)
53 Sbitset__isEmpty (Sbitset self, Sbitset__Index nbits) argument
55 Sbitset last = self + Sbitset__nbytes (nbits)
63 Sbitset__fprint(Sbitset self, Sbitset__Index nbits, FILE *file) argument
[all...]
/external/openssh/
H A Dkexgexc.c58 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 Dkexgexs.c61 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/chromium_org/third_party/openssl/openssl/crypto/modes/
H A Dcfb128.c173 /* 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/kernel-headers/original/linux/
H A Dbitmap.h27 * 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...]
/external/openssl/crypto/modes/
H A Dcfb128.c173 /* 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/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
H A DBitSet.cs54 * We will often need to do a mod operator (i mod nbits). Its
56 * same as (i & (nbits-1)). Since mod is slow, we use a
83 * <param name="nbits">The size of the bitset in bits</param>
85 public BitSet(int nbits) { argument
86 _bits = new ulong[((nbits - 1) >> LOG_BITS) + 1];
/external/chromium_org/third_party/openssl/openssl/crypto/dsa/
H A Ddsa_pmeth.c72 int nbits; /* size of p in bits (default: 1024) */ member in struct:__anon13066
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/chromium_org/third_party/opus/src/celt/tests/
H A Dtest_unit_entropy.c55 long nbits; local
93 nbits=ec_tell(&enc);
96 if(nbits2-nbits!=ftb){
98 nbits2-nbits,ftb);
103 nbits=ec_tell_frac(&enc);
107 entropy,ldexp(nbits,-3),100*(nbits-ldexp(entropy,3))/nbits);
129 if(nbits!=nbits2){
132 ldexp(nbits2,-3),ldexp(nbits,
[all...]
/external/chromium_org/third_party/skia/src/effects/gradients/
H A DSkSweepGradient.cpp105 int nbits = SkCLZ(numer); local
107 int bits = 6 - nbits + dbits;
115 numer <<= nbits - 1;
/external/e2fsprogs/lib/ext2fs/
H A Drw_bitmaps.c35 unsigned int nbits; local
86 nbits = ((fs->super->s_blocks_count
89 if (nbits)
90 for (j = nbits; j < fs->blocksize * 8; j++)
/external/openssl/crypto/dsa/
H A Ddsa_pmeth.c72 int nbits; /* size of p in bits (default: 1024) */ member in struct:__anon23553
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/skia/src/effects/gradients/
H A DSkSweepGradient.cpp105 int nbits = SkCLZ(numer); local
107 int bits = 6 - nbits + dbits;
115 numer <<= nbits - 1;
/external/aac/libMpegTPEnc/src/
H A Dtpenc_lib.cpp505 INT nbits = 0, nPceBits = 0; local
516 nbits = 0; /* Do not consider the ADIF header into the total bitrate */
519 nbits = adtsWrite_GetHeaderBits(&hTp->writer.adts);
524 nbits = transportEnc_LatmCountTotalBitDemandHeader( &hTp->writer.latm, auBits );
527 nbits = 0;
532 nbits += nPceBits;
534 return nbits;
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
H A DBitSet.java40 /* We will often need to do a mod operator (i mod nbits). Its
42 * same as (i & (nbits-1)). Since mod is slow, we use a
70 * @param nbits The size of the bitset in bits
72 public BitSet(int nbits) { argument
73 bits = new long[((nbits - 1) >> LOG_BITS) + 1];
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
H A DBitSet.java57 /* We will often need to do a mod operator (i mod nbits). Its
59 * same as (i & (nbits-1)). Since mod is slow, we use a
78 * @param nbits The size of the bitset in bits
80 public BitSet(int nbits) { argument
81 bits = new long[((nbits - 1) >> LOG_BITS) + 1];
/external/chromium_org/third_party/WebKit/Source/core/platform/audio/ffmpeg/
H A DFFTFrameFFMPEG.cpp53 int nbits; member in struct:__anon10243::FFTContextProxy
72 int nbits; member in struct:__anon10243::RDFTContextProxy
/external/chromium_org/third_party/openssl/openssl/crypto/rsa/
H A Drsa_pmeth.c80 int nbits; member in struct:__anon13212
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/chromium_org/third_party/skia/src/core/
H A DSk64.cpp238 int nbits = SkCLZ(hi); local
240 bits = 32 + dbits - nbits;
248 shift_left_bits(hi, lo, nbits - 1);

Completed in 478 milliseconds

123