/arkcompiler/runtime_core/libpandabase/tests/ |
H A D | arena_allocator_test.cpp | 59 static constexpr T MAX_VALUE() in MAX_VALUE() function in panda::ArenaAllocatorTest 90 *arr[i] = rand() % MAX_VALUE<T>(); in AllocateWithAlignment() 98 ASSERT_EQ(*arr[i], rand() % MAX_VALUE<T>()) << "value of i: " << i << ", align: " << align; in AllocateWithAlignment() 116 *arr[i] = random_value % MAX_VALUE<T>(); in AllocateWithDiffAlignment() 128 ASSERT_EQ(*arr[i], random_value % MAX_VALUE<T>()) << "value of i: " << i; in AllocateWithDiffAlignment() 378 constexpr uint32_t MAX_VAL = MAX_VALUE<uint32_t>(); in HWTEST_F() 514 arr[i] = aa.New<ComplexClass>(rand() % MAX_VALUE<size_t>()); in HWTEST_F() 521 size_t random_value = rand() % MAX_VALUE<size_t>(); in HWTEST_F() 529 arr[i]->setValue(rand() % MAX_VALUE<size_t>()); in HWTEST_F() 535 size_t random_value = rand() % MAX_VALUE<size_ in HWTEST_F() [all...] |
/arkcompiler/runtime_core/static_core/verification/util/ |
H A D | tagged_index.h | 132 static constexpr UInt MAX_VALUE = VALUE_MASK; member in ark::verifier::TaggedIndexHelper0 171 ASSERT(static_cast<UInt>(-val) <= MAX_VALUE >> static_cast<UInt>(1)); in SetInt() 173 ASSERT(static_cast<UInt>(val) <= MAX_VALUE >> static_cast<UInt>(1)); in SetInt() 176 ASSERT(static_cast<UInt>(val) <= MAX_VALUE); in SetInt() 253 ASSERT(static_cast<UInt>(INV) > MAX_VALUE);
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_number.h | 26 V(MAX_VALUE) /* Number.MAX_VALUE */ \ 80 // 21.1.2.7 Number.MAX_VALUE 81 static constexpr double MAX_VALUE = std::numeric_limits<double>::max(); member in panda::ecmascript::builtins::BuiltinsNumber
|
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
H A D | builtins_bigint_test.cpp | 329 number = JSHandle<JSTaggedValue>(thread, JSTaggedValue(base::MAX_VALUE));
in HWTEST_F_L0() 335 number = JSHandle<JSTaggedValue>(thread, JSTaggedValue(-base::MAX_VALUE));
in HWTEST_F_L0() 381 ASSERT_EQ(number.GetNumber(), base::MAX_VALUE);
in HWTEST_F_L0() 390 parma = JSHandle<JSTaggedValue>(thread, JSTaggedValue(base::MAX_VALUE));
in HWTEST_F_L0() 394 ASSERT_EQ(number.GetNumber(), base::MAX_VALUE);
in HWTEST_F_L0() 396 parma = JSHandle<JSTaggedValue>(thread, JSTaggedValue(-base::MAX_VALUE));
in HWTEST_F_L0() 400 ASSERT_EQ(number.GetNumber(), -base::MAX_VALUE);
in HWTEST_F_L0()
|
H A D | builtins_number_test.cpp | 80 // Number.isFinite(Number.MAX_VALUE) 86 ecmaRuntimeCallInfo->SetCallArg(0, JSTaggedValue(base::MAX_VALUE)); in HWTEST_F_L0()
|
H A D | builtins_math_test.cpp | 130 // Math.abs(Number.MAX_VALUE + 1) 133 const double testValue = base::MAX_VALUE + 1; in HWTEST_F_L0() 142 JSTaggedValue expect = BuiltinsBase::GetTaggedDouble(base::MAX_VALUE); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/base/ |
H A D | number_helper.h | 46 static constexpr double MAX_VALUE = std::numeric_limits<double>::max(); member
|
/arkcompiler/ets_runtime/ecmascript/js_api/ |
H A D | js_api_vector.cpp | 26 static const uint32_t MAX_VALUE = 0x7fffffff; member 27 static const uint32_t MAX_ARRAY_SIZE = MAX_VALUE - 8; 361 newCapacity = (minCapacity > MAX_ARRAY_SIZE) ? MAX_VALUE : MAX_ARRAY_SIZE; in GrowCapacity()
|
/arkcompiler/ets_runtime/test/moduletest/mapget/ |
H A D | mapget.js | 69 check(Number.MAX_VALUE);
|
/arkcompiler/runtime_core/static_core/verification/util/tests/ |
H A D | bit_vector_property_test.cpp | 57 constexpr size_t MAX_VALUE = 1024U; member 59 auto g_valueGen = gen::inRange<size_t>(0, MAX_VALUE); 109 Intervals g_statIntervals = {{0, 10U}, {11U, 50U}, {51U, 100U}, {101U, MAX_VALUE}};
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/helpers/ |
H A D | ets_intrinsics_helpers.h | 45 inline constexpr double MAX_VALUE = std::numeric_limits<double>::max(); member
|
/arkcompiler/ets_frontend/es2panda/test/compiler/js/ |
H A D | cocos_worker_test.js | 10664 REPEAT_FOREVER: Number.MAX_VALUE - 1, [all...] |