Home
last modified time | relevance | path

Searched refs:factory1 (Results 1 – 7 of 7) sorted by relevance

/external/sfntly/cpp/src/test/
Dserialization_test.cc29 FontFactoryPtr factory1, factory2, factory3; in TestSerialization() local
30 factory1.Attach(FontFactory::GetInstance()); in TestSerialization()
32 LoadFont(SAMPLE_TTF_FILE, factory1, &font_array); in TestSerialization()
95 FontFactoryPtr factory1, factory2, factory3; in TestSerializationBitmap() local
96 factory1.Attach(FontFactory::GetInstance()); in TestSerializationBitmap()
98 LoadFont(SAMPLE_BITMAP_FONT, factory1, &font_array); in TestSerializationBitmap()
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dclient_channel_factory.cc54 static int factory_arg_cmp(void* factory1, void* factory2) { in factory_arg_cmp() argument
55 if (factory1 < factory2) return -1; in factory_arg_cmp()
56 if (factory1 > factory2) return 1; in factory_arg_cmp()
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DThreadFactoryBuilderTest.java158 ThreadFactory factory1 = builder.setPriority(1).build(); in testBuildMutateBuild() local
159 assertEquals(1, factory1.newThread(monitoredRunnable).getPriority()); in testBuildMutateBuild()
162 assertEquals(1, factory1.newThread(monitoredRunnable).getPriority()); in testBuildMutateBuild()
173 ThreadFactory factory1 = builder.setPriority(1).build(); in testBuildMutate() local
174 assertEquals(1, factory1.newThread(monitoredRunnable).getPriority()); in testBuildMutate()
177 assertEquals(1, factory1.newThread(monitoredRunnable).getPriority()); in testBuildMutate()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DThreadFactoryBuilderTest.java158 ThreadFactory factory1 = builder.setPriority(1).build(); in testBuildMutateBuild() local
159 assertEquals(1, factory1.newThread(monitoredRunnable).getPriority()); in testBuildMutateBuild()
162 assertEquals(1, factory1.newThread(monitoredRunnable).getPriority()); in testBuildMutateBuild()
173 ThreadFactory factory1 = builder.setPriority(1).build(); in testBuildMutate() local
174 assertEquals(1, factory1.newThread(monitoredRunnable).getPriority()); in testBuildMutate()
177 assertEquals(1, factory1.newThread(monitoredRunnable).getPriority()); in testBuildMutate()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/
Dclient_channel_factory.cc33 int factory_arg_cmp(void* factory1, void* factory2) { in factory_arg_cmp() argument
34 return GPR_ICMP(factory1, factory2); in factory_arg_cmp()
/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/
DFactoryProvider2Test.java1380 ConcreteAssistedWithOverride.Factory factory1 = in testGeneratedDefaultMethodsForwardCorrectly() local
1382 factory1.create("foo"); in testGeneratedDefaultMethodsForwardCorrectly()
1383 AbstractAssisted.Factory<ConcreteAssistedWithOverride, String> factory1Abstract = factory1; in testGeneratedDefaultMethodsForwardCorrectly()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DManagedChannelImplTest.java1493 ClientStreamTracer.Factory factory1 = mock(ClientStreamTracer.Factory.class); in pickerReturnsStreamTracer_noDelay() local
1509 CallOptions callOptions = CallOptions.DEFAULT.withStreamTracerFactory(factory1); in pickerReturnsStreamTracer_noDelay()
1516 Arrays.asList(factory1, factory2), in pickerReturnsStreamTracer_noDelay()
1519 verifyZeroInteractions(factory1); in pickerReturnsStreamTracer_noDelay()
1526 ClientStreamTracer.Factory factory1 = mock(ClientStreamTracer.Factory.class); in pickerReturnsStreamTracer_delayed() local
1530 CallOptions callOptions = CallOptions.DEFAULT.withStreamTracerFactory(factory1); in pickerReturnsStreamTracer_delayed()
1551 Arrays.asList(factory1, factory2), in pickerReturnsStreamTracer_delayed()
1554 verifyZeroInteractions(factory1); in pickerReturnsStreamTracer_delayed()