Lines Matching refs:result_length

92                                                    int result_length);
460 int result_length = x->length() + y->length(); in Multiply() local
462 if (!MutableBigInt::New(isolate, result_length).ToHandle(&result)) { in Multiply()
465 result->InitializeDigits(result_length); in Multiply()
640 int result_length = Max(x->length(), y->length()) + 1; in BitwiseAnd() local
644 if (!AbsoluteSubOne(isolate, x, result_length).ToHandle(&result)) { in BitwiseAnd()
670 int result_length = Max(x->length(), y->length()); in BitwiseXor() local
673 AbsoluteSubOne(isolate, x, result_length).ToHandleChecked(); in BitwiseXor()
678 int result_length = Max(x->length(), y->length()) + 1; in BitwiseXor() local
683 if (!AbsoluteSubOne(isolate, y, result_length).ToHandle(&result)) { in BitwiseXor()
699 int result_length = Max(x->length(), y->length()); in BitwiseOr() local
706 AbsoluteSubOne(isolate, x, result_length).ToHandleChecked(); in BitwiseOr()
716 AbsoluteSubOne(isolate, y, result_length).ToHandleChecked(); in BitwiseOr()
1180 int result_length = input_length + will_overflow; in AbsoluteAddOne() local
1183 if (!New(isolate, result_length).ToHandle(&result)) { in AbsoluteAddOne()
1187 DCHECK(result->length() == result_length); in AbsoluteAddOne()
1195 if (result_length > input_length) { in AbsoluteAddOne()
1217 int result_length) { in AbsoluteSubOne() argument
1219 DCHECK(result_length >= x->length()); in AbsoluteSubOne()
1221 if (!New(isolate, result_length).ToHandle(&result)) { in AbsoluteSubOne()
1232 for (int i = length; i < result_length; i++) { in AbsoluteSubOne()
1271 int result_length = extra_digits == kCopy ? x_length : num_pairs; in AbsoluteBitwiseOp() local
1273 result = New(isolate, result_length).ToHandleChecked(); in AbsoluteBitwiseOp()
1275 DCHECK(result_storage->length() >= result_length); in AbsoluteBitwiseOp()
1276 result_length = result_storage->length(); in AbsoluteBitwiseOp()
1287 for (; i < result_length; i++) { in AbsoluteBitwiseOp()
1632 int result_length = mode == kAlwaysAddOneDigit ? n + 1 : n; in SpecialLeftShift() local
1634 if (!New(isolate, result_length).ToHandle(&result)) { in SpecialLeftShift()
1672 int result_length = length + digit_shift + grow; in LeftShiftByAbsolute() local
1673 if (result_length > kMaxLength) { in LeftShiftByAbsolute()
1678 if (!New(isolate, result_length).ToHandle(&result)) { in LeftShiftByAbsolute()
1684 for (; i < result_length; i++) { in LeftShiftByAbsolute()
1717 int result_length = length - digit_shift; in RightShiftByAbsolute() local
1718 if (result_length <= 0) { in RightShiftByAbsolute()
1744 if (rounding_can_overflow) result_length++; in RightShiftByAbsolute()
1747 DCHECK_LE(result_length, length); in RightShiftByAbsolute()
1748 Handle<MutableBigInt> result = New(isolate, result_length).ToHandleChecked(); in RightShiftByAbsolute()