Home
last modified time | relevance | path

Searched refs:foundBreaks (Results 1 – 25 of 33) sorted by relevance

12

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DCjkBreakEngine.java86 DequeI foundBreaks) { in divideUpDictionaryRange() argument
224 if (foundBreaks.size() == 0 || foundBreaks.peek() < startPos) { in divideUpDictionaryRange()
231 if (!(foundBreaks.contains(pos) || pos == startPos)) { in divideUpDictionaryRange()
232 foundBreaks.push(charPositions[t_boundary[i]] + startPos); in divideUpDictionaryRange()
237 if (!foundBreaks.isEmpty() && foundBreaks.peek() == endPos) { in divideUpDictionaryRange()
238 foundBreaks.pop(); in divideUpDictionaryRange()
241 if (!foundBreaks.isEmpty()) in divideUpDictionaryRange()
242 inText.setIndex(foundBreaks.peek()); in divideUpDictionaryRange()
DKhmerBreakEngine.java94 DequeI foundBreaks) { in divideUpDictionaryRange() argument
219 foundBreaks.push(Integer.valueOf(current + wordLength)); in divideUpDictionaryRange()
224 if (foundBreaks.peek() >= rangeEnd) { in divideUpDictionaryRange()
225 foundBreaks.pop(); in divideUpDictionaryRange()
DBurmeseBreakEngine.java90 DequeI foundBreaks) { in divideUpDictionaryRange() argument
215 foundBreaks.push(Integer.valueOf(current + wordLength)); in divideUpDictionaryRange()
220 if (foundBreaks.peek() >= rangeEnd) { in divideUpDictionaryRange()
221 foundBreaks.pop(); in divideUpDictionaryRange()
DLaoBreakEngine.java93 DequeI foundBreaks) { in divideUpDictionaryRange() argument
218 foundBreaks.push(Integer.valueOf(current + wordLength)); in divideUpDictionaryRange()
223 if (foundBreaks.peek() >= rangeEnd) { in divideUpDictionaryRange()
224 foundBreaks.pop(); in divideUpDictionaryRange()
DThaiBreakEngine.java105 DequeI foundBreaks) { in divideUpDictionaryRange() argument
263 foundBreaks.push(Integer.valueOf(current + wordLength)); in divideUpDictionaryRange()
268 if (foundBreaks.peek() >= rangeEnd) { in divideUpDictionaryRange()
269 foundBreaks.pop(); in divideUpDictionaryRange()
DDictionaryBreakEngine.java186 DequeI foundBreaks) {
205 result = divideUpDictionaryRange(text, rangeStart, rangeEnd, foundBreaks);
229 DequeI foundBreaks );
DLanguageBreakEngine.java36 DictionaryBreakEngine.DequeI foundBreaks); in findBreaks() argument
/third_party/skia/third_party/externals/icu/source/common/
Ddictbe.h81 UVector32 &foundBreaks ) const;
104 UVector32 &foundBreaks ) const = 0;
161 UVector32 &foundBreaks ) const;
217 UVector32 &foundBreaks ) const;
273 UVector32 &foundBreaks ) const;
329 UVector32 &foundBreaks ) const;
393 UVector32 &foundBreaks ) const;
Ddictbe.cpp50 UVector32 &foundBreaks ) const { in findBreaks()
69 result = divideUpDictionaryRange(text, rangeStart, rangeEnd, foundBreaks); in findBreaks()
230 UVector32 &foundBreaks ) const { in divideUpDictionaryRange()
401 foundBreaks.push((current+cuWordLength), status); in divideUpDictionaryRange()
406 if (foundBreaks.peeki() >= rangeEnd) { in divideUpDictionaryRange()
407 (void) foundBreaks.popi(); in divideUpDictionaryRange()
468 UVector32 &foundBreaks ) const { in divideUpDictionaryRange()
596 foundBreaks.push((current+cuWordLength), status); in divideUpDictionaryRange()
601 if (foundBreaks.peeki() >= rangeEnd) { in divideUpDictionaryRange()
602 (void) foundBreaks.popi(); in divideUpDictionaryRange()
[all …]
Dbrkeng.h76 UVector32 &foundBreaks ) const = 0;
193 UVector32 &foundBreaks ) const;
/third_party/icu/icu4c/source/common/
Ddictbe.h83 UVector32 &foundBreaks,
109 UVector32 &foundBreaks,
168 UVector32 &foundBreaks,
226 UVector32 &foundBreaks,
284 UVector32 &foundBreaks,
342 UVector32 &foundBreaks,
418 UVector32 &foundBreaks,
Ddictbe.cpp53 UVector32 &foundBreaks, in findBreaks() argument
75 …result = divideUpDictionaryRange(text, rangeStart, rangeEnd, foundBreaks, isPhraseBreaking, status… in findBreaks()
236 UVector32 &foundBreaks, in divideUpDictionaryRange() argument
409 foundBreaks.push((current+cuWordLength), status); in divideUpDictionaryRange()
414 if (foundBreaks.peeki() >= rangeEnd) { in divideUpDictionaryRange()
415 (void) foundBreaks.popi(); in divideUpDictionaryRange()
476 UVector32 &foundBreaks, in divideUpDictionaryRange() argument
606 foundBreaks.push((current+cuWordLength), status); in divideUpDictionaryRange()
611 if (foundBreaks.peeki() >= rangeEnd) { in divideUpDictionaryRange()
612 (void) foundBreaks.popi(); in divideUpDictionaryRange()
[all …]
Dbrkeng.h77 UVector32 &foundBreaks,
197 UVector32 &foundBreaks,
/third_party/node/deps/icu-small/source/common/
Ddictbe.h85 UVector32 &foundBreaks,
111 UVector32 &foundBreaks,
170 UVector32 &foundBreaks,
228 UVector32 &foundBreaks,
286 UVector32 &foundBreaks,
344 UVector32 &foundBreaks,
422 UVector32 &foundBreaks,
Ddictbe.cpp53 UVector32 &foundBreaks, in findBreaks() argument
75 …result = divideUpDictionaryRange(text, rangeStart, rangeEnd, foundBreaks, isPhraseBreaking, status… in findBreaks()
236 UVector32 &foundBreaks, in divideUpDictionaryRange() argument
409 foundBreaks.push((current+cuWordLength), status); in divideUpDictionaryRange()
414 if (foundBreaks.peeki() >= rangeEnd) { in divideUpDictionaryRange()
415 (void) foundBreaks.popi(); in divideUpDictionaryRange()
476 UVector32 &foundBreaks, in divideUpDictionaryRange() argument
606 foundBreaks.push((current+cuWordLength), status); in divideUpDictionaryRange()
611 if (foundBreaks.peeki() >= rangeEnd) { in divideUpDictionaryRange()
612 (void) foundBreaks.popi(); in divideUpDictionaryRange()
[all …]
Dmlbe.cpp37 UVector32 &foundBreaks, const UnicodeString &inString, in divideUpRange() argument
103 foundBreaks.push(utextPos, status); in divideUpRange()
118 if (!foundBreaks.isEmpty() && foundBreaks.peeki() == rangeEnd) { in divideUpRange()
125 foundBreaks.popi(); in divideUpRange()
Dbrkeng.h77 UVector32 &foundBreaks,
197 UVector32 &foundBreaks,
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/breakiter/
DCjkBreakEngine.java110 DequeI foundBreaks, boolean isPhraseBreaking) { in divideUpDictionaryRange() argument
268 if (foundBreaks.size() == 0 || foundBreaks.peek() < startPos) { in divideUpDictionaryRange()
283 foundBreaks.push(charPositions[t_boundary[i]] + startPos); in divideUpDictionaryRange()
290 if (!foundBreaks.isEmpty() && foundBreaks.peek() == endPos) { in divideUpDictionaryRange()
298 foundBreaks.pop(); in divideUpDictionaryRange()
302 foundBreaks.pop(); in divideUpDictionaryRange()
306 if (!foundBreaks.isEmpty()) in divideUpDictionaryRange()
307 inText.setIndex(foundBreaks.peek()); in divideUpDictionaryRange()
DKhmerBreakEngine.java88 DequeI foundBreaks, boolean isPhraseBreaking) { in divideUpDictionaryRange() argument
209 foundBreaks.push(Integer.valueOf(current + wordLength)); in divideUpDictionaryRange()
214 if (foundBreaks.peek() >= rangeEnd) { in divideUpDictionaryRange()
215 foundBreaks.pop(); in divideUpDictionaryRange()
DBurmeseBreakEngine.java80 DequeI foundBreaks, boolean isPhraseBreaking) { in divideUpDictionaryRange() argument
201 foundBreaks.push(Integer.valueOf(current + wordLength)); in divideUpDictionaryRange()
206 if (foundBreaks.peek() >= rangeEnd) { in divideUpDictionaryRange()
207 foundBreaks.pop(); in divideUpDictionaryRange()
DLaoBreakEngine.java88 DequeI foundBreaks, boolean isPhraseBreaking) { in divideUpDictionaryRange() argument
209 foundBreaks.push(Integer.valueOf(current + wordLength)); in divideUpDictionaryRange()
214 if (foundBreaks.peek() >= rangeEnd) { in divideUpDictionaryRange()
215 foundBreaks.pop(); in divideUpDictionaryRange()
DThaiBreakEngine.java99 DequeI foundBreaks, boolean isPhraseBreaking) { in divideUpDictionaryRange() argument
253 foundBreaks.push(Integer.valueOf(current + wordLength)); in divideUpDictionaryRange()
258 if (foundBreaks.peek() >= rangeEnd) { in divideUpDictionaryRange()
259 foundBreaks.pop(); in divideUpDictionaryRange()
DDictionaryBreakEngine.java186 DequeI foundBreaks, boolean isPhraseBreaking) {
205 result = divideUpDictionaryRange(text, rangeStart, rangeEnd, foundBreaks, isPhraseBreaking);
229 DequeI foundBreaks,
DLanguageBreakEngine.java35 DictionaryBreakEngine.DequeI foundBreaks, boolean isPhraseBreaking); in findBreaks() argument
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DLSTMBreakEngineTest.java82 DictionaryBreakEngine.DequeI foundBreaks = new DictionaryBreakEngine.DequeI(); in runTestFromFile() local
83 int ret = engine.findBreaks(input, 0, length, foundBreaks, false); in runTestFromFile()
86 for (int i = 0; i < foundBreaks.size(); i++) { in runTestFromFile()
87 sb.append(foundBreaks.elementAt(i)).append(", "); in runTestFromFile()

12