| /freebsd/contrib/llvm-project/libc/include/llvm-libc-macros/ |
| H A D | limits-macros.h | 14 #ifndef CHAR_BIT 16 #define CHAR_BIT __CHAR_BIT__ macro 18 #define CHAR_BIT 8 macro 30 #define CHAR_WIDTH CHAR_BIT 34 #define SCHAR_WIDTH CHAR_BIT 38 #define UCHAR_WIDTH CHAR_BIT 73 #define LONG_WIDTH (__SIZEOF_LONG__ * CHAR_BIT)
|
| /freebsd/lib/libc/gen/ |
| H A D | confstr.c | 80 if (sizeof(long) * CHAR_BIT == 32 && in confstr() 90 if (sizeof(long) * CHAR_BIT >= 64 && in confstr() 91 sizeof(void *) * CHAR_BIT >= 64 && in confstr() 92 sizeof(int) * CHAR_BIT >= 32 && in confstr() 101 if (sizeof(long) * CHAR_BIT >= 64) in confstr()
|
| H A D | sysconf.c | 460 if (sizeof(int) * CHAR_BIT == 32 && in sysconf() 472 if (sizeof(int) * CHAR_BIT == 32 && in sysconf() 475 sizeof(off_t) * CHAR_BIT >= 64) in sysconf() 484 if (sizeof(int) * CHAR_BIT == 32 && in sysconf() 485 sizeof(long) * CHAR_BIT == 64 && in sysconf() 496 if (sizeof(int) * CHAR_BIT >= 32 && in sysconf() 497 sizeof(long) * CHAR_BIT >= 64 && in sysconf() 498 sizeof(void *) * CHAR_BIT >= 64 && in sysconf() 499 sizeof(off_t) * CHAR_BIT >= 64) in sysconf()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/builtins/ |
| H A D | fp_trunc.h | 22 static const int srcBits = sizeof(src_t) * CHAR_BIT; 32 static const int srcBits = sizeof(src_t) * CHAR_BIT; 54 static const int srcBits = sizeof(src_t) * CHAR_BIT; 68 static const int dstBits = sizeof(dst_t) * CHAR_BIT; 89 static const int dstBits = sizeof(dst_t) * CHAR_BIT; 103 static const int dstBits = sizeof(dst_t) * CHAR_BIT; 113 static const int dstBits = sizeof(dst_t) * CHAR_BIT;
|
| H A D | fp_extend.h | 23 static const int srcBits = sizeof(src_t) * CHAR_BIT; 34 static const int srcBits = sizeof(src_t) * CHAR_BIT; 63 static const int srcBits = sizeof(src_t) * CHAR_BIT; 83 static const int srcBits = sizeof(src_t) * CHAR_BIT; 98 static const int dstBits = sizeof(dst_t) * CHAR_BIT; 108 static const int dstBits = sizeof(dst_t) * CHAR_BIT; 118 static const int dstBits = sizeof(dst_t) * CHAR_BIT;
|
| H A D | int_div_impl.inc | 17 const unsigned N = sizeof(fixuint_t) * CHAR_BIT; 46 const unsigned N = sizeof(fixuint_t) * CHAR_BIT; 74 const int N = (int)(sizeof(fixint_t) * CHAR_BIT) - 1; 86 const int N = (int)(sizeof(fixint_t) * CHAR_BIT) - 1;
|
| /freebsd/sbin/dump/ |
| H A D | dump.h | 43 map[(u_int)((ino) - 1) / CHAR_BIT] |= \ 44 1 << ((u_int)((ino) - 1) % CHAR_BIT) 46 map[(u_int)((ino) - 1) / CHAR_BIT] &= \ 47 ~(1 << ((u_int)((ino) - 1) % CHAR_BIT)) 49 (map[(u_int)((ino) - 1) / CHAR_BIT] & \ 50 (1 << ((u_int)((ino) - 1) % CHAR_BIT)))
|
| /freebsd/crypto/openssl/include/internal/ |
| H A D | numbers.h | 19 #define __MAXINT__(T) ((T)((((T)1) << ((sizeof(T) * CHAR_BIT) - 1)) ^ __MAXUINT__(T))) 25 #define __MAXINT__(T) ((T)((((T)1) << ((sizeof(T) * CHAR_BIT) - 1)) ^ __MAXUINT__(T))) 30 …ne __MAXINT__(T) ((T)(((((T)1) << ((sizeof(T) * CHAR_BIT) - 2)) - 1) | (((T)1) << ((sizeof(T) * CH… 31 #define __MAXUINT__(T) ((T)(__MAXINT__(T) | (((T)1) << ((sizeof(T) * CHAR_BIT) - 1))))
|
| /freebsd/contrib/llvm-project/clang/lib/Headers/ |
| H A D | limits.h | 43 #undef CHAR_BIT 71 #define CHAR_BIT __CHAR_BIT__ macro 76 #define CHAR_WIDTH CHAR_BIT 77 #define SCHAR_WIDTH CHAR_BIT 78 #define UCHAR_WIDTH CHAR_BIT
|
| H A D | __clang_hip_stdlib.h | 27 int __sgn = __x >> (sizeof(int) * CHAR_BIT - 1); in abs() 32 long __sgn = __x >> (sizeof(long) * CHAR_BIT - 1); in labs() 37 long long __sgn = __x >> (sizeof(long long) * CHAR_BIT - 1); in llabs()
|
| /freebsd/sbin/restore/ |
| H A D | restore.h | 140 (map[(u_int)((ino) - 1) / CHAR_BIT] & \ 141 (1 << ((u_int)((ino) - 1) % CHAR_BIT))) 143 map[(u_int)((ino) - 1) / CHAR_BIT] |= \ 144 1 << ((u_int)((ino) - 1) % CHAR_BIT)
|
| /freebsd/contrib/ntp/libntp/lib/isc/ |
| H A D | tsmemcmp.c | 45 volatile unsigned int mask = (1u << CHAR_BIT); in isc_tsmemcmp() 54 return (int)(isGT >> CHAR_BIT) - (int)(isLT >> CHAR_BIT); in isc_tsmemcmp()
|
| /freebsd/lib/libc/quad/ |
| H A D | quad.h | 77 #define QUAD_BITS (sizeof(quad_t) * CHAR_BIT) 78 #define LONG_BITS (sizeof(long) * CHAR_BIT) 79 #define HALF_BITS (sizeof(long) * CHAR_BIT / 2)
|
| /freebsd/sys/libkern/ |
| H A D | quad.h | 81 #define QUAD_BITS (sizeof(quad_t) * CHAR_BIT) 82 #define LONG_BITS (sizeof(long) * CHAR_BIT) 83 #define HALF_BITS (sizeof(long) * CHAR_BIT / 2)
|
| /freebsd/tools/build/cross-build/include/linux/sys/ |
| H A D | param.h | 39 /* Without this include NBBY will reference the undefined variable CHAR_BIT */ 40 #ifndef CHAR_BIT 41 #define CHAR_BIT 8 macro
|
| /freebsd/contrib/ntp/libntp/lib/isc/unix/include/isc/ |
| H A D | offset.h | 43 (~(((off_t)-1 >> (sizeof(off_t) * CHAR_BIT - 1)) \ 44 << (sizeof(off_t) * CHAR_BIT - 1)))
|
| /freebsd/contrib/ntp/libntp/lib/isc/win32/include/isc/ |
| H A D | offset.h | 41 (~(((off_t)-1 >> (sizeof(off_t) * CHAR_BIT - 1)) \ 42 << (sizeof(off_t) * CHAR_BIT - 1)))
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | PointerEmbeddedInt.h | 32 template <typename IntT, int Bits = sizeof(IntT) * CHAR_BIT> 38 static_assert(Bits < sizeof(uintptr_t) * CHAR_BIT, 44 Shift = sizeof(uintptr_t) * CHAR_BIT - Bits,
|
| /freebsd/lib/libc/string/ |
| H A D | timingsafe_memcmp.c | 32 int lt = (p1[i] - p2[i]) >> CHAR_BIT; in __timingsafe_memcmp() 35 int gt = (p2[i] - p1[i]) >> CHAR_BIT; in __timingsafe_memcmp()
|
| /freebsd/contrib/llvm-project/libc/src/__support/ |
| H A D | math_extras.h | 26 constexpr unsigned T_BITS = CHAR_BIT * sizeof(T); in mask_trailing_ones() 36 return T(~mask_trailing_ones<T, CHAR_BIT * sizeof(T) - count>()); in mask_leading_ones() 44 return mask_leading_ones<T, CHAR_BIT * sizeof(T) - count>(); in mask_trailing_zeros() 52 return mask_trailing_ones<T, CHAR_BIT * sizeof(T) - count>(); in mask_leading_zeros()
|
| /freebsd/krb5/include/gssrpc/ |
| H A D | types.h | 73 #if defined(CHAR_BIT) && CHAR_BIT != 8
|
| /freebsd/sbin/fsck_ffs/ |
| H A D | pass5.c | 127 inomapsize = howmany(fs->fs_ipg, CHAR_BIT); in pass5() 129 blkmapsize = howmany(fs->fs_fpg, CHAR_BIT); in pass5() 139 howmany(fragstoblks(fs, fs->fs_fpg), CHAR_BIT); in pass5() 313 if ((i & (CHAR_BIT - 1)) != (CHAR_BIT - 1)) { in pass5() 471 inomapsize = howmany(fs->fs_ipg, CHAR_BIT); in update_maps() 485 howmany(fs->fs_fpg, CHAR_BIT), in update_maps() 518 for (m = 0, l = 1; m < CHAR_BIT; m++, l <<= 1) { in check_maps() 521 n = startvalue + i * CHAR_BIT + m; in check_maps()
|
| /freebsd/contrib/arm-optimized-routines/networking/aarch64/ |
| H A D | chksum_simd.c | 28 uint64_t mask = ALL_ONES << (CHAR_BIT * off); in slurp_head64() 47 uint64_t mask = ALL_ONES >> (CHAR_BIT * (8 - nbytes)); in slurp_tail64() 48 Assert(__builtin_popcountl(mask) / CHAR_BIT == nbytes); in slurp_tail64()
|
| /freebsd/lib/libc/tests/string/ |
| H A D | fls_test.c | 51 const int n = sizeof(TYPE) * CHAR_BIT; in ATF_TC_BODY() 67 const int n = sizeof(TYPE) * CHAR_BIT; in ATF_TC_BODY()
|
| H A D | ffs_test.c | 51 const int n = sizeof(TYPE) * CHAR_BIT; in ATF_TC_BODY() 67 const int n = sizeof(TYPE) * CHAR_BIT; in ATF_TC_BODY()
|