Searched refs:kLowCapacity (Results 1 – 3 of 3) sorted by relevance
/external/v8/test/unittests/interpreter/ |
D | constant-array-builder-unittest.cc | 22 static const size_t kLowCapacity = ConstantArrayBuilder::kLowCapacity; member in v8::internal::interpreter::ConstantArrayBuilderTest 30 ConstantArrayBuilderTest::kLowCapacity; member in v8::internal::interpreter::ConstantArrayBuilderTest 48 for (size_t reserved = 1; reserved < kLowCapacity; reserved *= 3) { in TEST_F() 54 for (size_t i = 0; i < 2 * kLowCapacity; i++) { in TEST_F() 57 if (i + reserved < kLowCapacity) { in TEST_F() 58 CHECK_LE(builder.size(), kLowCapacity); in TEST_F() 62 CHECK_GE(builder.size(), kLowCapacity); in TEST_F() 67 CHECK_EQ(builder.size(), 2 * kLowCapacity + reserved); in TEST_F() 71 Handle<Object> empty = builder.At(kLowCapacity - reserved + i); in TEST_F() 76 DCHECK_EQ(reserved + 2 * kLowCapacity, builder.size()); in TEST_F() [all …]
|
/external/v8/src/interpreter/ |
D | constant-array-builder.cc | 53 STATIC_CONST_MEMBER_DEFINITION const size_t ConstantArrayBuilder::kLowCapacity; member in v8::internal::interpreter::ConstantArrayBuilder 58 idx8_slice_(zone, 0, kLowCapacity), in ConstantArrayBuilder() 59 idx16_slice_(zone, kLowCapacity, kHighCapacity), in ConstantArrayBuilder() 63 DCHECK_EQ(idx8_slice_.capacity(), kLowCapacity); in ConstantArrayBuilder() 64 DCHECK_EQ(idx16_slice_.start_index(), kLowCapacity); in ConstantArrayBuilder() 65 DCHECK_EQ(idx16_slice_.capacity(), kMaxCapacity - kLowCapacity); in ConstantArrayBuilder()
|
D | constant-array-builder.h | 24 static const size_t kLowCapacity = 1u << kBitsPerByte; 30 static const size_t kHighCapacity = kMaxCapacity - kLowCapacity;
|