Home
last modified time | relevance | path

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

/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/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/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/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/skia/modules/canvaskit/tests/
Dparagraph.spec.js320 const builder2 = CanvasKit.ParagraphBuilder.Make(paraStyle, fontMgr);
321 builder2.pushStyle(roboto28Style);
322 builder2.addText('This paragraph\n');
323 builder2.pushStyle(roboto32Style);
324 builder2.addText('is not using\n');
325 builder2.pop();
326 builder2.pushStyle(roboto28Style);
327 builder2.addText('a strut style!\n');
328 builder2.pop();
329 builder2.pop();
[all …]
/external/cldr/tools/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/protobuf/java/core/src/test/java/com/google/protobuf/
DGeneratedMessageTest.java1114 TestAllTypes.Builder builder2 = TestAllTypes.newBuilder(); in testGetFieldBuilder() local
1115 Message.Builder fieldBuilder2 = builder2.getFieldBuilder(fieldDescriptor); in testGetFieldBuilder()
1119 builder2.setField(fieldDescriptor, fieldBuilder2.build()); in testGetFieldBuilder()
1123 builder2 in testGetFieldBuilder()
1125 .mergeFrom((Message) builder2.getField(foreignFieldDescriptor)); in testGetFieldBuilder()
1129 builder2.setField(foreignFieldDescriptor, foreignFieldBuilder2.build()); in testGetFieldBuilder()
1133 builder2 in testGetFieldBuilder()
1135 .mergeFrom((Message) builder2.getField(importFieldDescriptor)); in testGetFieldBuilder()
1139 builder2.setField(importFieldDescriptor, importFieldBuilder2.build()); in testGetFieldBuilder()
1141 Message newMessage2 = builder2.build(); in testGetFieldBuilder()
[all …]
/external/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DGeneratedMessageTest.java868 TestAllTypes.Builder builder2 = TestAllTypes.newBuilder(); in testGetFieldBuilder() local
869 Message.Builder fieldBuilder2 = builder2.getFieldBuilder(fieldDescriptor); in testGetFieldBuilder()
873 builder2.setField(fieldDescriptor, fieldBuilder2.build()); in testGetFieldBuilder()
876 Message.Builder foreignFieldBuilder2 = builder2.newBuilderForField( in testGetFieldBuilder()
878 .mergeFrom((Message) builder2.getField(foreignFieldDescriptor)); in testGetFieldBuilder()
882 builder2.setField(foreignFieldDescriptor, foreignFieldBuilder2.build()); in testGetFieldBuilder()
885 Message.Builder importFieldBuilder2 = builder2.newBuilderForField( in testGetFieldBuilder()
887 .mergeFrom((Message) builder2.getField(importFieldDescriptor)); in testGetFieldBuilder()
891 builder2.setField(importFieldDescriptor, importFieldBuilder2.build()); in testGetFieldBuilder()
893 Message newMessage2 = builder2.build(); in testGetFieldBuilder()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DSimpleFilteredSentenceBreakIterator.java334 CharsTrieBuilder builder2 = new CharsTrieBuilder(); in wrapIteratorWithFilter() local
395 builder2.add(thisStr, MATCH); // forward in wrapIteratorWithFilter()
405 forwardsPartialTrie = builder2.build(StringTrieBuilder.Option.FAST); in wrapIteratorWithFilter()
/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.java329 CharsTrieBuilder builder2 = new CharsTrieBuilder(); in wrapIteratorWithFilter() local
390 builder2.add(thisStr, MATCH); // forward in wrapIteratorWithFilter()
400 forwardsPartialTrie = builder2.build(StringTrieBuilder.Option.FAST); in wrapIteratorWithFilter()
/external/icu/icu4c/source/common/
Dfilteredbrk.cpp565 LocalPointer<UCharsTrieBuilder> builder2(new UCharsTrieBuilder(status), status); in build() local
653 builder2->add(ustrs[i], kMATCH, status); // forward in build()
670 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/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.ts563 const builder2 = CK.ParagraphBuilder.MakeFromFontProvider(// $ExpectType ParagraphBuilder constant
565 builder2.pushPaintStyle(blueText, paint, paint);
566 builder2.addPlaceholder();
567 builder2.addPlaceholder(10, 20, CK.PlaceholderAlignment.Top, CK.TextBaseline.Ideographic, 3);
/external/libtextclassifier/native/annotator/
Dannotator_test-include.cc2230 flatbuffers::FlatBufferBuilder builder2; in TEST_F() local
2231 FinishModelBuffer(builder2, Model::Pack(builder2, unpacked_model.get())); in TEST_F()
2233 reinterpret_cast<const char*>(builder2.GetBufferPointer()), in TEST_F()
2234 builder2.GetSize(), unilib_.get(), calendarlib_.get()); in TEST_F()
2265 flatbuffers::FlatBufferBuilder builder2; in TEST_F() local
2266 FinishModelBuffer(builder2, Model::Pack(builder2, unpacked_model.get())); in TEST_F()
2268 reinterpret_cast<const char*>(builder2.GetBufferPointer()), in TEST_F()
2269 builder2.GetSize(), unilib_.get(), calendarlib_.get()); in TEST_F()
/external/auto/value/src/it/functional/src/test/java/com/google/auto/value/
DAutoValueTest.java2461 BuilderWithCollectionBuilderAndSetter.Builder<Integer> builder2 = in testBuilderAndSetterUsingSetter() local
2463 assertThat(builder2.things()).isEqualTo(moreThings); in testBuilderAndSetterUsingSetter()
2464 assertThat(builder2.build().things()).isEqualTo(moreThings); in testBuilderAndSetterUsingSetter()
2868 BuildMyMap.Builder<String, Integer> builder2 = built.toBuilder(); in testMyMapBuilder() local
2869 MyMapBuilder<String, Integer> mapBuilder2 = builder2.mapBuilder(); in testMyMapBuilder()
2871 BuildMyMap<String, Integer> built2 = builder2.build(); in testMyMapBuilder()
2926 BuildMyStringMap.Builder<Integer> builder2 = built.toBuilder(); in testMyStringMapBuilder() local
2927 MyStringMapBuilder<Integer> mapBuilder2 = builder2.mapBuilder(); in testMyStringMapBuilder()
2929 BuildMyStringMap<Integer> built2 = builder2.build(); in testMyStringMapBuilder()
/external/skia/modules/skparagraph/samples/
DSampleParagraph.cpp2991 auto builder2 = ParagraphBuilder::make(paraStyle, fontCollection); in onDrawContent() local
2992 builder2->addText(hello, strlen(hello)); in onDrawContent()
2994 auto paragraph2 = builder2->Build(); in onDrawContent()
3038 auto builder2 = ParagraphBuilder::make(paraStyle, fontCollection); in onDrawContent() local
3039 builder2->addText(hello2, strlen(hello2)); in onDrawContent()
3041 auto paragraph2 = builder2->Build(); in onDrawContent()