/external/guava/guava-tests/test/com/google/common/base/ |
D | FunctionsTest.java | 43 Function<String, String> identity = Functions.identity(); in testIdentity_same() 49 Function<Long, Long> identity = Functions.identity(); in testIdentity_notSame() 55 checkCanReserializeSingleton(Functions.identity()); in testIdentitySerializable() 59 assertEquals("3", Functions.toStringFunction().apply(3)); in testToStringFunction_apply() 60 assertEquals("hiya", Functions.toStringFunction().apply("hiya")); in testToStringFunction_apply() 62 Functions.toStringFunction().apply( in testToStringFunction_apply() 69 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-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
D | FunctionsTest.java | 39 Function<String, String> identity = Functions.identity(); in testIdentity_same() 45 Function<Long, Long> identity = Functions.identity(); in testIdentity_notSame() 50 assertEquals("3", Functions.toStringFunction().apply(3)); in testToStringFunction_apply() 51 assertEquals("hiya", Functions.toStringFunction().apply("hiya")); in testToStringFunction_apply() 53 Functions.toStringFunction().apply( in testToStringFunction_apply() 60 Functions.toStringFunction().apply(null); in testToStringFunction_apply() 72 Function<String, Integer> function = Functions.forMap(map); in testForMapWithoutDefault() 85 .addEqualityGroup(function, Functions.forMap(map)) in testForMapWithoutDefault() 86 .addEqualityGroup(Functions.forMap(map, 42)) in testForMapWithoutDefault() 95 Function<String, Integer> function = Functions.forMap(map, 42); in testForMapWithDefault() [all …]
|
/external/deqp/framework/opengl/wrapper/ |
D | glwInitFunctions.hpp | 33 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 …]
|
D | glwInitFunctions.cpp | 35 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 …]
|
D | glwImpl.inl | 9 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 …]
|
D | glwWrapper.cpp | 43 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/framework/opengl/ |
D | gluObjectWrapper.cpp | 36 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 …]
|
D | gluProgramInterfaceQuery.hpp | 33 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 …]
|
D | gluObjectWrapper.hpp | 58 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()
|
D | gluTexture.cpp | 58 const glw::Functions& gl = context.getFunctions(); in Texture1D() 69 const glw::Functions& gl = context.getFunctions(); in Texture1D() 82 const glw::Functions& gl = m_context.getFunctions(); in upload() 112 const glw::Functions& gl = context.getFunctions(); in Texture2D() 124 const glw::Functions& gl = context.getFunctions(); in Texture2D() 136 const glw::Functions& gl = context.getFunctions(); in Texture2D() 163 const glw::Functions& gl = m_context.getFunctions(); in upload() 189 const glw::Functions& gl = m_context.getFunctions(); in loadCompressed() 295 const glw::Functions& gl = m_context.getFunctions(); in TextureCube() 323 const glw::Functions& gl = m_context.getFunctions(); in TextureCube() [all …]
|
D | gluRenderContext.hpp | 37 class Functions; 203 virtual const glw::Functions& getFunctions (void) const = DE_NULL; 223 void initCoreFunctions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiTy… 224 void initExtensionFunctions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType a… 228 void initFunctions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType); 229 void initExtensionFunctions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType a… 231 bool hasExtension (const glw::Functions& gl, ApiType apiType, const std::string& extension);
|
/external/deqp/modules/glshared/ |
D | glsSamplerObjectTest.hpp | 77 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 …]
|
D | glsStateChangePerfTestCases.hpp | 37 class Functions; 73 virtual void setupInitialState (const glw::Functions& gl) = 0; 74 virtual void renderTest (const glw::Functions& gl) = 0; 75 virtual void renderReference (const glw::Functions& gl) = 0; 77 void callDraw (const glw::Functions& gl); 117 virtual void execCalls (const glw::Functions& gl, int iterNdx, int callCount) = 0;
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkPlatform.hpp | 56 struct Functions struct in vk::PlatformDriver 61 Functions m_vk; 73 struct Functions struct in vk::InstanceDriver 78 Functions m_vk; 90 struct Functions struct in vk::DeviceDriver 95 Functions m_vk;
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
D | stress_dtls.c | 56 f_t Functions[MAX_N_FUNCTIONS]; variable 64 if (!Functions[i]) break; in PrintStuff() 65 uintptr_t dtls = (uintptr_t)Functions[i](); in PrintStuff() 91 Functions[lib] = (f_t)dlsym(handle, buf); in main() 92 if (!Functions[lib]) { in main() 96 fprintf(stderr, "LIB[%03d] %s: %p\n", lib, buf, Functions[lib]); in main()
|
/external/deqp/framework/egl/wrapper/ |
D | eglwFunctions.cpp | 30 Functions::Functions (void) in Functions() function in eglw::Functions 35 void initCore (Functions* dst, const FunctionLoader* loader) in initCore() 40 void initExtensions (Functions* dst, const FunctionLoader* loader) in initExtensions()
|
D | eglwFunctions.hpp | 37 class Functions class 44 Functions (void); 55 void initCore (Functions* dst, const FunctionLoader* loader); 56 void initExtensions (Functions* dst, const FunctionLoader* loader);
|
/external/deqp/modules/egl/ |
D | teglGLES2RenderUtil.hpp | 32 class Functions; 42 void clear (const glw::Functions& gl, int x, int y, int width, int height, const tcu::Vec4& color); 43 void readPixels (const glw::Functions& gl, tcu::Surface& dst, int x, int y, int width, int height); 44 void finish (const glw::Functions& gl);
|
D | teglImageUtil.cpp | 146 TextureClientBuffer (const glw::Functions& gl) : m_texture (gl) {} in TextureClientBuffer() 182 MovePtr<ClientBuffer> createBuffer (const glw::Functions& gl, Texture2D* reference) const; 188 virtual void initTexture (const glw::Functions& gl) const = 0; 232 MovePtr<ClientBuffer> TextureImageSource::createBuffer (const glw::Functions& gl, Texture2D* ref) c… in createBuffer() 278 void initTexture (const glw::Functions& gl) const; 281 void Texture2DImageSource::initTexture (const glw::Functions& gl) const in initTexture() 297 void initTexture (const glw::Functions& gl) const; 302 void TextureCubeMapImageSource::initTexture (const glw::Functions& gl) const in initTexture() 322 RenderbufferClientBuffer (const glw::Functions& gl) : m_rbo (gl) {} in RenderbufferClientBuffer() 335 MovePtr<ClientBuffer> createBuffer (const glw::Functions& gl, Texture2D* reference) const; [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | MapsTransformValuesTest.java | 21 import com.google.common.base.Functions; 59 Functions.<String>identity()); in makeEmptyMap() 68 return Maps.transformValues(underlying, Functions.toStringFunction()); in makePopulatedMap() 98 ImmutableMap.<String, Integer>of(), Functions.toStringFunction()); in testTransformEmptyMapEquality() 104 ImmutableMap.of("a", 1), Functions.toStringFunction()); in testTransformSingletonMapEquality() 113 underlying, Functions.<Integer>identity()); in testTransformIdentityFunctionEquality() 119 ImmutableMap.of("a", 1), Functions.toStringFunction()); in testTransformPutEntryIsUnsupported() 143 = Maps.transformValues(underlying, Functions.toStringFunction()); in testTransformRemoveEntry() 177 = Maps.transformValues(underlying, Functions.toStringFunction()); in testTransformReflectsUnderlyingMap() 202 = Maps.transformValues(underlying, Functions.toStringFunction()); in testTransformChangesAreReflectedInUnderlyingMap() [all …]
|
D | MapsSortedTransformValuesTest.java | 21 import com.google.common.base.Functions; 37 Functions.<String>identity()); in makeEmptyMap() 46 return Maps.transformValues(underlying, Functions.toStringFunction()); in makePopulatedMap() 51 assertTrue(Maps.transformValues(sortedMap, Functions.<String>identity()) in testTransformValuesSecretlySortedMap()
|
D | MapsTransformValuesUnmodifiableIteratorTest.java | 21 import com.google.common.base.Functions; 112 new UnmodifiableIteratorMap<String, Integer>(underlying), Functions.toStringFunction()); 121 new UnmodifiableIteratorMap<String, Integer>(underlying), Functions.toStringFunction()); 151 ImmutableMap.<String, Integer>of(), Functions.toStringFunction()); 157 ImmutableMap.of("a", 1), Functions.toStringFunction()); 166 underlying, Functions.<Integer>identity()); 172 ImmutableMap.of("a", 1), Functions.toStringFunction()); 196 = Maps.transformValues(underlying, Functions.toStringFunction()); 230 = Maps.transformValues(underlying, Functions.toStringFunction()); 255 = Maps.transformValues(underlying, Functions.toStringFunction()); [all …]
|
/external/llvm/lib/ExecutionEngine/ |
D | ExecutionEngineBindings.cpp | 322 SimpleBindingMemoryManager(const SimpleBindingMMFunctions& Functions, 337 SimpleBindingMMFunctions Functions; member in __anonfacd31220111::SimpleBindingMemoryManager 342 const SimpleBindingMMFunctions& Functions, in SimpleBindingMemoryManager() argument 344 : Functions(Functions), Opaque(Opaque) { in SimpleBindingMemoryManager() 345 assert(Functions.AllocateCodeSection && in SimpleBindingMemoryManager() 347 assert(Functions.AllocateDataSection && in SimpleBindingMemoryManager() 349 assert(Functions.FinalizeMemory && in SimpleBindingMemoryManager() 351 assert(Functions.Destroy && in SimpleBindingMemoryManager() 356 Functions.Destroy(Opaque); in ~SimpleBindingMemoryManager() 362 return Functions.AllocateCodeSection(Opaque, Size, Alignment, SectionID, in allocateCodeSection() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fImplementationLimitTests.cpp | 56 T query (const glw::Functions& gl, deUint32 param); 100 GLint query<GLint> (const glw::Functions& gl, deUint32 param) in query() 108 GLint64 query<GLint64> (const glw::Functions& gl, deUint32 param) in query() 116 GLuint64 query<GLuint64> (const glw::Functions& gl, deUint32 param) in query() 124 GLfloat query<GLfloat> (const glw::Functions& gl,deUint32 param) in query() 132 NegInt query<NegInt> (const glw::Functions& gl, deUint32 param) in query() 138 Boolean query<Boolean> (const glw::Functions& gl, deUint32 param) in query() 146 FloatRange query<FloatRange> (const glw::Functions& gl, deUint32 param) in query() 154 AlignmentInt query<AlignmentInt> (const glw::Functions& gl, deUint32 param) in query() 242 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in iterate() [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fImplementationLimitTests.cpp | 47 T query (const glw::Functions& gl, deUint32 param); 83 GLint query<GLint> (const glw::Functions& gl, deUint32 param) in query() 91 GLfloat query<GLfloat> (const glw::Functions& gl, deUint32 param) in query() 99 NegInt query<NegInt> (const glw::Functions& gl, deUint32 param) in query() 105 Boolean query<Boolean> (const glw::Functions& gl, deUint32 param) in query() 113 FloatRange query<FloatRange> (const glw::Functions& gl, deUint32 param) in query() 158 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in iterate()
|