Home
last modified time | relevance | path

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

123456

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/multiprecision/cpp_int/
H A Dimport_export.hpp18 unsigned limb = bit_location / (sizeof(limb_type) * CHAR_BIT); in assign_bits()
19 unsigned shift = bit_location % (sizeof(limb_type) * CHAR_BIT); in assign_bits()
21 …limb_type mask = chunk_bits >= sizeof(limb_type) * CHAR_BIT ? ~static_cast<limb_type>(0u) : (stati… in assign_bits()
35 if(chunk_bits > sizeof(limb_type) * CHAR_BIT - shift) in assign_bits()
37 shift = sizeof(limb_type) * CHAR_BIT - shift; in assign_bits()
53 if((bit_location >= sizeof(local_limb_type) * CHAR_BIT) && bits) in assign_bits()
57 …local_limb_type mask = chunk_bits >= sizeof(local_limb_type) * CHAR_BIT ? ~static_cast<local_limb_… in assign_bits()
63 bit_location = sizeof(local_limb_type) * CHAR_BIT - bit_location; in assign_bits()
73 unsigned limb_count = static_cast<unsigned>(bits / (sizeof(limb_type) * CHAR_BIT)); in resize_to_bit_size()
74 if(bits % (sizeof(limb_type) * CHAR_BIT)) in resize_to_bit_size()
[all …]
H A Dserialize.hpp62 pl[i] |= static_cast<limb_type>(byte) << (j * CHAR_BIT); in do_serialize()
89 … unsigned char byte = static_cast<unsigned char>((l >> (j * CHAR_BIT)) & ((1u << CHAR_BIT) - 1)); in do_serialize()
109 l |= static_cast<typename Int::local_limb_type>(b) << (i * CHAR_BIT); in do_serialize()
128 …typename Int::local_limb_type>(l >> (i * CHAR_BIT)) & static_cast<typename Int::local_limb_type>((… in do_serialize()
H A Dchecked.hpp135 if((shift > sizeof(A) * CHAR_BIT) || (a >> (sizeof(A) * CHAR_BIT - shift))) in checked_left_shift()
143 return (shift >= sizeof(A) * CHAR_BIT) ? 0 : a << shift; in checked_left_shift()
H A Dbitwise.hpp328 std::size_t bytes = static_cast<std::size_t>(s / CHAR_BIT); in left_shift_byte()
440 static const limb_type byte_shift_mask = CHAR_BIT - 1; in eval_left_shift()
450 static const limb_type byte_shift_mask = CHAR_BIT - 1; in eval_left_shift()
477 BOOST_ASSERT((s % CHAR_BIT) == 0); in right_shift_byte()
488 shift = static_cast<limb_type>(s / CHAR_BIT); in right_shift_byte()
490 shift = (sizeof(limb_type) - shift % sizeof(limb_type)) * CHAR_BIT; in right_shift_byte()
567 static const limb_type byte_shift_mask = CHAR_BIT - 1; in eval_right_shift()
573 static const limb_type byte_shift_mask = CHAR_BIT - 1; in eval_right_shift()
600 static const limb_type byte_shift_mask = CHAR_BIT - 1; in eval_right_shift()
606 static const limb_type byte_shift_mask = CHAR_BIT - 1; in eval_right_shift()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/
H A Dinteger.hpp84 …template <> struct exact_signed_base_helper<sizeof(signed char)* CHAR_BIT> { typedef signed char e…
85 …template <> struct exact_unsigned_base_helper<sizeof(unsigned char)* CHAR_BIT> { typedef unsigned …
87 template <> struct exact_signed_base_helper<sizeof(short)* CHAR_BIT> { typedef short exact; };
88 …template <> struct exact_unsigned_base_helper<sizeof(unsigned short)* CHAR_BIT> { typedef unsigned…
91 template <> struct exact_signed_base_helper<sizeof(int)* CHAR_BIT> { typedef int exact; };
92 …template <> struct exact_unsigned_base_helper<sizeof(unsigned int)* CHAR_BIT> { typedef unsigned i…
96 template <> struct exact_signed_base_helper<sizeof(long)* CHAR_BIT> { typedef long exact; };
97 …template <> struct exact_unsigned_base_helper<sizeof(unsigned long)* CHAR_BIT> { typedef unsigned …
104 …template <> struct exact_signed_base_helper<sizeof(boost::long_long_type)* CHAR_BIT> { typedef boo…
105 …template <> struct exact_unsigned_base_helper<sizeof(boost::ulong_long_type)* CHAR_BIT> { typedef …
[all …]
H A Dcrc.hpp459 BOOST_STATIC_CONSTANT( std::size_t, byte_combos = (1ul << CHAR_BIT) );
470 typedef value_type table_type[1ul << CHAR_BIT];
501 unsigned char const byte_hi_bit = 1u << (CHAR_BIT - 1u); in init_table()
530 table_[ crc_helper<CHAR_BIT, Reflect>::reflect(dividend) ] in init_table()
547 { return rem >> (Bits - CHAR_BIT); } in align_msb()
559 { return rem << (CHAR_BIT - Bits); } in align_msb()
582 { return rem >> CHAR_BIT; } in shift()
591 ((Bits>CHAR_BIT)?( rem >> (Bits - CHAR_BIT) ) : in index()
592 ( rem << (CHAR_BIT - Bits) ))); } in index()
596 { return DoReflect ? rem >> CHAR_BIT : rem << CHAR_BIT; } in shift()
[all …]
H A 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);
H A Dinteger_traits.hpp225 …1LL << (sizeof(::boost::long_long_type) * CHAR_BIT - 1)), ~(1LL << (sizeof(::boost::long_long_type…
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/
H A Dhwint.h13 #define HOST_BITS_PER_CHAR CHAR_BIT
14 #define HOST_BITS_PER_SHORT (CHAR_BIT * SIZEOF_SHORT)
15 #define HOST_BITS_PER_INT (CHAR_BIT * SIZEOF_INT)
16 #define HOST_BITS_PER_LONG (CHAR_BIT * SIZEOF_LONG)
17 #define HOST_BITS_PER_PTR (CHAR_BIT * SIZEOF_VOID_P)
46 # define HOST_BITS_PER_LONGLONG (CHAR_BIT * SIZEOF_LONG_LONG)
H A Dglimits.h28 #undef CHAR_BIT
29 #define CHAR_BIT __CHAR_BIT__ macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/
H A Dhwint.h13 #define HOST_BITS_PER_CHAR CHAR_BIT
14 #define HOST_BITS_PER_SHORT (CHAR_BIT * SIZEOF_SHORT)
15 #define HOST_BITS_PER_INT (CHAR_BIT * SIZEOF_INT)
16 #define HOST_BITS_PER_LONG (CHAR_BIT * SIZEOF_LONG)
17 #define HOST_BITS_PER_PTR (CHAR_BIT * SIZEOF_VOID_P)
46 # define HOST_BITS_PER_LONGLONG (CHAR_BIT * SIZEOF_LONG_LONG)
H A Dglimits.h28 #undef CHAR_BIT
29 #define CHAR_BIT __CHAR_BIT__ macro
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/flann/
H A Dlsh_table.h271 …e_t key_size_upper_bound = (std::min)(sizeof(BucketKey) * CHAR_BIT + 1, sizeof(size_t) * CHAR_BIT); in initialize()
302 …if (((std::max(buckets_space_.size(), buckets_speed_.size()) * CHAR_BIT * 3 * sizeof(BucketKey)) /… in optimize()
357 std::vector<int> indices(feature_size * CHAR_BIT); in LshTable()
358 for (size_t i = 0; i < feature_size * CHAR_BIT; ++i) indices[i] = (int)i; in LshTable()
370 size_t divisor = CHAR_BIT * sizeof(size_t); in LshTable()
380 … out << std::setw(sizeof(size_t) * CHAR_BIT / 4) << std::setfill('0') << std::hex << mask_block in LshTable()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/regex/pending/
H A Dunicode_iterator.hpp150 BOOST_STATIC_ASSERT(sizeof(base_value_type)*CHAR_BIT == 32);
151 BOOST_STATIC_ASSERT(sizeof(U16Type)*CHAR_BIT == 16);
265 BOOST_STATIC_ASSERT(sizeof(base_value_type)*CHAR_BIT == 16);
266 BOOST_STATIC_ASSERT(sizeof(U32Type)*CHAR_BIT == 32);
380 BOOST_STATIC_ASSERT(sizeof(base_value_type)*CHAR_BIT == 32);
381 BOOST_STATIC_ASSERT(sizeof(U8Type)*CHAR_BIT == 8);
508 BOOST_STATIC_ASSERT(sizeof(base_value_type)*CHAR_BIT == 8);
509 BOOST_STATIC_ASSERT(sizeof(U32Type)*CHAR_BIT == 32);
/OK3568_Linux_fs/external/xserver/os/
H A Dtimingsafe_memcmp.c32 int lt = (p1[i] - p2[i]) >> CHAR_BIT; in timingsafe_memcmp()
35 int gt = (p2[i] - p1[i]) >> CHAR_BIT; in timingsafe_memcmp()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/
H A Dvalues.h29 #define _TYPEBITS(type) (sizeof (type) * CHAR_BIT)
65 # define BITSPERBYTE CHAR_BIT
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/
H A Dvalues.h29 #define _TYPEBITS(type) (sizeof (type) * CHAR_BIT)
65 # define BITSPERBYTE CHAR_BIT
/OK3568_Linux_fs/kernel/drivers/media/rc/
H A Dir-rc6-decoder.c37 #ifndef CHAR_BIT
38 #define CHAR_BIT 8 /* Normally in <limits.h> */ macro
185 if (data->count++ < CHAR_BIT * sizeof data->body) { in ir_rc6_decode()
222 if (data->count > CHAR_BIT * sizeof data->body) { in ir_rc6_decode()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/multiprecision/
H A Dcpp_int.hpp93 …r>::value && (max_precision<self>::value <= (sizeof(double_limb_type) * CHAR_BIT) - (SignType == s…
192 BOOST_STATIC_CONSTANT(unsigned, limb_bits = sizeof(limb_type) * CHAR_BIT);
259 …static const unsigned max_limbs = MaxBits / (CHAR_BIT * sizeof(limb_type)) + ((MaxBits % (CHAR_BIT in resize()
412 …BOOST_STATIC_ASSERT_MSG(MinBits > sizeof(double_limb_type) * CHAR_BIT, "Template parameter MinBits…
415 BOOST_STATIC_CONSTANT(unsigned, limb_bits = sizeof(limb_type) * CHAR_BIT);
564 …BOOST_STATIC_ASSERT_MSG(MinBits > sizeof(double_limb_type) * CHAR_BIT, "Template parameter MinBits…
567 BOOST_STATIC_CONSTANT(unsigned, limb_bits = sizeof(limb_type) * CHAR_BIT);
720 …vial_limb_type : public trivial_limb_type_imp<N, N <= sizeof(boost::long_long_type) * CHAR_BIT> {};
732 BOOST_STATIC_CONSTANT(unsigned, limb_bits = sizeof(local_limb_type) * CHAR_BIT);
741 …BOOST_STATIC_ASSERT_MSG(MinBits <= sizeof(double_limb_type) * CHAR_BIT, "Template parameter MinBit…
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/include-fixed/
H A Dlimits.h63 #undef CHAR_BIT
64 #define CHAR_BIT __CHAR_BIT__ macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/install-tools/include/
H A Dlimits.h63 #undef CHAR_BIT
64 #define CHAR_BIT __CHAR_BIT__ macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/include-fixed/
H A Dlimits.h63 #undef CHAR_BIT
64 #define CHAR_BIT __CHAR_BIT__ macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/install-tools/include/
H A Dlimits.h63 #undef CHAR_BIT
64 #define CHAR_BIT __CHAR_BIT__ macro
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/multiprecision/detail/
H A Dbitscan.hpp135 return sizeof(unsigned) * CHAR_BIT - 1 - __builtin_clz(mask); in find_msb()
139 return sizeof(unsigned long) * CHAR_BIT - 1 - __builtin_clzl(mask); in find_msb()
143 return sizeof(boost::ulong_long_type) * CHAR_BIT - 1 - __builtin_clzll(mask); in find_msb()
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/hive_isp_css_include/
H A Dtype_support.h34 #define CHAR_BIT (8) macro

123456