Home
last modified time | relevance | path

Searched refs:kBitsPerByte (Results 1 - 25 of 70) sorted by relevance

123

/third_party/node/deps/v8/src/codegen/arm64/
H A Dreglist-arm64.h21 constexpr int kRegListSizeInBits = sizeof(RegList) * kBitsPerByte;
134 DCHECK_EQ(size_in_bits % kBitsPerByte, 0); in RegisterSizeInBytes()
135 return size_in_bits / kBitsPerByte; in RegisterSizeInBytes()
/third_party/node/deps/v8/src/codegen/
H A Dreloc-info.cc74 const int kSmallPCDeltaBits = kBitsPerByte - kTagBits;
122 number = number >> kBitsPerByte; in WriteIntData()
130 data_delta = data_delta >> kBitsPerByte; in WriteData()
156 DCHECK_LT(rinfo->data(), 1 << kBitsPerByte); in Write()
187 x |= static_cast<int>(*--pos_) << i * kBitsPerByte; in AdvanceReadInt()
195 x |= static_cast<intptr_t>(*--pos_) << i * kBitsPerByte; in AdvanceReadData()
H A Dsafepoint-table.cc88 for (int bit = 0; bit < kBitsPerByte; ++bit) { in Print()
201 (tagged_slots_size + kBitsPerByte - 1) / kBitsPerByte; in Emit()
260 int bit_index = index & (kBitsPerByte - 1); in Emit()
/third_party/vixl/src/aarch64/
H A Dabi-aarch64.h108 return GenericOperand(VRegister(NSRN_++, size * kBitsPerByte)); in GetNextParameterGenericOperand()
122 return GenericOperand(Register(NGRN_++, operand_size * kBitsPerByte)); in GetNextParameterGenericOperand()
H A Dsimulator-aarch64.h462 static const unsigned kMaxSizeInBytes = kMaxSizeInBits / kBitsPerByte;
463 VIXL_STATIC_ASSERT((kMaxSizeInBytes * kBitsPerByte) == kMaxSizeInBits);
467 unsigned GetSizeInBits() const { return size_in_bytes_ * kBitsPerByte; } in GetSizeInBits()
476 VIXL_ASSERT((size_in_bits % kBitsPerByte) == 0); in SetSizeInBits()
477 SetSizeInBytes(size_in_bits / kBitsPerByte); in SetSizeInBits()
530 int bit_in_byte = bit % (sizeof(value_[0]) * kBitsPerByte); in GetBit()
531 int byte = bit / (sizeof(value_[0]) * kBitsPerByte); in GetBit()
624 int byte_index = bit_index / kBitsPerByte; in SetActive()
625 int bit_offset = bit_index % kBitsPerByte; in SetActive()
633 int byte_index = bit_index / kBitsPerByte; in IsActive()
[all...]
H A Dregisters-aarch64.h410 int GetMaxSizeInBits() const { return GetMaxSizeInBytes() * kBitsPerByte; }
411 int GetMinSizeInBits() const { return GetMinSizeInBytes() * kBitsPerByte; }
520 return DecodeSizeInBytes(encoded_size) * kBitsPerByte;
/third_party/vixl/test/
H A Dtest-runner.h84 VIXL_ASSERT((sve_vl_ % kBitsPerByte) == 0); in sve_vl_in_bytes()
85 return sve_vl_ / kBitsPerByte; in sve_vl_in_bytes()
/third_party/vk-gl-cts/external/amber/src/src/
H A Dverifier.cc29 const uint32_t kBitsPerByte = 8; member
41 src_bit_offset = src_bit_offset - kBitsPerByte; in CopyBitsOfMemoryToBuffer()
45 const uint32_t size_in_bytes = (src_bit_offset + bits + 7) / kBitsPerByte; in CopyBitsOfMemoryToBuffer()
46 assert(size_in_bytes <= kBitsPerByte); in CopyBitsOfMemoryToBuffer()
58 std::memcpy(dst, &data, static_cast<size_t>((bits + 7) / kBitsPerByte)); in CopyBitsOfMemoryToBuffer()
/third_party/node/deps/v8/src/interpreter/
H A Dconstant-array-builder.h43 static const size_t k8BitCapacity = 1u << kBitsPerByte;
46 static const size_t k16BitCapacity = (1u << 2 * kBitsPerByte) - k8BitCapacity;
/third_party/skia/third_party/externals/spirv-tools/source/util/
H A Dbitutils.h40 static const size_t kBitsPerByte = 8; member
41 static const size_t get = sizeof(T) * kBitsPerByte;
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/
H A Dbitutils.h40 static const size_t kBitsPerByte = 8; member
41 static const size_t get = sizeof(T) * kBitsPerByte;
/third_party/spirv-tools/source/util/
H A Dbitutils.h40 static const size_t kBitsPerByte = 8; member
41 static const size_t get = sizeof(T) * kBitsPerByte;
/third_party/node/deps/v8/src/numbers/
H A Dinteger-literal-inl.h21 DCHECK_LT(y.absolute_value(), sizeof(uint64_t) * kBitsPerByte); in operator <<()
/third_party/node/deps/v8/tools/v8windbg/src/
H A Dobject-inspection.cc227 constexpr int kBitsPerByte = 8; in GetModelForBitField() local
228 uint8_t shift_bytes = shift_bits / kBitsPerByte; in GetModelForBitField()
230 shift_bits -= shift_bytes * kBitsPerByte; in GetModelForBitField()
232 size_t bytes_to_read = (bits_to_read + kBitsPerByte - 1) / kBitsPerByte; in GetModelForBitField()
/third_party/skia/third_party/externals/oboe/src/opensles/
H A DAudioStreamOpenSLES.h32 constexpr int kBitsPerByte = 8; member
/third_party/node/deps/v8/src/objects/
H A Dbigint.h52 // would be kMaxInt - kSystemPointerSize * kBitsPerByte - 1.
57 kMaxLengthBits / (kSystemPointerSize * kBitsPerByte);
95 static const int kDigitBits = kDigitSize * kBitsPerByte;
H A Dcode-kind.h111 STATIC_ASSERT(kCodeKindCount <= kInt32Size * kBitsPerByte);
H A Dcode.h202 FIELD_SIZE(CodeDataContainer::kFlagsOffset) * kBitsPerByte));
686 FIELD_SIZE(kFlagsOffset) * kBitsPerByte);
699 kBitsPerByte);
/third_party/vixl/src/
H A Dcompiler-intrinsics-vixl.h117 sizeof(long long) * kBitsPerByte; // NOLINT(google-runtime-int) in CountLeadingSignBits()
H A Dglobals-vixl.h74 const int kBitsPerByte = 1 << kBitsPerByteLog2; member
H A Dutils-vixl.h764 typename Unsigned<sizeof(T) * kBitsPerByte>::type alignment) { in AlignUp()
769 typename Unsigned<sizeof(T)* kBitsPerByte>::type pointer_raw = in AlignUp()
770 (typename Unsigned<sizeof(T) * kBitsPerByte>::type) pointer; in AlignUp()
784 typename Unsigned<sizeof(T) * kBitsPerByte>::type alignment) { in AlignDown()
789 typename Unsigned<sizeof(T)* kBitsPerByte>::type pointer_raw = in AlignDown()
790 (typename Unsigned<sizeof(T) * kBitsPerByte>::type) pointer; in AlignDown()
/third_party/node/deps/v8/src/builtins/
H A Dbuiltins-handler-gen.cc100 #define ELEMENTS_KINDS_CASE(FROM, TO) (FROM << kBitsPerByte) | TO, in DispatchForElementsKindTransition()
118 Word32Or(Word32Shl(from_kind, Int32Constant(kBitsPerByte)), to_kind); in DispatchForElementsKindTransition()
/third_party/node/deps/v8/src/regexp/
H A Dregexp-bytecode-generator.cc321 for (int i = 0; i < kTableSize; i += kBitsPerByte) { in CheckBitInTable()
323 for (int j = 0; j < kBitsPerByte; j++) { in CheckBitInTable()
/third_party/vixl/test/aarch64/
H A Dtest-utils-aarch64.h167 VIXL_ASSERT(lane < GetSVELaneCount(sizeof(T) * kBitsPerByte)); in zreg_lane()
195 const size_t kChunkSizeInBits = sizeof(Chunk) * kBitsPerByte;
/third_party/node/deps/v8/src/utils/
H A Dutils.h405 DCHECK((0 < n) && (n < (sizeof(x) * kBitsPerByte))); in is_uintn()
411 DCHECK((0 < n) && (n < (sizeof(x) * kBitsPerByte))); in truncate_to_intn()
608 size_t bits_of_v = sizeof(value) * kBitsPerByte; in ByteReverse64()

Completed in 20 milliseconds

123