Home
last modified time | relevance | path

Searched refs:ParamType (Results 1 – 25 of 78) sorted by relevance

1234

/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
Dframe_capture_utils_autogen.cpp17 void WriteParamTypeToStream(std::ostream &os, ParamType paramType, const ParamValue &paramValue) in WriteParamTypeToStream()
21 case ParamType::TAlphaTestFunc: in WriteParamTypeToStream()
22 WriteParamValueToStream<ParamType::TAlphaTestFunc>(os, paramValue.AlphaTestFuncVal); in WriteParamTypeToStream()
24 case ParamType::TBufferBinding: in WriteParamTypeToStream()
25 WriteParamValueToStream<ParamType::TBufferBinding>(os, paramValue.BufferBindingVal); in WriteParamTypeToStream()
27 case ParamType::TBufferID: in WriteParamTypeToStream()
28 WriteParamValueToStream<ParamType::TBufferID>(os, paramValue.BufferIDVal); in WriteParamTypeToStream()
30 case ParamType::TBufferIDConstPointer: in WriteParamTypeToStream()
31 WriteParamValueToStream<ParamType::TBufferIDConstPointer>( in WriteParamTypeToStream()
34 case ParamType::TBufferIDPointer: in WriteParamTypeToStream()
[all …]
Dframe_capture_utils_autogen.h18 enum class ParamType enum
204 template <ParamType PType, typename T>
208 inline void SetParamVal<ParamType::TAlphaTestFunc>(gl::AlphaTestFunc valueIn, ParamValue *valueOut)
214 inline void SetParamVal<ParamType::TBufferBinding>(gl::BufferBinding valueIn, ParamValue *valueOut)
220 inline void SetParamVal<ParamType::TBufferID>(gl::BufferID valueIn, ParamValue *valueOut)
226 inline void SetParamVal<ParamType::TBufferIDConstPointer>(const gl::BufferID *valueIn,
233 inline void SetParamVal<ParamType::TBufferIDPointer>(gl::BufferID *valueIn, ParamValue *valueOut)
239 inline void SetParamVal<ParamType::TBufferUsage>(gl::BufferUsage valueIn, ParamValue *valueOut)
245 inline void SetParamVal<ParamType::TClientVertexArrayType>(gl::ClientVertexArrayType valueIn,
252 inline void SetParamVal<ParamType::TCullFaceMode>(gl::CullFaceMode valueIn, ParamValue *valueOut)
[all …]
Dcapture_gles_3_0_autogen.cpp30 paramBuffer.addValueParam("targetPacked", ParamType::TQueryType, targetPacked); in CaptureBeginQuery()
31 paramBuffer.addValueParam("id", ParamType::TGLuint, id); in CaptureBeginQuery()
42 paramBuffer.addValueParam("primitiveModePacked", ParamType::TPrimitiveMode, in CaptureBeginTransformFeedback()
56 paramBuffer.addValueParam("targetPacked", ParamType::TBufferBinding, targetPacked); in CaptureBindBufferBase()
57 paramBuffer.addValueParam("index", ParamType::TGLuint, index); in CaptureBindBufferBase()
58 paramBuffer.addValueParam("bufferPacked", ParamType::TBufferID, bufferPacked); in CaptureBindBufferBase()
73 paramBuffer.addValueParam("targetPacked", ParamType::TBufferBinding, targetPacked); in CaptureBindBufferRange()
74 paramBuffer.addValueParam("index", ParamType::TGLuint, index); in CaptureBindBufferRange()
75 paramBuffer.addValueParam("bufferPacked", ParamType::TBufferID, bufferPacked); in CaptureBindBufferRange()
76 paramBuffer.addValueParam("offset", ParamType::TGLintptr, offset); in CaptureBindBufferRange()
[all …]
Dcapture_gles_ext_autogen.cpp33 paramBuffer.addValueParam("modePacked", ParamType::TPrimitiveMode, modePacked); in CaptureDrawArraysInstancedBaseInstanceANGLE()
34 paramBuffer.addValueParam("first", ParamType::TGLint, first); in CaptureDrawArraysInstancedBaseInstanceANGLE()
35 paramBuffer.addValueParam("count", ParamType::TGLsizei, count); in CaptureDrawArraysInstancedBaseInstanceANGLE()
36 paramBuffer.addValueParam("instanceCount", ParamType::TGLsizei, instanceCount); in CaptureDrawArraysInstancedBaseInstanceANGLE()
37 paramBuffer.addValueParam("baseInstance", ParamType::TGLuint, baseInstance); in CaptureDrawArraysInstancedBaseInstanceANGLE()
55 paramBuffer.addValueParam("modePacked", ParamType::TPrimitiveMode, modePacked); in CaptureDrawElementsInstancedBaseVertexBaseInstanceANGLE()
56 paramBuffer.addValueParam("count", ParamType::TGLsizei, count); in CaptureDrawElementsInstancedBaseVertexBaseInstanceANGLE()
57 paramBuffer.addValueParam("typePacked", ParamType::TDrawElementsType, typePacked); in CaptureDrawElementsInstancedBaseVertexBaseInstanceANGLE()
59 ParamCapture indicesParam("indices", ParamType::TGLvoidConstPointer); in CaptureDrawElementsInstancedBaseVertexBaseInstanceANGLE()
60 InitParamValue(ParamType::TGLvoidConstPointer, indices, &indicesParam.value); in CaptureDrawElementsInstancedBaseVertexBaseInstanceANGLE()
[all …]
Dcapture_gles_3_1_autogen.cpp30 paramBuffer.addValueParam("pipeline", ParamType::TGLuint, pipeline); in CaptureActiveShaderProgram()
31 paramBuffer.addValueParam("program", ParamType::TGLuint, program); in CaptureActiveShaderProgram()
48 paramBuffer.addValueParam("unit", ParamType::TGLuint, unit); in CaptureBindImageTexture()
49 paramBuffer.addValueParam("texturePacked", ParamType::TTextureID, texturePacked); in CaptureBindImageTexture()
50 paramBuffer.addValueParam("level", ParamType::TGLint, level); in CaptureBindImageTexture()
51 paramBuffer.addValueParam("layered", ParamType::TGLboolean, layered); in CaptureBindImageTexture()
52 paramBuffer.addValueParam("layer", ParamType::TGLint, layer); in CaptureBindImageTexture()
53 paramBuffer.addEnumParam("access", GLenumGroup::BufferAccessARB, ParamType::TGLenum, access); in CaptureBindImageTexture()
54 paramBuffer.addEnumParam("format", GLenumGroup::InternalFormat, ParamType::TGLenum, format); in CaptureBindImageTexture()
63 paramBuffer.addValueParam("pipeline", ParamType::TGLuint, pipeline); in CaptureBindProgramPipeline()
[all …]
Dcapture_gles_2_0_autogen.cpp27 paramBuffer.addEnumParam("texture", GLenumGroup::TextureUnit, ParamType::TGLenum, texture); in CaptureActiveTexture()
39 paramBuffer.addValueParam("program", ParamType::TGLuint, program); in CaptureAttachShader()
40 paramBuffer.addValueParam("shader", ParamType::TGLuint, shader); in CaptureAttachShader()
53 paramBuffer.addValueParam("program", ParamType::TGLuint, program); in CaptureBindAttribLocation()
54 paramBuffer.addValueParam("index", ParamType::TGLuint, index); in CaptureBindAttribLocation()
56 ParamCapture nameParam("name", ParamType::TGLcharConstPointer); in CaptureBindAttribLocation()
57 InitParamValue(ParamType::TGLcharConstPointer, name, &nameParam.value); in CaptureBindAttribLocation()
71 paramBuffer.addValueParam("targetPacked", ParamType::TBufferBinding, targetPacked); in CaptureBindBuffer()
72 paramBuffer.addValueParam("bufferPacked", ParamType::TBufferID, bufferPacked); in CaptureBindBuffer()
84 paramBuffer.addEnumParam("target", GLenumGroup::FramebufferTarget, ParamType::TGLenum, target); in CaptureBindFramebuffer()
[all …]
Dcapture_gles_1_0_autogen.cpp30 paramBuffer.addValueParam("funcPacked", ParamType::TAlphaTestFunc, funcPacked); in CaptureAlphaFunc()
31 paramBuffer.addValueParam("ref", ParamType::TGLfloat, ref); in CaptureAlphaFunc()
43 paramBuffer.addValueParam("funcPacked", ParamType::TAlphaTestFunc, funcPacked); in CaptureAlphaFuncx()
44 paramBuffer.addValueParam("ref", ParamType::TGLfixed, ref); in CaptureAlphaFuncx()
58 paramBuffer.addValueParam("red", ParamType::TGLfixed, red); in CaptureClearColorx()
59 paramBuffer.addValueParam("green", ParamType::TGLfixed, green); in CaptureClearColorx()
60 paramBuffer.addValueParam("blue", ParamType::TGLfixed, blue); in CaptureClearColorx()
61 paramBuffer.addValueParam("alpha", ParamType::TGLfixed, alpha); in CaptureClearColorx()
70 paramBuffer.addValueParam("depth", ParamType::TGLfixed, depth); in CaptureClearDepthx()
79 paramBuffer.addEnumParam("texture", GLenumGroup::TextureUnit, ParamType::TGLenum, texture); in CaptureClientActiveTexture()
[all …]
DFrameCapture.cpp64 ParamCapture::ParamCapture() : type(ParamType::TGLenum), enumGroup(gl::GLenumGroup::DefaultGroup) {}
66 ParamCapture::ParamCapture(const char *nameIn, ParamType typeIn) : name(nameIn), type(typeIn) {}
71 : type(ParamType::TGLenum), enumGroup(gl::GLenumGroup::DefaultGroup)
105 ParamCapture &ParamBuffer::getParam(const char *paramName, ParamType paramType, int index)
184 GLuint index = call.params.getParam("index", ParamType::TGLuint, 0).value.GLuintVal;
200 GLint firstVertex = call.params.getParam("first", ParamType::TGLint, 1).value.GLintVal;
202 call.params.getParam("count", ParamType::TGLsizei, 2).value.GLsizeiVal;
210 GLsizei count = call.params.getParam("count", ParamType::TGLsizei, 1).value.GLsizeiVal;
212 call.params.getParam("typePacked", ParamType::TDrawElementsType, 2)
214 const void *indices = call.params.getParam("indices", ParamType::TvoidConstPointer, 3)
[all …]
DFrameCapture.h31 ParamCapture(const char *nameIn, ParamType typeIn);
38 ParamType type;
56 void addValueParam(const char *paramName, ParamType paramType, T paramValue);
60 ParamType paramType,
63 ParamCapture &getParam(const char *paramName, ParamType paramType, int index);
146 void ParamBuffer::addValueParam(const char *paramName, ParamType paramType, T paramValue) in addValueParam()
156 ParamType paramType, in addEnumParam()
171 template <ParamType ParamT, typename T>
175 void WriteParamValueToStream<ParamType::TGLboolean>(std::ostream &os, GLboolean value);
178 void WriteParamValueToStream<ParamType::TvoidConstPointer>(std::ostream &os, const void *value);
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/
Dframe_capture_utils_autogen.cpp21 case ParamType::TAHardwareBufferConstPointer: in WriteParamCaptureReplay()
22 WriteParamValueReplay<ParamType::TAHardwareBufferConstPointer>( in WriteParamCaptureReplay()
25 case ParamType::TAlphaTestFunc: in WriteParamCaptureReplay()
26 WriteParamValueReplay<ParamType::TAlphaTestFunc>(os, call, in WriteParamCaptureReplay()
29 case ParamType::TBufferBinding: in WriteParamCaptureReplay()
30 WriteParamValueReplay<ParamType::TBufferBinding>(os, call, in WriteParamCaptureReplay()
33 case ParamType::TBufferID: in WriteParamCaptureReplay()
34 WriteParamValueReplay<ParamType::TBufferID>(os, call, param.value.BufferIDVal); in WriteParamCaptureReplay()
36 case ParamType::TBufferIDConstPointer: in WriteParamCaptureReplay()
37 WriteParamValueReplay<ParamType::TBufferIDConstPointer>( in WriteParamCaptureReplay()
[all …]
Dframe_capture_utils_autogen.h18 enum class ParamType enum
334 template <ParamType PType, typename T>
338 inline const AHardwareBuffer *GetParamVal<ParamType::TAHardwareBufferConstPointer,
345 inline gl::AlphaTestFunc GetParamVal<ParamType::TAlphaTestFunc, gl::AlphaTestFunc>(
352 inline gl::BufferBinding GetParamVal<ParamType::TBufferBinding, gl::BufferBinding>(
359 inline gl::BufferID GetParamVal<ParamType::TBufferID, gl::BufferID>(const ParamValue &value)
365 inline const gl::BufferID *GetParamVal<ParamType::TBufferIDConstPointer, const gl::BufferID *>(
372 inline gl::BufferID *GetParamVal<ParamType::TBufferIDPointer, gl::BufferID *>(
379 inline gl::BufferUsage GetParamVal<ParamType::TBufferUsage, gl::BufferUsage>(
387 GetParamVal<ParamType::TClientVertexArrayType, gl::ClientVertexArrayType>(const ParamValue &value)
[all …]
Dframe_capture_replay_autogen.cpp32 params.getParam("pipelinePacked", ParamType::TProgramPipelineID, 0) in ReplayCall()
34 params.getParam("programPacked", ParamType::TShaderProgramID, 1) in ReplayCall()
39 params.getParam("texture", ParamType::TGLenum, 0).value.GLenumVal); in ReplayCall()
43 params.getParam("funcPacked", ParamType::TAlphaTestFunc, 0).value.AlphaTestFuncVal, in ReplayCall()
44 params.getParam("ref", ParamType::TGLfloat, 1).value.GLfloatVal); in ReplayCall()
48 params.getParam("funcPacked", ParamType::TAlphaTestFunc, 0).value.AlphaTestFuncVal, in ReplayCall()
49 params.getParam("ref", ParamType::TGLfixed, 1).value.GLfixedVal); in ReplayCall()
52 context->attachShader(params.getParam("programPacked", ParamType::TShaderProgramID, 0) in ReplayCall()
54 params.getParam("shaderPacked", ParamType::TShaderProgramID, 1) in ReplayCall()
59 params.getParam("targetPacked", ParamType::TQueryType, 0).value.QueryTypeVal, in ReplayCall()
[all …]
Dcapture_gles_3_0_autogen.cpp30 paramBuffer.addValueParam("targetPacked", ParamType::TQueryType, targetPacked); in CaptureBeginQuery()
31 paramBuffer.addValueParam("idPacked", ParamType::TQueryID, idPacked); in CaptureBeginQuery()
42 paramBuffer.addValueParam("primitiveModePacked", ParamType::TPrimitiveMode, in CaptureBeginTransformFeedback()
56 paramBuffer.addValueParam("targetPacked", ParamType::TBufferBinding, targetPacked); in CaptureBindBufferBase()
57 paramBuffer.addValueParam("index", ParamType::TGLuint, index); in CaptureBindBufferBase()
58 paramBuffer.addValueParam("bufferPacked", ParamType::TBufferID, bufferPacked); in CaptureBindBufferBase()
73 paramBuffer.addValueParam("targetPacked", ParamType::TBufferBinding, targetPacked); in CaptureBindBufferRange()
74 paramBuffer.addValueParam("index", ParamType::TGLuint, index); in CaptureBindBufferRange()
75 paramBuffer.addValueParam("bufferPacked", ParamType::TBufferID, bufferPacked); in CaptureBindBufferRange()
76 paramBuffer.addValueParam("offset", ParamType::TGLintptr, offset); in CaptureBindBufferRange()
[all …]
Dcapture_gles_ext_autogen.cpp33 paramBuffer.addValueParam("modePacked", ParamType::TPrimitiveMode, modePacked); in CaptureDrawArraysInstancedBaseInstanceANGLE()
34 paramBuffer.addValueParam("first", ParamType::TGLint, first); in CaptureDrawArraysInstancedBaseInstanceANGLE()
35 paramBuffer.addValueParam("count", ParamType::TGLsizei, count); in CaptureDrawArraysInstancedBaseInstanceANGLE()
36 paramBuffer.addValueParam("instanceCount", ParamType::TGLsizei, instanceCount); in CaptureDrawArraysInstancedBaseInstanceANGLE()
37 paramBuffer.addValueParam("baseInstance", ParamType::TGLuint, baseInstance); in CaptureDrawArraysInstancedBaseInstanceANGLE()
55 paramBuffer.addValueParam("modePacked", ParamType::TPrimitiveMode, modePacked); in CaptureDrawElementsInstancedBaseVertexBaseInstanceANGLE()
56 paramBuffer.addValueParam("count", ParamType::TGLsizei, count); in CaptureDrawElementsInstancedBaseVertexBaseInstanceANGLE()
57 paramBuffer.addValueParam("typePacked", ParamType::TDrawElementsType, typePacked); in CaptureDrawElementsInstancedBaseVertexBaseInstanceANGLE()
61 ParamCapture indicesParam("indices", ParamType::TGLvoidConstPointer); in CaptureDrawElementsInstancedBaseVertexBaseInstanceANGLE()
62 InitParamValue(ParamType::TGLvoidConstPointer, indices, &indicesParam.value); in CaptureDrawElementsInstancedBaseVertexBaseInstanceANGLE()
[all …]
Dcapture_gles_3_1_autogen.cpp30 paramBuffer.addValueParam("pipelinePacked", ParamType::TProgramPipelineID, pipelinePacked); in CaptureActiveShaderProgram()
31 paramBuffer.addValueParam("programPacked", ParamType::TShaderProgramID, programPacked); in CaptureActiveShaderProgram()
48 paramBuffer.addValueParam("unit", ParamType::TGLuint, unit); in CaptureBindImageTexture()
49 paramBuffer.addValueParam("texturePacked", ParamType::TTextureID, texturePacked); in CaptureBindImageTexture()
50 paramBuffer.addValueParam("level", ParamType::TGLint, level); in CaptureBindImageTexture()
51 paramBuffer.addValueParam("layered", ParamType::TGLboolean, layered); in CaptureBindImageTexture()
52 paramBuffer.addValueParam("layer", ParamType::TGLint, layer); in CaptureBindImageTexture()
53 paramBuffer.addEnumParam("access", GLenumGroup::BufferAccessARB, ParamType::TGLenum, access); in CaptureBindImageTexture()
54 paramBuffer.addEnumParam("format", GLenumGroup::InternalFormat, ParamType::TGLenum, format); in CaptureBindImageTexture()
65 paramBuffer.addValueParam("pipelinePacked", ParamType::TProgramPipelineID, pipelinePacked); in CaptureBindProgramPipeline()
[all …]
Dcapture_gles_3_2_autogen.cpp38 paramBuffer.addValueParam("buf", ParamType::TGLuint, buf); in CaptureBlendEquationSeparatei()
39 paramBuffer.addEnumParam("modeRGB", GLenumGroup::BlendEquationModeEXT, ParamType::TGLenum, in CaptureBlendEquationSeparatei()
41 paramBuffer.addEnumParam("modeAlpha", GLenumGroup::BlendEquationModeEXT, ParamType::TGLenum, in CaptureBlendEquationSeparatei()
51 paramBuffer.addValueParam("buf", ParamType::TGLuint, buf); in CaptureBlendEquationi()
52 paramBuffer.addEnumParam("mode", GLenumGroup::BlendEquationModeEXT, ParamType::TGLenum, mode); in CaptureBlendEquationi()
67 paramBuffer.addValueParam("buf", ParamType::TGLuint, buf); in CaptureBlendFuncSeparatei()
68 paramBuffer.addEnumParam("srcRGB", GLenumGroup::BlendingFactor, ParamType::TGLenum, srcRGB); in CaptureBlendFuncSeparatei()
69 paramBuffer.addEnumParam("dstRGB", GLenumGroup::BlendingFactor, ParamType::TGLenum, dstRGB); in CaptureBlendFuncSeparatei()
70 paramBuffer.addEnumParam("srcAlpha", GLenumGroup::BlendingFactor, ParamType::TGLenum, srcAlpha); in CaptureBlendFuncSeparatei()
71 paramBuffer.addEnumParam("dstAlpha", GLenumGroup::BlendingFactor, ParamType::TGLenum, dstAlpha); in CaptureBlendFuncSeparatei()
[all …]
Dcapture_gles_2_0_autogen.cpp27 paramBuffer.addEnumParam("texture", GLenumGroup::TextureUnit, ParamType::TGLenum, texture); in CaptureActiveTexture()
39 paramBuffer.addValueParam("programPacked", ParamType::TShaderProgramID, programPacked); in CaptureAttachShader()
40 paramBuffer.addValueParam("shaderPacked", ParamType::TShaderProgramID, shaderPacked); in CaptureAttachShader()
53 paramBuffer.addValueParam("programPacked", ParamType::TShaderProgramID, programPacked); in CaptureBindAttribLocation()
54 paramBuffer.addValueParam("index", ParamType::TGLuint, index); in CaptureBindAttribLocation()
58 ParamCapture nameParam("name", ParamType::TGLcharConstPointer); in CaptureBindAttribLocation()
59 InitParamValue(ParamType::TGLcharConstPointer, name, &nameParam.value); in CaptureBindAttribLocation()
66 ParamCapture nameParam("name", ParamType::TGLcharConstPointer); in CaptureBindAttribLocation()
67 InitParamValue(ParamType::TGLcharConstPointer, static_cast<const GLchar *>(nullptr), in CaptureBindAttribLocation()
82 paramBuffer.addValueParam("targetPacked", ParamType::TBufferBinding, targetPacked); in CaptureBindBuffer()
[all …]
Dcapture_gles_1_0_autogen.cpp30 paramBuffer.addValueParam("funcPacked", ParamType::TAlphaTestFunc, funcPacked); in CaptureAlphaFunc()
31 paramBuffer.addValueParam("ref", ParamType::TGLfloat, ref); in CaptureAlphaFunc()
43 paramBuffer.addValueParam("funcPacked", ParamType::TAlphaTestFunc, funcPacked); in CaptureAlphaFuncx()
44 paramBuffer.addValueParam("ref", ParamType::TGLfixed, ref); in CaptureAlphaFuncx()
58 paramBuffer.addValueParam("red", ParamType::TGLfixed, red); in CaptureClearColorx()
59 paramBuffer.addValueParam("green", ParamType::TGLfixed, green); in CaptureClearColorx()
60 paramBuffer.addValueParam("blue", ParamType::TGLfixed, blue); in CaptureClearColorx()
61 paramBuffer.addValueParam("alpha", ParamType::TGLfixed, alpha); in CaptureClearColorx()
70 paramBuffer.addValueParam("depth", ParamType::TGLfixed, depth); in CaptureClearDepthx()
79 paramBuffer.addEnumParam("texture", GLenumGroup::TextureUnit, ParamType::TGLenum, texture); in CaptureClientActiveTexture()
[all …]
/third_party/skia/third_party/externals/tint/src/writer/msl/
Dgenerator_impl_intrinsic_test.cc28 enum class ParamType { enum
36 ParamType type;
42 case ParamType::kF32: in operator <<()
45 case ParamType::kU32: in operator <<()
48 case ParamType::kBool: in operator <<()
57 ParamType type, in GenerateCall()
122 if (type == ParamType::kF32) { in GenerateCall()
132 if (type == ParamType::kF32) { in GenerateCall()
138 if (type == ParamType::kF32) { in GenerateCall()
202 IntrinsicData{IntrinsicType::kAbs, ParamType::kF32, "fabs"},
[all …]
/third_party/skia/third_party/externals/tint/src/writer/hlsl/
Dgenerator_impl_intrinsic_test.cc32 enum class ParamType { enum
40 ParamType type;
46 case ParamType::kF32: in operator <<()
49 case ParamType::kU32: in operator <<()
52 case ParamType::kBool: in operator <<()
61 ParamType type, in GenerateCall()
124 if (type == ParamType::kF32) { in GenerateCall()
134 if (type == ParamType::kF32) { in GenerateCall()
140 if (type == ParamType::kF32) { in GenerateCall()
188 IntrinsicData{IntrinsicType::kAbs, ParamType::kF32, "abs"},
[all …]
/third_party/skia/third_party/externals/tint/src/writer/glsl/
Dgenerator_impl_intrinsic_test.cc32 enum class ParamType { enum
40 ParamType type;
46 case ParamType::kF32: in operator <<()
49 case ParamType::kU32: in operator <<()
52 case ParamType::kBool: in operator <<()
61 ParamType type, in GenerateCall()
124 if (type == ParamType::kF32) { in GenerateCall()
134 if (type == ParamType::kF32) { in GenerateCall()
140 if (type == ParamType::kF32) { in GenerateCall()
188 IntrinsicData{IntrinsicType::kAbs, ParamType::kF32, "abs"},
[all …]
/third_party/boost/boost/test/
Dparameterized_test.hpp54 template<typename ParamType, typename ParamIter>
57 param_test_case_generator( boost::function<void (ParamType)> const& test_func, in param_test_case_generator()
87 boost::function<void (ParamType)> m_test_func;
98 template<typename UserTestCase,typename ParamType>
100 typedef void (UserTestCase::*test_method)( ParamType );
106 void operator()( ParamType p ) { ((*m_inst).*m_test_method)( p ); } in operator ()()
117 template<typename ParamType, typename ParamIter>
118 inline ut_detail::param_test_case_generator<ParamType,ParamIter>
119 make_test_case( boost::function<void (ParamType)> const& test_func, in make_test_case()
126 …return ut_detail::param_test_case_generator<ParamType,ParamIter>( test_func, tc_name, tc_file, tc_… in make_test_case()
[all …]
/third_party/skia/third_party/externals/oboe/apps/fxlab/app/src/main/cpp/effects/descrip/
DEffectDescription.h31 class ParamType {
33 constexpr ParamType(std::string_view name, float minVal, float maxVal, float defVal) : in ParamType() function
39 constexpr ParamType(const ParamType &other) = delete;
41 ParamType &operator=(const ParamType &other) = delete;
43 constexpr ParamType(ParamType &&other) = default;
45 constexpr ParamType &operator=(ParamType &&other) = delete;
72 static constexpr std::array<ParamType, N> getParams();
82 for (ParamType &mParam: EffectType::getParams()) { in buildDefaultEffect()
/third_party/mesa3d/src/gtest/include/gtest/internal/
Dgtest-param-util.h55 template <class ParamType>
57 TestParamInfo(const ParamType& a_param, size_t an_index) : in TestParamInfo()
60 ParamType param;
67 template <class ParamType>
68 std::string operator()(const TestParamInfo<ParamType>& info) const { in operator()
166 typedef T ParamType; typedef
373 template <class ParamType>
374 std::string DefaultParamName(const TestParamInfo<ParamType>& info) { in DefaultParamName()
394 typedef typename TestClass::ParamType ParamType; typedef
395 explicit ParameterizedTestFactory(ParamType parameter) : in ParameterizedTestFactory()
[all …]
/third_party/googletest/googletest/include/gtest/internal/
Dgtest-param-util.h57 template <class ParamType>
59 TestParamInfo(const ParamType& a_param, size_t an_index) : in TestParamInfo()
62 ParamType param;
69 template <class ParamType>
70 std::string operator()(const TestParamInfo<ParamType>& info) const { in operator()
168 typedef T ParamType; typedef
375 template <class ParamType>
376 std::string DefaultParamName(const TestParamInfo<ParamType>& info) { in DefaultParamName()
396 typedef typename TestClass::ParamType ParamType; typedef
397 explicit ParameterizedTestFactory(ParamType parameter) : in ParameterizedTestFactory()
[all …]

1234