Home
last modified time | relevance | path

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

12345678

/external/clang/test/Sema/
Dshift.c5 #define WORD_BIT (sizeof(int) * CHAR_BIT)
32 c <<= CHAR_BIT; // expected-warning {{shift count >= width of type}} in test()
33 c >>= CHAR_BIT; // expected-warning {{shift count >= width of type}} in test()
34 c <<= CHAR_BIT+1; // expected-warning {{shift count >= width of type}} in test()
35 c >>= CHAR_BIT+1; // expected-warning {{shift count >= width of type}} in test()
36 (void)((long)c << CHAR_BIT); in test()
52 lli = 1LL << (sizeof(long long) * CHAR_BIT - 2); in test()
/external/bison/src/
DSbitset.h28 (((NBITS) + CHAR_BIT - 1) / CHAR_BIT)
30 (((SELF) + (INDEX) / CHAR_BIT))
32 (1 << (CHAR_BIT - 1 - (INDEX) % CHAR_BIT))
34 (UCHAR_MAX << (CHAR_BIT - 1 - ((NBITS) - 1) % CHAR_BIT))
87 for ((INDEX) = ((ITER)-(SELF))*CHAR_BIT; \
88 (INDEX) < (NBITS) && (SELF)+(INDEX)/CHAR_BIT < (ITER)+1; \
/external/bison/lib/
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)
Dfcntl.c56 unsigned char fds_to_close[OPEN_MAX_MAX / CHAR_BIT]; in dupfd()
112 index = (unsigned int) duplicated_fd / CHAR_BIT; in dupfd()
122 fds_to_close[index] |= 1 << ((unsigned int) duplicated_fd % CHAR_BIT); in dupfd()
131 duplicated_fd < fds_to_close_bound * CHAR_BIT; in dupfd()
133 if ((fds_to_close[duplicated_fd / CHAR_BIT] in dupfd()
134 >> (duplicated_fd % CHAR_BIT)) in dupfd()
/external/libvpx/libvpx/vp8/decoder/
Ddboolhuff.h22 # define VP8_BD_VALUE_SIZE ((int)sizeof(VP8_BD_VALUE)*CHAR_BIT)
56 size_t bits_left = ((_bufend)-(_bufptr))*CHAR_BIT; \
58 x = (int)(shift + CHAR_BIT - bits_left); \
68 (_count) += CHAR_BIT; \
70 shift -= CHAR_BIT; \
/external/stlport/stlport/stl/
D_bitset.c26 #define __BITS_PER_WORD (CHAR_BIT * sizeof(unsigned long))
97 return __i*__BITS_PER_WORD + __j*CHAR_BIT + in _M_do_find_first()
100 __thisword >>= CHAR_BIT; in _M_do_find_first()
129 __thisword >>= _S_whichbyte(__prev) * CHAR_BIT; in _M_do_find_next()
134 return __i*__BITS_PER_WORD + __j*CHAR_BIT + in _M_do_find_next()
137 __thisword >>= CHAR_BIT; in _M_do_find_next()
151 return __i*__BITS_PER_WORD + __j*CHAR_BIT + in _M_do_find_next()
154 __thisword >>= CHAR_BIT; in _M_do_find_next()
/external/dropbear/libtommath/mtest/
Dmpi-types.h8 #define MP_DIGIT_BIT (CHAR_BIT*sizeof(mp_digit))
10 #define MP_WORD_BIT (CHAR_BIT*sizeof(mp_word))
/external/e2fsprogs/intl/
Dvasnprintf.c332 (unsigned int) (sizeof (unsigned long long) * CHAR_BIT in VASNPRINTF()
342 (unsigned int) (sizeof (unsigned long) * CHAR_BIT in VASNPRINTF()
350 (unsigned int) (sizeof (unsigned int) * CHAR_BIT in VASNPRINTF()
362 (unsigned int) (sizeof (unsigned long long) * CHAR_BIT in VASNPRINTF()
371 (unsigned int) (sizeof (unsigned long) * CHAR_BIT in VASNPRINTF()
378 (unsigned int) (sizeof (unsigned int) * CHAR_BIT in VASNPRINTF()
389 (unsigned int) (sizeof (unsigned long long) * CHAR_BIT in VASNPRINTF()
398 (unsigned int) (sizeof (unsigned long) * CHAR_BIT in VASNPRINTF()
405 (unsigned int) (sizeof (unsigned int) * CHAR_BIT in VASNPRINTF()
468 (unsigned int) (sizeof (void *) * CHAR_BIT in VASNPRINTF()
/external/stlport/test/unit/
Dmacro_checks.cpp5 #if !defined (CHAR_BIT)
6 # error Missing CHAR_BIT definition.
9 #if (CHAR_BIT < 0)
/external/compiler-rt/test/Unit/
Dfixsfdi_test.c36 char assumption_2[sizeof(su_int)*CHAR_BIT == 32] = {0};
37 char assumption_3[sizeof(float)*CHAR_BIT == 32] = {0};
Dfixunssfsi_test.c37 char assumption_2[sizeof(su_int)*CHAR_BIT == 32] = {0};
38 char assumption_3[sizeof(float)*CHAR_BIT == 32] = {0};
Dfloatdisf_test.c37 char assumption_2[sizeof(di_int)*CHAR_BIT == 64] = {0};
38 char assumption_3[sizeof(float)*CHAR_BIT == 32] = {0};
Dfloatundisf_test.c37 char assumption_2[sizeof(du_int)*CHAR_BIT == 64] = {0};
38 char assumption_3[sizeof(float)*CHAR_BIT == 32] = {0};
Dfixunssfdi_test.c39 char assumption_2[sizeof(su_int)*CHAR_BIT == 32] = {0};
40 char assumption_3[sizeof(float)*CHAR_BIT == 32] = {0};
Dfixdfdi_test.c36 char assumption_2[sizeof(su_int)*CHAR_BIT == 32] = {0};
37 char assumption_3[sizeof(double)*CHAR_BIT == 64] = {0};
Dfixunsdfsi_test.c37 char assumption_2[sizeof(su_int)*CHAR_BIT == 32] = {0};
38 char assumption_3[sizeof(double)*CHAR_BIT == 64] = {0};
Dfixunsxfsi_test.c39 char assumption_2[sizeof(su_int)*CHAR_BIT == 32] = {0};
40 char assumption_3[sizeof(long double)*CHAR_BIT == 128] = {0};
Dfixunsdfdi_test.c38 char assumption_2[sizeof(su_int)*CHAR_BIT == 32] = {0};
39 char assumption_3[sizeof(double)*CHAR_BIT == 64] = {0};
Dfixxfdi_test.c40 char assumption_2[sizeof(su_int)*CHAR_BIT == 32] = {0};
41 char assumption_3[sizeof(long double)*CHAR_BIT == 128] = {0};
Dfixunsxfdi_test.c43 char assumption_2[sizeof(du_int)*CHAR_BIT == 64] = {0};
44 char assumption_3[sizeof(long double)*CHAR_BIT == 128] = {0};
Dfixunstfdi_test.c39 char assumption_2[sizeof(du_int)*CHAR_BIT == 64] = {0};
40 char assumption_3[sizeof(long double)*CHAR_BIT == 128] = {0};
Dfloatundidf_test.c37 char assumption_2[sizeof(di_int)*CHAR_BIT == 64] = {0};
38 char assumption_3[sizeof(double)*CHAR_BIT == 64] = {0};
Dfloatdidf_test.c36 char assumption_2[sizeof(di_int)*CHAR_BIT == 64] = {0};
37 char assumption_3[sizeof(double)*CHAR_BIT == 64] = {0};
Dfloatdixf_test.c38 char assumption_2[sizeof(di_int)*CHAR_BIT == 64] = {0};
39 char assumption_3[sizeof(long double)*CHAR_BIT == 128] = {0};
Dfloatundixf_test.c39 char assumption_2[sizeof(du_int)*CHAR_BIT == 64] = {0};
40 char assumption_3[sizeof(long double)*CHAR_BIT == 128] = {0};

12345678