/third_party/skia/src/sksl/ |
H A D | SkSLUtil.cpp | 35 bool type_to_grsltype(const Context& context, const Type& type, GrSLType* outType) { in type_to_grsltype() argument 39 if (type == *context.fTypes.fVoid ) { *outType = kVoid_GrSLType; return true; } in type_to_grsltype() 40 if (type == *context.fTypes.fBool ) { *outType = kBool_GrSLType; return true; } in type_to_grsltype() 41 if (type == *context.fTypes.fBool2 ) { *outType = kBool2_GrSLType; return true; } in type_to_grsltype() 42 if (type == *context.fTypes.fBool3 ) { *outType = kBool3_GrSLType; return true; } in type_to_grsltype() 43 if (type == *context.fTypes.fBool4 ) { *outType = kBool4_GrSLType; return true; } in type_to_grsltype() 44 if (type == *context.fTypes.fShort ) { *outType = kShort_GrSLType; return true; } in type_to_grsltype() 45 if (type == *context.fTypes.fShort2 ) { *outType = kShort2_GrSLType; return true; } in type_to_grsltype() 46 if (type == *context.fTypes.fShort3 ) { *outType = kShort3_GrSLType; return true; } in type_to_grsltype() 47 if (type == *context.fTypes.fShort4 ) { *outType in type_to_grsltype() [all...] |
/third_party/skia/third_party/externals/angle2/util/ |
H A D | com_utils.h | 12 template <typename outType> 13 inline outType *DynamicCastComObject(IUnknown *object) in DynamicCastComObject() 15 outType *outObject = nullptr; in DynamicCastComObject() 17 object->QueryInterface(__uuidof(outType), reinterpret_cast<void **>(&outObject)); in DynamicCastComObject()
|
/third_party/vk-gl-cts/modules/gles2/scripts/ |
H A D | gen-conversions.py | 179 outType = outValues[0].typeString() 180 self.name = "%s_to_%s" % (inType, outType) 181 self.op = "out0 = %s(in0);" % outType 183 self.outputs = [("%s out0" % outType, outValues)] 196 outType = outValue.typeString() 197 self.name = "%s_to_%s" % (inType, outType) 198 self.op = "%s in0 = %s;\n%s out0 = %s(in0);" % (inType, str(inValue), outType, outType) 200 self.outType = outType [all...] |
/third_party/icu/icu4c/source/tools/icupkg/ |
H A D | icupkg.cpp | 267 char outType; in main() local 364 outType=type[0]; in main() 365 switch(outType) { in main() 381 isModified|=(UBool)(!isPackage || outType!=pkg->getInType()); in main() 383 outType=pkg->getInType(); // default to input type in main() 385 outType=0; /* tells extractItem() to not swap */ in main() 409 pkg->extractItem(destPath, outFilename, 0, outType); in main() 482 pkg->extractItems(destPath, *listPkg, outType); in main() 541 *(s-5)=outType; in main() 548 result = writePackageDatFile(outFilename, outComment, NULL, NULL, pkg, outType); in main() [all...] |
/third_party/node/deps/icu-small/source/tools/icupkg/ |
H A D | icupkg.cpp | 267 char outType; in main() local 364 outType=type[0]; in main() 365 switch(outType) { in main() 381 isModified|=(UBool)(!isPackage || outType!=pkg->getInType()); in main() 383 outType=pkg->getInType(); // default to input type in main() 385 outType=0; /* tells extractItem() to not swap */ in main() 409 pkg->extractItem(destPath, outFilename, 0, outType); in main() 482 pkg->extractItems(destPath, *listPkg, outType); in main() 541 *(s-5)=outType; in main() 548 result = writePackageDatFile(outFilename, outComment, nullptr, nullptr, pkg, outType); in main() [all...] |
/third_party/skia/third_party/externals/icu/source/tools/icupkg/ |
H A D | icupkg.cpp | 267 char outType; in main() local 364 outType=type[0]; in main() 365 switch(outType) { in main() 381 isModified|=(UBool)(!isPackage || outType!=pkg->getInType()); in main() 383 outType=pkg->getInType(); // default to input type in main() 385 outType=0; /* tells extractItem() to not swap */ in main() 409 pkg->extractItem(destPath, outFilename, 0, outType); in main() 482 pkg->extractItems(destPath, *listPkg, outType); in main() 541 *(s-5)=outType; in main() 548 result = writePackageDatFile(outFilename, outComment, NULL, NULL, pkg, outType); in main() [all...] |
/third_party/icu/icu4c/source/tools/toolutil/ |
H A D | package.h | 83 void writePackage(const char *filename, char outType, const char *comment); 120 void extractItem(const char *filesPath, int32_t itemIndex, char outType); 121 void extractItems(const char *filesPath, const char *pattern, char outType); 122 void extractItems(const char *filesPath, const Package &listPkg, char outType); 125 void extractItem(const char *filesPath, const char *outName, int32_t itemIndex, char outType);
|
H A D | package.cpp | 686 Package::writePackage(const char *filename, char outType, const char *comment) { in writePackage() argument 724 makeTypeProps(outType, outCharset, outIsBigEndian); in writePackage() 727 // one is a no-op for local type==outType in writePackage() 730 i=makeTypeEnum(outType); in writePackage() 777 prefix[prefixLength-1]=outType; in writePackage() 1127 Package::extractItem(const char *filesPath, const char *outName, int32_t idx, char outType) { in extractItem() argument 1141 // swap the data to the outType in extractItem() 1142 // outType==0: don't swap in extractItem() 1143 if(outType!=0 && pItem->type!=outType) { in extractItem() 1185 extractItem(const char *filesPath, int32_t idx, char outType) extractItem() argument 1190 extractItems(const char *filesPath, const char *pattern, char outType) extractItems() argument 1200 extractItems(const char *filesPath, const Package &listPkg, char outType) extractItems() argument [all...] |
H A D | pkg_icu.cpp | 154 writePackageDatFile(const char *outFilename, const char *outComment, const char *sourcePath, const char *addList, Package *pkg, char outType) { in writePackageDatFile() argument 174 pkg->writePackage(outFilename, outType, outComment); in writePackageDatFile()
|
/third_party/node/deps/icu-small/source/tools/toolutil/ |
H A D | package.h | 83 void writePackage(const char *filename, char outType, const char *comment); 120 void extractItem(const char *filesPath, int32_t itemIndex, char outType); 121 void extractItems(const char *filesPath, const char *pattern, char outType); 122 void extractItems(const char *filesPath, const Package &listPkg, char outType); 125 void extractItem(const char *filesPath, const char *outName, int32_t itemIndex, char outType);
|
H A D | package.cpp | 686 Package::writePackage(const char *filename, char outType, const char *comment) { in writePackage() argument 724 makeTypeProps(outType, outCharset, outIsBigEndian); in writePackage() 727 // one is a no-op for local type==outType in writePackage() 730 i=makeTypeEnum(outType); in writePackage() 777 prefix[prefixLength-1]=outType; in writePackage() 1127 Package::extractItem(const char *filesPath, const char *outName, int32_t idx, char outType) { in extractItem() argument 1141 // swap the data to the outType in extractItem() 1142 // outType==0: don't swap in extractItem() 1143 if(outType!=0 && pItem->type!=outType) { in extractItem() 1185 extractItem(const char *filesPath, int32_t idx, char outType) extractItem() argument 1190 extractItems(const char *filesPath, const char *pattern, char outType) extractItems() argument 1200 extractItems(const char *filesPath, const Package &listPkg, char outType) extractItems() argument [all...] |
H A D | pkg_icu.cpp | 154 writePackageDatFile(const char *outFilename, const char *outComment, const char *sourcePath, const char *addList, Package *pkg, char outType) { in writePackageDatFile() argument 174 pkg->writePackage(outFilename, outType, outComment); in writePackageDatFile()
|
/third_party/skia/third_party/externals/icu/source/tools/toolutil/ |
H A D | package.h | 83 void writePackage(const char *filename, char outType, const char *comment); 120 void extractItem(const char *filesPath, int32_t itemIndex, char outType); 121 void extractItems(const char *filesPath, const char *pattern, char outType); 122 void extractItems(const char *filesPath, const Package &listPkg, char outType); 125 void extractItem(const char *filesPath, const char *outName, int32_t itemIndex, char outType);
|
H A D | package.cpp | 686 Package::writePackage(const char *filename, char outType, const char *comment) { in writePackage() argument 724 makeTypeProps(outType, outCharset, outIsBigEndian); in writePackage() 727 // one is a no-op for local type==outType in writePackage() 730 i=makeTypeEnum(outType); in writePackage() 777 prefix[prefixLength-1]=outType; in writePackage() 1127 Package::extractItem(const char *filesPath, const char *outName, int32_t idx, char outType) { in extractItem() argument 1141 // swap the data to the outType in extractItem() 1142 // outType==0: don't swap in extractItem() 1143 if(outType!=0 && pItem->type!=outType) { in extractItem() 1185 extractItem(const char *filesPath, int32_t idx, char outType) extractItem() argument 1190 extractItems(const char *filesPath, const char *pattern, char outType) extractItems() argument 1200 extractItems(const char *filesPath, const Package &listPkg, char outType) extractItems() argument [all...] |
H A D | pkg_icu.cpp | 154 writePackageDatFile(const char *outFilename, const char *outComment, const char *sourcePath, const char *addList, Package *pkg, char outType) { in writePackageDatFile() argument 174 pkg->writePackage(outFilename, outType, outComment); in writePackageDatFile()
|
/third_party/vk-gl-cts/modules/gles3/scripts/ |
H A D | gen-conversions.py | 192 outType = outValues[0].typeString() 193 self.name = "%s_to_%s" % (inType, outType) 194 self.op = "out0 = %s(in0);" % outType 196 self.outputs = [("%s out0" % outType, outValues)] 209 outType = outValue.typeString() 210 self.name = "%s_to_%s" % (inType, outType) 211 self.op = "%s in0 = %s;\n%s out0 = %s(in0);" % (inType, str(inValue), outType, outType) 213 self.outType = outType [all...] |
H A D | gen-large-constant-arrays.py | 105 outType = outputs[0].typeString() variable 111 [("%s out0" % outType, outputs)])
|
H A D | gen-swizzle-math-operations.py | 178 outType = outputs[0].typeString() 187 [("%s out0" % outType, outputs)])
|
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsShaderConstExprTests.cpp | 127 const DataType outType = cases[caseNdx].outType; in createTests() local 133 shaderTemplateParams["CASE_BASE_TYPE"] = glu::getDataTypeName(outType); in createTests() 167 addOutputVar(&spec.values, outType, cases[caseNdx].output); in createTests() 188 addOutputVar(&spec.values, outType, cases[caseNdx].output); in createTests() 221 addOutputVar(&spec.values, outType, cases[caseNdx].output); in createTests() 242 addOutputVar(&spec.values, outType, cases[caseNdx].output); in createTests()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
H A D | renderer11_utils.h | 175 template <typename outType> 176 outType *DynamicCastComObject(IUnknown *object) in DynamicCastComObject() 178 outType *outObject = nullptr; in DynamicCastComObject() 180 object->QueryInterface(__uuidof(outType), reinterpret_cast<void **>(&outObject)); in DynamicCastComObject() 192 template <typename outType> 193 angle::ComPtr<outType> DynamicCastComObjectToComPtr(IUnknown *object) in DynamicCastComObjectToComPtr() 195 angle::ComPtr<outType> outObject; in DynamicCastComObjectToComPtr()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcShaderConstExprTests.cpp | 51 glu::DataType outType; member 65 glu::DataType outType; member 188 shaderSpec.outputs.push_back(Symbol("out0", glu::VarType(params.outType, glu::PRECISION_HIGHP))); in createTestCasesForAllShaderTypes() 258 shaderTemplateParams["CASE_BASE_TYPE"] = glu::getDataTypeName(testCase.outType); in createTests() 260 shaderExecutorParams.outType = testCase.outType; in createTests() 287 if (shaderExecutorParams.outType == glu::TYPE_FLOAT) in createTests() 304 if (shaderExecutorParams.outType == glu::TYPE_FLOAT) in createTests()
|
H A D | glcSampleVariablesTests.cpp | 66 std::string const& sampler = "", std::string const& outType = "") in specializeVersion() 72 args["OUT_TYPE"] = outType; in specializeVersion() 183 const char* outType, GLint samples, GLint sampleMask); 208 const char* outType, GLint samples, GLint sampleMask) in SampleShadingMaskCase() 214 , m_outType(outType) in SampleShadingMaskCase() 885 char const* outType; in init() member 909 formats[format].outType, samples[sample].samples, 0)); in init() 917 formats[format].textureFormat, formats[format].sampler, formats[format].outType, in init() 205 SampleShadingMaskCase(Context& context, const char* name, const char* description, glu::GLSLVersion glslVersion, GLenum internalFormat, tcu::TextureFormat const& texFormat, const char* sampler, const char* outType, GLint samples, GLint sampleMask) SampleShadingMaskCase() argument
|
H A D | glcShaderMultisampleInterpolationTests.cpp | 66 std::string const& sampler = "", std::string const& outType = "", in specializeVersion() 74 args["OUT_TYPE"] = outType; in specializeVersion() 251 tcu::TextureFormat const& texFormat, const char* sampler, const char* outType, GLfloat min, GLfloat max, in ShaderMultisampleInterpolationBaseCase() 262 , m_outType(outType) in ShaderMultisampleInterpolationBaseCase() 637 char const* outType; in init() member 661 formats[format].outType, formats[format].min, formats[format].max, samples[sample].samples)); in init() 248 ShaderMultisampleInterpolationBaseCase( Context& context, const char* name, const char* description, glu::GLSLVersion glslVersion, char const* qualifier, char const* assignment, char const* condition, bool unique, GLenum internalFormat, tcu::TextureFormat const& texFormat, const char* sampler, const char* outType, GLfloat min, GLfloat max, GLint samples) ShaderMultisampleInterpolationBaseCase() argument
|
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
H A D | es31cSampleShadingTests.cpp | 66 std::string const& outType) in specializeVersion() 72 args["OUT_TYPE"] = outType; in specializeVersion() 203 const char* outType, GLfloat min, GLfloat max, const char* extension, in SampleShadingRenderCase() 211 , m_outType(outType) in SampleShadingRenderCase() 477 const char* outType, GLfloat min, GLfloat max, const char* extension = ""); 499 const char* outType, GLfloat min, GLfloat max, in SampleShadingRenderFormatTests() 506 , m_outType(outType) in SampleShadingRenderFormatTests() 65 specializeVersion(std::string const& source, glu::GLSLVersion version, std::string const& sampler, std::string const& outType) specializeVersion() argument 200 SampleShadingRenderCase(Context& context, const char* name, const char* description, glu::GLSLVersion glslVersion, GLenum internalFormat, tcu::TextureFormat const& texFormat, const char* sampler, const char* outType, GLfloat min, GLfloat max, const char* extension, GLfloat sampleShading) SampleShadingRenderCase() argument 496 SampleShadingRenderFormatTests(Context& context, glu::GLSLVersion glslVersion, GLenum internalFormat, const char* format, tcu::TextureFormat const& texFormat, const char* sampler, const char* outType, GLfloat min, GLfloat max, const char* extension) SampleShadingRenderFormatTests() argument
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cES31CompatibilitySampleVariablesTests.cpp | 69 std::string const& sampler = "", std::string const& outType = "") in specializeVersion() 75 args["OUT_TYPE"] = outType; in specializeVersion() 190 const char* outType, GLint samples, GLint sampleMask); 215 const char* outType, GLint samples, GLint sampleMask) in SampleShadingMaskCase() 221 , m_outType(outType) in SampleShadingMaskCase() 883 char const* outType; in init() member 907 formats[format].outType, samples[sample].samples, 0)); in init() 915 formats[format].textureFormat, formats[format].sampler, formats[format].outType, in init() 212 SampleShadingMaskCase(Context& context, const char* name, const char* description, glu::GLSLVersion glslVersion, GLenum internalFormat, tcu::TextureFormat const& texFormat, const char* sampler, const char* outType, GLint samples, GLint sampleMask) SampleShadingMaskCase() argument
|