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

1 2 3 4 5 6 7 8 91011>>

  /external/srtp/googlepatches/
google-8-rdb-crash.patch 6 v128_left_shift(&rdb->bitmask, delta);
7 - v128_set_bit(&rdb->bitmask, rdb_bits_in_bitmask-delta);
8 + v128_set_bit(&rdb->bitmask, rdb_bits_in_bitmask - 1);
  /system/core/include/cutils/
bitops.h 28 * Bitmask Operations
31 * Additionally no bounds checking is done on the bitmask array.
54 static inline void bitmask_init(unsigned int *bitmask, int num_bits)
56 memset(bitmask, 0, BITS_TO_WORDS(num_bits)*sizeof(unsigned int));
59 static inline int bitmask_ffz(unsigned int *bitmask, int num_bits)
65 bit = ffs(~bitmask[i]);
78 static inline int bitmask_weight(unsigned int *bitmask, int num_bits)
84 weight += __builtin_popcount(bitmask[i]);
88 static inline void bitmask_set(unsigned int *bitmask, int bit)
90 bitmask[BIT_WORD(bit)] |= BIT_MASK(bit)
    [all...]
  /external/fio/arch/
arch-aarch64.h 20 static inline int arch_ffz(unsigned long bitmask)
23 if (~bitmask == 0) /* ffz() in lib/ffz.h does this. */
29 "r"(~bitmask));
arch-ia64.h 32 static inline unsigned long arch_ffz(unsigned long bitmask)
34 return ia64_popcnt(bitmask & (~bitmask - 1));
arch-x86.h 38 static inline unsigned long arch_ffz(unsigned long bitmask)
40 __asm__("bsfl %1,%0" :"=r" (bitmask) :"r" (~bitmask));
41 return bitmask;
arch-x86_64.h 45 static inline unsigned long arch_ffz(unsigned long bitmask)
47 __asm__("bsf %1,%0" :"=r" (bitmask) :"r" (~bitmask));
48 return bitmask;
arch-ppc.h 36 static inline int __ilog2(unsigned long bitmask)
40 asm ("cntlzw %0,%1" : "=r" (lz) : "r" (bitmask));
44 static inline int arch_ffz(unsigned long bitmask)
46 if ((bitmask = ~bitmask) == 0)
48 return __ilog2(bitmask & -bitmask);
  /external/kernel-headers/original/uapi/linux/netfilter_bridge/
ebt_vlan.h 16 __u8 bitmask; /* Args bitmask bit 1=1 - ID arg, member in struct:ebt_vlan_info
18 __u8 invflags; /* Inverse bitmask bit 1=1 - inversed ID arg,
ebt_mark_m.h 12 __u8 bitmask; member in struct:ebt_mark_m_info
ebt_log.h 17 __u32 bitmask; member in struct:ebt_log_info
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/netfilter_bridge/
ebt_vlan.h 14 uint8_t bitmask; /* Args bitmask bit 1=1 - ID arg, member in struct:ebt_vlan_info
16 uint8_t invflags; /* Inverse bitmask bit 1=1 - inversed ID arg,
ebt_mark_m.h 11 uint8_t bitmask; member in struct:ebt_mark_m_info
ebt_log.h 16 uint32_t bitmask; member in struct:ebt_log_info
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/netfilter_bridge/
ebt_vlan.h 16 __u8 bitmask; /* Args bitmask bit 1=1 - ID arg, member in struct:ebt_vlan_info
18 __u8 invflags; /* Inverse bitmask bit 1=1 - inversed ID arg,
ebt_mark_m.h 12 __u8 bitmask; member in struct:ebt_mark_m_info
ebt_log.h 17 __u32 bitmask; member in struct:ebt_log_info
  /external/libgdx/tests/gdx-tests-android/assets/data/shaders/
shadowgen-frag.glsl 14 const vec4 bitMask = vec4(0.0 , 1.0 / 256.0, 1.0 / 256.0, 1.0 / 256.0);
16 packedValue -= packedValue.xxyz * bitMask;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
GravityHelper.java 39 /** Bitmask for a gravity which includes left */
43 /** Bitmask for a gravity which includes right */
46 /** Bitmask for a gravity which includes center horizontal */
49 /** Bitmask for a gravity which includes fill horizontal */
52 /** Bitmask for a gravity which includes center vertical */
55 /** Bitmask for a gravity which includes fill vertical */
58 /** Bitmask for a gravity which includes top */
61 /** Bitmask for a gravity which includes bottom */
64 /** Bitmask for a gravity which includes start */
67 /** Bitmask for a gravity which includes end *
    [all...]
  /external/fio/lib/
ffz.h 38 static inline int ffz(unsigned long bitmask)
40 return __ffs(~bitmask);
  /external/iptables/include/linux/netfilter/
xt_physdev.h 20 __u8 bitmask; member in struct:xt_physdev_info
  /external/kernel-headers/original/uapi/linux/netfilter/
xt_physdev.h 20 __u8 bitmask; member in struct:xt_physdev_info
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/netfilter/
xt_physdev.h 20 __u8 bitmask; member in struct:xt_physdev_info
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/netfilter/
xt_physdev.h 20 __u8 bitmask; member in struct:xt_physdev_info
  /external/iptables/extensions/
libxt_physdev.c 51 info->bitmask |= XT_PHYSDEV_OP_IN;
58 info->bitmask |= XT_PHYSDEV_OP_OUT;
61 info->bitmask |= XT_PHYSDEV_OP_ISIN;
66 info->bitmask |= XT_PHYSDEV_OP_ISOUT;
73 info->bitmask |= XT_PHYSDEV_OP_BRIDGED;
90 if (info->bitmask & XT_PHYSDEV_OP_ISIN)
93 if (info->bitmask & XT_PHYSDEV_OP_IN)
97 if (info->bitmask & XT_PHYSDEV_OP_ISOUT)
100 if (info->bitmask & XT_PHYSDEV_OP_OUT)
103 if (info->bitmask & XT_PHYSDEV_OP_BRIDGED
    [all...]
  /system/bt/btcore/src/
device_class.c 55 static bool device_class_get_major_service_(const bt_device_class_t *dc, int bitmask);
56 static void device_class_clr_major_service_(bt_device_class_t *dc, int bitmask);
57 static void device_class_set_major_service_(bt_device_class_t *dc, int bitmask);
148 static bool device_class_get_major_service_(const bt_device_class_t *dc, int bitmask) {
149 return (DC(dc)->major_service & bitmask);
152 static void device_class_clr_major_service_(bt_device_class_t *dc, int bitmask) {
153 DC(dc)->major_service &= ~bitmask;
156 static void device_class_set_major_service_(bt_device_class_t *dc, int bitmask) {
157 DC(dc)->major_service |= bitmask;

Completed in 1388 milliseconds

1 2 3 4 5 6 7 8 91011>>