Home
last modified time | relevance | path

Searched refs:kBitsPerByte (Results 1 – 25 of 71) sorted by relevance

123

/third_party/node/deps/v8/src/codegen/
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()
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/node/deps/v8/src/codegen/arm64/
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/vixl/src/aarch64/
Dabi-aarch64.h108 return GenericOperand(VRegister(NSRN_++, size * kBitsPerByte)); in GetNextParameterGenericOperand()
122 return GenericOperand(Register(NGRN_++, operand_size * kBitsPerByte)); in GetNextParameterGenericOperand()
Dsimulator-aarch64.h254 static const unsigned kMaxSizeInBytes = kMaxSizeInBits / kBitsPerByte;
255 VIXL_STATIC_ASSERT((kMaxSizeInBytes * kBitsPerByte) == kMaxSizeInBits);
259 unsigned GetSizeInBits() const { return size_in_bytes_ * kBitsPerByte; } in GetSizeInBits()
268 VIXL_ASSERT((size_in_bits % kBitsPerByte) == 0); in SetSizeInBits()
269 SetSizeInBytes(size_in_bits / kBitsPerByte); in SetSizeInBits()
322 int bit_in_byte = bit % (sizeof(value_[0]) * kBitsPerByte); in GetBit()
323 int byte = bit / (sizeof(value_[0]) * kBitsPerByte); in GetBit()
416 int byte_index = bit_index / kBitsPerByte; in SetActive()
417 int bit_offset = bit_index % kBitsPerByte; in SetActive()
425 int byte_index = bit_index / kBitsPerByte; in IsActive()
[all …]
Dregisters-aarch64.h409 int GetMaxSizeInBits() const { return GetMaxSizeInBytes() * kBitsPerByte; } in GetMaxSizeInBits()
410 int GetMinSizeInBits() const { return GetMinSizeInBytes() * kBitsPerByte; } in GetMinSizeInBits()
519 return DecodeSizeInBytes(encoded_size) * kBitsPerByte; in DecodeSizeInBits()
/third_party/vixl/test/
Dtest-runner.h83 VIXL_ASSERT((sve_vl_ % kBitsPerByte) == 0); in sve_vl_in_bytes()
84 return sve_vl_ / kBitsPerByte; in sve_vl_in_bytes()
/third_party/vk-gl-cts/external/amber/src/src/
Dverifier.cc29 const uint32_t kBitsPerByte = 8; variable
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/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/
Dbitutils.h40 static const size_t kBitsPerByte = 8; member
41 static const size_t get = sizeof(T) * kBitsPerByte;
/third_party/skia/third_party/externals/spirv-tools/source/util/
Dbitutils.h40 static const size_t kBitsPerByte = 8; member
41 static const size_t get = sizeof(T) * kBitsPerByte;
/third_party/spirv-tools/source/util/
Dbitutils.h40 static const size_t kBitsPerByte = 8; member
41 static const size_t get = sizeof(T) * kBitsPerByte;
/third_party/node/deps/v8/tools/v8windbg/src/
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/node/deps/v8/src/interpreter/
Dconstant-array-builder.h43 static const size_t k8BitCapacity = 1u << kBitsPerByte;
46 static const size_t k16BitCapacity = (1u << 2 * kBitsPerByte) - k8BitCapacity;
/third_party/node/deps/v8/src/numbers/
Dinteger-literal-inl.h21 DCHECK_LT(y.absolute_value(), sizeof(uint64_t) * kBitsPerByte);
/third_party/skia/third_party/externals/oboe/src/opensles/
DAudioStreamOpenSLES.h32 constexpr int kBitsPerByte = 8; variable
/third_party/node/deps/v8/src/objects/
Dbigint.h57 kMaxLengthBits / (kSystemPointerSize * kBitsPerByte);
95 static const int kDigitBits = kDigitSize * kBitsPerByte;
Dcode.h202 FIELD_SIZE(CodeDataContainer::kFlagsOffset) * kBitsPerByte));
686 FIELD_SIZE(kFlagsOffset) * kBitsPerByte);
699 kBitsPerByte);
Dcode-kind.h111 STATIC_ASSERT(kCodeKindCount <= kInt32Size * kBitsPerByte);
/third_party/vixl/src/
Dutils-vixl.h735 typename Unsigned<sizeof(T) * kBitsPerByte>::type alignment) {
740 typename Unsigned<sizeof(T)* kBitsPerByte>::type pointer_raw =
741 (typename Unsigned<sizeof(T) * kBitsPerByte>::type) pointer;
755 typename Unsigned<sizeof(T) * kBitsPerByte>::type alignment) {
760 typename Unsigned<sizeof(T)* kBitsPerByte>::type pointer_raw =
761 (typename Unsigned<sizeof(T) * kBitsPerByte>::type) pointer;
Dcompiler-intrinsics-vixl.h115 int ll_width = sizeof(long long) * kBitsPerByte; // NOLINT(runtime/int)
Dglobals-vixl.h74 const int kBitsPerByte = 1 << kBitsPerByteLog2; variable
/third_party/node/deps/v8/src/regexp/
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/node/deps/v8/src/utils/
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()
/third_party/node/deps/v8/src/builtins/
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/vixl/test/aarch64/
Dtest-utils-aarch64.h167 VIXL_ASSERT(lane < GetSVELaneCount(sizeof(T) * kBitsPerByte)); in zreg_lane()
195 const size_t kChunkSizeInBits = sizeof(Chunk) * kBitsPerByte; in preg_lane()

123