/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/ |
D | angletypes.h | 550 template <typename DestT, typename SrcT> 551 inline DestT *GetAs(SrcT *src) in GetAs() 553 ASSERT(ANGLE_HAS_DYNAMIC_TYPE(DestT *, src)); in GetAs() 554 return static_cast<DestT *>(src); in GetAs() 557 template <typename DestT, typename SrcT> 558 inline const DestT *GetAs(const SrcT *src) in GetAs() 560 ASSERT(ANGLE_HAS_DYNAMIC_TYPE(const DestT *, src)); in GetAs() 561 return static_cast<const DestT *>(src); in GetAs() 567 template <typename DestT, typename SrcT> 568 inline DestT *GetImplAs(SrcT *src) in GetImplAs() [all …]
|
D | Program.cpp | 45 template <typename DestT, typename SrcT> 46 DestT UniformStateQueryCast(SrcT value); 94 template <typename DestT, typename SrcT> 95 DestT UniformStateQueryCast(SrcT value) in UniformStateQueryCast() 97 return static_cast<DestT>(value); in UniformStateQueryCast() 100 template <typename SrcT, typename DestT> 101 void UniformStateQueryCastLoop(DestT *dataOut, const uint8_t *srcPointer, int components) in UniformStateQueryCastLoop() 109 dataOut[comp] = UniformStateQueryCast<DestT>(*typedSrcPointer); in UniformStateQueryCastLoop() 4490 template <typename DestT> 4492 DestT *dataOut, in getUniformInternal()
|
D | Program.h | 1016 template <typename DestT> 1018 DestT *dataOut,
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | IndexDataManager.cpp | 27 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()
|
D | ProgramD3D.h | 461 template <typename DestT> 462 void getUniformInternal(GLint location, DestT *dataOut) const;
|
D | ProgramD3D.cpp | 3128 template <typename DestT> 3129 void ProgramD3D::getUniformInternal(GLint location, DestT *dataOut) const in getUniformInternal() 3139 GetMatrixUniform(uniform.type, dataOut, reinterpret_cast<const DestT *>(srcPointer), true); in getUniformInternal()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | IndexDataManager.cpp | 27 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()
|
D | ProgramD3D.h | 480 template <typename DestT> 481 void getUniformInternal(GLint location, DestT *dataOut) const;
|
D | ProgramD3D.cpp | 3268 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()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | angletypes.h | 1005 template <typename DestT, typename SrcT> 1006 inline DestT *GetAs(SrcT *src) in GetAs() 1008 ASSERT(ANGLE_HAS_DYNAMIC_TYPE(DestT *, src)); in GetAs() 1009 return static_cast<DestT *>(src); in GetAs() 1012 template <typename DestT, typename SrcT> 1013 inline const DestT *GetAs(const SrcT *src) in GetAs() 1015 ASSERT(ANGLE_HAS_DYNAMIC_TYPE(const DestT *, src)); in GetAs() 1016 return static_cast<const DestT *>(src); in GetAs() 1022 template <typename DestT, typename SrcT> 1023 inline DestT *GetImplAs(SrcT *src) in GetImplAs() [all …]
|
D | Program.cpp | 47 template <typename DestT, typename SrcT> 48 DestT UniformStateQueryCast(SrcT value); 96 template <typename DestT, typename SrcT> 97 DestT UniformStateQueryCast(SrcT value) in UniformStateQueryCast() 99 return static_cast<DestT>(value); in UniformStateQueryCast() 102 template <typename SrcT, typename DestT> 103 void UniformStateQueryCastLoop(DestT *dataOut, const uint8_t *srcPointer, int components) in UniformStateQueryCastLoop() 111 dataOut[comp] = UniformStateQueryCast<DestT>(*typedSrcPointer); in UniformStateQueryCastLoop() 4182 template <typename DestT> 4184 DestT *dataOut, in getUniformInternal()
|
D | Program.h | 839 template <typename DestT> 841 DestT *dataOut,
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
D | IceTargetLoweringMIPS32.cpp | 291 Variable *DestT = Func->makeVariable(DestTy); in genTargetHelperCallFor() local 293 Context.insert<InstInsertElement>(DestT, T, Dst, Index); in genTargetHelperCallFor() 294 T = DestT; in genTargetHelperCallFor() 318 Variable *DestT = Func->makeVariable(IceType_v4f32); in genTargetHelperCallFor() local 320 Context.insert<InstInsertElement>(DestT, T, Dst, Index); in genTargetHelperCallFor() 321 T = DestT; in genTargetHelperCallFor() 346 Variable *DestT = Func->makeVariable(DestTy); in genTargetHelperCallFor() local 348 Context.insert<InstInsertElement>(DestT, T, Dst, Index); in genTargetHelperCallFor() 349 T = DestT; in genTargetHelperCallFor() 435 Variable *DestT = Func->makeVariable(DestTy); in genTargetHelperCallFor() local [all …]
|
D | IceTargetLowering.h | 507 Variable *DestT = Func->makeVariable(DestTy); in scalarizeInstruction() local 508 Context.insert<InstInsertElement>(DestT, T, Res, Index); in scalarizeInstruction() 509 T = DestT; in scalarizeInstruction()
|
/third_party/flutter/skia/third_party/externals/angle2/src/common/ |
D | mathutil.h | 65 template <typename DestT, typename SrcT> 66 inline DestT clampCast(SrcT value) in clampCast() 71 static_cast<long double>(std::numeric_limits<DestT>::lowest()); in clampCast() 73 static_cast<long double>(std::numeric_limits<DestT>::max()); in clampCast() 80 DestT destMax = std::numeric_limits<DestT>::max(); in clampCast() 89 DestT destLow = std::numeric_limits<DestT>::lowest(); in clampCast() 96 return static_cast<DestT>(value); in clampCast()
|
/third_party/skia/third_party/externals/angle2/src/common/ |
D | mathutil.h | 67 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()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | TextureUploadFormatTest.cpp | 113 template <typename DestT, typename SrcT, size_t SrcN> 114 void ZeroAndCopy(DestT &dest, const SrcT (&src)[SrcN]) in ZeroAndCopy() 127 template <typename ColorT, typename DestT> 128 void EncodeThenZeroAndCopy(DestT &dest, const float srcVals[4]) in EncodeThenZeroAndCopy()
|
D | VertexAttributeTest.cpp | 1531 template <typename DestT> 1595 template <typename DestT> 1603 const DestT *typedSrcPtr = reinterpret_cast<const DestT *>(srcData.data()); in GetExpectedData()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | TextureUploadFormatTest.cpp | 114 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()
|
D | VertexAttributeTest.cpp | 115 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() 2628 template <typename DestT> [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | SecondaryCommandBuffer.h | 342 template <typename DestT, typename T> 343 ANGLE_INLINE DestT *Offset(T *ptr, size_t bytes) in Offset() 345 return reinterpret_cast<DestT *>((reinterpret_cast<uint8_t *>(ptr) + bytes)); in Offset() 348 template <typename DestT, typename T> 349 ANGLE_INLINE const DestT *Offset(const T *ptr, size_t bytes) in Offset() 351 return reinterpret_cast<const DestT *>((reinterpret_cast<const uint8_t *>(ptr) + bytes)); in Offset()
|
D | vk_cache_utils.cpp | 302 template <typename DestT> 303 DestT Int4Array_Get(const uint8_t *arrayBytes, uint32_t arrayIndex) in Int4Array_Get() 309 return static_cast<DestT>(arrayBytes[byteIndex] & 0xF); in Int4Array_Get() 313 return static_cast<DestT>(arrayBytes[byteIndex] >> 4); in Int4Array_Get()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | SecondaryCommandBuffer.h | 459 template <typename DestT, typename T> 460 ANGLE_INLINE DestT *Offset(T *ptr, size_t bytes) in Offset() 462 return reinterpret_cast<DestT *>((reinterpret_cast<uint8_t *>(ptr) + bytes)); in Offset() 465 template <typename DestT, typename T> 466 ANGLE_INLINE const DestT *Offset(const T *ptr, size_t bytes) in Offset() 468 return reinterpret_cast<const DestT *>((reinterpret_cast<const uint8_t *>(ptr) + bytes)); in Offset()
|
D | vk_cache_utils.cpp | 1364 template <typename DestT> 1365 DestT Int4Array_Get(const uint8_t *arrayBytes, uint32_t arrayIndex) in Int4Array_Get() 1371 return static_cast<DestT>(arrayBytes[byteIndex] & 0xF); in Int4Array_Get() 1375 return static_cast<DestT>(arrayBytes[byteIndex] >> 4); in Int4Array_Get()
|