/external/clang/test/SemaCXX/ |
shift.cpp | 5 #define WORD_BIT (sizeof(int) * CHAR_BIT)
|
/external/clang/test/Sema/ |
shift.c | 5 #define WORD_BIT (sizeof(int) * CHAR_BIT) 32 c <<= CHAR_BIT; // expected-warning {{shift count >= width of type}} 33 c >>= CHAR_BIT; // expected-warning {{shift count >= width of type}} 34 c <<= CHAR_BIT+1; // expected-warning {{shift count >= width of type}} 35 c >>= CHAR_BIT+1; // expected-warning {{shift count >= width of type}} 36 (void)((long)c << CHAR_BIT); 53 lli = 1LL << (sizeof(long long) * CHAR_BIT - 2);
|
/external/libvpx/libvpx/vpx_dsp/ |
bitwriter_buffer.c | 18 return wb->bit_offset / CHAR_BIT + (wb->bit_offset % CHAR_BIT > 0); 23 const int p = off / CHAR_BIT; 24 const int q = CHAR_BIT - 1 - off % CHAR_BIT; 25 if (q == CHAR_BIT - 1) {
|
bitreader.c | 45 const size_t bits_left = bytes_left * CHAR_BIT; 46 int shift = BD_VALUE_SIZE - CHAR_BIT - (count + CHAR_BIT); 55 const int bits = (shift & 0xfffffff8) + CHAR_BIT; 69 const int bits_over = (int)(shift + CHAR_BIT - (int)bits_left); 78 count += CHAR_BIT; 80 shift -= CHAR_BIT; 95 while (r->count > CHAR_BIT && r->count < BD_VALUE_SIZE) { 96 r->count -= CHAR_BIT;
|
/external/compiler-rt/lib/builtins/ |
negvdi2.c | 24 const di_int MIN = (di_int)1 << ((int)(sizeof(di_int) * CHAR_BIT)-1);
|
negvsi2.c | 24 const si_int MIN = (si_int)1 << ((int)(sizeof(si_int) * CHAR_BIT)-1);
|
absvdi2.c | 24 const int N = (int)(sizeof(di_int) * CHAR_BIT);
|
absvsi2.c | 24 const int N = (int)(sizeof(si_int) * CHAR_BIT);
|
absvti2.c | 26 const int N = (int)(sizeof(ti_int) * CHAR_BIT);
|
negvti2.c | 26 const ti_int MIN = (ti_int)1 << ((int)(sizeof(ti_int) * CHAR_BIT)-1);
|
clzdi2.c | 28 (f & ((si_int)(sizeof(si_int) * CHAR_BIT)));
|
clzti2.c | 30 ((si_int)f & ((si_int)(sizeof(di_int) * CHAR_BIT)));
|
ctzdi2.c | 28 (f & ((si_int)(sizeof(si_int) * CHAR_BIT)));
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
language_model_dict_content_global_counters.cpp | 26 (1 << (Ver4DictConstants::WORD_COUNT_FIELD_SIZE * CHAR_BIT)) - 64;
|
/external/libcxx/test/std/depr/depr.c.headers/ |
stdint_h.pass.cpp | 24 static_assert(sizeof(int8_t)*CHAR_BIT == 8, 25 "sizeof(int8_t)*CHAR_BIT == 8"); 29 static_assert(sizeof(int16_t)*CHAR_BIT == 16, 30 "sizeof(int16_t)*CHAR_BIT == 16"); 34 static_assert(sizeof(int32_t)*CHAR_BIT == 32, 35 "sizeof(int32_t)*CHAR_BIT == 32"); 39 static_assert(sizeof(int64_t)*CHAR_BIT == 64, 40 "sizeof(int64_t)*CHAR_BIT == 64"); 45 static_assert(sizeof(uint8_t)*CHAR_BIT == 8, 46 "sizeof(uint8_t)*CHAR_BIT == 8") [all...] |
/external/libcxx/test/std/language.support/cstdint/cstdint.syn/ |
cstdint.pass.cpp | 25 static_assert(sizeof(std::int8_t)*CHAR_BIT == 8, 26 "sizeof(std::int8_t)*CHAR_BIT == 8"); 30 static_assert(sizeof(std::int16_t)*CHAR_BIT == 16, 31 "sizeof(std::int16_t)*CHAR_BIT == 16"); 35 static_assert(sizeof(std::int32_t)*CHAR_BIT == 32, 36 "sizeof(std::int32_t)*CHAR_BIT == 32"); 40 static_assert(sizeof(std::int64_t)*CHAR_BIT == 64, 41 "sizeof(std::int64_t)*CHAR_BIT == 64"); 46 static_assert(sizeof(std::uint8_t)*CHAR_BIT == 8, 47 "sizeof(std::uint8_t)*CHAR_BIT == 8") [all...] |
/external/libvpx/libvpx/vp8/decoder/ |
dboolhuff.c | 38 int shift = VP8_BD_VALUE_SIZE - CHAR_BIT - (count + CHAR_BIT); 40 size_t bits_left = bytes_left * CHAR_BIT; 41 int x = shift + CHAR_BIT - (int)bits_left; 58 count += CHAR_BIT; 62 shift -= CHAR_BIT;
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/depr/depr.c.headers/ |
stdint_h.pass.cpp | 24 static_assert(sizeof(int8_t)*CHAR_BIT == 8, 25 "sizeof(int8_t)*CHAR_BIT == 8"); 29 static_assert(sizeof(int16_t)*CHAR_BIT == 16, 30 "sizeof(int16_t)*CHAR_BIT == 16"); 34 static_assert(sizeof(int32_t)*CHAR_BIT == 32, 35 "sizeof(int32_t)*CHAR_BIT == 32"); 39 static_assert(sizeof(int64_t)*CHAR_BIT == 64, 40 "sizeof(int64_t)*CHAR_BIT == 64"); 45 static_assert(sizeof(uint8_t)*CHAR_BIT == 8, 46 "sizeof(uint8_t)*CHAR_BIT == 8") [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/language.support/cstdint/cstdint.syn/ |
cstdint.pass.cpp | 25 static_assert(sizeof(std::int8_t)*CHAR_BIT == 8, 26 "sizeof(std::int8_t)*CHAR_BIT == 8"); 30 static_assert(sizeof(std::int16_t)*CHAR_BIT == 16, 31 "sizeof(std::int16_t)*CHAR_BIT == 16"); 35 static_assert(sizeof(std::int32_t)*CHAR_BIT == 32, 36 "sizeof(std::int32_t)*CHAR_BIT == 32"); 40 static_assert(sizeof(std::int64_t)*CHAR_BIT == 64, 41 "sizeof(std::int64_t)*CHAR_BIT == 64"); 46 static_assert(sizeof(std::uint8_t)*CHAR_BIT == 8, 47 "sizeof(std::uint8_t)*CHAR_BIT == 8") [all...] |
/external/libcxx/test/std/utilities/template.bitset/bitset.members/ |
to_ullong.pass.cpp | 21 const std::size_t M = sizeof(unsigned long long) * CHAR_BIT < N ? sizeof(unsigned long long) * CHAR_BIT : N; 23 const std::size_t X = is_M_zero ? sizeof(unsigned long long) * CHAR_BIT - 1 : sizeof(unsigned long long) * CHAR_BIT - M; 41 const bool canFit = N < sizeof(unsigned long long) * CHAR_BIT;
|
to_ulong.pass.cpp | 22 const std::size_t M = sizeof(unsigned long) * CHAR_BIT < N ? sizeof(unsigned long) * CHAR_BIT : N; 24 const std::size_t X = is_M_zero ? sizeof(unsigned long) * CHAR_BIT - 1 : sizeof(unsigned long) * CHAR_BIT - M; 43 const bool canFit = N < sizeof(unsigned long) * CHAR_BIT;
|
/external/libcxx/test/support/ |
hexfloat.h | 27 const std::size_t Digits = sizeof(unsigned long long) * CHAR_BIT; 41 const std::size_t Digits = sizeof(unsigned long long) * CHAR_BIT;
|
/external/v4l2_codec2/vda/ |
vp8_bool_decoder.cc | 54 static_cast<int>(sizeof(Vp8BoolDecoder::value_) * CHAR_BIT) 105 int shift = VP8_BD_VALUE_BIT - CHAR_BIT - (count_ + CHAR_BIT); 107 size_t bits_left = bytes_left * CHAR_BIT; 108 int x = shift + CHAR_BIT - static_cast<int>(bits_left); 118 count_ += CHAR_BIT; 121 shift -= CHAR_BIT; 152 DCHECK_LE(num_bits, sizeof(int) * CHAR_BIT);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/support/ |
hexfloat.h | 27 const std::size_t Digits = sizeof(unsigned long long) * CHAR_BIT; 41 const std::size_t Digits = sizeof(unsigned long long) * CHAR_BIT;
|
/device/linaro/bootloader/arm-trusted-firmware/lib/compiler-rt/builtins/ |
ctzdi2.c | 28 (f & ((si_int)(sizeof(si_int) * CHAR_BIT)));
|