HomeSort by relevance Sort by last modified time
    Searched refs:nbits (Results 1 - 25 of 45) sorted by null

1 2

  /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 )
  /development/ndk/platforms/android-3/include/linux/
bitmap.h 21 #define BITMAP_LAST_WORD_MASK(nbits) ( ((nbits) % BITS_PER_LONG) ? (1UL<<((nbits) % BITS_PER_LONG))-1 : ~0UL )
  /prebuilt/ndk/android-ndk-r4/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 )
  /prebuilt/ndk/android-ndk-r4/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 )
  /prebuilt/ndk/android-ndk-r4/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 )
  /prebuilt/ndk/android-ndk-r4/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 )
  /prebuilt/ndk/android-ndk-r4/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 )
  /prebuilt/ndk/android-ndk-r4/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 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...]
  /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...]
packet_util.cpp 36 int nbits = video->nBitsForMBID; local
55 *next_MB = (int) BitstreamReadBits16(stream, nbits);
  /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/dsa/
dsa_pmeth.c 72 int nbits; /* size of p in bits (default: 1024) */ member in struct:__anon5480
87 dctx->nbits = 1024;
106 dctx->nbits = sctx->nbits;
167 dctx->nbits = p1;
219 int nbits; local
220 nbits = atoi(value);
221 return EVP_PKEY_CTX_set_dsa_paramgen_bits(ctx, nbits);
254 ret = dsa_builtin_paramgen(dsa, dctx->nbits, dctx->qbits, dctx->pmd,
  /external/openssl/crypto/modes/
cfb128.c 180 /* This expects a single block of size nbits for both in and out. Note that
183 int nbits,const void *key,
190 if (nbits<=0 || nbits>128) return;
196 num = (nbits+7)/8;
204 rem = nbits%8;
205 num = nbits/8;
  /external/openssl/crypto/rsa/
rsa_pmeth.c 74 int nbits; member in struct:__anon5594
94 rctx->nbits = 1024;
116 dctx->nbits = sctx->nbits;
423 rctx->nbits = p1;
500 int nbits; local
501 nbits = atoi(value);
502 return EVP_PKEY_CTX_set_rsa_keygen_bits(ctx, nbits);
542 ret = RSA_generate_key_ex(rsa, rctx->nbits, rctx->pub_exp, pcb);
  /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
  /external/freetype/src/sfnt/
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 ) & 0xFF ) & ( 0xFF00U >> w )
    [all...]
  /external/e2fsprogs/lib/ext2fs/
rw_bitmaps.c 59 unsigned int nbits; local
104 nbits = ((fs->super->s_blocks_count
107 if (nbits)
108 for (j = nbits; j < fs->blocksize * 8; j++)

Completed in 584 milliseconds

1 2