OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BitFieldExtract
(Results
1 - 4
of
4
) sorted by null
/art/libartbase/base/
bit_utils_test.cc
366
static_assert(
BitFieldExtract
(0xFF, /*lsb=*/0, /*width=*/0) == 0x0, "TestBitFieldExtract#1");
367
static_assert(
BitFieldExtract
(std::numeric_limits<uint32_t>::max(), /*lsb=*/0, /*width=*/32)
370
static_assert(
BitFieldExtract
(std::numeric_limits<int32_t>::max(), /*lsb=*/0, /*width=*/32)
373
static_assert(
BitFieldExtract
(static_cast<uint32_t>(0xFF), /*lsb=*/0, /*width=*/2) == 0b00000011,
375
static_assert(
BitFieldExtract
(static_cast<uint32_t>(0xFF), /*lsb=*/0, /*width=*/3) == 0b00000111,
377
static_assert(
BitFieldExtract
(static_cast<uint32_t>(0xFF), /*lsb=*/1, /*width=*/3) == 0b00000111,
379
static_assert(
BitFieldExtract
(static_cast<uint32_t>(0xFF), /*lsb=*/2, /*width=*/3) == 0b00000111,
381
static_assert(
BitFieldExtract
(static_cast<uint32_t>(0xFF), /*lsb=*/3, /*width=*/3) == 0b00000111,
383
static_assert(
BitFieldExtract
(static_cast<uint32_t>(0xFF), /*lsb=*/8, /*width=*/3) == 0b00000000,
385
static_assert(
BitFieldExtract
(static_cast<uint32_t>(0xFF), /*lsb=*/7, /*width=*/3) == 0b00000001
[
all
...]
bit_string.h
185
StorageType data =
BitFieldExtract
(storage_, GetLsbForPosition(idx), kBitSizeAtPosition[idx]);
bit_struct.h
86
// 'kBitOffset + kBitWidth'. All operations to this become
BitFieldExtract
/BitFieldInsert
174
return
BitFieldExtract
(storage_.pod_.val_, kBitOffset, kBitWidth);
bit_utils.h
482
inline static constexpr T
BitFieldExtract
(T value, size_t lsb, size_t width) {
Completed in 170 milliseconds