Home
last modified time | relevance | path

Searched refs:IsBigInt (Results 1 – 25 of 34) sorted by relevance

12

/third_party/node/src/quic/
Ddefs.h49 CHECK_IMPLIES(!value->IsBigInt(), value->IsNumber()); in SetOption()
52 if (value->IsBigInt()) { in SetOption()
/third_party/node/deps/v8/src/builtins/
Dbuiltins-bigint.cc81 if (value->IsBigInt()) return Handle<BigInt>::cast(value); in ThisBigIntValue()
87 if (data.IsBigInt()) return handle(BigInt::cast(data), isolate); in ThisBigIntValue()
Dcast.tq5 extern macro IsBigInt(HeapObject): bool;
452 if (IsBigInt(o)) return %RawDownCast<BigInt>(o);
Dbuiltins-array-gen.cc909 GotoIfNot(IsBigInt(CAST(element_k)), &continue_loop); in GenerateSmiOrObject()
/third_party/node/src/
Dhistogram.cc199 CHECK_IMPLIES(!args[0]->IsNumber(), args[0]->IsBigInt()); in Record()
201 int64_t value = args[0]->IsBigInt() in Record()
253 CHECK_IMPLIES(!args[0]->IsNumber(), args[0]->IsBigInt()); in New()
254 CHECK_IMPLIES(!args[1]->IsNumber(), args[1]->IsBigInt()); in New()
264 } else if (args[0]->IsBigInt()) { in New()
270 } else if (args[1]->IsBigInt()) { in New()
Djs_native_api_v8.cc1884 } else if (v->IsBigInt()) { in napi_typeof()
2232 RETURN_STATUS_IF_FALSE(env, val->IsBigInt(), napi_bigint_expected); in napi_get_value_bigint_int64()
2250 RETURN_STATUS_IF_FALSE(env, val->IsBigInt(), napi_bigint_expected); in napi_get_value_bigint_uint64()
2268 RETURN_STATUS_IF_FALSE(env, val->IsBigInt(), napi_bigint_expected); in napi_get_value_bigint_words()
2555 if (val->IsBigInt()) { in napi_check_object_type_tag()
Dnode_wasi.cc49 if (!(input)->IsBigInt()) { \
/third_party/node/deps/v8/src/runtime/
Druntime-bigint.cc107 if (!left_obj->IsBigInt() || !right_obj->IsBigInt()) { in RUNTIME_FUNCTION()
/third_party/node/deps/v8/src/objects/
Dobjects-inl.h298 this_heap_object.IsBigInt(cage_base); in IsNumeric()
302 return IsNumber(cage_base) || IsBigInt(cage_base); in IsNumeric()
379 JSPrimitiveWrapper::cast(*this).value().IsBigInt(cage_base); in DEF_GETTER()
595 if (input->IsNumber() || input->IsBigInt()) return input; // Shortcut. in ToNumeric()
1143 } else if (InstanceTypeChecker::IsBigInt(instance_type)) { in GetSimpleHash()
1255 SLOW_DCHECK(object.IsBigInt()); in cast()
Dobjects.cc317 if (input->IsBigInt()) { in ConvertToNumberOrNumeric()
410 if (input->IsBigInt()) { in ConvertToString()
483 } else if (input->IsBigInt()) { in NoSideEffectsToMaybeString()
656 if (IsBigInt()) return BigInt::cast(*this).ToBoolean(); in BooleanValue()
722 if (x->IsBigInt() && y->IsString()) { in Compare()
726 if (x->IsString() && y->IsBigInt()) { in Compare()
771 } else if (y->IsBigInt()) { in Equals()
792 } else if (y->IsBigInt()) { in Equals()
813 } else if (y->IsBigInt()) { in Equals()
836 } else if (x->IsBigInt()) { in Equals()
[all …]
Djs-number-format.cc1655 if (numeric_obj->IsBigInt()) { in IcuFormatNumber()
1709 if (obj->IsBigInt()) { in ToFormattable()
1921 if (v->IsBigInt()) return false; in IsPositiveInfinity()
1931 if (v->IsBigInt()) return false; in IsNegativeInfinity()
1942 if (v->IsBigInt()) return false; in IsNegativeZero()
Dbigint.cc72 SLOW_DCHECK(bigint->IsBigInt()); in Cast()
76 SLOW_DCHECK(o.IsBigInt()); in cast()
136 bool IsMutableBigInt() const { return IsBigInt(); } in IsMutableBigInt()
1045 if (obj->IsBigInt()) { in FromObject()
Delements.cc3363 if (!value->IsBigInt()) return Just(false); in IncludesValueImpl()
3433 if (!value->IsBigInt()) return Just<int64_t>(-1); in IndexOfValueImpl()
3480 if (!value->IsBigInt()) return Just<int64_t>(-1); in LastIndexOfValueImpl()
Dvalue-serializer.cc820 } else if (inner_value.IsBigInt(cage_base)) { in WriteJSPrimitiveWrapper()
/third_party/node/deps/v8/include/
Dv8-value.h121 bool IsBigInt() const;
/third_party/node/deps/v8/src/ic/
Dbinary-op-assembler.cc161 Branch(IsBigInt(rhs_heap_object), &bigint, &call_with_any_feedback); in Generate_AddWithFeedback()
380 Branch(IsBigInt(CAST(rhs)), &if_both_bigint, &call_with_any_feedback); in Generate_BinaryOperationWithFeedback()
/third_party/node/deps/v8/src/api/
Dapi-arguments-inl.h25 IsBigInt() || IsUndefined() || IsTrue() || IsFalse() || IsNull())) { in VerifyApiCallResultType()
/third_party/node/deps/v8/src/json/
Djson-stringifier.cc534 InstanceTypeChecker::IsBigInt(instance_type)) { in Serialize_()
620 } else if (raw.IsBigInt()) { in SerializeJSPrimitiveWrapper()
/third_party/node/deps/v8/src/heap/
Dlarge-spaces.cc402 object.IsBigInt(cage_base) || // in Verify()
/third_party/node/deps/v8/src/inspector/
Dv8-console-message.cc100 if (value->IsBigInt()) return append(value.As<v8::BigInt>()); in append()
/third_party/node/deps/v8/src/interpreter/
Dinterpreter-assembler.cc1586 GotoIfNot(IsBigInt(CAST(object)), &not_bigint); in ToNumberOrNumeric()
/third_party/node/deps/v8/src/compiler/
Drepresentation-change.cc1121 if (m.HasResolvedValue() && m.Ref(broker_).IsBigInt() && in GetWord64RepresentationFor()
Dheap-refs.cc767 } else if (InstanceTypeChecker::IsBigInt(t)) { in TryGetBooleanValueImpl()
/third_party/node/deps/v8/src/wasm/
Dmodule-instantiate.cc1555 if (global.type == kWasmI64 && value->IsBigInt()) { in ProcessImportedGlobal()
/third_party/node/deps/v8/src/codegen/
Dcode-stub-assembler.cc1510 Branch(IsBigInt(value_heapobject), &if_bigint, if_true); in BranchIfToBooleanIsTrue()
6776 TNode<BoolT> CodeStubAssembler::IsBigInt(TNode<HeapObject> object) { in IsBigInt() function in v8::internal::CodeStubAssembler
6883 Word32Or(IsHeapNumber(CAST(object)), IsBigInt(CAST(object)))); in IsNumeric()
7627 GotoIfNot(IsBigInt(input_ho), &not_bigint); in ToNumberOrNumeric()
7687 GotoIf(IsBigInt(CAST(input)), &if_bigint); in ToBigInt()
12456 CSA_DCHECK(this, IsBigInt(value_heapobject)); in GenerateEqual_Same()
13395 GotoIfNot(IsBigInt(CAST(rhs)), if_false); in BranchIfSameValue()

12