Home
last modified time | relevance | path

Searched refs:breaker (Results 1 – 25 of 27) sorted by relevance

12

/third_party/flutter/engine/flutter/third_party/txt/tests/
DWordBreakerTests.cpp41 WordBreaker breaker; in TEST_F() local
42 breaker.setLocale(icu::Locale::getUS()); in TEST_F()
43 breaker.setText(buf, NELEM(buf)); in TEST_F()
44 EXPECT_EQ(0, breaker.current()); in TEST_F()
45 EXPECT_EQ(6, breaker.next()); // after "hello " in TEST_F()
46 EXPECT_EQ(0, breaker.wordStart()); // "hello" in TEST_F()
47 EXPECT_EQ(5, breaker.wordEnd()); in TEST_F()
48 EXPECT_EQ(0, breaker.breakBadness()); in TEST_F()
49 EXPECT_EQ(6, breaker.current()); in TEST_F()
50 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end in TEST_F()
[all …]
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/
DSelection.java109 public Selection nextBound(BreakIterator breaker, in nextBound() argument
112 caret = next(caret, breaker, direction, true); in nextBound()
119 public void expand(BreakIterator breaker) { in expand() argument
121 anchor = next(anchor,breaker,-1,false); in expand()
122 caret = next(caret,breaker,1,false); in expand()
133 anchor = next(anchor,breaker,1,false); in expand()
134 caret = next(caret,breaker,-1,false); in expand()
149 public static int next(int position, BreakIterator breaker, in next() argument
154 position = breaker.following(position); in next()
156 breaker.following(position-1); in next()
[all …]
DDumbTextComponent.java758 BreakIterator breaker) { in findFittingBreak() argument
759 breaker.setText(line); in findFittingBreak()
760 int last = breaker.first(); in findFittingBreak()
761 int end = breaker.next(); in findFittingBreak()
765 end = breaker.next(); in findFittingBreak()
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/search/
DSearchTest.java50 String coll, int strength, ElementComparisonType cmpType, String breaker, in SearchData() argument
57 this.breaker = breaker; in SearchData()
66 String breaker; field in SearchTest.SearchData
81 ElementComparisonType cmpType, String breaker, int[] offset, int[] size) { in SD() argument
82 return new SearchData(text, pattern, coll, strength, cmpType, breaker, offset, size); in SD()
572 BreakIterator getBreakIterator(String breaker) { in getBreakIterator() argument
573 if (breaker == null) { in getBreakIterator()
575 } if (breaker.equals("wordbreaker")) { in getBreakIterator()
584 BreakIterator breaker = getBreakIterator(search.breaker); in assertCanonicalEqual() local
590 if (breaker != null) { in assertCanonicalEqual()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/search/
DSearchTest.java53 String coll, int strength, ElementComparisonType cmpType, String breaker, in SearchData() argument
60 this.breaker = breaker; in SearchData()
69 String breaker; field in SearchTest.SearchData
84 ElementComparisonType cmpType, String breaker, int[] offset, int[] size) { in SD() argument
85 return new SearchData(text, pattern, coll, strength, cmpType, breaker, offset, size); in SD()
575 BreakIterator getBreakIterator(String breaker) { in getBreakIterator() argument
576 if (breaker == null) { in getBreakIterator()
578 } if (breaker.equals("wordbreaker")) { in getBreakIterator()
587 BreakIterator breaker = getBreakIterator(search.breaker); in assertCanonicalEqual() local
593 if (breaker != null) { in assertCanonicalEqual()
[all …]
/third_party/icu/icu4c/source/test/intltest/
Dsrchtest.cpp202 BreakIterator * StringSearchTest::getBreakIterator(const char *breaker) in getBreakIterator() argument
207 if (breaker == NULL) { in getBreakIterator()
210 if (strcmp(breaker, "wordbreaker") == 0) { in getBreakIterator()
468 BreakIterator *breaker = getBreakIterator(search->breaker); in assertEqual() local
473 if(search->breaker) { in assertEqual()
485 if (breaker != NULL) { in assertEqual()
486 breaker->setText(text); in assertEqual()
491 breaker, status); in assertEqual()
525 BreakIterator *breaker = getBreakIterator(search->breaker); in assertCanonicalEqual() local
531 if(search->breaker) { in assertCanonicalEqual()
[all …]
Dsrchtest.h42 BreakIterator * getBreakIterator(const char *breaker);
/third_party/node/test/fixtures/
Dasync-error.js7 async function breaker() { function
12 await breaker();
/third_party/flutter/skia/modules/skparagraph/src/
DParagraphImpl.cpp252 TextBreaker breaker; in markLineBreaks() local
253 if (!breaker.initialize(fTextSpan, UBRK_LINE)) { in markLineBreaks()
258 while (!breaker.eof() && current < fClusters.end()) { in markLineBreaks()
259 size_t currentPos = breaker.next(); in markLineBreaks()
264 current->setBreakType(breaker.status() == UBRK_LINE_HARD in markLineBreaks()
531 TextBreaker breaker; in markGraphemes() local
532 if (!breaker.initialize(fTextSpan, UBRK_CHARACTER)) { in markGraphemes()
552 while (!breaker.eof()) { in markGraphemes()
554 endPos = breaker.next(); in markGraphemes()
809 TextBreaker breaker; in getWordBoundary() local
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DBreakVariableAliasingInInnerLoops.cpp103 AliasingBreaker breaker; in BreakVariableAliasingInInnerLoops() local
104 root->traverse(&breaker); in BreakVariableAliasingInInnerLoops()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/
DBreakVariableAliasingInInnerLoops.cpp104 AliasingBreaker breaker; in BreakVariableAliasingInInnerLoops() local
105 root->traverse(&breaker); in BreakVariableAliasingInInnerLoops()
/third_party/icu/icu4c/source/test/cintltst/
Dusrchtst.c183 static UBreakIterator *getBreakIterator(const char *breaker) in getBreakIterator() argument
185 if (breaker == NULL) { in getBreakIterator()
189 if (strcmp(breaker, "wordbreaker") == 0) { in getBreakIterator()
550 UBreakIterator *breaker = getBreakIterator(search.breaker); in assertEqual() local
553 CHECK_BREAK_BOOL(search.breaker); in assertEqual()
559 breaker, &status); in assertEqual()
581 UBreakIterator *breaker = getBreakIterator(search.breaker); in assertCanonicalEqual() local
585 CHECK_BREAK_BOOL(search.breaker); in assertCanonicalEqual()
591 breaker, &status); in assertCanonicalEqual()
622 UBreakIterator *breaker = getBreakIterator(search.breaker); in assertEqualWithAttribute() local
[all …]
Dusrchdat.c34 …const char *breaker; /* currently supported "wordbreaker" for EN_WORDBREAKER_, plus … member
/third_party/flutter/engine/flutter/third_party/txt/benchmarks/
Dparagraph_benchmarks.cc408 minikin::LineBreaker breaker; in BM_ParagraphMinikinAddStyleRun() local
409 breaker.setLocale(); in BM_ParagraphMinikinAddStyleRun()
410 breaker.resize(text.size()); in BM_ParagraphMinikinAddStyleRun()
411 memcpy(breaker.buffer(), text.data(), text.size() * sizeof(text[0])); in BM_ParagraphMinikinAddStyleRun()
412 breaker.setText(); in BM_ParagraphMinikinAddStyleRun()
416 breaker.addStyleRun(&paint, in BM_ParagraphMinikinAddStyleRun()
/third_party/boost/libs/xpressive/doc/
Dtracking_ptr.qbk119 … body itself!) might be holding a reference to it. However, we are certain that the cycle-breaker's
120 ref-count goes to 0 because the cycle-breaker only lives in handles. No more handles, no more
123 What does the cycle-breaker do? Recall that the body has a set of references of type
124 `std::set<shared_ptr<body> >`. Let's call this type "references_type". The cycle-breaker is a
136 The job of to the cycle breaker is to ensure that when the last handle to a body goes away,
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DSearchIterator.java632 protected SearchIterator(CharacterIterator target, BreakIterator breaker) in SearchIterator() argument
642 search_.setBreakIter(breaker); in SearchIterator()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DSearchIterator.java608 protected SearchIterator(CharacterIterator target, BreakIterator breaker) in SearchIterator() argument
618 search_.setBreakIter(breaker); in SearchIterator()
/third_party/skia/modules/skparagraph/src/
DTextWrapper.cpp48 LineBreakerWithLittleRounding breaker(maxWidth); in lookAhead() local
55 breaker.breakLine(width)) { in lookAhead()
111 !breaker.breakLine(shortLength)) { in lookAhead()
/third_party/boost/libs/gil/doc/html/_static/
Dunderscore-1.3.1.js21 var breaker = {};
79 if (i in obj && iterator.call(context, obj[i], i, obj) === breaker) return;
84 if (iterator.call(context, obj[key], key, obj) === breaker) return;
181 if (!(result = result && iterator.call(context, value, index, list))) return breaker;
195 if (result || (result = iterator.call(context, value, index, list))) return breaker;
/third_party/boost/libs/python/doc/html/numpy/_static/
Dunderscore-1.3.1.js21 var breaker = {};
79 if (i in obj && iterator.call(context, obj[i], i, obj) === breaker) return;
84 if (iterator.call(context, obj[key], key, obj) === breaker) return;
181 if (!(result = result && iterator.call(context, value, index, list))) return breaker;
195 if (result || (result = iterator.call(context, value, index, list))) return breaker;
/third_party/boost/libs/hof/doc/html/_static/
Dunderscore-1.3.1.js21 var breaker = {};
79 if (i in obj && iterator.call(context, obj[i], i, obj) === breaker) return;
84 if (iterator.call(context, obj[key], key, obj) === breaker) return;
181 if (!(result = result && iterator.call(context, value, index, list))) return breaker;
195 if (result || (result = iterator.call(context, value, index, list))) return breaker;
/third_party/python/Doc/library/
Dheapq.rst186 a tie-breaker so that two tasks with the same priority are returned in the order
/third_party/flutter/flutter/packages/flutter/test/painting/
Dtext_painter_rtl_test.dart624 // Add a non-whitespace character because the renderer's line breaker
/third_party/flutter/flutter/packages/flutter/lib/src/material/
Dpopup_menu.dart706 /// screen, then the ambient [Directionality] is used as a tie-breaker,
/third_party/mindspore/tests/ut/data/mindrecord/testAclImdbData/
Dvocab.txt21205 ##breaker
24734 breaker

12