Home
last modified time | relevance | path

Searched refs:aliasedBuffer (Results 1 – 1 of 1) sorted by relevance

/third_party/node/test/cctest/
Dtest_aliased_buffer.cc24 void WriteViaOperator(AliasedBufferBase<NativeT, V8T>* aliasedBuffer, in WriteViaOperator() argument
28 (*aliasedBuffer)[i] = oracle[i]; in WriteViaOperator()
33 void WriteViaSetValue(AliasedBufferBase<NativeT, V8T>* aliasedBuffer, in WriteViaSetValue() argument
37 aliasedBuffer->SetValue(i, oracle[i]); in WriteViaSetValue()
44 AliasedBufferBase<NativeT, V8T>* aliasedBuffer, in ReadAndValidate() argument
48 NativeT v1 = (*aliasedBuffer)[i]; in ReadAndValidate()
49 NativeT v2 = aliasedBuffer->GetValue(i); in ReadAndValidate()
55 EXPECT_TRUE(aliasedBuffer->GetJSArray()->Length() == oracle.size()); in ReadAndValidate()
57 aliasedBuffer->GetJSArray()->ByteLength() == in ReadAndValidate()
61 EXPECT_TRUE(aliasedBuffer->GetNativeBuffer() == *(*aliasedBuffer)); in ReadAndValidate()
[all …]