Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/compiler/xla/tests/
Dcall_test.cc116 XlaBuilder builder2("outer"); in XLA_TEST_F() local
118 auto x = Parameter(&builder2, 0, r0f32_, "x"); in XLA_TEST_F()
119 x = Call(&builder2, inner, {x}); in XLA_TEST_F()
120 x = Call(&builder2, inner, {x}); in XLA_TEST_F()
121 x = Call(&builder2, inner, {x}); in XLA_TEST_F()
123 TF_ASSERT_OK_AND_ASSIGN(XlaComputation outer, builder2.Build()); in XLA_TEST_F()
/external/conscrypt/common/src/test/java/org/conscrypt/javax/net/ssl/
DKeyStoreBuilderParametersTest.java90 KeyStore.Builder builder2 = KeyStore.Builder.newInstance( in test_init_List() local
93 List<KeyStore.Builder> list = Arrays.asList(builder1, builder2); in test_init_List()
100 assertSame(builder2, ksbp.getParameters().get(1)); in test_init_List()
104 ksbp.getParameters().set(0, builder2); in test_init_List()
111 list.set(0, builder2); in test_init_List()
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/net/ssl/
DKeyStoreBuilderParametersTest.java94 KeyStore.Builder builder2 = KeyStore.Builder.newInstance( in test_init_List() local
97 List<KeyStore.Builder> list = Arrays.asList(builder1, builder2); in test_init_List()
104 assertSame(builder2, ksbp.getParameters().get(1)); in test_init_List()
108 ksbp.getParameters().set(0, builder2); in test_init_List()
115 list.set(0, builder2); in test_init_List()
/external/guava/android/guava-tests/test/com/google/common/io/
DCharStreamsTest.java164 StringBuilder builder2 = new StringBuilder(); in testCopy() local
167 wrapAsGenericReadable(new StringReader(I18N)), wrapAsGenericAppendable(builder2)); in testCopy()
168 assertEquals(I18N, builder2.toString()); in testCopy()
178 StringBuilder builder2 = new StringBuilder(); in testCopy_toStringBuilder_fromReader() local
179 copied = CharStreams.copy(new StringReader(I18N), builder2); in testCopy_toStringBuilder_fromReader()
180 assertEquals(I18N, builder2.toString()); in testCopy_toStringBuilder_fromReader()
190 StringBuilder builder2 = new StringBuilder(); in testCopy_toStringBuilder_fromReadable() local
191 copied = CharStreams.copy(wrapAsGenericReadable(new StringReader(I18N)), builder2); in testCopy_toStringBuilder_fromReadable()
192 assertEquals(I18N, builder2.toString()); in testCopy_toStringBuilder_fromReadable()
/external/guava/guava-tests/test/com/google/common/io/
DCharStreamsTest.java164 StringBuilder builder2 = new StringBuilder(); in testCopy() local
167 wrapAsGenericReadable(new StringReader(I18N)), wrapAsGenericAppendable(builder2)); in testCopy()
168 assertEquals(I18N, builder2.toString()); in testCopy()
178 StringBuilder builder2 = new StringBuilder(); in testCopy_toStringBuilder_fromReader() local
179 copied = CharStreams.copy(new StringReader(I18N), builder2); in testCopy_toStringBuilder_fromReader()
180 assertEquals(I18N, builder2.toString()); in testCopy_toStringBuilder_fromReader()
190 StringBuilder builder2 = new StringBuilder(); in testCopy_toStringBuilder_fromReadable() local
191 copied = CharStreams.copy(wrapAsGenericReadable(new StringReader(I18N)), builder2); in testCopy_toStringBuilder_fromReadable()
192 assertEquals(I18N, builder2.toString()); in testCopy_toStringBuilder_fromReadable()
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/common/statsd/
DTextClassifierDownloadLoggerTestRule.java55 StatsdConfig.Builder builder2 = in before() local
60 builder2, Atom.TEXT_CLASSIFIER_DOWNLOAD_WORK_SCHEDULED_FIELD_NUMBER); in before()
61 StatsdTestUtils.pushConfig(builder2.build()); in before()
/external/dagger2/javatests/dagger/functional/builder/
DBuilderTest.java148 TestChildComponentWithBuilderAbstractClass.Builder builder2 = in subcomponents_abstractclass() local
151 builder2.build(); in subcomponents_abstractclass()
155 builder2.setM2(new IntModuleIncludingDoubleAndFloat(10)) in subcomponents_abstractclass()
158 builder2.set(new FloatModule()); in subcomponents_abstractclass()
159 TestChildComponentWithBuilderAbstractClass child2 = builder2.build(); in subcomponents_abstractclass()
/external/fonttools/Tests/otlLib/
Dmock_builder_test.py82 builder2 = SingleSubstBuilder(ttfont, location)
83 builder.rules.append(ChainContextualRule([], [], [], [[builder2]]))
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/draft/
DXLocaleMatcher.java189 Multimap<LSR, ULocale> builder2 = LinkedHashMultimap.create();
196 builder2.putAll(key, entry.getValue());
201 builder2.putAll(builder);
202 if (!builder2.equals(builder)) {
205 builder = builder2;
/external/skia/modules/canvaskit/tests/
Dparagraph_test.js317 const builder2 = CanvasKit.ParagraphBuilder.Make(paraStyle, fontMgr);
318 builder2.pushStyle(roboto28Style);
319 builder2.addText('This paragraph\n');
320 builder2.pushStyle(roboto32Style);
321 builder2.addText('is not using\n');
322 builder2.pop();
323 builder2.pushStyle(roboto28Style);
324 builder2.addText('a strut style!\n');
325 builder2.pop();
326 builder2.pop();
[all …]
/external/rust/crates/vulkano/src/command_buffer/submit/
Dqueue_submit.rs351 let mut builder2 = SubmitCommandBufferBuilder::new(); in merge_both_have_fences() localVariable
352 builder2.set_fence_signal(&fence2); in merge_both_have_fences()
355 let _ = builder1.merge(builder2); in merge_both_have_fences()
/external/cronet/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DGeneratedMessageTest.java1357 TestAllTypes.Builder builder2 = TestAllTypes.newBuilder(); in testGetFieldBuilder() local
1358 Message.Builder fieldBuilder2 = builder2.getFieldBuilder(fieldDescriptor); in testGetFieldBuilder()
1360 builder2.setField(fieldDescriptor, fieldBuilder2.build()); in testGetFieldBuilder()
1364 builder2 in testGetFieldBuilder()
1366 .mergeFrom((Message) builder2.getField(foreignFieldDescriptor)); in testGetFieldBuilder()
1370 builder2.setField(foreignFieldDescriptor, foreignFieldBuilder2.build()); in testGetFieldBuilder()
1374 builder2 in testGetFieldBuilder()
1376 .mergeFrom((Message) builder2.getField(importFieldDescriptor)); in testGetFieldBuilder()
1380 builder2.setField(importFieldDescriptor, importFieldBuilder2.build()); in testGetFieldBuilder()
1382 Message newMessage2 = builder2.build(); in testGetFieldBuilder()
[all …]
DTestBadIdentifiersLite.java52 TestBadIdentifiersProto.Override.Builder builder2 = in testCompilation() local
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DGeneratedMessageTest.java1357 TestAllTypes.Builder builder2 = TestAllTypes.newBuilder(); in testGetFieldBuilder() local
1358 Message.Builder fieldBuilder2 = builder2.getFieldBuilder(fieldDescriptor); in testGetFieldBuilder()
1360 builder2.setField(fieldDescriptor, fieldBuilder2.build()); in testGetFieldBuilder()
1364 builder2 in testGetFieldBuilder()
1366 .mergeFrom((Message) builder2.getField(foreignFieldDescriptor)); in testGetFieldBuilder()
1370 builder2.setField(foreignFieldDescriptor, foreignFieldBuilder2.build()); in testGetFieldBuilder()
1374 builder2 in testGetFieldBuilder()
1376 .mergeFrom((Message) builder2.getField(importFieldDescriptor)); in testGetFieldBuilder()
1380 builder2.setField(importFieldDescriptor, importFieldBuilder2.build()); in testGetFieldBuilder()
1382 Message newMessage2 = builder2.build(); in testGetFieldBuilder()
[all …]
DTestBadIdentifiersLite.java52 TestBadIdentifiersProto.Override.Builder builder2 = in testCompilation() local
/external/auto/value/src/it/functional/src/test/java/com/google/auto/value/
DAutoBuilderTest.java254 static Builder2 builder2() { in builder2() method in AutoBuilderTest.Overload
287 Overload.builder2().setAnInt(17).setAString("17").setABigInteger(big17).build(); in overloadedConstructor()
421 ListContainer.Builder builder2 = ListContainer.builder(); in propertyBuilder() local
422 builder2.listBuilder().add("one", "two", "three"); in propertyBuilder()
423 assertThat(builder2.build()).isEqualTo(expected); in propertyBuilder()
/external/sfntly/cpp/src/test/
Dfont_parsing_test.cc87 TableBuilderPtr builder2 = in TestFontParsing() local
92 wfd2.Attach(builder2->Data()); in TestFontParsing()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DSimpleFilteredSentenceBreakIterator.java347 CharsTrieBuilder builder2 = new CharsTrieBuilder(); in wrapIteratorWithFilter() local
408 builder2.add(thisStr, MATCH); // forward in wrapIteratorWithFilter()
418 forwardsPartialTrie = builder2.build(StringTrieBuilder.Option.FAST); in wrapIteratorWithFilter()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DSimpleFilteredSentenceBreakIterator.java352 CharsTrieBuilder builder2 = new CharsTrieBuilder(); in wrapIteratorWithFilter() local
413 builder2.add(thisStr, MATCH); // forward in wrapIteratorWithFilter()
423 forwardsPartialTrie = builder2.build(StringTrieBuilder.Option.FAST); in wrapIteratorWithFilter()
/external/cronet/third_party/icu/source/common/
Dfilteredbrk.cpp591 LocalPointer<UCharsTrieBuilder> builder2(new UCharsTrieBuilder(status), status); in build() local
679 builder2->add(ustrs[i], kMATCH, status); // forward in build()
696 forwardsPartialTrie.adoptInstead(builder2->build(USTRINGTRIE_BUILD_FAST, status)); in build()
/external/guava/android/guava-tests/test/com/google/common/cache/
DCacheBuilderTest.java266 CacheBuilder<Object, Object> builder2 = CacheBuilder.newBuilder().softValues(); in testValueStrengthSetTwice() local
268 builder2.softValues(); in testValueStrengthSetTwice()
273 builder2.weakValues(); in testValueStrengthSetTwice()
/external/icu/icu4c/source/common/
Dfilteredbrk.cpp591 LocalPointer<UCharsTrieBuilder> builder2(new UCharsTrieBuilder(status), status); in build() local
679 builder2->add(ustrs[i], kMATCH, status); // forward in build()
696 forwardsPartialTrie.adoptInstead(builder2->build(USTRINGTRIE_BUILD_FAST, status)); in build()
/external/guava/guava-tests/test/com/google/common/cache/
DCacheBuilderTest.java266 CacheBuilder<Object, Object> builder2 = CacheBuilder.newBuilder().softValues(); in testValueStrengthSetTwice() local
268 builder2.softValues(); in testValueStrengthSetTwice()
273 builder2.weakValues(); in testValueStrengthSetTwice()
/external/sfntly/cpp/src/sample/chromium/
Dsubsetter_impl.cc482 IndexSubTableFormat2BuilderPtr builder2 = in ConstructIndexFormat5() local
484 CopyBigGlyphMetrics(builder2->BigMetrics(), new_builder->BigMetrics()); in ConstructIndexFormat5()
485 image_size = builder2->ImageSize(); in ConstructIndexFormat5()
/external/skia/modules/canvaskit/npm_build/types/
Dcanvaskit-wasm-tests.ts608 const builder2 = CK.ParagraphBuilder.MakeFromFontProvider(// $ExpectType ParagraphBuilder constant
610 builder2.pushPaintStyle(blueText, paint, paint);
611 builder2.addPlaceholder();
612 builder2.addPlaceholder(10, 20, CK.PlaceholderAlignment.Top, CK.TextBaseline.Ideographic, 3);
613 builder2.reset();

12