Home
last modified time | relevance | path

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

/third_party/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 …]
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DGeneratedMessageTest.java1273 TestAllTypes.Builder builder2 = TestAllTypes.newBuilder(); in testGetFieldBuilder() local
1274 Message.Builder fieldBuilder2 = builder2.getFieldBuilder(fieldDescriptor); in testGetFieldBuilder()
1278 builder2.setField(fieldDescriptor, fieldBuilder2.build()); in testGetFieldBuilder()
1282 builder2 in testGetFieldBuilder()
1284 .mergeFrom((Message) builder2.getField(foreignFieldDescriptor)); in testGetFieldBuilder()
1288 builder2.setField(foreignFieldDescriptor, foreignFieldBuilder2.build()); in testGetFieldBuilder()
1292 builder2 in testGetFieldBuilder()
1294 .mergeFrom((Message) builder2.getField(importFieldDescriptor)); in testGetFieldBuilder()
1298 builder2.setField(importFieldDescriptor, importFieldBuilder2.build()); in testGetFieldBuilder()
1300 Message newMessage2 = builder2.build(); in testGetFieldBuilder()
[all …]
/third_party/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()
/third_party/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()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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()
/third_party/skia/third_party/externals/sfntly/cpp/src/test/
Dfont_parsing_test.cc87 TableBuilderPtr builder2 = in TestFontParsing() local
92 wfd2.Attach(builder2->Data()); in TestFontParsing()
/third_party/node/deps/icu-small/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()
/third_party/skia/third_party/externals/icu/source/common/
Dfilteredbrk.cpp592 LocalPointer<UCharsTrieBuilder> builder2(new UCharsTrieBuilder(status), status); in build() local
680 builder2->add(ustrs[i], kMATCH, status); // forward in build()
697 forwardsPartialTrie.adoptInstead(builder2->build(USTRINGTRIE_BUILD_FAST, status)); in build()
/third_party/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()
/third_party/skia/third_party/externals/sfntly/cpp/src/sample/chromium/
Dsubsetter_impl.cc445 IndexSubTableFormat2BuilderPtr builder2 = in ConstructIndexFormat5() local
447 CopyBigGlyphMetrics(builder2->BigMetrics(), new_builder->BigMetrics()); in ConstructIndexFormat5()
448 image_size = builder2->ImageSize(); in ConstructIndexFormat5()
/third_party/skia/modules/canvaskit/npm_build/types/
Dcanvaskit-wasm-tests.ts569 const builder2 = CK.ParagraphBuilder.MakeFromFontProvider(// $ExpectType ParagraphBuilder constant
571 builder2.pushPaintStyle(blueText, paint, paint);
572 builder2.addPlaceholder();
573 builder2.addPlaceholder(10, 20, CK.PlaceholderAlignment.Top, CK.TextBaseline.Ideographic, 3);
/third_party/skia/modules/skparagraph/samples/
DSampleParagraph.cpp2998 auto builder2 = ParagraphBuilder::make(paraStyle, fontCollection); in onDrawContent() local
2999 builder2->addText(hello, strlen(hello)); in onDrawContent()
3001 auto paragraph2 = builder2->Build(); in onDrawContent()
3045 auto builder2 = ParagraphBuilder::make(paraStyle, fontCollection); in onDrawContent() local
3046 builder2->addText(hello2, strlen(hello2)); in onDrawContent()
3048 auto paragraph2 = builder2->Build(); in onDrawContent()
/third_party/skia/modules/skparagraph/tests/
DSkParagraphTest.cpp7059 ParagraphBuilderImpl builder2(paragraph_style, fontCollection); in UNIX_ONLY_TEST() local
7060 builder2.pushStyle(text_style); in UNIX_ONLY_TEST()
7061 builder2.addText("There is a tab>\t<right here"); in UNIX_ONLY_TEST()
7062 auto paragraph2 = builder2.Build(); in UNIX_ONLY_TEST()