Home
last modified time | relevance | path

Searched refs:Functions (Results 1 – 25 of 1930) sorted by relevance

12345678910>>...78

/external/guava/android/guava-tests/test/com/google/common/base/
DFunctionsTest.java41 Function<String, String> identity = Functions.identity(); in testIdentity_same()
47 Function<Long, Long> identity = Functions.identity(); in testIdentity_notSame()
53 checkCanReserializeSingleton(Functions.identity()); in testIdentitySerializable()
57 assertEquals("3", Functions.toStringFunction().apply(3)); in testToStringFunction_apply()
58 assertEquals("hiya", Functions.toStringFunction().apply("hiya")); in testToStringFunction_apply()
61 Functions.toStringFunction() in testToStringFunction_apply()
70 Functions.toStringFunction().apply(null); in testToStringFunction_apply()
78 checkCanReserializeSingleton(Functions.toStringFunction()); in testToStringFunctionSerializable()
84 tester.testAllPublicStaticMethods(Functions.class); in testNullPointerExceptions()
92 Function<String, Integer> function = Functions.forMap(map); in testForMapWithoutDefault()
[all …]
/external/guava/guava-tests/test/com/google/common/base/
DFunctionsTest.java41 Function<String, String> identity = Functions.identity(); in testIdentity_same()
47 Function<Long, Long> identity = Functions.identity(); in testIdentity_notSame()
53 checkCanReserializeSingleton(Functions.identity()); in testIdentitySerializable()
57 assertEquals("3", Functions.toStringFunction().apply(3)); in testToStringFunction_apply()
58 assertEquals("hiya", Functions.toStringFunction().apply("hiya")); in testToStringFunction_apply()
61 Functions.toStringFunction() in testToStringFunction_apply()
70 Functions.toStringFunction().apply(null); in testToStringFunction_apply()
78 checkCanReserializeSingleton(Functions.toStringFunction()); in testToStringFunctionSerializable()
84 tester.testAllPublicStaticMethods(Functions.class); in testNullPointerExceptions()
92 Function<String, Integer> function = Functions.forMap(map); in testForMapWithoutDefault()
[all …]
/external/deqp/framework/opengl/wrapper/
DglwInitFunctions.hpp33 void initES20 (Functions* gl, const FunctionLoader* loader); //!< Load all OpenGL ES 2.0 function…
34 void initES30 (Functions* gl, const FunctionLoader* loader); //!< Load all OpenGL ES 3.0 function…
35 void initES31 (Functions* gl, const FunctionLoader* loader); //!< Load all OpenGL ES 3.1 function…
36 void initES32 (Functions* gl, const FunctionLoader* loader); //!< Load all OpenGL ES 3.2 function…
38 void initGL30Core (Functions* gl, const FunctionLoader* loader); //!< Load all GL 3.0 core functio…
39 void initGL31Core (Functions* gl, const FunctionLoader* loader); //!< Load all GL 3.1 core functio…
40 void initGL32Core (Functions* gl, const FunctionLoader* loader); //!< Load all GL 3.2 core functio…
41 void initGL33Core (Functions* gl, const FunctionLoader* loader); //!< Load all GL 3.3 core functio…
42 void initGL40Core (Functions* gl, const FunctionLoader* loader); //!< Load all GL 4.0 core functio…
43 void initGL41Core (Functions* gl, const FunctionLoader* loader); //!< Load all GL 4.1 core functio…
[all …]
DglwInitFunctions.cpp35 void initES20 (Functions* gl, const FunctionLoader* loader) in initES20()
40 void initES30 (Functions* gl, const FunctionLoader* loader) in initES30()
45 void initES31 (Functions* gl, const FunctionLoader* loader) in initES31()
50 void initES32 (Functions* gl, const FunctionLoader* loader) in initES32()
55 void initGL30Core (Functions* gl, const FunctionLoader* loader) in initGL30Core()
60 void initGL31Core (Functions* gl, const FunctionLoader* loader) in initGL31Core()
65 void initGL32Core (Functions* gl, const FunctionLoader* loader) in initGL32Core()
70 void initGL33Core (Functions* gl, const FunctionLoader* loader) in initGL33Core()
75 void initGL40Core (Functions* gl, const FunctionLoader* loader) in initGL40Core()
80 void initGL41Core (Functions* gl, const FunctionLoader* loader) in initGL41Core()
[all …]
DglwImpl.inl9 const glw::Functions* gl = glw::getCurrentThreadFunctions();
17 const glw::Functions* gl = glw::getCurrentThreadFunctions();
25 const glw::Functions* gl = glw::getCurrentThreadFunctions();
33 const glw::Functions* gl = glw::getCurrentThreadFunctions();
41 const glw::Functions* gl = glw::getCurrentThreadFunctions();
49 const glw::Functions* gl = glw::getCurrentThreadFunctions();
57 const glw::Functions* gl = glw::getCurrentThreadFunctions();
65 const glw::Functions* gl = glw::getCurrentThreadFunctions();
73 const glw::Functions* gl = glw::getCurrentThreadFunctions();
81 const glw::Functions* gl = glw::getCurrentThreadFunctions();
[all …]
DglwWrapper.cpp43 DE_THREAD_LOCAL const glw::Functions* s_functions = DE_NULL;
45 void setCurrentThreadFunctions (const glw::Functions* gl) in setCurrentThreadFunctions()
50 inline const glw::Functions* getCurrentThreadFunctions (void) in getCurrentThreadFunctions()
70 inline void set (const glw::Functions* gl)
75 inline const glw::Functions* get (void) const
77 return (const glw::Functions*)deThreadLocal_get(m_ptr);
89 void setCurrentThreadFunctions (const glw::Functions* gl)
94 inline const glw::Functions* getCurrentThreadFunctions (void)
/external/deqp/external/openglcts/modules/common/
DglcRobustBufferAccessBehaviorTests.hpp49 Buffer(const glw::Functions& gl);
62 static void Bind(const glw::Functions& gl, glw::GLuint id, glw::GLenum target);
63 …static void BindBase(const glw::Functions& gl, glw::GLuint id, glw::GLenum target, glw::GLuint ind…
64 …static void Data(const glw::Functions& gl, glw::GLenum target, glw::GLenum usage, glw::GLsizeiptr …
66 static void Generate(const glw::Functions& gl, glw::GLuint& out_id);
67 …static void SubData(const glw::Functions& gl, glw::GLenum target, glw::GLintptr offset, glw::GLsiz…
82 const glw::Functions& m_gl;
94 Framebuffer(const glw::Functions& gl);
101 static void AttachTexture(const glw::Functions& gl, glw::GLenum target, glw::GLenum attachment,
104 static void Bind(const glw::Functions& gl, glw::GLenum target, glw::GLuint id);
[all …]
DglcKHRDebugTests.hpp43 class Functions;
66 const glw::Functions* m_gl;
198 static glw::GLuint createBuffer(const glw::Functions* gl, const glu::RenderContext* rc);
199 static glw::GLuint createFramebuffer(const glw::Functions* gl, const glu::RenderContext* rc);
200 static glw::GLuint createProgram(const glw::Functions* gl, const glu::RenderContext* rc);
201 static glw::GLuint createProgramPipeline(const glw::Functions* gl, const glu::RenderContext* rc);
202 static glw::GLuint createQuery(const glw::Functions* gl, const glu::RenderContext* rc);
203 static glw::GLuint createRenderbuffer(const glw::Functions* gl, const glu::RenderContext* rc);
204 static glw::GLuint createSampler(const glw::Functions* gl, const glu::RenderContext* rc);
205 static glw::GLuint createShader(const glw::Functions* gl, const glu::RenderContext* rc);
[all …]
DglcLayoutLocationTests.cpp52 void setTexParameters(const Functions& gl, GLenum target, bool depthTexture) in setTexParameters()
93 ResultData createTexture1D(const Functions& gl, std::size_t components, GLenum internalFormat, GLen… in createTexture1D()
107 ResultData createTexture2D(const Functions& gl, std::size_t components, GLenum target, GLenum inter… in createTexture2D()
122 ResultData createTexture3D(const Functions& gl, std::size_t components, GLenum internalFormat, GLen… in createTexture3D()
137 ResultData createCubeMap(const Functions& gl, std::size_t components, GLenum internalFormat, GLenum… in createCubeMap()
154 ResultData createTexture2DArray(const Functions& gl, std::size_t components, GLenum internalFormat,… in createTexture2DArray()
169 ResultData createTextureBuffer(const Functions& gl, GLenum internalFormat) in createTextureBuffer()
191 ResultData create(const Functions& gl) in create()
198 ResultData create<GL_TEXTURE_2D, GL_RGBA8>(const Functions& gl) in create()
204 ResultData create<GL_TEXTURE_3D, GL_RGBA8>(const Functions& gl) in create()
[all …]
DglcTextureFilterAnisotropicTests.hpp53 bool verifyTexParameters(const glw::Functions& gl);
54 bool verifyGet(const glw::Functions& gl);
71 void generateTexture(const glw::Functions& gl, GLenum target);
72 void fillTexture(const glw::Functions& gl, GLenum target, GLenum internalFormat);
73 bool drawTexture(const glw::Functions& gl, GLenum target, GLfloat anisoDegree);
74 GLuint verifyScene(const glw::Functions& gl);
75 void releaseTexture(const glw::Functions& gl);
/external/deqp/framework/opengl/
DgluObjectWrapper.cpp36 ObjectWrapper::ObjectWrapper (const glw::Functions& gl, const ObjectTraits& traits) in ObjectWrapper()
58 ObjectWrapper::ObjectWrapper (const glw::Functions& gl, const ObjectTraits& traits, deUint32 object) in ObjectWrapper()
73 { "texture", &glw::Functions::genTextures, &glw::Functions::deleteTextures },
74 { "buffer", &glw::Functions::genBuffers, &glw::Functions::deleteBuffers },
75 { "renderbuffer", &glw::Functions::genRenderbuffers, &glw::Functions::deleteRenderbuffers },
76 { "framebuffer", &glw::Functions::genFramebuffers, &glw::Functions::deleteFramebuffers },
77 …{ "transform feedback", &glw::Functions::genTransformFeedbacks, &glw::Functions::deleteTransformFe…
78 { "vertex array", &glw::Functions::genVertexArrays, &glw::Functions::deleteVertexArrays },
79 { "query", &glw::Functions::genQueries, &glw::Functions::deleteQueries },
80 { "sampler", &glw::Functions::genSamplers, &glw::Functions::deleteSamplers },
[all …]
DgluProgramInterfaceQuery.hpp33 class Functions;
89 int getProgramResourceInt (const glw::Functions& gl, deUint32 program, deUint32 programInter…
90 deUint32 getProgramResourceUint (const glw::Functions& gl, deUint32 program, deUint32 programI…
92 void getProgramResourceName (const glw::Functions& gl, deUint32 program, deUint32 programInte…
93 std::string getProgramResourceName (const glw::Functions& gl, deUint32 program, deUint32 progr…
95 void getProgramInterfaceBlockInfo (const glw::Functions& gl, deUint32 program, deUint32 program…
96 InterfaceBlockInfo getProgramInterfaceBlockInfo (const glw::Functions& gl, deUint32 program, deUin…
98 void getProgramInterfaceVariableInfo (const glw::Functions& gl, deUint32 program, deUint32 prog…
99 InterfaceVariableInfo getProgramInterfaceVariableInfo (const glw::Functions& gl, deUint32 program, …
103 inline int getProgramResourceInt (const glw::Functions& gl, deUint32 program, deUint32 programInter… in getProgramResourceInt()
[all …]
DgluObjectWrapper.hpp58 glw::glGenBuffersFunc glw::Functions::*genFunc;
59 glw::glDeleteBuffersFunc glw::Functions::*deleteFunc;
67 ObjectWrapper (const glw::Functions& gl, const ObjectTraits& traits);
68 ObjectWrapper (const glw::Functions& gl, const ObjectTraits& traits, deUint32 object);
75 const glw::Functions& m_gl;
90 …TypedObjectWrapper (const glw::Functions& gl, deUint32 object) : ObjectWrapper(gl, objectTraits(Ty… in TypedObjectWrapper()
92 explicit TypedObjectWrapper (const glw::Functions& gl) : ObjectWrapper(gl, objectTraits(Type)) {} in TypedObjectWrapper()
101 … ObjectVector (const glw::Functions& gl, const ObjectTraits& traits, size_t numObjects = 0);
118 const glw::Functions& m_gl;
127 …explicit TypedObjectVector (const glw::Functions& gl, size_t numObjects = 0) : ObjectVector(gl, ob… in TypedObjectVector()
/external/deqp/external/openglcts/modules/gl/
Dgl4cSparseTextureTests.hpp74 …static void getTexturePageSizes(const Functions& gl, GLint target, GLint format, GLint& pageSizeX,…
88 static void Bind(const Functions& gl, GLuint id, GLenum target);
90 static void Generate(const Functions& gl, GLuint& out_id);
92 static void Delete(const Functions& gl, GLuint& id);
94 …static void Storage(const Functions& gl, GLenum target, GLsizei levels, GLenum internal_format, GL…
97 …static void GetData(const Functions& gl, GLint level, GLenum target, GLenum format, GLenum type, G…
99 …static void SubImage(const Functions& gl, GLenum target, GLint level, GLint x, GLint y, GLint z, G…
133 bool testTextureSparseARB(const Functions& gl, GLint target, GLint expectedError = GL_NO_ERROR);
134 …bool testVirtualPageSizeIndexARB(const Functions& gl, GLint target, GLint expectedError = GL_NO_ER…
135 bool testNumSparseLevelsARB(const Functions& gl, GLint target);
[all …]
Dgl4cSparseBufferTests.hpp46 static glw::GLuint createComputeProgram(const glw::Functions& gl, const char** cs_body_parts,
49 …static glw::GLuint createProgram(const glw::Functions& gl, const char** fs_body_parts, unsigned in…
178 …AtomicCounterBufferStorageTestCase(const glw::Functions& gl, tcu::TestContext& testContext, glw::G…
197 const glw::Functions& m_gl;
238 …BufferTextureStorageTestCase(const glw::Functions& gl, deqp::Context& context, tcu::TestContext& t…
255 const glw::Functions& m_gl;
289 …ClearOpsBufferStorageTestCase(const glw::Functions& gl, tcu::TestContext& testContext, glw::GLint …
305 const glw::Functions& m_gl;
348 …CopyOpsBufferStorageTestCase(const glw::Functions& gl, tcu::TestContext& testContext, glw::GLint p…
392 const glw::Functions& m_gl;
[all …]
Dgl4cSparseTexture2Tests.hpp155 …virtual bool sparseAllocateTexture(const Functions& gl, GLint target, GLint format, GLuint& textur…
156 …virtual bool allocateTexture(const Functions& gl, GLint target, GLint format, GLuint& texture, GLi…
157 …virtual bool writeDataToTexture(const Functions& gl, GLint target, GLint format, GLuint& texture, …
158 …virtual bool verifyTextureData(const Functions& gl, GLint target, GLint format, GLuint& texture, G…
182 …bool UncommittedReads(const Functions& gl, GLint target, GLint format, GLuint& texture, GLint leve…
183 …bool UncommittedAtomicOperations(const Functions& gl, GLint target, GLint format, GLuint& texture,…
184 …bool UncommittedDepthStencil(const Functions& gl, GLint target, GLint format, GLuint& texture, GLi…
186 void prepareDepthStencilFramebuffer(const Functions& gl, GLint width, GLint height);
187 void cleanupDepthStencilFramebuffer(const Functions& gl);
188 …bool verifyTextureDataExtended(const Functions& gl, GLint target, GLint format, GLuint& texture, G…
[all …]
Dgl3cClipDistance.hpp84 …Program(const glw::Functions& gl, const std::string& vertex_shader_code, const std::string& fragme…
101 const glw::Functions& m_gl;
120 Framebuffer(const glw::Functions& gl, const glw::GLsizei size_x, const glw::GLsizei size_y);
129 const glw::Functions& m_gl;
144 VertexArrayObject(const glw::Functions& gl, const glw::GLenum primitive_type); // create empty vao
152 const glw::Functions& m_gl;
168 VertexBufferObject(const glw::Functions& gl, const glw::GLenum target, std::vector<T> data);
176 const glw::Functions& m_gl;
224 bool MaxClipDistancesValueTest(const glw::Functions& gl);
225 bool EnableDisableTest(const glw::Functions& gl);
[all …]
Dgl4cShaderDrawParametersTests.cpp112 const Functions& gl = m_context.getRenderContext().getFunctions(); in iterate()
164 const Functions& gl = m_context.getRenderContext().getFunctions(); in init()
204 const Functions& gl = m_context.getRenderContext().getFunctions(); in deinit()
236 const Functions& gl = m_context.getRenderContext().getFunctions(); in draw()
302 const Functions& gl = m_context.getRenderContext().getFunctions(); in verify()
379 const Functions& gl = m_context.getRenderContext().getFunctions(); in drawCommand()
405 const Functions& gl = m_context.getRenderContext().getFunctions(); in drawCommand()
417 const Functions& gl = m_context.getRenderContext().getFunctions(); in initChild()
442 const Functions& gl = m_context.getRenderContext().getFunctions(); in deinitChild()
450 const Functions& gl = m_context.getRenderContext().getFunctions(); in drawCommand()
[all …]
/external/oss-fuzz/infra/base-images/base-runner/gocoverage/gocovsum/
Dgocovsum.go24 Functions CoverageTotal `json:"functions,omitempty"` member
66 s.Functions.Percent = float64(100*s.Functions.Covered) / float64(s.Functions.Count)
96 fileCov.Summary.Functions.Count++
98 fileCov.Summary.Functions.Covered++
100 fileCov.Summary.Functions.Uncovered++
105 fileCov.Summary.Functions.Count++
107 fileCov.Summary.Functions.Covered++
109 fileCov.Summary.Functions.Uncovered++
136 r.Data[0].Totals.Functions.Count += fileCov.Summary.Functions.Count
137 r.Data[0].Totals.Functions.Covered += fileCov.Summary.Functions.Covered
[all …]
/external/deqp/modules/glshared/
DglsSamplerObjectTest.hpp77 static void setTextureState (const glw::Functions& gl, GLenum target, SamplingState state);
78 static void setSamplerState (const glw::Functions& gl, SamplingState state, GLuint sampler);
80 static GLuint createTexture2D (const glw::Functions& gl);
81 static GLuint createTexture3D (const glw::Functions& gl);
82 static GLuint createTextureCube (const glw::Functions& gl);
83 static GLuint createTexture (const glw::Functions& gl, GLenum target);
136 static void setTextureState (const glw::Functions& gl, GLenum target, SamplingState state);
137 static void setSamplerState (const glw::Functions& gl, SamplingState state, GLuint sampler);
139 static GLuint createTexture2D (const glw::Functions& gl, int id);
140 static GLuint createTexture3D (const glw::Functions& gl, int id);
[all …]
/external/opencensus-java/api/src/test/java/io/opencensus/common/
DFunctionsTest.java34 assertThat(Functions.returnNull().apply("ignored")).isNull(); in testReturnNull()
39 assertThat(Functions.returnConstant(123).apply("ignored")).isEqualTo(123); in testReturnConstant()
44 assertThat(Functions.returnToString().apply("input")).isEqualTo("input"); in testReturnToString()
45 assertThat(Functions.returnToString().apply(Boolean.FALSE)).isEqualTo("false"); in testReturnToString()
46 assertThat(Functions.returnToString().apply(Double.valueOf(123.45))).isEqualTo("123.45"); in testReturnToString()
47 assertThat(Functions.returnToString().apply(null)).isEqualTo(null); in testReturnToString()
52 Function<Object, Void> f = Functions.throwIllegalArgumentException(); in testThrowIllegalArgumentException()
59 Function<Object, Void> f = Functions.throwAssertionError(); in testThrowAssertionError()
/external/rust/crates/libfuzzer-sys/libfuzzer/
DFuzzerDataFlowTrace.h49 size_t NumCoveredFunctions() const { return Functions.size(); } in NumCoveredFunctions()
52 auto It = Functions.find(FunctionId); in GetCounter()
53 if (It == Functions.end()) return 0; in GetCounter()
61 auto It = Functions.find(FunctionId); in GetNumberOfBlocks()
62 if (It == Functions.end()) return 0; in GetNumberOfBlocks()
68 auto It = Functions.find(FunctionId); in GetNumberOfCoveredBlocks()
69 if (It == Functions.end()) return 0; in GetNumberOfCoveredBlocks()
79 void clear() { Functions.clear(); } in clear()
109 std::unordered_map<size_t, CoverageVector> Functions; variable
/external/llvm-project/compiler-rt/lib/fuzzer/
DFuzzerDataFlowTrace.h49 size_t NumCoveredFunctions() const { return Functions.size(); } in NumCoveredFunctions()
52 auto It = Functions.find(FunctionId); in GetCounter()
53 if (It == Functions.end()) return 0; in GetCounter()
61 auto It = Functions.find(FunctionId); in GetNumberOfBlocks()
62 if (It == Functions.end()) return 0; in GetNumberOfBlocks()
68 auto It = Functions.find(FunctionId); in GetNumberOfCoveredBlocks()
69 if (It == Functions.end()) return 0; in GetNumberOfCoveredBlocks()
79 void clear() { Functions.clear(); } in clear()
109 std::unordered_map<size_t, CoverageVector> Functions; variable
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/stats/
DMetricUtils.java21 import io.opencensus.common.Functions;
65 Functions.returnConstant( in getType()
72 Functions.returnConstant( in getType()
89 Functions.returnConstant(Type.CUMULATIVE_DOUBLE);
92 Functions.returnConstant(Type.CUMULATIVE_INT64);
95 Functions.returnConstant(Type.CUMULATIVE_DISTRIBUTION);
98 Functions.returnConstant(Type.GAUGE_DOUBLE);
101 Functions.returnConstant(Type.GAUGE_INT64);
104 Functions.<Type>throwAssertionError();
/external/deqp/external/openglcts/modules/gles31/
Des31cTextureStorageMultisampleTexStorage3DMultisampleTests.cpp110 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in deinit()
155 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in initInternals()
190 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in iterate()
316 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in deinit()
341 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in initInternals()
376 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in iterate()
415 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in deinit()
436 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in initInternals()
463 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in iterate()
511 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in deinit()
[all …]

12345678910>>...78