Home
last modified time | relevance | path

Searched refs:kMaxValue (Results 1 – 25 of 45) sorted by relevance

12

/third_party/node/deps/v8/src/snapshot/
Dserializer-deserializer.h186 template <Bytecode kBytecode, int kMinValue, int kMaxValue,
189 STATIC_ASSERT((kBytecode + kMaxValue - kMinValue) <= kMaxUInt8);
192 return base::IsInRange(static_cast<int>(value), kMinValue, kMaxValue); in IsEncodable()
202 Encode(static_cast<TValue>(kMaxValue)))); in Decode()
/third_party/node/deps/v8/src/objects/
Dtagged-index.h58 return kMinValue <= value && value <= kMaxValue; in IsValid()
70 static constexpr intptr_t kMaxValue = -(kMinValue + 1); variable
Dsmi.h73 value >= kMinValue && value <= kMaxValue); in IsValid()
97 static constexpr int kMaxValue = kSmiMaxValue; variable
Dobjects-inl.h1121 return Smi::FromInt(hash & Smi::kMaxValue); in GetSimpleHash()
1126 if (std::isnan(num)) return Smi::FromInt(Smi::kMaxValue); in GetSimpleHash()
1136 return Smi::FromInt(hash & Smi::kMaxValue); in GetSimpleHash()
1145 return Smi::FromInt(hash & Smi::kMaxValue); in GetSimpleHash()
1148 return Smi::FromInt(hash & Smi::kMaxValue); in GetSimpleHash()
Djs-function.cc347 if (V8_LIKELY(Smi::kMaxValue - nof_bound_arguments > length)) { in GetLength()
350 nof_bound_arguments = Smi::kMaxValue; in GetLength()
Dcontexts.cc50 CHECK(length < Smi::kMaxValue / 2); in Extend()
Djs-array.tq22 // it's set to Smi::kMaxValue.
Dswiss-name-dictionary-inl.h680 DCHECK_GE(Smi::kMaxValue, result); in MaxCapacity()
/third_party/node/deps/v8/src/numbers/
Dconversions-inl.h150 return value >= Smi::kMinValue && value <= Smi::kMaxValue && in IsSmiDouble()
250 DCHECK(static_cast<unsigned>(Smi::kMaxValue) <= in DoubleToUint32IfEqualToSelf()
/third_party/skia/third_party/externals/icu/fuzzers/
Dicu_appendable_fuzzer.cc26 kMaxValue = GetAppendBuffer enumerator
/third_party/node/deps/v8/src/runtime/
Druntime-numbers.cc74 return Smi::FromInt(Smi::kMaxValue); in RUNTIME_FUNCTION()
Druntime-strings.cc214 DCHECK_GE(Smi::kMaxValue, String::kMaxLength); in RUNTIME_FUNCTION()
/third_party/node/deps/v8/src/date/
Ddateparser.cc106 if (total_seconds_unsigned > Smi::kMaxValue) return false; in Write()
Ddate.cc42 if (stamp_.value() >= Smi::kMaxValue) { in ResetDateCache()
/third_party/node/deps/v8/src/heap/
Dfactory-base-inl.h58 if (value <= static_cast<size_t>(Smi::kMaxValue)) { in NewNumberFromSize()
Dheap-inl.h510 if (last_id.value() == Smi::kMaxValue) { in NextScriptId()
Dfactory.cc2781 module.set_hash(isolate()->GenerateIdentityHash(Smi::kMaxValue)); in NewSourceTextModule()
2813 module.set_hash(isolate()->GenerateIdentityHash(Smi::kMaxValue)); in NewSyntheticModule()
3334 STATIC_ASSERT(Smi::kMaxValue <= std::numeric_limits<uint32_t>::max()); in SmiToString()
3352 if (value <= Smi::kMaxValue) { in SizeToString()
/third_party/node/deps/v8/src/builtins/
Dregexp-split.tq15 generates 'Smi::kMaxValue';
Dbuiltins-array.cc385 DCHECK_LE(to_add, Smi::kMaxValue - Smi::ToInt(array->length())); in BUILTIN()
633 DCHECK_LE(to_add, Smi::kMaxValue - Smi::ToInt(array->length())); in BUILTIN()
/third_party/node/deps/v8/src/wasm/
Dwasm-objects-inl.h510 STATIC_ASSERT(Smi::kMaxValue <= kMaxInt); in Size()
511 DCHECK_LE(type->total_fields_size(), Smi::kMaxValue - kHeaderSize); in Size()
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_lens_correction.cpp889 const real64 kMaxValue = 1.0 - maxDstGap; in MaxSrcRadiusGap() local
893 const real64 kNorm = kMaxValue / real64 (kSteps - 1); in MaxSrcRadiusGap()
/third_party/node/deps/v8/src/codegen/loong64/
Dconstants-loong64.h91 static const int64_t kMaxValue = 0x7fffffffffffffffl; variable
/third_party/node/deps/v8/src/parsing/
Dscanner.cc808 value <= Smi::kMaxValue && c0_ != '.' && !IsIdentifierStart(c0_)) { in ScanNumber()
/third_party/node/deps/v8/src/deoptimizer/
Dtranslated-state.cc422 int64_value() <= static_cast<int64_t>(Smi::kMaxValue)); in GetRawValue()
434 bool is_smi = (uint32_value() <= static_cast<uintptr_t>(Smi::kMaxValue)); in GetRawValue()
/third_party/node/deps/v8/src/diagnostics/
Dobjects-debug.cc832 CHECK(length() >= 0 && length() <= Smi::kMaxValue); in StringVerify()
1298 CHECK_LE(next_index().Number(), Smi::kMaxValue); in JSArrayIteratorVerify()

12