Home
last modified time | relevance | path

Searched refs:CHAR_BIT (Results 1 – 25 of 171) sorted by relevance

1234567

/dragonfly/lib/libc/gen/
H A Dsysconf.c462 if (sizeof(int) * CHAR_BIT == 32 && in sysconf()
474 if (sizeof(int) * CHAR_BIT == 32 && in sysconf()
477 sizeof(off_t) * CHAR_BIT >= 64) in sysconf()
486 if (sizeof(int) * CHAR_BIT == 32 && in sysconf()
498 if (sizeof(int) * CHAR_BIT >= 32 && in sysconf()
501 sizeof(off_t) * CHAR_BIT >= 64) in sysconf()
510 if (sizeof(int) * CHAR_BIT == 32 && in sysconf()
522 if (sizeof(int) * CHAR_BIT == 32 && in sysconf()
525 sizeof(off_t) * CHAR_BIT >= 64) in sysconf()
534 if (sizeof(int) * CHAR_BIT == 32 && in sysconf()
[all …]
H A Dconfstr.c89 if (sizeof(long) * CHAR_BIT == 32 && in confstr()
102 if (sizeof(long) * CHAR_BIT >= 64 && in confstr()
103 sizeof(void *) * CHAR_BIT >= 64 && in confstr()
104 sizeof(int) * CHAR_BIT >= 32 && in confstr()
113 if (sizeof(long) * CHAR_BIT >= 64) in confstr()
121 if (sizeof(long) * CHAR_BIT >= 64) in confstr()
/dragonfly/contrib/diffutils/lib/
H A Dfloat+.h138 #define SIZEOF_FLT ((FLT_TOTAL_BIT + CHAR_BIT - 1) / CHAR_BIT)
139 #define SIZEOF_DBL ((DBL_TOTAL_BIT + CHAR_BIT - 1) / CHAR_BIT)
140 #define SIZEOF_LDBL ((LDBL_TOTAL_BIT + CHAR_BIT - 1) / CHAR_BIT)
H A Dfcntl.c60 unsigned char fds_to_close[OPEN_MAX_MAX / CHAR_BIT]; in dupfd()
132 index = (unsigned int) duplicated_fd / CHAR_BIT; in dupfd()
142 fds_to_close[index] |= 1 << ((unsigned int) duplicated_fd % CHAR_BIT); in dupfd()
151 duplicated_fd < fds_to_close_bound * CHAR_BIT; in dupfd()
153 if ((fds_to_close[duplicated_fd / CHAR_BIT] in dupfd()
154 >> (duplicated_fd % CHAR_BIT)) in dupfd()
H A Dbitrotate.h78 return ((x << n) | (x >> ((CHAR_BIT * sizeof x) - n))) & SIZE_MAX; in rotl_sz()
87 return ((x >> n) | (x << ((CHAR_BIT * sizeof x) - n))) & SIZE_MAX; in rotr_sz()
/dragonfly/contrib/gcc-4.7/gcc/
H A Dhwint.h14 #define HOST_BITS_PER_CHAR CHAR_BIT
15 #define HOST_BITS_PER_SHORT (CHAR_BIT * SIZEOF_SHORT)
16 #define HOST_BITS_PER_INT (CHAR_BIT * SIZEOF_INT)
17 #define HOST_BITS_PER_LONG (CHAR_BIT * SIZEOF_LONG)
46 # define HOST_BITS_PER_LONGLONG (CHAR_BIT * SIZEOF_LONG_LONG)
49 # define HOST_BITS_PER___INT64 (CHAR_BIT * SIZEOF___INT64)
H A Dglimits.h29 #undef CHAR_BIT
30 #define CHAR_BIT __CHAR_BIT__ macro
/dragonfly/contrib/gcc-8.0/gcc/
H A Dhwint.h13 #define HOST_BITS_PER_CHAR CHAR_BIT
14 #define HOST_BITS_PER_SHORT (CHAR_BIT * SIZEOF_SHORT)
15 #define HOST_BITS_PER_INT (CHAR_BIT * SIZEOF_INT)
16 #define HOST_BITS_PER_LONG (CHAR_BIT * SIZEOF_LONG)
17 #define HOST_BITS_PER_PTR (CHAR_BIT * SIZEOF_VOID_P)
46 # define HOST_BITS_PER_LONGLONG (CHAR_BIT * SIZEOF_LONG_LONG)
H A Dglimits.h28 #undef CHAR_BIT
29 #define CHAR_BIT __CHAR_BIT__ macro
/dragonfly/contrib/gdb-7/opcodes/
H A Di386-opc.h27 #ifndef CHAR_BIT
28 #define CHAR_BIT 8 macro
166 (CpuMax / sizeof (unsigned int) / CHAR_BIT + 1)
168 (CpuNumOfUints * sizeof (unsigned int) * CHAR_BIT)
599 (OTMax / sizeof (unsigned int) / CHAR_BIT + 1)
601 (OTNumOfUints * sizeof (unsigned int) * CHAR_BIT)
/dragonfly/lib/libc/stdtime/
H A Dprivate.h86 #define TYPE_BIT(type) (sizeof (type) * CHAR_BIT)
96 ? (time_t) -1 << (CHAR_BIT * sizeof (time_t) - 1)
100 ? - (~ 0 < 0) - ((time_t) -1 << (CHAR_BIT * sizeof (time_t) - 1))
/dragonfly/contrib/grep/lib/
H A Dfcntl.c61 unsigned char fds_to_close[OPEN_MAX_MAX / CHAR_BIT]; in dupfd()
133 index = (unsigned int) duplicated_fd / CHAR_BIT; in dupfd()
143 fds_to_close[index] |= 1 << ((unsigned int) duplicated_fd % CHAR_BIT); in dupfd()
152 duplicated_fd < fds_to_close_bound * CHAR_BIT; in dupfd()
154 if ((fds_to_close[duplicated_fd / CHAR_BIT] in dupfd()
155 >> (duplicated_fd % CHAR_BIT)) in dupfd()
H A Dbitrotate.h78 return ((x << n) | (x >> ((CHAR_BIT * sizeof x) - n))) & SIZE_MAX; in rotl_sz()
87 return ((x >> n) | (x << ((CHAR_BIT * sizeof x) - n))) & SIZE_MAX; in rotr_sz()
H A Dstr-two-way.h64 #if CHAR_BIT < 10
336 size_t shift_table[1U << CHAR_BIT]; /* See below. */ in two_way_long_needle()
347 for (i = 0; i < 1U << CHAR_BIT; i++) in two_way_long_needle()
/dragonfly/contrib/cvs-1.12/lib/
H A Dvasnprintf.c335 (unsigned int) (sizeof (unsigned long long) * CHAR_BIT in VASNPRINTF()
345 (unsigned int) (sizeof (unsigned long) * CHAR_BIT in VASNPRINTF()
353 (unsigned int) (sizeof (unsigned int) * CHAR_BIT in VASNPRINTF()
365 (unsigned int) (sizeof (unsigned long long) * CHAR_BIT in VASNPRINTF()
374 (unsigned int) (sizeof (unsigned long) * CHAR_BIT in VASNPRINTF()
381 (unsigned int) (sizeof (unsigned int) * CHAR_BIT in VASNPRINTF()
392 (unsigned int) (sizeof (unsigned long long) * CHAR_BIT in VASNPRINTF()
401 (unsigned int) (sizeof (unsigned long) * CHAR_BIT in VASNPRINTF()
408 (unsigned int) (sizeof (unsigned int) * CHAR_BIT in VASNPRINTF()
471 (unsigned int) (sizeof (void *) * CHAR_BIT in VASNPRINTF()
/dragonfly/contrib/binutils-2.27/opcodes/
H A Di386-opc.h26 #ifndef CHAR_BIT
27 #define CHAR_BIT 8 macro
224 (CpuMax / sizeof (unsigned int) / CHAR_BIT + 1)
226 (CpuNumOfUints * sizeof (unsigned int) * CHAR_BIT)
770 (OTMax / sizeof (unsigned int) / CHAR_BIT + 1)
772 (OTNumOfUints * sizeof (unsigned int) * CHAR_BIT)
/dragonfly/contrib/binutils-2.34/opcodes/
H A Di386-opc.h26 #ifndef CHAR_BIT
27 #define CHAR_BIT 8 macro
259 (CpuMax / sizeof (unsigned int) / CHAR_BIT + 1)
261 (CpuNumOfUints * sizeof (unsigned int) * CHAR_BIT)
806 ((OTNum - 1) / sizeof (unsigned int) / CHAR_BIT + 1)
808 (OTNumOfUints * sizeof (unsigned int) * CHAR_BIT)
/dragonfly/contrib/gdb-7/readline/
H A Dshell.c72 #ifndef CHAR_BIT
73 # define CHAR_BIT 8 macro
85 ((sizeof (t) * CHAR_BIT - TYPE_SIGNED (t)) * 302 / 1000 \
/dragonfly/lib/libc/string/
H A Dtimingsafe_memcmp.c30 int lt = (p1[i] - p2[i]) >> CHAR_BIT; in timingsafe_memcmp()
33 int gt = (p2[i] - p1[i]) >> CHAR_BIT; in timingsafe_memcmp()
/dragonfly/contrib/binutils-2.34/gas/
H A Dsb.c30 #ifndef CHAR_BIT
31 #define CHAR_BIT 8 macro
139 max = (size_t) 1 << (CHAR_BIT * sizeof (want) in sb_check()
/dragonfly/contrib/binutils-2.27/gas/
H A Dsb.c30 #ifndef CHAR_BIT
31 #define CHAR_BIT 8 macro
139 max = (size_t) 1 << (CHAR_BIT * sizeof (want) in sb_check()
/dragonfly/contrib/gdb-7/gdb/gnulib/import/
H A Dstr-two-way.h64 #if CHAR_BIT < 10
336 size_t shift_table[1U << CHAR_BIT]; /* See below. */ in two_way_long_needle()
347 for (i = 0; i < 1U << CHAR_BIT; i++) in two_way_long_needle()
/dragonfly/contrib/nvi2/regex/
H A Dregcomp.c171 ((p)->ncsalloc / CHAR_BIT * (p)->g->csetsize + \
1100 p->ncsalloc += CHAR_BIT; in allocset()
1102 assert(nc % CHAR_BIT == 0); in allocset()
1103 nbytes = nc / CHAR_BIT * css; in allocset()
1118 p->g->sets[i].ptr = p->g->setbits + css*(i/CHAR_BIT); in allocset()
1133 cs->ptr = p->g->setbits + css*((no)/CHAR_BIT); in allocset()
1134 cs->mask = 1 << ((no) % CHAR_BIT); in allocset()
1283 int ncols = (g->ncsets+(CHAR_BIT-1)) / CHAR_BIT; in isinsets()
1300 int ncols = (g->ncsets+(CHAR_BIT-1)) / CHAR_BIT; in samesets()
/dragonfly/contrib/gcc-4.7/libcpp/
H A Dinit.c181 CPP_OPTION (pfile, precision) = CHAR_BIT * sizeof (long); in cpp_create_reader()
182 CPP_OPTION (pfile, char_precision) = CHAR_BIT; in cpp_create_reader()
183 CPP_OPTION (pfile, wchar_precision) = CHAR_BIT * sizeof (int); in cpp_create_reader()
184 CPP_OPTION (pfile, int_precision) = CHAR_BIT * sizeof (int); in cpp_create_reader()
506 size_t max_precision = 2 * CHAR_BIT * sizeof (cpp_num_part); in sanity_checks()
/dragonfly/usr.bin/getconf/
H A Dlimits.gperf24 CHAR_BIT, CHAR_BIT

1234567