Lines Matching refs:kElementCount
15723 const int kElementCount = 260; in FixedTypedArrayTestHelper() local
15725 factory->NewJSTypedArray(elements_kind, kElementCount); in FixedTypedArrayTestHelper()
15730 CHECK_EQ(kElementCount, fixed_array->length()); in FixedTypedArrayTestHelper()
15732 for (int i = 0; i < kElementCount; i++) { in FixedTypedArrayTestHelper()
15737 for (int i = 0; i < kElementCount; i++) { in FixedTypedArrayTestHelper()
15744 context.local(), obj, kElementCount, array_type, in FixedTypedArrayTestHelper()
15809 const int kElementCount = 50; in TypedArrayTestHelper() local
15811 i::ScopedVector<ElementType> backing_store(kElementCount+2); in TypedArrayTestHelper()
15819 (kElementCount + 2) * sizeof(ElementType)); in TypedArrayTestHelper()
15821 TypedArray::New(ab, 2*sizeof(ElementType), kElementCount); in TypedArrayTestHelper()
15823 CHECK_EQ(kElementCount, static_cast<int>(ta->Length())); in TypedArrayTestHelper()
15825 CHECK_EQ(kElementCount * sizeof(ElementType), ta->ByteLength()); in TypedArrayTestHelper()
15829 for (int i = 0; i < kElementCount; i++) { in TypedArrayTestHelper()
15834 env.local(), ta, kElementCount, array_type, low, high); in TypedArrayTestHelper()