Lines Matching refs:NativeT
9 template <class NativeT>
10 void CreateOracleValues(std::vector<NativeT>* buf) { in CreateOracleValues()
12 (*buf)[i] = static_cast<NativeT>(j); in CreateOracleValues()
16 template <class NativeT, class V8T>
17 void WriteViaOperator(AliasedBufferBase<NativeT, V8T>* aliasedBuffer, in WriteViaOperator() argument
18 const std::vector<NativeT>& oracle) { in WriteViaOperator()
25 template <class NativeT, class V8T>
26 void WriteViaSetValue(AliasedBufferBase<NativeT, V8T>* aliasedBuffer, in WriteViaSetValue() argument
27 const std::vector<NativeT>& oracle) { in WriteViaSetValue()
34 template <class NativeT, class V8T>
37 AliasedBufferBase<NativeT, V8T>* aliasedBuffer, in ReadAndValidate() argument
38 const std::vector<NativeT>& oracle) { in ReadAndValidate()
41 NativeT v1 = (*aliasedBuffer)[i]; in ReadAndValidate()
42 NativeT v2 = aliasedBuffer->GetValue(i); in ReadAndValidate()
51 (oracle.size() * sizeof(NativeT))); in ReadAndValidate()
65 NativeT actualValue = static_cast<NativeT>(v4->Value()); in ReadAndValidate()
70 template <class NativeT, class V8T>
78 AliasedBufferBase<NativeT, V8T> ab(isolate, size); in ReadWriteTest()
79 std::vector<NativeT> oracle(size); in ReadWriteTest()
88 AliasedBufferBase<NativeT, V8T> ab2(ab); in ReadWriteTest()