XWOS API  4.0
XWOS C/C++ API参考手册
载入中...
搜索中...
未找到
xwbop.h 文件参考

XWOS通用库:位操作 更多...

#include <xwos/standard.h>
#include <xwos/ospl/soc/xwbop.h>
xwbop.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

宏定义

#define XWBOP_BIT(n)   ((xwbmp_t)1 << (n))
 
#define XWBOP_BMP_MASK(n)   ((xwbmp_t)1 << (xwbmp_t)((n) % BITS_PER_XWBMP_T))
 
#define XWBOP_BMP(n)   ((n) / BITS_PER_XWBMP_T)
 
#define XWBOP_DIV_ROUND(n, d)   ((n) / (d))
 
#define XWBOP_DIV_ROUND_UP(n, d)   (((n) + (d) - 1U) / (d))
 
#define XWBOP_SHIFT_ROUND(n, s)   ((n) >> (s))
 
#define XWBOP_SHIFT_ROUND_UP(n, s)   (((n) + (1ULL << (s)) - 1ULL) >> (s))
 
#define BITS_TO_XWU8_T(n)   XWBOP_DIV_ROUND_UP(n, BITS_PER_XWU8_T)
 
#define BITS_TO_XWBMP_T(n)   XWBOP_DIV_ROUND_UP(n, BITS_PER_XWU8_T * sizeof(xwbmp_t))
 
#define XWBOP_ROUND(x, n)   ((x) & (~((n) - 1U)))
 
#define XWBOP_ALIGN(x, n)   (((x) + ((n) - 1U)) & (~((n) - 1U)))
 
#define XWBOP_TBIT(x, n)   (((x) >> (n)) & 1U)
 
#define xwbop_s1m8(a, mask)   *(a) |= (mask)
 
#define xwbop_c0m8(a, mask)   *(a) &= (~(mask))
 
#define xwbop_x1m8(a, mask)   *(a) ^= (mask)
 
#define xwbop_s1m16(a, mask)   *(a) |= (mask)
 
#define xwbop_c0m16(a, mask)   *(a) &= (~(mask))
 
#define xwbop_x1m16(a, mask)   *(a) ^= (mask)
 
#define xwbop_s1m32(a, mask)   *(a) |= (mask)
 
#define xwbop_c0m32(a, mask)   *(a) &= (~(mask))
 
#define xwbop_x1m32(a, mask)   *(a) ^= (mask)
 
#define xwbop_s1m64(a64, mask64)   *((xwu64_t *)(a64)) |= (mask64)
 
#define xwbop_c0m64(a64, mask64)   *((xwu64_t *)(a64)) &= (~(mask64))
 
#define xwbop_x1m64(a64, mask64)   *((xwu64_t *)(a64)) ^= (mask64)
 
#define xwbop(type, op, ...)   xwbop_##op##__##type(__VA_ARGS__)
 XWOS BOPLIB:调用位操作函数模板
 
#define xwbop_s1m(type, addr, mask)   xwbop(type, s1m, (addr), (mask))
 XWOS BOPLIB:将数据掩码部分的位全部置1
 
#define xwbop_c0m(type, addr, mask)   xwbop(type, c0m, (addr), (mask))
 XWOS BOPLIB:将数据掩码部分的位全部清0
 
#define xwbop_x1m(type, addr, mask)   xwbop(type, x1m, (addr), (mask))
 XWOS BOPLIB:将数据掩码部分的位全部翻转
 
#define xwbop_rbit(type, data)   xwbop(type, rbit, (data))
 XWOS BOPLIB:将数据的位镜面翻转
 
#define xwbop_re(type, data)   xwbop(type, re, (data))
 XWOS BOPLIB:将数据的大小端翻转
 
#define xwbop_ffs(type, data)   xwbop(type, ffs, (data))
 XWOS BOPLIB:在数据中从最低位起查找第一个被置1的位
 
#define xwbop_fls(type, data)   xwbop(type, fls, (data))
 XWOS BOPLIB:在数据中从最高位起查找第一个被置1的位
 
#define xwbop_ffz(type, data)   xwbop(type, flz, (data))
 XWOS BOPLIB:在数据中从最低位起查找第一个被清0的位
 
#define xwbop_flz(type, data)   xwbop(type, flz, (data))
 XWOS BOPLIB:在数据中从最高位起查找第一个被清0的位
 
#define xwbop_weight(type, data)   xwbop(type, weight, (data))
 XWOS BOPLIB:统计数据中1的个数
 
#define DEFINE_XWBOP_S1M(type, bw)
 定义位操作模板:s1m
 
#define DEFINE_XWBOP_C0M(type, bw)
 定义位操作模板:c0m
 
#define DEFINE_XWBOP_X1M(type, bw)
 定义位操作模板:x1m
 
#define DEFINE_XWBOP_RBIT(type, bw)
 定义位操作模板:rbit
 
#define DEFINE_XWBOP_RE(type, bw)
 定义位操作模板:re
 
#define DEFINE_XWBOP_FFS(type, bw)
 定义位操作模板:ffs
 
#define DEFINE_XWBOP_FLS(type, bw)
 定义位操作模板:fls
 
#define DEFINE_XWBOP_FLZ(type, bw)
 定义位操作模板:flz
 
#define DEFINE_XWBOP_FFZ(type, bw)
 定义位操作模板:ffz
 
#define DEFINE_XWBOP_WEIGHT(type, bw)
 定义位操作模板:weight
 
#define DEFINE_XWBOP(type, bw)
 使用模板为类型定义所有的位操作函数
 
#define xwbmpop_define(name, bits)   xwbmp_t name[BITS_TO_XWBMP_T(bits)]
 XWOS BOPLIB:声明位图
 

函数

xwssq_t xwbop_ffs8 (xwu8_t x)
 
xwssq_t xwbop_fls8 (xwu8_t x)
 
xwssq_t xwbop_ffz8 (xwu8_t x)
 
xwssq_t xwbop_flz8 (xwu8_t x)
 
xwu8_t xwbop_rbit8 (xwu8_t x)
 
static xwu8_t xwbop_re8 (xwu8_t x)
 
xwsz_t xwbop_weight8 (xwu8_t x)
 
xwssq_t xwbop_ffs16 (xwu16_t x)
 
xwssq_t xwbop_fls16 (xwu16_t x)
 
xwssq_t xwbop_ffz16 (xwu16_t x)
 
xwssq_t xwbop_flz16 (xwu16_t x)
 
xwu16_t xwbop_rbit16 (xwu16_t x)
 
xwu16_t xwbop_re16 (xwu16_t a)
 
xwsz_t xwbop_weight16 (xwu16_t x)
 
xwssq_t xwbop_ffs32 (xwu32_t x)
 
xwssq_t xwbop_fls32 (xwu32_t x)
 
xwssq_t xwbop_ffz32 (xwu32_t x)
 
xwssq_t xwbop_flz32 (xwu32_t x)
 
xwu32_t xwbop_rbit32 (xwu32_t x)
 
xwu32_t xwbop_re32 (xwu32_t x)
 
xwsz_t xwbop_weight32 (xwu32_t x)
 
xwssq_t xwbop_ffs64 (xwu64_t x)
 
xwssq_t xwbop_fls64 (xwu64_t x)
 
xwssq_t xwbop_ffz64 (xwu64_t x)
 
xwssq_t xwbop_flz64 (xwu64_t x)
 
xwu64_t xwbop_re64 (xwu64_t x)
 
xwu64_t xwbop_rbit64 (xwu64_t x)
 
xwsz_t xwbop_weight64 (xwu64_t x)
 
static void xwbop_s1m__xwu8_t (xwu8_t *x, xwu8_t m)
 
static void xwbop_c0m__xwu8_t (xwu8_t *x, xwu8_t m)
 
static void xwbop_x1m__xwu8_t (xwu8_t *x, xwu8_t m)
 
static xwu8_t xwbop_rbit__xwu8_t (xwu8_t x)
 
static xwu8_t xwbop_re__xwu8_t (xwu8_t x)
 
static xwssq_t xwbop_ffs__xwu8_t (xwu8_t x)
 
static xwssq_t xwbop_fls__xwu8_t (xwu8_t x)
 
static xwssq_t xwbop_flz__xwu8_t (xwu8_t x)
 
static xwssq_t xwbop_ffz__xwu8_t (xwu8_t x)
 
static xwsq_t xwbop_weight__xwu8_t (xwu8_t x)
 
static void xwbop_s1m__xws8_t (xws8_t *x, xws8_t m)
 
static void xwbop_c0m__xws8_t (xws8_t *x, xws8_t m)
 
static void xwbop_x1m__xws8_t (xws8_t *x, xws8_t m)
 
static xws8_t xwbop_rbit__xws8_t (xws8_t x)
 
static xws8_t xwbop_re__xws8_t (xws8_t x)
 
static xwssq_t xwbop_ffs__xws8_t (xws8_t x)
 
static xwssq_t xwbop_fls__xws8_t (xws8_t x)
 
static xwssq_t xwbop_flz__xws8_t (xws8_t x)
 
static xwssq_t xwbop_ffz__xws8_t (xws8_t x)
 
static xwsq_t xwbop_weight__xws8_t (xws8_t x)
 
static void xwbop_s1m__xwu16_t (xwu16_t *x, xwu16_t m)
 
static void xwbop_c0m__xwu16_t (xwu16_t *x, xwu16_t m)
 
static void xwbop_x1m__xwu16_t (xwu16_t *x, xwu16_t m)
 
static xwu16_t xwbop_rbit__xwu16_t (xwu16_t x)
 
static xwu16_t xwbop_re__xwu16_t (xwu16_t x)
 
static xwssq_t xwbop_ffs__xwu16_t (xwu16_t x)
 
static xwssq_t xwbop_fls__xwu16_t (xwu16_t x)
 
static xwssq_t xwbop_flz__xwu16_t (xwu16_t x)
 
static xwssq_t xwbop_ffz__xwu16_t (xwu16_t x)
 
static xwsq_t xwbop_weight__xwu16_t (xwu16_t x)
 
static void xwbop_s1m__xws16_t (xws16_t *x, xws16_t m)
 
static void xwbop_c0m__xws16_t (xws16_t *x, xws16_t m)
 
static void xwbop_x1m__xws16_t (xws16_t *x, xws16_t m)
 
static xws16_t xwbop_rbit__xws16_t (xws16_t x)
 
static xws16_t xwbop_re__xws16_t (xws16_t x)
 
static xwssq_t xwbop_ffs__xws16_t (xws16_t x)
 
static xwssq_t xwbop_fls__xws16_t (xws16_t x)
 
static xwssq_t xwbop_flz__xws16_t (xws16_t x)
 
static xwssq_t xwbop_ffz__xws16_t (xws16_t x)
 
static xwsq_t xwbop_weight__xws16_t (xws16_t x)
 
static void xwbop_s1m__xwu32_t (xwu32_t *x, xwu32_t m)
 
static void xwbop_c0m__xwu32_t (xwu32_t *x, xwu32_t m)
 
static void xwbop_x1m__xwu32_t (xwu32_t *x, xwu32_t m)
 
static xwu32_t xwbop_rbit__xwu32_t (xwu32_t x)
 
static xwu32_t xwbop_re__xwu32_t (xwu32_t x)
 
static xwssq_t xwbop_ffs__xwu32_t (xwu32_t x)
 
static xwssq_t xwbop_fls__xwu32_t (xwu32_t x)
 
static xwssq_t xwbop_flz__xwu32_t (xwu32_t x)
 
static xwssq_t xwbop_ffz__xwu32_t (xwu32_t x)
 
static xwsq_t xwbop_weight__xwu32_t (xwu32_t x)
 
static void xwbop_s1m__xws32_t (xws32_t *x, xws32_t m)
 
static void xwbop_c0m__xws32_t (xws32_t *x, xws32_t m)
 
static void xwbop_x1m__xws32_t (xws32_t *x, xws32_t m)
 
static xws32_t xwbop_rbit__xws32_t (xws32_t x)
 
static xws32_t xwbop_re__xws32_t (xws32_t x)
 
static xwssq_t xwbop_ffs__xws32_t (xws32_t x)
 
static xwssq_t xwbop_fls__xws32_t (xws32_t x)
 
static xwssq_t xwbop_flz__xws32_t (xws32_t x)
 
static xwssq_t xwbop_ffz__xws32_t (xws32_t x)
 
static xwsq_t xwbop_weight__xws32_t (xws32_t x)
 
static void xwbop_s1m__xwu64_t (xwu64_t *x, xwu64_t m)
 
static void xwbop_c0m__xwu64_t (xwu64_t *x, xwu64_t m)
 
static void xwbop_x1m__xwu64_t (xwu64_t *x, xwu64_t m)
 
static xwu64_t xwbop_rbit__xwu64_t (xwu64_t x)
 
static xwu64_t xwbop_re__xwu64_t (xwu64_t x)
 
static xwssq_t xwbop_ffs__xwu64_t (xwu64_t x)
 
static xwssq_t xwbop_fls__xwu64_t (xwu64_t x)
 
static xwssq_t xwbop_flz__xwu64_t (xwu64_t x)
 
static xwssq_t xwbop_ffz__xwu64_t (xwu64_t x)
 
static xwsq_t xwbop_weight__xwu64_t (xwu64_t x)
 
static void xwbop_s1m__xws64_t (xws64_t *x, xws64_t m)
 
static void xwbop_c0m__xws64_t (xws64_t *x, xws64_t m)
 
static void xwbop_x1m__xws64_t (xws64_t *x, xws64_t m)
 
static xws64_t xwbop_rbit__xws64_t (xws64_t x)
 
static xws64_t xwbop_re__xws64_t (xws64_t x)
 
static xwssq_t xwbop_ffs__xws64_t (xws64_t x)
 
static xwssq_t xwbop_fls__xws64_t (xws64_t x)
 
static xwssq_t xwbop_flz__xws64_t (xws64_t x)
 
static xwssq_t xwbop_ffz__xws64_t (xws64_t x)
 
static xwsq_t xwbop_weight__xws64_t (xws64_t x)
 
static void xwbop_s1m__xwsz_t (xwsz_t *x, xwsz_t m)
 
static void xwbop_c0m__xwsz_t (xwsz_t *x, xwsz_t m)
 
static void xwbop_x1m__xwsz_t (xwsz_t *x, xwsz_t m)
 
static xwsz_t xwbop_rbit__xwsz_t (xwsz_t x)
 
static xwsz_t xwbop_re__xwsz_t (xwsz_t x)
 
static xwssq_t xwbop_ffs__xwsz_t (xwsz_t x)
 
static xwssq_t xwbop_fls__xwsz_t (xwsz_t x)
 
static xwssq_t xwbop_flz__xwsz_t (xwsz_t x)
 
static xwssq_t xwbop_ffz__xwsz_t (xwsz_t x)
 
static xwsq_t xwbop_weight__xwsz_t (xwsz_t x)
 
static void xwbop_s1m__xwptr_t (xwptr_t *x, xwptr_t m)
 
static void xwbop_c0m__xwptr_t (xwptr_t *x, xwptr_t m)
 
static void xwbop_x1m__xwptr_t (xwptr_t *x, xwptr_t m)
 
static xwptr_t xwbop_rbit__xwptr_t (xwptr_t x)
 
static xwptr_t xwbop_re__xwptr_t (xwptr_t x)
 
static xwssq_t xwbop_ffs__xwptr_t (xwptr_t x)
 
static xwssq_t xwbop_fls__xwptr_t (xwptr_t x)
 
static xwssq_t xwbop_flz__xwptr_t (xwptr_t x)
 
static xwssq_t xwbop_ffz__xwptr_t (xwptr_t x)
 
static xwsq_t xwbop_weight__xwptr_t (xwptr_t x)
 
static void xwbop_s1m__xwid_t (xwid_t *x, xwid_t m)
 
static void xwbop_c0m__xwid_t (xwid_t *x, xwid_t m)
 
static void xwbop_x1m__xwid_t (xwid_t *x, xwid_t m)
 
static xwid_t xwbop_rbit__xwid_t (xwid_t x)
 
static xwid_t xwbop_re__xwid_t (xwid_t x)
 
static xwssq_t xwbop_ffs__xwid_t (xwid_t x)
 
static xwssq_t xwbop_fls__xwid_t (xwid_t x)
 
static xwssq_t xwbop_flz__xwid_t (xwid_t x)
 
static xwssq_t xwbop_ffz__xwid_t (xwid_t x)
 
static xwsq_t xwbop_weight__xwid_t (xwid_t x)
 
static void xwbop_s1m__xwreg_t (xwreg_t *x, xwreg_t m)
 
static void xwbop_c0m__xwreg_t (xwreg_t *x, xwreg_t m)
 
static void xwbop_x1m__xwreg_t (xwreg_t *x, xwreg_t m)
 
static xwreg_t xwbop_rbit__xwreg_t (xwreg_t x)
 
static xwreg_t xwbop_re__xwreg_t (xwreg_t x)
 
static xwssq_t xwbop_ffs__xwreg_t (xwreg_t x)
 
static xwssq_t xwbop_fls__xwreg_t (xwreg_t x)
 
static xwssq_t xwbop_flz__xwreg_t (xwreg_t x)
 
static xwssq_t xwbop_ffz__xwreg_t (xwreg_t x)
 
static xwsq_t xwbop_weight__xwreg_t (xwreg_t x)
 
static void xwbop_s1m__xwsq_t (xwsq_t *x, xwsq_t m)
 
static void xwbop_c0m__xwsq_t (xwsq_t *x, xwsq_t m)
 
static void xwbop_x1m__xwsq_t (xwsq_t *x, xwsq_t m)
 
static xwsq_t xwbop_rbit__xwsq_t (xwsq_t x)
 
static xwsq_t xwbop_re__xwsq_t (xwsq_t x)
 
static xwssq_t xwbop_ffs__xwsq_t (xwsq_t x)
 
static xwssq_t xwbop_fls__xwsq_t (xwsq_t x)
 
static xwssq_t xwbop_flz__xwsq_t (xwsq_t x)
 
static xwssq_t xwbop_ffz__xwsq_t (xwsq_t x)
 
static xwsq_t xwbop_weight__xwsq_t (xwsq_t x)
 
static void xwbop_s1m__xwbmp_t (xwbmp_t *x, xwbmp_t m)
 
static void xwbop_c0m__xwbmp_t (xwbmp_t *x, xwbmp_t m)
 
static void xwbop_x1m__xwbmp_t (xwbmp_t *x, xwbmp_t m)
 
static xwbmp_t xwbop_rbit__xwbmp_t (xwbmp_t x)
 
static xwbmp_t xwbop_re__xwbmp_t (xwbmp_t x)
 
static xwssq_t xwbop_ffs__xwbmp_t (xwbmp_t x)
 
static xwssq_t xwbop_fls__xwbmp_t (xwbmp_t x)
 
static xwssq_t xwbop_flz__xwbmp_t (xwbmp_t x)
 
static xwssq_t xwbop_ffz__xwbmp_t (xwbmp_t x)
 
static xwsq_t xwbop_weight__xwbmp_t (xwbmp_t x)
 
static void xwbop_s1m__xwtk_t (xwtk_t *x, xwtk_t m)
 
static void xwbop_c0m__xwtk_t (xwtk_t *x, xwtk_t m)
 
static void xwbop_x1m__xwtk_t (xwtk_t *x, xwtk_t m)
 
static xwtk_t xwbop_rbit__xwtk_t (xwtk_t x)
 
static xwtk_t xwbop_re__xwtk_t (xwtk_t x)
 
static xwssq_t xwbop_ffs__xwtk_t (xwtk_t x)
 
static xwssq_t xwbop_fls__xwtk_t (xwtk_t x)
 
static xwssq_t xwbop_flz__xwtk_t (xwtk_t x)
 
static xwssq_t xwbop_ffz__xwtk_t (xwtk_t x)
 
static xwsq_t xwbop_weight__xwtk_t (xwtk_t x)
 
void xwbmpop_assign (xwbmp_t *bmp, xwbmp_t opd[], xwsz_t num)
 XWOS BOPLIB:赋值操作数到位图
 
xwssq_t xwbmpop_cmp (xwbmp_t *bmp, xwbmp_t opd[], xwsz_t num)
 XWOS BOPLIB:从数组最高元素开始比较两个位图的数值大小
 
void xwbmpop_s1all (xwbmp_t *bmp, xwsq_t num)
 XWOS BOPLIB:将位图中所有位置1
 
void xwbmpop_c0all (xwbmp_t *bmp, xwsq_t num)
 XWOS BOPLIB:将位图中所有位清0
 
void xwbmpop_s1i (xwbmp_t *bmp, xwsq_t n)
 XWOS BOPLIB:将位图中单个位置1
 
void xwbmpop_s1m (xwbmp_t *bmp, xwbmp_t msk[], xwsz_t num)
 XWOS BOPLIB:将位图中掩码部分置1
 
void xwbmpop_c0i (xwbmp_t *bmp, xwsq_t n)
 XWOS BOPLIB:将位图中单个位清0
 
void xwbmpop_c0m (xwbmp_t *bmp, xwbmp_t msk[], xwsz_t num)
 XWOS BOPLIB:将位图中掩码部分清0
 
void xwbmpop_x1i (xwbmp_t *bmp, xwsq_t n)
 XWOS BOPLIB:将位图中单个位翻转
 
void xwbmpop_x1m (xwbmp_t *bmp, xwbmp_t msk[], xwsz_t num)
 XWOS BOPLIB:将位图中掩码部分翻转
 
bool xwbmpop_t1i (xwbmp_t *bmp, xwsq_t n)
 XWOS BOPLIB:测试位图中的单个位是否为1
 
bool xwbmpop_t1ma (xwbmp_t *bmp, xwbmp_t msk[], xwsz_t num)
 XWOS BOPLIB:测试位图中掩码部分是否全部为1
 
bool xwbmpop_t1ma_then_c0m (xwbmp_t *bmp, xwbmp_t msk[], xwsz_t num)
 XWOS BOPLIB:测试位图中掩码部分是否全部为1,如果是,就将掩码部分全部清0
 
bool xwbmpop_t1mo (xwbmp_t *bmp, xwbmp_t msk[], xwsz_t num)
 XWOS BOPLIB:测试位图中掩码部分是否至少有一位为1
 
bool xwbmpop_t1mo_then_c0m (xwbmp_t *bmp, xwbmp_t msk[], xwsz_t num)
 XWOS BOPLIB:测试位图中掩码部分是否至少有一位为1,如果是,就将掩码部分全部清0
 
bool xwbmpop_t0ma (xwbmp_t *bmp, xwbmp_t msk[], xwsz_t num)
 XWOS BOPLIB:测试位图中掩码部分是否全部为0
 
bool xwbmpop_t0ma_then_s1m (xwbmp_t *bmp, xwbmp_t msk[], xwsz_t num)
 XWOS BOPLIB:测试位图中掩码部分是否全部为0,如果是,就将掩码部分全部置1
 
bool xwbmpop_t0mo (xwbmp_t *bmp, xwbmp_t msk[], xwsz_t num)
 XWOS BOPLIB:测试位图中掩码部分是否至少有一位为0
 
bool xwbmpop_t0mo_then_s1m (xwbmp_t *bmp, xwbmp_t msk[], xwsz_t num)
 XWOS BOPLIB:测试位图中掩码部分是否至少有一位为0,如果是,就将掩码部分全部置1
 
void xwbmpop_not (xwbmp_t *bmp, xwsz_t num)
 XWOS BOPLIB:将位图按位取反
 
void xwbmpop_and (xwbmp_t *bmp, xwbmp_t opd[], xwsz_t num)
 XWOS BOPLIB:将位图与操作数进行逐位“与”运算
 
void xwbmpop_or (xwbmp_t *bmp, xwbmp_t opd[], xwsz_t num)
 XWOS BOPLIB:将位图与操作数进行逐位“或”运算
 
void xwbmpop_xor (xwbmp_t *bmp, xwbmp_t opd[], xwsz_t num)
 XWOS BOPLIB:将位图与操作数进行逐位“异或”运算
 
xwssq_t xwbmpop_ffs (xwbmp_t *bmp, xwsz_t num)
 XWOS BOPLIB:在位图中从最低位起查找第一个被置1的位
 
xwssq_t xwbmpop_ffz (xwbmp_t *bmp, xwsz_t num)
 XWOS BOPLIB:在位图中从最低位起查找第一个被清0的位
 
xwssq_t xwbmpop_fls (xwbmp_t *bmp, xwsz_t num)
 XWOS BOPLIB:在位图中从最高位起查找第一个被置1的位
 
xwssq_t xwbmpop_flz (xwbmp_t *bmp, xwsz_t num)
 XWOS BOPLIB:在位图中从最高位起查找第一个被清0的位
 
xwsz_t xwbmpop_weight (xwbmp_t *bmp, xwsz_t num)
 XWOS BOPLIB:在位图中统计被置1的位的个数
 

详细描述

XWOS通用库:位操作

作者

在文件 xwbop.h 中定义.