Home
last modified time | relevance | path

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

/external/angle/src/libANGLE/renderer/d3d/
DIndexDataManager.cpp27 template <typename InputT, typename DestT>
36 DestT *out = static_cast<DestT *>(output); in ConvertIndexArray()
41 DestT destRestartIndex = static_cast<DestT>(gl::GetPrimitiveRestartIndex(destinationType)); in ConvertIndexArray()
44 out[i] = (in[i] == srcRestartIndex ? destRestartIndex : static_cast<DestT>(in[i])); in ConvertIndexArray()
51 out[i] = static_cast<DestT>(in[i]); in ConvertIndexArray()
DProgramD3D.h480 template <typename DestT>
481 void getUniformInternal(GLint location, DestT *dataOut) const;
DProgramD3D.cpp3268 template <typename DestT>
3269 void ProgramD3D::getUniformInternal(GLint location, DestT *dataOut) const in getUniformInternal()
3279 GetMatrixUniform(uniform.type, dataOut, reinterpret_cast<const DestT *>(srcPointer), true); in getUniformInternal()
/external/angle/src/libANGLE/
Dangletypes.h971 template <typename DestT, typename SrcT>
972 inline DestT *GetAs(SrcT *src) in GetAs()
974 ASSERT(ANGLE_HAS_DYNAMIC_TYPE(DestT *, src)); in GetAs()
975 return static_cast<DestT *>(src); in GetAs()
978 template <typename DestT, typename SrcT>
979 inline const DestT *GetAs(const SrcT *src) in GetAs()
981 ASSERT(ANGLE_HAS_DYNAMIC_TYPE(const DestT *, src)); in GetAs()
982 return static_cast<const DestT *>(src); in GetAs()
988 template <typename DestT, typename SrcT>
989 inline DestT *GetImplAs(SrcT *src) in GetImplAs()
[all …]
DProgram.cpp46 template <typename DestT, typename SrcT>
47 DestT UniformStateQueryCast(SrcT value);
95 template <typename DestT, typename SrcT>
96 DestT UniformStateQueryCast(SrcT value) in UniformStateQueryCast()
98 return static_cast<DestT>(value); in UniformStateQueryCast()
101 template <typename SrcT, typename DestT>
102 void UniformStateQueryCastLoop(DestT *dataOut, const uint8_t *srcPointer, int components) in UniformStateQueryCastLoop()
110 dataOut[comp] = UniformStateQueryCast<DestT>(*typedSrcPointer); in UniformStateQueryCastLoop()
4536 template <typename DestT>
4538 DestT *dataOut, in getUniformInternal()
DProgram.h888 template <typename DestT>
890 DestT *dataOut,
/external/webrtc/rtc_base/third_party/sigslot/
Dsigslot.h298 template <typename DestT, typename... Args>
299 _opaque_connection(DestT* pd, void (DestT::*pm)(Args...)) : pdest(pd) { in _opaque_connection()
300 typedef void (DestT::*pm_t)(Args...); in _opaque_connection()
308 caster2.from = &_opaque_connection::emitter<DestT, Args...>; in _opaque_connection()
331 template <typename DestT, typename... Args>
333 typedef void (DestT::*pm_t)(Args...); in emitter()
336 (static_cast<DestT*>(self->pdest)->*(pm))(args...); in emitter()
/external/swiftshader/third_party/subzero/src/
DIceTargetLoweringMIPS32.cpp293 Variable *DestT = Func->makeVariable(DestTy); in genTargetHelperCallFor() local
295 Context.insert<InstInsertElement>(DestT, T, Dst, Index); in genTargetHelperCallFor()
296 T = DestT; in genTargetHelperCallFor()
320 Variable *DestT = Func->makeVariable(IceType_v4f32); in genTargetHelperCallFor() local
322 Context.insert<InstInsertElement>(DestT, T, Dst, Index); in genTargetHelperCallFor()
323 T = DestT; in genTargetHelperCallFor()
348 Variable *DestT = Func->makeVariable(DestTy); in genTargetHelperCallFor() local
350 Context.insert<InstInsertElement>(DestT, T, Dst, Index); in genTargetHelperCallFor()
351 T = DestT; in genTargetHelperCallFor()
437 Variable *DestT = Func->makeVariable(DestTy); in genTargetHelperCallFor() local
[all …]
DIceTargetLowering.h542 Variable *DestT = Func->makeVariable(DestTy); in scalarizeInstruction() local
543 Context.insert<InstInsertElement>(DestT, T, Res, Index); in scalarizeInstruction()
544 T = DestT; in scalarizeInstruction()
/external/angle/src/common/
Dmathutil.h67 template <typename DestT, typename SrcT>
68 inline DestT clampCast(SrcT value) in clampCast()
73 static_cast<long double>(std::numeric_limits<DestT>::lowest()); in clampCast()
75 static_cast<long double>(std::numeric_limits<DestT>::max()); in clampCast()
82 DestT destMax = std::numeric_limits<DestT>::max(); in clampCast()
91 DestT destLow = std::numeric_limits<DestT>::lowest(); in clampCast()
98 return static_cast<DestT>(value); in clampCast()
/external/angle/src/tests/gl_tests/
DTextureUploadFormatTest.cpp114 template <typename DestT, typename SrcT, size_t SrcN>
115 void ZeroAndCopy(DestT &dest, const SrcT (&src)[SrcN]) in ZeroAndCopy()
128 template <typename ColorT, typename DestT>
129 void EncodeThenZeroAndCopy(DestT &dest, const float srcVals[4]) in EncodeThenZeroAndCopy()
DVertexAttributeTest.cpp115 template <typename DestT, typename SrcT>
116 DestT Pack1010102(std::array<SrcT, 4> input) in Pack1010102()
119 static_assert(std::is_integral<DestT>::value, "Integer required."); in Pack1010102()
120 static_assert(std::is_unsigned<SrcT>::value == std::is_unsigned<DestT>::value, in Pack1010102()
122 DestT rOut, gOut, bOut, aOut; in Pack1010102()
123 rOut = static_cast<DestT>(input[0]); in Pack1010102()
124 gOut = static_cast<DestT>(input[1]); in Pack1010102()
125 bOut = static_cast<DestT>(input[2]); in Pack1010102()
126 aOut = static_cast<DestT>(input[3]); in Pack1010102()
2561 template <typename DestT>
[all …]
/external/angle/src/libANGLE/renderer/vulkan/
DSecondaryCommandBuffer.h456 template <typename DestT, typename T>
457 ANGLE_INLINE DestT *Offset(T *ptr, size_t bytes) in Offset()
459 return reinterpret_cast<DestT *>((reinterpret_cast<uint8_t *>(ptr) + bytes)); in Offset()
462 template <typename DestT, typename T>
463 ANGLE_INLINE const DestT *Offset(const T *ptr, size_t bytes) in Offset()
465 return reinterpret_cast<const DestT *>((reinterpret_cast<const uint8_t *>(ptr) + bytes)); in Offset()
Dvk_cache_utils.cpp1342 template <typename DestT>
1343 DestT Int4Array_Get(const uint8_t *arrayBytes, uint32_t arrayIndex) in Int4Array_Get()
1349 return static_cast<DestT>(arrayBytes[byteIndex] & 0xF); in Int4Array_Get()
1353 return static_cast<DestT>(arrayBytes[byteIndex] >> 4); in Int4Array_Get()
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.4/
Dp2p_iface.cpp1340 using DestT = struct wpa_freq_range_list::wpa_freq_range; in setDisallowedFrequenciesInternal() typedef
1341 DestT* freq_ranges = nullptr; in setDisallowedFrequenciesInternal()
1344 freq_ranges = static_cast<DestT*>( in setDisallowedFrequenciesInternal()
1345 os_malloc(sizeof(DestT) * ranges.size())); in setDisallowedFrequenciesInternal()