/third_party/skia/src/sksl/ir/ |
D | SkSLConstructorCompoundCast.cpp | 21 const Type& destType, in cast_constant_composite() argument 23 const Type& scalarType = destType.componentType(); in cast_constant_composite() 33 context, constCtor->fLine, destType, in cast_constant_composite() 38 if (constCtor->is<ConstructorDiagonalMatrix>() && destType.isMatrix()) { in cast_constant_composite() 43 context, constCtor->fLine, destType, in cast_constant_composite() 49 size_t numSlots = destType.slotCount(); in cast_constant_composite() 64 return ConstructorCompound::Make(context, constCtor->fLine, destType, in cast_constant_composite()
|
D | SkSLConstructorArrayCast.cpp | 19 const Type& destType, in cast_constant_array() argument 21 const Type& scalarType = destType.componentType(); in cast_constant_array() 38 return ConstructorArray::Make(context, constCtor->fLine, destType, std::move(typecastArgs)); in cast_constant_array()
|
/third_party/flutter/skia/third_party/externals/dawn/src/common/ |
D | Math.h | 45 template <typename destType, typename sourceType> 46 destType BitCast(const sourceType& source) { in BitCast() 47 static_assert(sizeof(destType) == sizeof(sourceType), "BitCast: cannot lose precision."); in BitCast() 48 destType output; in BitCast() 49 std::memcpy(&output, &source, sizeof(destType)); in BitCast()
|
/third_party/skia/third_party/externals/dawn/src/common/ |
D | Math.h | 80 template <typename destType, typename sourceType> 81 destType BitCast(const sourceType& source) { in BitCast() 82 static_assert(sizeof(destType) == sizeof(sourceType), "BitCast: cannot lose precision."); in BitCast() 83 destType output; in BitCast() 84 std::memcpy(&output, &source, sizeof(destType)); in BitCast()
|
/third_party/skia/third_party/externals/angle2/src/image_util/ |
D | copyimage.inc | 18 template <typename destType, typename colorDataType> 21 destType::writeColor(reinterpret_cast<destType*>(dest),
|
D | copyimage.h | 24 template <typename destType, typename colorDataType>
|
/third_party/flutter/skia/third_party/externals/angle2/src/image_util/ |
D | copyimage.inc | 18 template <typename destType, typename colorDataType> 21 destType::writeColor(reinterpret_cast<destType*>(dest),
|
D | copyimage.h | 24 template <typename destType, typename colorDataType>
|
/third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
D | Nucleus.hpp | 266 static Value *createTrunc(Value *V, Type *destType); 267 static Value *createZExt(Value *V, Type *destType); 268 static Value *createSExt(Value *V, Type *destType); 269 static Value *createFPToUI(Value *V, Type *destType); 270 static Value *createFPToSI(Value *V, Type *destType); 271 static Value *createSIToFP(Value *V, Type *destType); 272 static Value *createFPTrunc(Value *V, Type *destType); 273 static Value *createFPExt(Value *V, Type *destType); 274 static Value *createBitCast(Value *V, Type *destType);
|
D | SubzeroReactor.cpp | 1638 static Value *createCast(Ice::InstCast::OpKind op, Value *v, Type *destType) in createCast() argument 1640 if(v->getType() == T(destType)) in createCast() 1645 Ice::Variable *result = ::function->makeVariable(T(destType)); in createCast() 1652 Value *Nucleus::createTrunc(Value *v, Type *destType) in createTrunc() argument 1655 return createCast(Ice::InstCast::Trunc, v, destType); in createTrunc() 1658 Value *Nucleus::createZExt(Value *v, Type *destType) in createZExt() argument 1661 return createCast(Ice::InstCast::Zext, v, destType); in createZExt() 1664 Value *Nucleus::createSExt(Value *v, Type *destType) in createSExt() argument 1667 return createCast(Ice::InstCast::Sext, v, destType); in createSExt() 1670 Value *Nucleus::createFPToUI(Value *v, Type *destType) in createFPToUI() argument [all …]
|
D | LLVMReactor.cpp | 1431 Value *Nucleus::createTrunc(Value *v, Type *destType) in createTrunc() argument 1434 return V(jit->builder->CreateTrunc(V(v), T(destType))); in createTrunc() 1437 Value *Nucleus::createZExt(Value *v, Type *destType) in createZExt() argument 1440 return V(jit->builder->CreateZExt(V(v), T(destType))); in createZExt() 1443 Value *Nucleus::createSExt(Value *v, Type *destType) in createSExt() argument 1446 return V(jit->builder->CreateSExt(V(v), T(destType))); in createSExt() 1449 Value *Nucleus::createFPToUI(Value *v, Type *destType) in createFPToUI() argument 1452 return V(jit->builder->CreateFPToUI(V(v), T(destType))); in createFPToUI() 1455 Value *Nucleus::createFPToSI(Value *v, Type *destType) in createFPToSI() argument 1458 return V(jit->builder->CreateFPToSI(V(v), T(destType))); in createFPToSI() [all …]
|
/third_party/skia/third_party/externals/angle2/src/tests/deqp_support/ |
D | tcuANGLENativeDisplayFactory.cpp | 57 template <typename destType, typename sourceType> 58 destType bitCast(sourceType source) in bitCast() 61 sizeof(destType) < sizeof(sourceType) ? sizeof(destType) : sizeof(sourceType); in bitCast() 62 destType output(0); in bitCast()
|
/third_party/skia/third_party/externals/swiftshader/src/System/ |
D | Math.hpp | 69 template<typename destType, typename sourceType> 70 destType bit_cast(const sourceType &source) in bit_cast() 75 destType d; in bit_cast()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | ImageTestMetal.mm | 220 template <typename destType, typename sourcetype> 221 destType reinterpretHelper(sourcetype source) 223 static_assert(sizeof(destType) == sizeof(size_t), 224 "destType should be the same size as a size_t"); 226 return reinterpret_cast<destType>(sourceSizeT);
|
D | CopyTextureTest.cpp | 66 GLenum destType, in testGradientDownsampleUniqueValues() argument 82 glCopyTextureCHROMIUM(sourceTexture, 0, GL_TEXTURE_2D, destTexture, 0, destFormat, destType, in testGradientDownsampleUniqueValues() 1847 GLenum destInternalFormat, GLenum destType, bool flipY, in TEST_P() 1859 destType, flipY, premultiplyAlpha, unmultiplyAlpha); in TEST_P() 1868 GLenum destType, bool flipY, bool premultiplyAlpha, in TEST_P() argument 1878 glTexImage2D(GL_TEXTURE_2D, 0, destInternalFormat, 1, 1, 0, destFormat, destType, nullptr); in TEST_P() 1984 GLenum destInternalFormat, GLenum destType, bool flipY, in TEST_P() 1996 destType, flipY, premultiplyAlpha, unmultiplyAlpha); in TEST_P() 2114 GLenum destInternalFormat, GLenum destType, bool flipY, in TEST_P() 2126 destType, flipY, premultiplyAlpha, unmultiplyAlpha); in TEST_P() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/Common/ |
D | Math.hpp | 77 template <typename destType, typename sourceType> 78 destType bit_cast(const sourceType &source) in bit_cast() 83 destType d; in bit_cast()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | CopyTextureTest.cpp | 66 GLenum destType, in testGradientDownsampleUniqueValues() argument 82 glCopyTextureCHROMIUM(sourceTexture, 0, GL_TEXTURE_2D, destTexture, 0, destFormat, destType, in testGradientDownsampleUniqueValues() 1652 GLenum destInternalFormat, GLenum destType, bool flipY, in TEST_P() 1664 destType, flipY, premultiplyAlpha, unmultiplyAlpha); in TEST_P() 1673 GLenum destType, bool flipY, bool premultiplyAlpha, in TEST_P() argument 1683 glTexImage2D(GL_TEXTURE_2D, 0, destInternalFormat, 1, 1, 0, destFormat, destType, nullptr); in TEST_P() 1789 GLenum destInternalFormat, GLenum destType, bool flipY, in TEST_P() 1801 destType, flipY, premultiplyAlpha, unmultiplyAlpha); in TEST_P() 1919 GLenum destInternalFormat, GLenum destType, bool flipY, in TEST_P() 1931 destType, flipY, premultiplyAlpha, unmultiplyAlpha); in TEST_P()
|
/third_party/flutter/skia/third_party/externals/angle2/src/common/ |
D | mathutil.h | 175 template <typename destType, typename sourceType> 176 destType bitCast(const sourceType &source) in bitCast() 178 size_t copySize = std::min(sizeof(destType), sizeof(sourceType)); in bitCast() 179 destType output; in bitCast()
|
/third_party/skia/third_party/externals/angle2/src/common/ |
D | mathutil.h | 177 template <typename destType, typename sourceType> 178 destType bitCast(const sourceType &source) in bitCast() 180 size_t copySize = std::min(sizeof(destType), sizeof(sourceType)); in bitCast() 181 destType output; in bitCast()
|
/third_party/skia/third_party/externals/angle2/extensions/ |
D | CHROMIUM_copy_texture.txt | 40 enum destType, 98 by <destType>.
|
/third_party/flutter/skia/third_party/externals/angle2/extensions/ |
D | CHROMIUM_copy_texture.txt | 40 enum destType, 98 by <destType>.
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | BlitGL.h | 100 GLenum destType,
|
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/ |
D | VertexFormatTests.cpp | 38 template <typename destType, typename srcType> 39 std::vector<destType> BitCast(std::vector<srcType> data) { in BitCast() 40 std::vector<destType> expectedData; in BitCast()
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | VertexFormatTests.cpp | 38 template <typename destType, typename srcType> 39 std::vector<destType> BitCast(std::vector<srcType> data) { in BitCast() 40 std::vector<destType> expectedData; in BitCast()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | BlitGL.h | 121 GLenum destType,
|