Home
last modified time | relevance | path

Searched refs:kDigitSize (Results 1 – 2 of 2) sorted by relevance

/external/v8/src/objects/
Dbigint.h50 static const int kDigitSize = sizeof(digit_t); variable
52 STATIC_ASSERT(kDigitSize == kPointerSize);
54 static const int kDigitBits = kDigitSize * kBitsPerByte;
66 Address address = FIELD_ADDR(this, kDigitsOffset + n * kDigitSize); in digit()
172 return kHeaderSize + length * kDigitSize; in SizeFor()
Dbigint.cc200 Address address = FIELD_ADDR(this, kDigitsOffset + n * kDigitSize); in set_digit()
322 value, length * kDigitSize); in InitializeDigits()
339 int size_delta = to_trim * kDigitSize; in MakeImmutable()
1853 STATIC_ASSERT(kMaxLength * kDigitSize <= LengthBits::kMax); in GetBitfieldForSerialization()
1854 int bytelength = length() * kDigitSize; in GetBitfieldForSerialization()
1868 int bytelength = length() * kDigitSize; in SerializeDigits()
1889 int length = (bytelength + kDigitSize - 1) / kDigitSize; // Round up. in FromSerializedDigits()
1899 memset(padding_start, 0, length * kDigitSize - bytelength); in FromSerializedDigits()
1904 for (int i = 0; i < bytelength / kDigitSize; i++) { in FromSerializedDigits()
1909 if (bytelength % kDigitSize) { in FromSerializedDigits()
[all …]