Home
last modified time | relevance | path

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

12

/external/libmojo/mojo/public/cpp/bindings/tests/
Dassociated_interface_unittest.cc359 const int32_t kMaxValue = 1000; in TEST_F() local
381 kMaxValue * (i + 1) / 4)); in TEST_F()
395 static_cast<size_t>(kMaxValue / 2), in TEST_F()
403 kMaxValue * i / 4 + 1)); in TEST_F()
428 EXPECT_EQ(static_cast<size_t>(kMaxValue / 2), receivers[0].values().size()); in TEST_F()
429 EXPECT_EQ(static_cast<size_t>(kMaxValue / 2), receivers[1].values().size()); in TEST_F()
448 const int32_t kMaxValue = 100; in TEST_F() local
471 base::Unretained(&senders[(i + 1) % 4]), kMaxValue)); in TEST_F()
485 static_cast<size_t>(kMaxValue / 2), in TEST_F()
516 EXPECT_EQ(static_cast<size_t>(kMaxValue / 2), receivers[0].values().size()); in TEST_F()
[all …]
/external/skia/src/effects/
DSkTableColorFilter.cpp446 static const float kMaxValue = kColorScaleFactor + kColorOffsetFactor; in emitCode() local
448 kMaxValue, kMaxValue, kMaxValue, kMaxValue); in emitCode()
/external/v8/src/
Ddateparser.cc106 if (total_seconds_unsigned > Smi::kMaxValue) return false; in Write()
Dconversions-inl.h110 value <= Smi::kMaxValue && value == FastI2D(FastD2I(value)); in IsSmiDouble()
147 DCHECK(static_cast<unsigned>(Smi::kMaxValue) <= in TryNumberToSize()
Ddate.cc26 static const int kMaxStamp = Smi::kMaxValue; in ResetDateCache()
Druntime-profiler.cc482 if (ticks < Smi::kMaxValue) { in MarkCandidatesForOptimization()
Dfactory.cc1099 DCHECK(0 <= length && length <= Smi::kMaxValue); in NewFixedTypedArrayWithExternalPointer()
1110 DCHECK(0 <= length && length <= Smi::kMaxValue); in NewFixedTypedArray()
1843 module->set_hash(isolate()->GenerateIdentityHash(Smi::kMaxValue)); in NewModule()
2067 CHECK(length <= static_cast<size_t>(Smi::kMaxValue)); in NewJSTypedArray()
2099 CHECK(number_of_elements <= static_cast<size_t>(Smi::kMaxValue)); in NewJSTypedArray()
Dcontexts.cc22 CHECK(length < Smi::kMaxValue / 2); in Extend()
Dfactory.h418 if (value <= static_cast<size_t>(Smi::kMaxValue)) {
Dobjects-debug.cc548 CHECK(length() >= 0 && length() <= Smi::kMaxValue); in StringVerify()
/external/v8/src/runtime/
Druntime-typedarray.cc135 if (length > static_cast<unsigned>(Smi::kMaxValue)) { in RUNTIME_FUNCTION()
208 if ((length > static_cast<unsigned>(Smi::kMaxValue)) || in RUNTIME_FUNCTION()
Druntime-numbers.cc204 return Smi::FromInt(Smi::kMaxValue); in RUNTIME_FUNCTION()
Druntime-strings.cc217 DCHECK(Smi::kMaxValue >= String::kMaxLength); in RUNTIME_FUNCTION()
/external/v8/src/ast/
Dast-value-factory.h396 STATIC_ASSERT(kMaxCachedSmi <= Smi::kMaxValue);
/external/v8/src/wasm/
Dwasm-objects.cc63 CHECK_LE(num->value(), static_cast<double>(Smi::kMaxValue)); in SafeInt32()
/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.cc3717 if (rs() <= (Registers::kMaxValue - rt())) { in DecodeTypeRegisterSPECIAL()
3734 if (rs() <= (Registers::kMaxValue + rt())) { in DecodeTypeRegisterSPECIAL()
4227 BranchCompactHelper(rs > Registers::kMaxValue - rt, 16); in DecodeTypeImmediate()
4242 if (rs <= Registers::kMaxValue - se_imm16) { in DecodeTypeImmediate()
4261 BranchCompactHelper(rs <= Registers::kMaxValue - rt, 16); in DecodeTypeImmediate()
Dconstants-mips.h213 static const int32_t kMaxValue = 0x7fffffff; variable
/external/v8/src/heap/
Dheap-inl.h770 if (last_id == Smi::kMaxValue) { in NextScriptId()
/external/v8/src/mips64/
Dconstants-mips64.h176 static const int64_t kMaxValue = 0x7fffffffffffffffl; variable
Dsimulator-mips64.cc3798 if (rs() > (Registers::kMaxValue - rt())) { in DecodeTypeRegisterSPECIAL()
3822 if (rs() > (Registers::kMaxValue + rt())) { in DecodeTypeRegisterSPECIAL()
4500 if (rs <= Registers::kMaxValue - se_imm16) { in DecodeTypeImmediate()
/external/v8/src/crankshaft/
Dhydrogen-instructions.cc148 if (result > Smi::kMaxValue) { in ConvertAndSetOverflow()
150 return Smi::kMaxValue; in ConvertAndSetOverflow()
1688 result = new(zone) Range(Smi::kMinValue, Smi::kMaxValue); in InferRange()
1749 ? new(zone) Range(Smi::kMinValue, Smi::kMaxValue) in InferRange()
/external/v8/src/compiler/
Djs-native-context-specialization.cc1294 jsgraph()->Constant(Smi::kMaxValue), in BuildElementAccess()
1393 jsgraph()->Constant(Smi::kMaxValue), in BuildElementAccess()
/external/v8/src/parsing/
Dscanner.cc1155 value <= Smi::kMaxValue && c0_ != '.' && c0_ != 'e' && c0_ != 'E') { in ScanNumber()
/external/v8/src/builtins/
Dbuiltins-array.cc167 DCHECK_LE(to_add, Smi::kMaxValue - Smi::cast(array->length())->value()); in DoArrayPush()
254 DCHECK_LE(to_add, Smi::kMaxValue - Smi::cast(array->length())->value()); in BUILTIN()

12