Home
last modified time | relevance | path

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

12

/glibc-2.36/stdlib/
Dtst-limits.c32 TEST (CHAR_BIT, "d", 8); in do_test()
37 TEST (SHRT_MIN, "d", -(1 << (sizeof (short int) * CHAR_BIT - 1))); in do_test()
38 TEST (SHRT_MAX, "d", (1 << (sizeof (short int) * CHAR_BIT - 1)) - 1); in do_test()
39 TEST (USHRT_MAX, "d", (1 << sizeof (short int) * CHAR_BIT) - 1); in do_test()
41 TEST (INT_MIN, "d", (int) -bitval (sizeof (int) * CHAR_BIT - 1) - 1); in do_test()
42 TEST (INT_MAX, "d", (int) bitval (sizeof (int) * CHAR_BIT - 1)); in do_test()
44 (unsigned int) bitval (sizeof (unsigned int) * CHAR_BIT)); in do_test()
47 (long int) -bitval (sizeof (long int) * CHAR_BIT - 1) - 1); in do_test()
48 TEST (LONG_MAX, "ld", (long int) bitval (sizeof (long int) * CHAR_BIT - 1)); in do_test()
50 (unsigned long int) bitval (sizeof (unsigned long int) * CHAR_BIT)); in do_test()
[all …]
Darc4random_uniform.c63 uint32_t bits_length = count * CHAR_BIT; in __arc4random_uniform()
122 bits_length = CHAR_BIT; in __arc4random_uniform()
Dqsort.c57 #define STACK_SIZE (CHAR_BIT * sizeof (size_t))
/glibc-2.36/posix/
Dsysconf.c92 return CHAR_BIT; in __sysconf()
107 return sizeof (long int) * CHAR_BIT; in __sysconf()
110 return sizeof (int) * CHAR_BIT; in __sysconf()
/glibc-2.36/include/
Dvalues.h29 #define _TYPEBITS(type) (sizeof (type) * CHAR_BIT)
65 # define BITSPERBYTE CHAR_BIT
Dlimits.h54 # define CHAR_BIT 8 macro
Dintprops.h52 #define TYPE_WIDTH(t) (sizeof (t) * CHAR_BIT)
/glibc-2.36/string/
Dstr-two-way.h69 #if CHAR_BIT < 10
397 size_t shift_table[1U << CHAR_BIT]; /* See below. */ in two_way_long_needle()
408 for (i = 0; i < 1U << CHAR_BIT; i++) in two_way_long_needle()
/glibc-2.36/sysdeps/posix/
Dsysconf.c698 return CHAR_BIT; in __sysconf()
713 return sizeof (long int) * CHAR_BIT; in __sysconf()
716 return sizeof (int) * CHAR_BIT; in __sysconf()
/glibc-2.36/locale/
Dhashval.h38 hval = (hval << 9) | (hval >> (sizeof hval * CHAR_BIT - 9)); in compute_hashval()
/glibc-2.36/malloc/
Dscratch_buffer_set_array_size.c34 if ((nelem | size) >> (sizeof (size_t) * CHAR_BIT / 2) != 0 in __libc_scratch_buffer_set_array_size()
/glibc-2.36/time/
Ddifftime.c25 #define TYPE_BITS(type) (sizeof (type) * CHAR_BIT)
Dtst-mktime2.c26 : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1)))
Dstrftime_l.c131 #ifndef CHAR_BIT
132 # define CHAR_BIT 8 macro
147 ((sizeof (t) * CHAR_BIT - TYPE_SIGNED (t)) * 302 / 1000 + 1 + TYPE_SIGNED (t))
Dtzfile.c78 int result = *p & (1 << (CHAR_BIT - 1)) ? ~0 : 0; in decode()
/glibc-2.36/misc/sys/
Dparam.h36 #define NBBY CHAR_BIT
/glibc-2.36/misc/
Dtst-preadvwritev2-common.c108 invalid_flag = 0x1 << ((sizeof (int) * CHAR_BIT) - invalid_flag); in do_test_with_invalid_flags()
/glibc-2.36/elf/
Ddynamic-link.h175 where += CHAR_BIT * sizeof(ElfW(Relr)) - 1; \
/glibc-2.36/math/
Datest-exp.c31 #define mpbpl (CHAR_BIT * sizeof (mp_limb_t))
Datest-exp2.c32 #define mpbpl (CHAR_BIT * sizeof (mp_limb_t))
Datest-sincos.c31 #define mpbpl (CHAR_BIT * sizeof (mp_limb_t))
/glibc-2.36/argp/
Dargp-parse.c78 #define GROUP_BITS CHAR_BIT
81 #define USER_BITS ((sizeof ((struct option *)0)->val * CHAR_BIT) - GROUP_BITS)
/glibc-2.36/conform/data/
Dlimits.h-data1 macro-int-constant CHAR_BIT >= 8
/glibc-2.36/timezone/
Dprivate.h627 #define TYPE_BIT(type) (sizeof (type) * CHAR_BIT)
/glibc-2.36/nscd/
Dmem.c67 #define BITS (CHAR_BIT * sizeof (BITMAP_T))

12