Lines Matching refs:BigInt
35 RETURN_RESULT_OR_FAILURE(isolate, BigInt::FromNumber(isolate, value));
37 RETURN_RESULT_OR_FAILURE(isolate, BigInt::FromObject(isolate, value));
51 Handle<BigInt> bigint;
53 BigInt::FromObject(isolate, bigint_obj));
56 BigInt::AsUintN(isolate, bits->Number(), bigint));
69 Handle<BigInt> bigint;
71 BigInt::FromObject(isolate, bigint_obj));
73 return *BigInt::AsIntN(isolate, bits->Number(), bigint);
78 MaybeHandle<BigInt> ThisBigIntValue(Isolate* isolate, Handle<Object> value,
80 // 1. If Type(value) is BigInt, return value.
81 if (value->IsBigInt()) return Handle<BigInt>::cast(value);
84 // 2a. Assert: value.[[BigIntData]] is a BigInt value.
87 if (data.IsBigInt()) return handle(BigInt::cast(data), isolate);
95 BigInt);
101 Handle<BigInt> x;
121 RETURN_RESULT_OR_FAILURE(isolate, BigInt::ToString(isolate, x, radix_number));
128 const char* method_name = "BigInt.prototype.toLocaleString";
131 Handle<BigInt> x;
149 "BigInt.prototype.toString");
156 ThisBigIntValue(isolate, args.receiver(), "BigInt.prototype.valueOf"));