Searched refs:BitSizeOf (Results 1 – 11 of 11) sorted by relevance
/art/libartbase/base/ |
D | bit_utils.h | 31 constexpr size_t BitSizeOf() { in BitSizeOf() function 41 constexpr size_t BitSizeOf(T /*x*/) { in BitSizeOf() function 42 return BitSizeOf<T>(); in BitSizeOf() 64 return (x == 0) ? BitSizeOf<T>() : CLZ(static_cast<unsigned_type>(x)); in JAVASTYLE_CLZ() 83 return (x == 0) ? BitSizeOf<T>() : CTZ(static_cast<unsigned_type>(x)); in JAVASTYLE_CTZ() 140 return (val != 0) ? static_cast<T>(1u) << (BitSizeOf<T>() - CLZ(val) - 1u) : 0; in TruncToPowerOfTwo() 246 if (N == BitSizeOf<T>()) { in IsInt() 250 CHECK_LT(N, BitSizeOf<T>()); in IsInt() 259 DCHECK_LT(bits, BitSizeOf<T>()); in GetIntLimit() 266 static_assert(kBits <= BitSizeOf<T>(), "kBits must be <= max."); in IsInt() [all …]
|
D | bit_struct_detail.h | 43 typename std::conditional<kBitSize <= BitSizeOf<uintmax_t>(), uintmax_t,
|
D | bit_string.h | 277 static_assert(BitSizeOf<BitString::StorageType>() >=
|
/art/runtime/ |
D | method_info.h | 59 return region_.LoadBits(index * BitSizeOf<MethodIndexType>(), BitSizeOf<MethodIndexType>()); in GetMethodIndex() 63 region_.StoreBits(index * BitSizeOf<MethodIndexType>(), in SetMethodIndex() 65 BitSizeOf<MethodIndexType>()); in SetMethodIndex()
|
D | subtype_check_bits_and_status.h | 70 BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf<BitString::StorageType>()) 75 BitStructInt</*lsb*/ 0, /*width*/ BitSizeOf<BitString::StorageType>()> int32_alias_;
|
D | memory_region.cc | 34 DCHECK_LE(length, BitSizeOf<uint32_t>()); in StoreBits()
|
D | memory_region.h | 135 DCHECK_LE(length, BitSizeOf<uint32_t>()); in LoadBits() 159 uint32_t clear_bit_count = BitSizeOf(value) - length; in LoadBits()
|
D | indirect_reference_table.h | 345 DCHECK_LE(MinimumBitsToStore(table_index), BitSizeOf<uintptr_t>() - kSerialBits - kKindBits); in EncodeIndex()
|
D | thread.cc | 3586 for (size_t i = 0; i < BitSizeOf<uint32_t>(); ++i) { in VisitQuickFrameWithVregCallback()
|
/art/dex2oat/linker/ |
D | image_writer.h | 232 static const size_t kBinShift = BitSizeOf<uint32_t>() - kBinBits - LockWord::kGCStateSize;
|
/art/runtime/interpreter/ |
D | interpreter_common.cc | 1359 (static_cast<uint64_t>(shadow_frame.GetVReg(src_reg + 1)) << BitSizeOf<uint32_t>()) | in DoCallCommon()
|