Home
last modified time | relevance | path

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

12

/external/v8/test/cctest/
Dtest-macro-assembler-x64.cc114 Smi::kMaxValue, static_cast<int64_t>(Smi::kMaxValue) + 1, in TEST()
121 bool is_in_range = number >= Smi::kMinValue && number <= Smi::kMaxValue; in TEST()
165 TestMoveSmi(masm, &exit, 6, Smi::FromInt(Smi::kMaxValue)); in TEST()
256 TestSmiCompare(masm, &exit, 0xA0, 0, Smi::kMaxValue); in TEST()
257 TestSmiCompare(masm, &exit, 0xB0, Smi::kMaxValue, 0); in TEST()
260 TestSmiCompare(masm, &exit, 0xE0, -1, Smi::kMaxValue); in TEST()
261 TestSmiCompare(masm, &exit, 0xF0, Smi::kMaxValue, -1); in TEST()
263 TestSmiCompare(masm, &exit, 0x110, Smi::kMinValue, Smi::kMaxValue); in TEST()
264 TestSmiCompare(masm, &exit, 0x120, Smi::kMaxValue, Smi::kMinValue); in TEST()
265 TestSmiCompare(masm, &exit, 0x130, Smi::kMaxValue, Smi::kMaxValue); in TEST()
[all …]
/external/skia/src/effects/
DSkTableColorFilter.cpp421 static const float kMaxValue = kColorScaleFactor + kColorOffsetFactor; in emitCode() local
423 kMaxValue, kMaxValue, kMaxValue, kMaxValue); in emitCode()
/external/v8/test/cctest/compiler/
Dcodegen-tester.cc425 for (int32_t i = 1; i < Smi::kMaxValue && i != 0; i = i << 1) { in TEST()
433 RunSmiConstant(Smi::kMaxValue); in TEST()
434 RunSmiConstant(Smi::kMaxValue - 1); in TEST()
450 for (int32_t i = 1; i < Smi::kMaxValue && i != 0; i = i << 1) { in TEST()
456 RunNumberConstant(Smi::kMaxValue); in TEST()
457 RunNumberConstant(Smi::kMaxValue - 1); in TEST()
/external/v8/src/runtime/
Druntime-forin.cc71 DCHECK_LT(index, Smi::kMaxValue); in RUNTIME_FUNCTION()
Druntime-typedarray.cc128 if (length > static_cast<unsigned>(Smi::kMaxValue)) { in RUNTIME_FUNCTION()
202 if ((length > static_cast<unsigned>(Smi::kMaxValue)) || in RUNTIME_FUNCTION()
Druntime-numbers.cc303 return Smi::FromInt(Smi::kMaxValue); in RUNTIME_FUNCTION()
/external/v8/src/
Ddateparser.cc106 if (total_seconds_unsigned > Smi::kMaxValue) return false; in Write()
Dconversions-inl.h103 value <= Smi::kMaxValue && value == FastI2D(FastD2I(value)); in IsSmiDouble()
135 DCHECK(static_cast<unsigned>(Smi::kMaxValue) <= in TryNumberToSize()
Druntime-profiler.cc166 if (ticks < Smi::kMaxValue) { in OptimizeNow()
Ddate.cc26 static const int kMaxStamp = Smi::kMaxValue; in ResetDateCache()
Dcontexts.cc23 CHECK(length < Smi::kMaxValue / 2); in Extend()
Dfactory.cc938 DCHECK(0 <= length && length <= Smi::kMaxValue); in NewFixedTypedArrayWithExternalPointer()
949 DCHECK(0 <= length && length <= Smi::kMaxValue); in NewFixedTypedArray()
1898 CHECK(length <= static_cast<size_t>(Smi::kMaxValue)); in NewJSTypedArray()
1925 CHECK(number_of_elements <= static_cast<size_t>(Smi::kMaxValue)); in NewJSTypedArray()
Dfactory.h348 if (value <= static_cast<size_t>(Smi::kMaxValue)) {
/external/v8/test/unittests/runtime/
Druntime-interpreter-unittest.cc75 991, Smi::kMaxValue, kMaxInt}; in TEST_F()
/external/v8/test/unittests/compiler/
Dchange-lowering-unittest.cc492 value, IsInt32Constant(Smi::kMaxValue)), in TARGET_TEST_F()
621 value, IsInt32Constant(Smi::kMaxValue)), in TARGET_TEST_F()
/external/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()
/external/v8/src/mips/
Dsimulator-mips.cc3647 if (rs() <= (Registers::kMaxValue - rt())) { in DecodeTypeRegisterSPECIAL()
3664 if (rs() <= (Registers::kMaxValue + rt())) { in DecodeTypeRegisterSPECIAL()
4125 BranchCompactHelper(rs > Registers::kMaxValue - rt, 16); in DecodeTypeImmediate()
4140 if (rs <= Registers::kMaxValue - se_imm16) { in DecodeTypeImmediate()
4159 BranchCompactHelper(rs <= Registers::kMaxValue - rt, 16); in DecodeTypeImmediate()
Dconstants-mips.h200 static const int32_t kMaxValue = 0x7fffffff; variable
/external/v8/src/heap/
Dheap-inl.h664 if (last_id == Smi::kMaxValue) { in NextScriptId()
/external/v8/src/mips64/
Dsimulator-mips64.cc3705 if (rs() > (Registers::kMaxValue - rt())) { in DecodeTypeRegisterSPECIAL()
3729 if (rs() > (Registers::kMaxValue + rt())) { in DecodeTypeRegisterSPECIAL()
4340 BranchCompactHelper(rs > Registers::kMaxValue - rt, 16); in DecodeTypeImmediate()
4355 if (rs <= Registers::kMaxValue - se_imm16) { in DecodeTypeImmediate()
4374 BranchCompactHelper(rs <= Registers::kMaxValue - rt, 16); in DecodeTypeImmediate()
Dconstants-mips64.h176 static const int64_t kMaxValue = 0x7fffffffffffffffl; variable
/external/v8/src/compiler/
Dchange-lowering.cc66 return jsgraph()->Int32Constant(Smi::kMaxValue); in SmiMaxValueConstant()
/external/v8/test/cctest/heap/
Dtest-heap.cc169 value = factory->NewNumberFromInt(Smi::kMaxValue); in TEST()
172 CHECK_EQ(Smi::kMaxValue, Handle<Smi>::cast(value)->value()); in TEST()
182 value = factory->NewNumberFromUint(static_cast<uint32_t>(Smi::kMaxValue) + 1); in TEST()
185 CHECK_EQ(static_cast<double>(static_cast<uint32_t>(Smi::kMaxValue) + 1), in TEST()
430 CHECK(Smi::FromInt(Smi::kMaxValue)->IsSmi()); in TEST()
1013 JSArray::SetLength(array, static_cast<uint32_t>(Smi::kMaxValue) + 1); in TEST()
1017 CHECK_EQ(static_cast<uint32_t>(Smi::kMaxValue) + 1, int_length); in TEST()
/external/v8/src/crankshaft/
Dhydrogen-instructions.cc129 if (result > Smi::kMaxValue) { in ConvertAndSetOverflow()
131 return Smi::kMaxValue; in ConvertAndSetOverflow()
1760 result = new(zone) Range(Smi::kMinValue, Smi::kMaxValue); in InferRange()
1821 ? new(zone) Range(Smi::kMinValue, Smi::kMaxValue) in InferRange()
/external/v8/src/parsing/
Dscanner.cc1038 value <= Smi::kMaxValue && c0_ != '.' && c0_ != 'e' && c0_ != 'E') { in ScanNumber()

12