Home
last modified time | relevance | path

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

12

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.c.headers/
Dstdint_h.pass.cpp23 static_assert(sizeof(int8_t)*CHAR_BIT == 8, in main()
28 static_assert(sizeof(int16_t)*CHAR_BIT == 16, in main()
33 static_assert(sizeof(int32_t)*CHAR_BIT == 32, in main()
38 static_assert(sizeof(int64_t)*CHAR_BIT == 64, in main()
44 static_assert(sizeof(uint8_t)*CHAR_BIT == 8, in main()
49 static_assert(sizeof(uint16_t)*CHAR_BIT == 16, in main()
54 static_assert(sizeof(uint32_t)*CHAR_BIT == 32, in main()
59 static_assert(sizeof(uint64_t)*CHAR_BIT == 64, in main()
65 static_assert(sizeof(int_least8_t)*CHAR_BIT >= 8, in main()
70 static_assert(sizeof(int_least16_t)*CHAR_BIT >= 16, in main()
[all …]
Dlimits_h.pass.cpp14 #ifndef CHAR_BIT
15 #error CHAR_BIT not defined
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/cstdint/cstdint.syn/
Dcstdint.pass.cpp23 static_assert(sizeof(std::int8_t)*CHAR_BIT == 8, in main()
28 static_assert(sizeof(std::int16_t)*CHAR_BIT == 16, in main()
33 static_assert(sizeof(std::int32_t)*CHAR_BIT == 32, in main()
38 static_assert(sizeof(std::int64_t)*CHAR_BIT == 64, in main()
44 static_assert(sizeof(std::uint8_t)*CHAR_BIT == 8, in main()
49 static_assert(sizeof(std::uint16_t)*CHAR_BIT == 16, in main()
54 static_assert(sizeof(std::uint32_t)*CHAR_BIT == 32, in main()
59 static_assert(sizeof(std::uint64_t)*CHAR_BIT == 64, in main()
65 static_assert(sizeof(std::int_least8_t)*CHAR_BIT >= 8, in main()
70 static_assert(sizeof(std::int_least16_t)*CHAR_BIT >= 16, in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/template.bitset/bitset.members/
Dto_ullong.pass.cpp20 …onst std::size_t M = sizeof(unsigned long long) * CHAR_BIT < N ? sizeof(unsigned long long) * CHAR… in test_to_ullong()
21 …:size_t X = M == 0 ? sizeof(unsigned long long) * CHAR_BIT - 1 : sizeof(unsigned long long) * CHAR… in test_to_ullong()
Dto_ulong.pass.cpp21 … const std::size_t M = sizeof(unsigned long) * CHAR_BIT < N ? sizeof(unsigned long) * CHAR_BIT : N; in test_to_ulong()
22 …nst std::size_t X = M == 0 ? sizeof(unsigned long) * CHAR_BIT - 1 : sizeof(unsigned long) * CHAR_B… in test_to_ulong()
/ndk/sources/host-tools/sed-4.2.1/lib/
Dintprops.h49 : ~ (t) 0 << (sizeof (t) * CHAR_BIT - 1)))
53 : ~ (~ (t) 0 << (sizeof (t) * CHAR_BIT - 1))))
72 ((sizeof (t) * CHAR_BIT - signed_type_or_expr__ (t)) * 146 / 485 \
/ndk/sources/cxx-stl/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()
D_bitset.h62 #define __BITS_PER_WORD (CHAR_BIT*sizeof(unsigned long))
123 return (__pos % __BITS_PER_WORD) / CHAR_BIT; in _S_whichbyte()
223 return (__pos % __BITS_PER_WORD) / CHAR_BIT;
285 return __j*CHAR_BIT + _Bs_G::_S_first_one(__this_byte);
287 __thisword >>= CHAR_BIT;
313 __thisword >>= _S_whichbyte(__prev) * CHAR_BIT;
318 return __j*CHAR_BIT + _Bs_G::_S_first_one(__this_byte);
320 __thisword >>= CHAR_BIT;
D_algobase.c301 unsigned char __hints[(UCHAR_MAX + 1) / CHAR_BIT];
305 __hints[__tmp / CHAR_BIT] |= (1 << (__tmp % CHAR_BIT));
311 …__pred((__hints[(unsigned char)__tmp / CHAR_BIT] & (1 << ((unsigned char)__tmp % CHAR_BIT))) != 0))
D_limits.h124 …_STLP_STATIC_CONSTANT(int, digits = (__idigits < 0) ? ((int)((sizeof(_Int) * (CHAR_BIT))) - ((__im…
303 _STLP_STATIC_CONSTANT(int, digits = ((int)((sizeof(_STLP_LONG_LONG) * (CHAR_BIT))) - 1));
322 _STLP_STATIC_CONSTANT(int, digits = ((int)((sizeof(unsigned _STLP_LONG_LONG) * (CHAR_BIT)))));
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/
Dlimits.hpp53 …ST_LLT min BOOST_PREVENT_MACRO_SUBSTITUTION (){ return 1LL << (sizeof(BOOST_LLT) * CHAR_BIT - 1); } in BOOST_PREVENT_MACRO_SUBSTITUTION()
56 BOOST_STATIC_CONSTANT(int, digits = sizeof(BOOST_LLT) * CHAR_BIT -1);
57 BOOST_STATIC_CONSTANT(int, digits10 = (CHAR_BIT * sizeof (BOOST_LLT) - 1) * 301L / 1000);
109 BOOST_STATIC_CONSTANT(int, digits = sizeof(BOOST_LLT) * CHAR_BIT);
110 BOOST_STATIC_CONSTANT(int, digits10 = (CHAR_BIT * sizeof (BOOST_LLT)) * 301L / 1000);
Dinteger_traits.hpp230 …1LL << (sizeof(::boost::long_long_type) * CHAR_BIT - 1)), ~(1LL << (sizeof(::boost::long_long_type…
/ndk/tests/device/test-stlport/unit/
Dmacro_checks.cpp5 #if !defined (CHAR_BIT)
6 # error Missing CHAR_BIT definition.
9 #if (CHAR_BIT < 0)
/ndk/tests/device/test-gnustl-full/unit/
Dmacro_checks.cpp5 #if !defined (CHAR_BIT)
6 # error Missing CHAR_BIT definition.
9 #if (CHAR_BIT < 0)
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.limits/c.limits/
Dclimits.pass.cpp14 #ifndef CHAR_BIT
15 #error CHAR_BIT not defined
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/support/
Dhexfloat.h29 const std::size_t n = sizeof(unsigned long long) * CHAR_BIT; in hexfloat()
/ndk/sources/cxx-stl/stlport/src/c_locale_win32/
Dc_wlocale_win32.c28 unsigned char cleads[256 / CHAR_BIT];
86 for (i = *ptr; i <= *(ptr + 1); ++i) lcodecvt->cleads[i / CHAR_BIT] |= (0x01 << i % CHAR_BIT); in _Locale_codecvt_create()
117 return (ctable[c / CHAR_BIT] & (0x01 << c % CHAR_BIT)); in __isleadbyte()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dclimits19 CHAR_BIT
Dratio127 static const intmax_t min = (1LL << (sizeof(intmax_t) * CHAR_BIT - 1)) + 1;
145 static const intmax_t min = (1LL << (sizeof(intmax_t) * CHAR_BIT - 1)) + 1;
159 static const intmax_t min = (1LL << (sizeof(intmax_t) * CHAR_BIT - 1)) + 1;
177 static const intmax_t min = (1LL << (sizeof(intmax_t) * CHAR_BIT - 1)) + 1;
188 static const intmax_t nan = (1LL << (sizeof(intmax_t) * CHAR_BIT - 1));
224 static const intmax_t nan = (1LL << (sizeof(intmax_t) * CHAR_BIT - 1));
Dbitset156 … static const unsigned __bits_per_word = static_cast<unsigned>(sizeof(__storage_type) * CHAR_BIT);
189 {return to_ulong(integral_constant<bool, _Size < sizeof(unsigned long) * CHAR_BIT>());}
191 … {return to_ullong(integral_constant<bool, _Size < sizeof(unsigned long long) * CHAR_BIT>());}
317 const_iterator __i = _VSTD::find(__make_iter(sizeof(unsigned long) * CHAR_BIT), __e, true);
340 const_iterator __i = _VSTD::find(__make_iter(sizeof(unsigned long long) * CHAR_BIT), __e, true);
372 … __r |= static_cast<unsigned long long>(__first_[__i]) << (sizeof(__storage_type) * CHAR_BIT);
438 … static const unsigned __bits_per_word = static_cast<unsigned>(sizeof(__storage_type) * CHAR_BIT);
583 … static const unsigned __bits_per_word = static_cast<unsigned>(sizeof(__storage_type) * CHAR_BIT);
640 : private __bitset<_Size == 0 ? 0 : (_Size - 1) / (sizeof(size_t) * CHAR_BIT) + 1, _Size>
643 … static const unsigned __n_words = _Size == 0 ? 0 : (_Size - 1) / (sizeof(size_t) * CHAR_BIT) + 1;
/ndk/sources/host-tools/ndk-stack/regex/
Dregcomp.c497 # define BACKSL (1<<CHAR_BIT) in p_simp_re()
1034 p->ncsalloc += CHAR_BIT; in allocset()
1036 assert(nc % CHAR_BIT == 0); in allocset()
1037 nbytes = nc / CHAR_BIT * css; in allocset()
1050 p->g->sets[i].ptr = p->g->setbits + css*(i/CHAR_BIT); in allocset()
1059 cs->ptr = p->g->setbits + css*((no)/CHAR_BIT); in allocset()
1060 cs->mask = 1 << ((no) % CHAR_BIT); in allocset()
1219 int ncols = (g->ncsets+(CHAR_BIT-1)) / CHAR_BIT; in isinsets()
1236 int ncols = (g->ncsets+(CHAR_BIT-1)) / CHAR_BIT; in samesets()
Dregexec.c156 if (g->nstates <= (int)(CHAR_BIT*sizeof(states1)) && !(eflags&REG_LARGE)) in regexec()
/ndk/sources/host-tools/make-3.81/
Dmake.h157 #ifndef CHAR_BIT
158 # define CHAR_BIT 8 macro
167 (! INTEGER_TYPE_SIGNED (t) ? (t) 0 : ~ (t) 0 << (sizeof (t) * CHAR_BIT - 1))
Dfiledef.h151 (((sizeof (FILE_TIMESTAMP) * CHAR_BIT - 1 - FLOOR_LOG2_SECONDS_PER_YEAR) \
/ndk/sources/host-tools/sed-4.2.1/m4/
Dstdint.m4146 #include <limits.h> /* for CHAR_BIT */
148 ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ (t) 0 << (sizeof (t) * CHAR_BIT - 1)))
150 ((t) ((t) 0 < (t) -1 ? (t) -1 : ~ (~ (t) 0 << (sizeof (t) * CHAR_BIT - 1))))
316 [AC_COMPUTE_INT([result], [sizeof ($gltype) * CHAR_BIT],

12