Searched refs:NativeT (Results 1 – 10 of 10) sorted by relevance
/third_party/node/src/ |
D | aliased_buffer.h | 29 template <class NativeT, 32 typename = std::enable_if_t<std::is_scalar<NativeT>::value>> 40 MultiplyWithOverflowCheck(sizeof(NativeT), count); in AliasedBufferBase() 45 buffer_ = static_cast<NativeT*>(ab->GetBackingStore()->Data()); in AliasedBufferBase() 72 CHECK_EQ(byte_offset & (sizeof(NativeT) - 1), 0); in AliasedBufferBase() 74 CHECK_LE(MultiplyWithOverflowCheck(sizeof(NativeT), count), in AliasedBufferBase() 77 buffer_ = reinterpret_cast<NativeT*>( in AliasedBufferBase() 112 Reference(AliasedBufferBase<NativeT, V8T>* aliased_buffer, size_t index) in Reference() argument 120 inline Reference& operator=(const NativeT& val) { 126 return *this = static_cast<NativeT>(val); [all …]
|
D | memory_tracker.h | 231 template <class NativeT, class V8T> 233 const AliasedBufferBase<NativeT, V8T>& value,
|
D | node_file-inl.h | 85 template <typename NativeT, typename V8T> 86 void FillStatsArray(AliasedBufferBase<NativeT, V8T>* fields, in FillStatsArray() argument 91 static_cast<NativeT>(stat)) in FillStatsArray()
|
D | memory_tracker-inl.h | 266 template <class NativeT, class V8T> 268 const AliasedBufferBase<NativeT, V8T>& value, in TrackField() argument
|
D | node_file.h | 147 template <typename NativeT, typename V8T> 148 void FillStatsArray(AliasedBufferBase<NativeT, V8T>* fields,
|
/third_party/node/test/cctest/ |
D | test_aliased_buffer.cc | 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> [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/ |
D | queryconversions.cpp | 27 template <typename QueryT, typename NativeT> 28 QueryT CastFromStateValueToInt(GLenum pname, NativeT value) in CastFromStateValueToInt() 30 GLenum nativeType = GLTypeToGLenum<NativeT>::value; in CastFromStateValueToInt() 57 template <typename NativeT, typename QueryT> 58 NativeT CastQueryValueToInt(GLenum pname, QueryT value) in CastQueryValueToInt() 64 return static_cast<NativeT>(std::round(value)); in CastQueryValueToInt() 67 return static_cast<NativeT>(value); in CastQueryValueToInt() 94 template <typename QueryT, typename NativeT> 95 QueryT CastFromStateValue(GLenum pname, NativeT value) in CastFromStateValue() 105 return CastFromStateValueToInt<QueryT, NativeT>(pname, value); in CastFromStateValue() [all …]
|
D | queryconversions.h | 66 template <typename QueryT, typename NativeT> 67 QueryT CastFromStateValue(GLenum pname, NativeT value); 69 template <typename NativeT, typename QueryT> 70 NativeT CastQueryValueTo(GLenum pname, QueryT value);
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | queryconversions.cpp | 27 template <typename QueryT, typename NativeT> 28 QueryT CastFromStateValueToInt(GLenum pname, NativeT value) in CastFromStateValueToInt() 30 GLenum nativeType = GLTypeToGLenum<NativeT>::value; in CastFromStateValueToInt() 57 template <typename NativeT, typename QueryT> 58 NativeT CastQueryValueToInt(GLenum pname, QueryT value) in CastQueryValueToInt() 73 return static_cast<NativeT>(static_cast<GLint64>(std::round(value))); in CastQueryValueToInt() 76 return static_cast<NativeT>(value); in CastQueryValueToInt() 103 template <typename QueryT, typename NativeT> 104 QueryT CastFromStateValue(GLenum pname, NativeT value) in CastFromStateValue() 114 return CastFromStateValueToInt<QueryT, NativeT>(pname, value); in CastFromStateValue() [all …]
|
D | queryconversions.h | 66 template <typename QueryT, typename NativeT> 67 QueryT CastFromStateValue(GLenum pname, NativeT value); 69 template <typename NativeT, typename QueryT> 70 NativeT CastQueryValueTo(GLenum pname, QueryT value);
|