Home
last modified time | relevance | path

Searched refs:builder1 (Results 1 – 15 of 15) sorted by relevance

/external/grpc-grpc-java/core/src/test/java/io/grpc/inprocess/
DInProcessChannelBuilderTest.java54 InProcessChannelBuilder builder1 = builder.scheduledExecutorService(scheduledExecutorService); in scheduledExecutorService_custom() local
55 assertSame(builder, builder1); in scheduledExecutorService_custom()
57 ClientTransportFactory clientTransportFactory = builder1.buildTransportFactory(); in scheduledExecutorService_custom()
DInProcessServerBuilderTest.java78 InProcessServerBuilder builder1 = builder.scheduledExecutorService(scheduledExecutorService); in scheduledExecutorService_custom() local
79 assertSame(builder, builder1); in scheduledExecutorService_custom()
81 InProcessServer server = builder1.buildTransportServer(new ArrayList<Factory>()); in scheduledExecutorService_custom()
/external/conscrypt/common/src/test/java/org/conscrypt/javax/net/ssl/
DKeyStoreBuilderParametersTest.java88 KeyStore.Builder builder1 = KeyStore.Builder.newInstance( in test_init_List() local
93 List<KeyStore.Builder> list = Arrays.asList(builder1, builder2); in test_init_List()
99 assertSame(builder1, ksbp.getParameters().get(0)); in test_init_List()
112 assertSame(builder1, ksbp.getParameters().get(0)); in test_init_List()
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/net/ssl/
DKeyStoreBuilderParametersTest.java92 KeyStore.Builder builder1 = KeyStore.Builder.newInstance( in test_init_List() local
97 List<KeyStore.Builder> list = Arrays.asList(builder1, builder2); in test_init_List()
103 assertSame(builder1, ksbp.getParameters().get(0)); in test_init_List()
116 assertSame(builder1, ksbp.getParameters().get(0)); in test_init_List()
/external/tensorflow/tensorflow/compiler/xla/python/
Dxla_client_backend_independent_test.py97 builder1 = xla_client.XlaBuilder("computation1")
98 p0 = ops.Parameter(builder1, 0, xla_client.shape_from_pyval(np.float32(0)))
99 p1 = ops.Parameter(builder1, 1,
102 computation1 = builder1.build()
Doutfeed_receiver_test.cc165 XlaBuilder builder1("execute_test_outfeed_1"); in TEST() local
168 XlaOp data1 = Iota(&builder1, shape1, 0); in TEST()
170 ->AddOutfeedToBuilder(&builder1, CreateToken(&builder1), in TEST()
173 EXPECT_TRUE(CompileAndExecute(&builder1, send1, 0, cpu_client.get()).ok()); in TEST()
/external/grpc-grpc-java/cronet/src/test/java/io/grpc/cronet/
DCronetChannelBuilderTest.java102 CronetChannelBuilder builder1 = builder.scheduledExecutorService(scheduledExecutorService); in scheduledExecutorService_custom() local
103 assertSame(builder, builder1); in scheduledExecutorService_custom()
105 ClientTransportFactory clientTransportFactory = builder1.buildTransportFactory(); in scheduledExecutorService_custom()
/external/dagger2/javatests/dagger/functional/builder/
DBuilderTest.java127 TestChildComponentWithBuilderInterface.Builder builder1 = parent.childInterfaceBuilder(); in subcomponents_interface() local
129 builder1.build(); in subcomponents_interface()
133 builder1.setM2(new IntModuleIncludingDoubleAndFloat(1)) in subcomponents_interface()
136 builder1.set(new FloatModule()); in subcomponents_interface()
137 TestChildComponentWithBuilderInterface child1 = builder1.build(); in subcomponents_interface()
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/
DOkHttpChannelBuilderTest.java155 OkHttpChannelBuilder builder1 = builder.scheduledExecutorService(scheduledExecutorService); in scheduledExecutorService_custom() local
156 assertSame(builder, builder1); in scheduledExecutorService_custom()
158 ClientTransportFactory clientTransportFactory = builder1.buildTransportFactory(); in scheduledExecutorService_custom()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DGeneratedMessageTest.java1080 TestAllTypes.Builder builder1 = TestAllTypes.newBuilder(); in testGetFieldBuilder() local
1082 builder1 in testGetFieldBuilder()
1084 .mergeFrom((Message) builder1.getField(fieldDescriptor)); in testGetFieldBuilder()
1088 builder1.setField(fieldDescriptor, fieldBuilder1.build()); in testGetFieldBuilder()
1092 builder1 in testGetFieldBuilder()
1094 .mergeFrom((Message) builder1.getField(foreignFieldDescriptor)); in testGetFieldBuilder()
1098 builder1.setField(foreignFieldDescriptor, foreignFieldBuilder1.build()); in testGetFieldBuilder()
1102 builder1 in testGetFieldBuilder()
1104 .mergeFrom((Message) builder1.getField(importFieldDescriptor)); in testGetFieldBuilder()
1108 builder1.setField(importFieldDescriptor, importFieldBuilder1.build()); in testGetFieldBuilder()
[all …]
/external/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DGeneratedMessageTest.java838 TestAllTypes.Builder builder1 = TestAllTypes.newBuilder(); in testGetFieldBuilder() local
839 Message.Builder fieldBuilder1 = builder1.newBuilderForField(fieldDescriptor) in testGetFieldBuilder()
840 .mergeFrom((Message) builder1.getField(fieldDescriptor)); in testGetFieldBuilder()
844 builder1.setField(fieldDescriptor, fieldBuilder1.build()); in testGetFieldBuilder()
847 Message.Builder foreignFieldBuilder1 = builder1.newBuilderForField( in testGetFieldBuilder()
849 .mergeFrom((Message) builder1.getField(foreignFieldDescriptor)); in testGetFieldBuilder()
853 builder1.setField(foreignFieldDescriptor, foreignFieldBuilder1.build()); in testGetFieldBuilder()
856 Message.Builder importFieldBuilder1 = builder1.newBuilderForField( in testGetFieldBuilder()
858 .mergeFrom((Message) builder1.getField(importFieldDescriptor)); in testGetFieldBuilder()
862 builder1.setField(importFieldDescriptor, importFieldBuilder1.build()); in testGetFieldBuilder()
[all …]
/external/sfntly/cpp/src/test/
Dfont_parsing_test.cc85 TableBuilderPtr builder1 = in TestFontParsing() local
90 wfd1.Attach(builder1->Data()); in TestFontParsing()
/external/guava/android/guava-tests/test/com/google/common/cache/
DCacheBuilderTest.java244 CacheBuilder<Object, Object> builder1 = CacheBuilder.newBuilder().weakKeys(); in testKeyStrengthSetTwice() local
246 builder1.weakKeys(); in testKeyStrengthSetTwice()
254 CacheBuilder<Object, Object> builder1 = CacheBuilder.newBuilder().weakValues(); in testValueStrengthSetTwice() local
256 builder1.weakValues(); in testValueStrengthSetTwice()
261 builder1.softValues(); in testValueStrengthSetTwice()
/external/guava/guava-tests/test/com/google/common/cache/
DCacheBuilderTest.java244 CacheBuilder<Object, Object> builder1 = CacheBuilder.newBuilder().weakKeys(); in testKeyStrengthSetTwice() local
246 builder1.weakKeys(); in testKeyStrengthSetTwice()
254 CacheBuilder<Object, Object> builder1 = CacheBuilder.newBuilder().weakValues(); in testValueStrengthSetTwice() local
256 builder1.weakValues(); in testValueStrengthSetTwice()
261 builder1.softValues(); in testValueStrengthSetTwice()
/external/skia/modules/skparagraph/tests/
DSkParagraphTest.cpp4020 ParagraphBuilderImpl builder1(paragraph_style, fontCollection); in DEF_TEST() local
4022 builder1.pushStyle(text_style); in DEF_TEST()
4023 builder1.addText(text3, strlen(text3)); in DEF_TEST()
4024 builder1.pop(); in DEF_TEST()
4026 auto paragraph1 = builder1.Build(); in DEF_TEST()