Home
last modified time | relevance | path

Searched refs:UINT_WIDTH (Results 1 – 13 of 13) sorted by relevance

/freebsd/lib/libc/stdbit/
H A Dstdc_leading_ones.c12 static_assert(UCHAR_WIDTH < UINT_WIDTH,
18 const int offset = UINT_WIDTH - UCHAR_WIDTH; in stdc_leading_ones_uc()
24 static_assert(USHRT_WIDTH < UINT_WIDTH,
30 const int offset = UINT_WIDTH - USHRT_WIDTH; in stdc_leading_ones_us()
39 return (UINT_WIDTH); in stdc_leading_ones_ui()
H A Dstdc_leading_zeros.c12 static_assert(UCHAR_WIDTH < UINT_WIDTH,
18 const int offset = UINT_WIDTH - UCHAR_WIDTH; in stdc_leading_zeros_uc()
24 static_assert(USHRT_WIDTH < UINT_WIDTH,
30 const int offset = UINT_WIDTH - USHRT_WIDTH; in stdc_leading_zeros_us()
39 return (UINT_WIDTH); in stdc_leading_zeros_ui()
H A Dstdc_bit_ceil.c12 static_assert(UCHAR_WIDTH < UINT_WIDTH,
21 return (1U << (UINT_WIDTH - __builtin_clz(x - 1))); in stdc_bit_ceil_uc()
25 static_assert(USHRT_WIDTH < UINT_WIDTH,
34 return (1U << (UINT_WIDTH - __builtin_clz(x - 1))); in stdc_bit_ceil_us()
46 return (1U << (UINT_WIDTH - __builtin_clz(x - 1))); in stdc_bit_ceil_ui()
H A Dstdc_bit_floor.c16 return (1U << (UINT_WIDTH - __builtin_clz(x) - 1)); in stdc_bit_floor_uc()
25 return (1U << (UINT_WIDTH - __builtin_clz(x) - 1)); in stdc_bit_floor_us()
34 return (1U << (UINT_WIDTH - __builtin_clz(x) - 1)); in stdc_bit_floor_ui()
H A Dstdc_bit_width.c16 return (UINT_WIDTH - __builtin_clz(x)); in stdc_bit_width_uc()
25 return (UINT_WIDTH - __builtin_clz(x)); in stdc_bit_width_us()
34 return (UINT_WIDTH - __builtin_clz(x)); in stdc_bit_width_ui()
H A Dstdc_trailing_ones.c12 static_assert(UCHAR_WIDTH < UINT_WIDTH,
22 static_assert(USHRT_WIDTH < UINT_WIDTH,
35 return (UINT_WIDTH); in stdc_trailing_ones_ui()
H A Dstdc_trailing_zeros.c12 static_assert(UCHAR_WIDTH < UINT_WIDTH,
22 static_assert(USHRT_WIDTH < UINT_WIDTH,
35 return (UINT_WIDTH); in stdc_trailing_zeros_ui()
H A Dstdc_first_leading_one.c13 const int offset = UINT_WIDTH - UCHAR_WIDTH; in stdc_first_leading_one_uc()
24 const int offset = UINT_WIDTH - USHRT_WIDTH; in stdc_first_leading_one_us()
H A Dstdc_first_leading_zero.c13 const int offset = UINT_WIDTH - UCHAR_WIDTH; in stdc_first_leading_zero_uc()
24 const int offset = UINT_WIDTH - USHRT_WIDTH; in stdc_first_leading_zero_us()
/freebsd/contrib/llvm-project/libc/include/llvm-libc-macros/
H A Dlimits-macros.h61 #ifndef UINT_WIDTH
62 #define UINT_WIDTH INT_WIDTH macro
/freebsd/sys/sys/
H A Dlimits.h82 #define UINT_WIDTH __INT_BIT /* number of bits in an unsigned int */ macro
/freebsd/lib/libc/tests/stdbit/
H A Dstdbit-test-framework.c46 #define TYPE_WIDTH UINT_WIDTH
/freebsd/contrib/llvm-project/clang/lib/Headers/
H A Dlimits.h81 #define UINT_WIDTH __INT_WIDTH__ macro