Home
last modified time | relevance | path

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

/external/dagger2/java/dagger/internal/
DInstanceFactory.java32 public final class InstanceFactory<T> implements Factory<T>, Lazy<T> { class
34 return new InstanceFactory<T>(checkNotNull(instance, "instance cannot be null")); in create()
39 ? InstanceFactory.<T>nullInstanceFactory() in createNullable()
40 : new InstanceFactory<T>(instance); in createNullable()
44 private static <T> InstanceFactory<T> nullInstanceFactory() { in nullInstanceFactory()
45 return (InstanceFactory<T>) NULL_INSTANCE_FACTORY; in nullInstanceFactory()
48 private static final InstanceFactory<Object> NULL_INSTANCE_FACTORY =
49 new InstanceFactory<Object>(null);
53 private InstanceFactory(T instance) { in InstanceFactory() method in InstanceFactory
DMapFactory.java33 InstanceFactory.create(Collections.emptyMap());
DSetFactory.java38 private static final Factory<Set<Object>> EMPTY_FACTORY = InstanceFactory.create(emptySet());
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawIndirectTest.cpp1037 …indirectDrawGroup->addChild(new InstanceFactory<IndirectDraw>(m_testCtx, "triangle_list", "Draws t… in init()
1039 …indirectDrawGroup->addChild(new InstanceFactory<IndirectDraw>(m_testCtx, "triangle_strip", "Draws … in init()
1043 …indirectDrawCountGroup->addChild(new InstanceFactory<IndirectDraw, FunctionSupport0>(m_testCtx, "t… in init()
1045 …indirectDrawCountGroup->addChild(new InstanceFactory<IndirectDraw, FunctionSupport0>(m_testCtx, "t… in init()
1049 …indirectDrawParamCountGroup->addChild(new InstanceFactory<IndirectDraw, FunctionSupport0>(m_testCt… in init()
1051 …indirectDrawParamCountGroup->addChild(new InstanceFactory<IndirectDraw, FunctionSupport0>(m_testCt… in init()
1068 …indirectDrawFirstInstanceGroup->addChild(new InstanceFactory<IndirectDraw>(m_testCtx, "triangle_li… in init()
1070 …indirectDrawFirstInstanceGroup->addChild(new InstanceFactory<IndirectDraw>(m_testCtx, "triangle_st… in init()
1074 …indirectDrawCountFirstInstanceGroup->addChild(new InstanceFactory<IndirectDraw, FunctionSupport0>(… in init()
1076 …indirectDrawCountFirstInstanceGroup->addChild(new InstanceFactory<IndirectDraw, FunctionSupport0>(… in init()
[all …]
DvktDrawTestCaseUtil.hpp54 class InstanceFactory : public TestCase class
57InstanceFactory (tcu::TestContext& testCtx, const std::string& name, const std::string& desc, type… in InstanceFactory() function in vkt::Draw::InstanceFactory
64InstanceFactory (tcu::TestContext& testCtx, const std::string& name, const std::string& desc, type… in InstanceFactory() function in vkt::Draw::InstanceFactory
DvktDrawSimpleTest.cpp310 …addChild(new InstanceFactory<SimpleDraw>(m_testCtx, "simple_draw_triangle_list", "Draws triangle l… in init()
312 …addChild(new InstanceFactory<SimpleDraw>(m_testCtx, "simple_draw_triangle_strip", "Draws triangle … in init()
320 …addChild(new InstanceFactory<SimpleDrawInstanced>(m_testCtx, "simple_draw_instanced_triangle_list"… in init()
322 …addChild(new InstanceFactory<SimpleDrawInstanced>(m_testCtx, "simple_draw_instanced_triangle_strip… in init()
DvktDrawIndexedTest.cpp338 …addChild(new InstanceFactory<DrawIndexed>(m_testCtx, "draw_indexed_triangle_list", "Draws indexed … in init()
340 …addChild(new InstanceFactory<DrawIndexed>(m_testCtx, "draw_indexed_triangle_strip", "Draws indexed… in init()
348 …addChild(new InstanceFactory<DrawInstancedIndexed>(m_testCtx, "draw_instanced_indexed_triangle_lis… in init()
350 …addChild(new InstanceFactory<DrawInstancedIndexed>(m_testCtx, "draw_instanced_indexed_triangle_str… in init()
DvktDrawConcurrentTests.cpp399 …addChild(new InstanceFactory<ConcurrentDraw>(m_testCtx, "compute_and_triangle_list", "Draws triang… in init()
DvktDrawShaderDrawParametersTests.cpp362 …group->addChild(new InstanceFactory<DrawTest, FunctionSupport1<TestFlags>>(group->getTestContext()… in addDrawCase()
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateTestCaseUtil.hpp57 class InstanceFactory : public TestCase class
60 InstanceFactory (tcu::TestContext& testCtx, const std::string& name, const std::string& desc, in InstanceFactory() function in vkt::DynamicState::InstanceFactory
68 InstanceFactory (tcu::TestContext& testCtx, const std::string& name, const std::string& desc, in InstanceFactory() function in vkt::DynamicState::InstanceFactory
DvktDynamicStateVPTests.cpp372 …addChild(new InstanceFactory<ViewportParamTestInstance>(m_testCtx, "viewport", "Set viewport which… in init()
373 …addChild(new InstanceFactory<ScissorParamTestInstance>(m_testCtx, "scissor", "Perform a scissor te… in init()
376 …addChild(new InstanceFactory<ViewportArrayTestInstance, FunctionSupport0>(m_testCtx, "viewport_arr… in init()
DvktDynamicStateGeneralTests.cpp397 …addChild(new InstanceFactory<StateSwitchTestInstance>(m_testCtx, "state_switch", "Perform multiple… in init()
398 …addChild(new InstanceFactory<BindOrderTestInstance>(m_testCtx, "bind_order", "Check if binding ord… in init()
399 …addChild(new InstanceFactory<StatePersistenceTestInstance>(m_testCtx, "state_persistence", "Check … in init()
DvktDynamicStateCBTests.cpp170 …addChild(new InstanceFactory<BlendConstantsTestInstance>(m_testCtx, "blend_constants", "Check if b… in init()
DvktDynamicStateRSTests.cpp669 …addChild(new InstanceFactory<DepthBiasParamTestInstance>(m_testCtx, "depth_bias", "Test depth bias… in init()
670 …addChild(new InstanceFactory<DepthBiasClampParamTestInstance, FunctionSupport0>(m_testCtx, "depth_… in init()
671 …addChild(new InstanceFactory<LineWidthParamTestInstance, FunctionSupport0>(m_testCtx, "line_width"… in init()
DvktDynamicStateDSTests.cpp1047 …addChild(new InstanceFactory<DepthBoundsParamTestInstance, FunctionSupport0>(m_testCtx, "depth_bou… in init()
1048 …addChild(new InstanceFactory<DepthBoundsTestInstance, FunctionSupport0>(m_testCtx, "depth_bounds_2… in init()
1051 …addChild(new InstanceFactory<StencilParamsAdvancedTestInstance>(m_testCtx, "stencil_params_advance… in init()
/external/dagger2/java/dagger/internal/codegen/writing/
DInstanceFactoryCreationExpression.java22 import dagger.internal.InstanceFactory;
48 InstanceFactory.class, in creationExpression()
DOptionalFactories.java56 import dagger.internal.InstanceFactory;
173 .initializer("$T.create($L)", InstanceFactory.class, optionalKind.absentValueExpression())
/external/dagger2/javatests/dagger/internal/
DInstanceFactoryTest.java30 Factory<Object> factory = InstanceFactory.create(instance); in instanceFactory()
38 InstanceFactory.create(null); in create_throwsNullPointerException()
DDoubleCheckTest.java167 Factory<Object> factory = InstanceFactory.create(new Object()); in instanceFactoryAsLazyDoesNotWrap()
/external/dagger2/java/dagger/internal/codegen/javapoet/
DTypeNames.java29 import dagger.internal.InstanceFactory;
64 public static final ClassName INSTANCE_FACTORY = ClassName.get(InstanceFactory.class);
/external/guice/extensions/dagger-adapter/lib/
Ddagger-2.4.jarMETA-INF/ META-INF/MANIFEST.MF dagger/ dagger/internal/ dagger/ ...
/external/deqp/external/vulkancts/modules/vulkan/conditional_rendering/
DvktConditionalClearAttachmentTests.cpp246 …conditionalDrawRootGroup->addChild(new Draw::InstanceFactory<ConditionalClearAttachmentTest>(m_tes… in init()
DvktConditionalDrawTests.cpp536 …conditionalDrawRootGroup->addChild(new Draw::InstanceFactory<ConditionalDraw>(m_testCtx, getDrawCo… in init()
/external/dagger2/java/dagger/internal/codegen/bootstrap/
Dbootstrap_compiler_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties META-INF ...
/external/conscrypt/benchmark-android/
Dvogar.jarMETA-INF/ META-INF/MANIFEST.MF vogar/ vogar/TestProperties.class TestProperties ...