Searched refs:CHAR_BIT (Results 1 – 25 of 36) sorted by relevance
12
/glibc-2.36/stdlib/ |
D | tst-limits.c | 32 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 …]
|
D | arc4random_uniform.c | 63 uint32_t bits_length = count * CHAR_BIT; in __arc4random_uniform() 122 bits_length = CHAR_BIT; in __arc4random_uniform()
|
D | qsort.c | 57 #define STACK_SIZE (CHAR_BIT * sizeof (size_t))
|
/glibc-2.36/posix/ |
D | sysconf.c | 92 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/ |
D | values.h | 29 #define _TYPEBITS(type) (sizeof (type) * CHAR_BIT) 65 # define BITSPERBYTE CHAR_BIT
|
D | limits.h | 54 # define CHAR_BIT 8 macro
|
D | intprops.h | 52 #define TYPE_WIDTH(t) (sizeof (t) * CHAR_BIT)
|
/glibc-2.36/string/ |
D | str-two-way.h | 69 #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/ |
D | sysconf.c | 698 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/ |
D | hashval.h | 38 hval = (hval << 9) | (hval >> (sizeof hval * CHAR_BIT - 9)); in compute_hashval()
|
/glibc-2.36/malloc/ |
D | scratch_buffer_set_array_size.c | 34 if ((nelem | size) >> (sizeof (size_t) * CHAR_BIT / 2) != 0 in __libc_scratch_buffer_set_array_size()
|
/glibc-2.36/time/ |
D | difftime.c | 25 #define TYPE_BITS(type) (sizeof (type) * CHAR_BIT)
|
D | tst-mktime2.c | 26 : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1)))
|
D | strftime_l.c | 131 #ifndef CHAR_BIT 132 # define CHAR_BIT 8 macro 147 ((sizeof (t) * CHAR_BIT - TYPE_SIGNED (t)) * 302 / 1000 + 1 + TYPE_SIGNED (t))
|
D | tzfile.c | 78 int result = *p & (1 << (CHAR_BIT - 1)) ? ~0 : 0; in decode()
|
/glibc-2.36/misc/sys/ |
D | param.h | 36 #define NBBY CHAR_BIT
|
/glibc-2.36/misc/ |
D | tst-preadvwritev2-common.c | 108 invalid_flag = 0x1 << ((sizeof (int) * CHAR_BIT) - invalid_flag); in do_test_with_invalid_flags()
|
/glibc-2.36/elf/ |
D | dynamic-link.h | 175 where += CHAR_BIT * sizeof(ElfW(Relr)) - 1; \
|
/glibc-2.36/math/ |
D | atest-exp.c | 31 #define mpbpl (CHAR_BIT * sizeof (mp_limb_t))
|
D | atest-exp2.c | 32 #define mpbpl (CHAR_BIT * sizeof (mp_limb_t))
|
D | atest-sincos.c | 31 #define mpbpl (CHAR_BIT * sizeof (mp_limb_t))
|
/glibc-2.36/argp/ |
D | argp-parse.c | 78 #define GROUP_BITS CHAR_BIT 81 #define USER_BITS ((sizeof ((struct option *)0)->val * CHAR_BIT) - GROUP_BITS)
|
/glibc-2.36/conform/data/ |
D | limits.h-data | 1 macro-int-constant CHAR_BIT >= 8
|
/glibc-2.36/timezone/ |
D | private.h | 627 #define TYPE_BIT(type) (sizeof (type) * CHAR_BIT)
|
/glibc-2.36/nscd/ |
D | mem.c | 67 #define BITS (CHAR_BIT * sizeof (BITMAP_T))
|
12