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

1 2 3 4 5 6 7 8 9

  /external/linux-tools-perf/util/include/linux/
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)
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)
    [all...]
  /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...]
  /external/bison/src/
Sbitset.h 27 #define Sbitset__nbytes(NBITS) \
28 (((NBITS) + CHAR_BIT - 1) / CHAR_BIT)
33 #define Sbitset__last_byte_mask(NBITS) \
34 (UCHAR_MAX << (CHAR_BIT - 1 - ((NBITS) - 1) % CHAR_BIT))
36 /* nbits must not be 0. */
37 Sbitset Sbitset__new (Sbitset__Index nbits);
38 Sbitset Sbitset__new_on_obstack (Sbitset__Index nbits,
45 bool Sbitset__isEmpty (Sbitset self, Sbitset__Index nbits);
47 void Sbitset__fprint(Sbitset self, Sbitset__Index nbits, FILE *file);
61 /* NBITS is the size of the bitset. More than NBITS bits might be reset. *
    [all...]
Sbitset.c 26 Sbitset__new (Sbitset__Index nbits)
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)
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)
55 Sbitset last = self + Sbitset__nbytes (nbits) - 1
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/include/python2.7/
bitset.h 14 bitset newbitset(int nbits);
18 int samebitset(bitset bs1, bitset bs2, int nbits);
19 void mergebitset(bitset bs1, bitset bs2, int nbits);
22 #define NBYTES(nbits) (((nbits) + BITSPERBYTE - 1) / BITSPERBYTE)
  /prebuilts/python/linux-x86/2.7.5/include/python2.7/
bitset.h 14 bitset newbitset(int nbits);
18 int samebitset(bitset bs1, bitset bs2, int nbits);
19 void mergebitset(bitset bs1, bitset bs2, int nbits);
22 #define NBYTES(nbits) (((nbits) + BITSPERBYTE - 1) / BITSPERBYTE)
  /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 )
  /prebuilts/ndk/4/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 )
  /prebuilts/ndk/4/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 )
  /prebuilts/ndk/4/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 )
  /prebuilts/ndk/4/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 )
  /prebuilts/ndk/4/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 )
  /prebuilts/ndk/4/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 )
  /prebuilts/ndk/5/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 )
  /prebuilts/ndk/6/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 )
  /prebuilts/ndk/6/platforms/android-3/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 )
  /prebuilts/ndk/7/platforms/android-14/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 )
  /prebuilts/ndk/7/platforms/android-14/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 )
  /prebuilts/ndk/7/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 )
  /prebuilts/ndk/7/platforms/android-3/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 )
  /prebuilts/ndk/7/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 )
  /prebuilts/ndk/7/platforms/android-4/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 )
  /prebuilts/ndk/7/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 )
  /prebuilts/ndk/7/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 )
  /prebuilts/ndk/7/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 )

Completed in 620 milliseconds

1 2 3 4 5 6 7 8 9