Lines Matching refs:NativeT
16 template <class NativeT>
17 void CreateOracleValues(std::vector<NativeT>* buf) { in CreateOracleValues()
19 (*buf)[i] = static_cast<NativeT>(j); in CreateOracleValues()
23 template <class NativeT, class V8T>
24 void WriteViaOperator(AliasedBufferBase<NativeT, V8T>* aliasedBuffer, in WriteViaOperator() argument
25 const std::vector<NativeT>& oracle) { in WriteViaOperator()
32 template <class NativeT, class V8T>
33 void WriteViaSetValue(AliasedBufferBase<NativeT, V8T>* aliasedBuffer, in WriteViaSetValue() argument
34 const std::vector<NativeT>& oracle) { in WriteViaSetValue()
41 template <class NativeT, class V8T>
44 AliasedBufferBase<NativeT, V8T>* aliasedBuffer, in ReadAndValidate() argument
45 const std::vector<NativeT>& oracle) { in ReadAndValidate()
48 NativeT v1 = (*aliasedBuffer)[i]; in ReadAndValidate()
49 NativeT v2 = aliasedBuffer->GetValue(i); in ReadAndValidate()
58 (oracle.size() * sizeof(NativeT))); in ReadAndValidate()
72 NativeT actualValue = static_cast<NativeT>(v4->Value()); in ReadAndValidate()
77 template <class NativeT, class V8T>
85 AliasedBufferBase<NativeT, V8T> ab(isolate, size); in ReadWriteTest()
86 std::vector<NativeT> oracle(size); in ReadWriteTest()
95 AliasedBufferBase<NativeT, V8T> ab2(ab); in ReadWriteTest()