/openbmc/phosphor-host-ipmid/include/ipmid/message/ |
H A D | pack.hpp | 60 p.appendBits(CHAR_BIT, static_cast<uint8_t>(i >> (8 * byteIndex))); in PackBytesUnaligned() 142 static_assert(N <= (details::bitStreamSize - CHAR_BIT)); in op() 148 size_t appendCount = std::min(count, static_cast<size_t>(CHAR_BIT)); in op() 150 bits >>= CHAR_BIT; in op() 175 static_assert(N <= (details::bitStreamSize - CHAR_BIT)); in op() 179 size_t appendCount = std::min(count, size_t(CHAR_BIT)); in op() 181 bits >>= CHAR_BIT; in op()
|
H A D | unpack.hpp | 45 i |= static_cast<NumericType>(*pointer) << (CHAR_BIT * byteIndex); in UnpackBytes() 55 i |= static_cast<NumericType>(p.popBits(CHAR_BIT)) in UnpackBytesUnaligned() 56 << (CHAR_BIT * byteIndex); in UnpackBytesUnaligned() 84 if (p.fillBits(CHAR_BIT * sizeof(t))) in op() 167 static_assert(N <= (details::bitStreamSize - CHAR_BIT)); in op() 208 static_assert(N <= (details::bitStreamSize - CHAR_BIT)); in op()
|
/openbmc/phosphor-host-ipmid/include/ipmid/ |
H A D | message.hpp | 90 static constexpr size_t bitStreamSize = ((sizeof(uint64_t) + 1) * CHAR_BIT); 224 if (bitCount < CHAR_BIT) in drain() 231 size_t bitsOut = std::min(static_cast<size_t>(CHAR_BIT), bitCount); in drain() 341 if (count > (details::bitStreamSize - CHAR_BIT)) in fillBits() 353 bitCount += CHAR_BIT; in fillBits()
|
/openbmc/linux/drivers/media/rc/ |
H A D | ir-rc6-decoder.c | 37 #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()
|
/openbmc/linux/drivers/staging/media/atomisp/pci/hive_isp_css_include/ |
H A D | type_support.h | 34 #define CHAR_BIT (8) macro
|
/openbmc/phosphor-host-ipmid/test/message/ |
H A D | pack.cpp | 77 ASSERT_EQ(p.size(), types::nrFixedBits<decltype(v)> / CHAR_BIT); in TEST() 94 CHAR_BIT); in TEST() 123 ASSERT_EQ(p.size(), v.size() / CHAR_BIT); in TEST() 138 ASSERT_EQ(p.size(), (v1.size() + v2.size()) / CHAR_BIT); in TEST() 153 ASSERT_EQ(p.size(), v.size() / CHAR_BIT); in TEST()
|
/openbmc/libmctp/ |
H A D | crc32.c | 18 for (i = 0; i < CHAR_BIT; i++) in crc32()
|
/openbmc/pldm/libpldmresponder/ |
H A D | pdr_utils.cpp | 179 for (int i = 0; i < CHAR_BIT; i++) in parseStateSensorPDR() 183 possibleStates.insert(possibleStatesPos * CHAR_BIT + i); in parseStateSensorPDR()
|
/openbmc/openpower-vpd-parser/ |
H A D | types.hpp | 18 static_assert((8 == CHAR_BIT), "A byte is not 8 bits!");
|
/openbmc/phosphor-net-ipmid/ |
H A D | command_table.hpp | 21 return static_cast<uint8_t>(command >> CHAR_BIT); in netFnLun()
|
/openbmc/openbmc/poky/meta/recipes-support/lzop/lzop/ |
H A D | acinclude.m4 | 221 #if !defined(CHAR_BIT) || (CHAR_BIT != 8) 222 # include "error CHAR_BIT"
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-multimedia/audiofile/files/ |
H A D | 0001-fix-negative-shift-constants.patch | 32 static const int kScaleBits = (Format + 1) * CHAR_BIT - 1;
|
/openbmc/obmc-console/ |
H A D | console-mux.c | 154 max_ngpios = sizeof(((struct console *)0)->mux_index) * CHAR_BIT; in console_server_mux_init()
|
/openbmc/qemu/include/qemu/ |
H A D | bitops.h | 19 #define BITS_PER_BYTE CHAR_BIT
|
H A D | osdep.h | 354 #define TYPE_WIDTH(t) (sizeof(t) * CHAR_BIT)
|
/openbmc/qemu/dump/ |
H A D | dump.c | 1214 size_t bits_per_buf = bitmap_bufsize * CHAR_BIT; in set_dump_bitmap() 1249 byte = (pfn % bits_per_buf) / CHAR_BIT; in set_dump_bitmap() 1250 bit = (pfn % bits_per_buf) % CHAR_BIT; in set_dump_bitmap() 1360 size_t bits_per_buf = bitmap_bufsize * CHAR_BIT; in write_dump_bitmap() 1924 tmp = DIV_ROUND_UP(DIV_ROUND_UP(s->max_mapnr, CHAR_BIT), in dump_init()
|
/openbmc/linux/tools/perf/util/ |
H A D | genelf_debug.c | 212 int size = sizeof(long) * CHAR_BIT; in emit_signed_LEB128()
|
/openbmc/qemu/ui/ |
H A D | vnc-auth-sasl.c | 613 ssf = keysize * CHAR_BIT; /* tls key size is bytes, sasl wants bits */ in start_auth_sasl()
|
/openbmc/pldm/pldmtool/ |
H A D | pldm_platform_cmd.cpp | 791 for (int i = 0; i < CHAR_BIT; i++) in printPossibleStates() 795 pstates << (possibleStatesPos * CHAR_BIT + i); in printPossibleStates()
|
/openbmc/docs/architecture/ |
H A D | ipmi-architecture.md | 297 static_assert(N <= (details::bitStreamSize - CHAR_BIT));
|
/openbmc/linux/tools/testing/selftests/kvm/lib/ |
H A D | sparsebit.c | 166 #define MASK_BITS (sizeof(mask_t) * CHAR_BIT)
|