/external/icu/android_icu4j/src/main/java/android/icu/impl/breakiter/ |
D | ThaiBreakEngine.java | 102 public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, in divideUpDictionaryRange() argument 116 fIter.setIndex(rangeStart); in divideUpDictionaryRange() 118 while ((current = fIter.getIndex()) < rangeEnd) { in divideUpDictionaryRange() 122 … int candidates = words[wordsFound%THAI_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd); in divideUpDictionaryRange() 126 wordLength = words[wordsFound%THAI_LOOKAHEAD].acceptMarked(fIter); in divideUpDictionaryRange() 133 if (fIter.getIndex() < rangeEnd) { in divideUpDictionaryRange() 136 … if (words[(wordsFound+1)%THAI_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange() 141 if (fIter.getIndex() >= rangeEnd) { in divideUpDictionaryRange() 148 … if (words[(wordsFound+2)%THAI_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange() 152 } while (words[(wordsFound+1)%THAI_LOOKAHEAD].backUp(fIter)); in divideUpDictionaryRange() [all …]
|
D | KhmerBreakEngine.java | 91 public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, in divideUpDictionaryRange() argument 106 fIter.setIndex(rangeStart); in divideUpDictionaryRange() 108 while ((current = fIter.getIndex()) < rangeEnd) { in divideUpDictionaryRange() 112 … int candidates = words[wordsFound % KHMER_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd); in divideUpDictionaryRange() 116 wordLength = words[wordsFound % KHMER_LOOKAHEAD].acceptMarked(fIter); in divideUpDictionaryRange() 124 if (fIter.getIndex() < rangeEnd) { in divideUpDictionaryRange() 126 … if (words[(wordsFound+1)%KHMER_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange() 131 if (fIter.getIndex() >= rangeEnd) { in divideUpDictionaryRange() 138 … if (words[(wordsFound+2)%KHMER_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange() 143 } while (words[(wordsFound+1)%KHMER_LOOKAHEAD].backUp(fIter)); in divideUpDictionaryRange() [all …]
|
D | LaoBreakEngine.java | 91 public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, in divideUpDictionaryRange() argument 107 fIter.setIndex(rangeStart); in divideUpDictionaryRange() 108 while ((current = fIter.getIndex()) < rangeEnd) { in divideUpDictionaryRange() 112 … int candidates = words[wordsFound%LAO_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd); in divideUpDictionaryRange() 116 wordLength = words[wordsFound%LAO_LOOKAHEAD].acceptMarked(fIter); in divideUpDictionaryRange() 124 if (fIter.getIndex() < rangeEnd) { in divideUpDictionaryRange() 126 … if (words[(wordsFound+1)%LAO_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange() 131 if (fIter.getIndex() >= rangeEnd) { in divideUpDictionaryRange() 138 … if (words[(wordsFound+2)%LAO_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange() 143 } while (words[(wordsFound+1)%LAO_LOOKAHEAD].backUp(fIter)); in divideUpDictionaryRange() [all …]
|
D | BurmeseBreakEngine.java | 83 public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, in divideUpDictionaryRange() argument 99 fIter.setIndex(rangeStart); in divideUpDictionaryRange() 100 while ((current = fIter.getIndex()) < rangeEnd) { in divideUpDictionaryRange() 104 … int candidates = words[wordsFound%BURMESE_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd); in divideUpDictionaryRange() 108 wordLength = words[wordsFound%BURMESE_LOOKAHEAD].acceptMarked(fIter); in divideUpDictionaryRange() 116 if (fIter.getIndex() < rangeEnd) { in divideUpDictionaryRange() 118 … if (words[(wordsFound+1)%BURMESE_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange() 123 if (fIter.getIndex() >= rangeEnd) { in divideUpDictionaryRange() 130 … if (words[(wordsFound+2)%BURMESE_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange() 135 } while (words[(wordsFound+1)%BURMESE_LOOKAHEAD].backUp(fIter)); in divideUpDictionaryRange() [all …]
|
D | DictionaryBreakEngine.java | 45 public int candidates(CharacterIterator fIter, DictionaryMatcher dict, int rangeEnd) { in candidates() argument 46 int start = fIter.getIndex(); in candidates() 49 prefix = dict.matches(fIter, rangeEnd - start, lengths, count, lengths.length); in candidates() 52 fIter.setIndex(start); in candidates() 56 fIter.setIndex(start + lengths[count[0]-1]); in candidates() 64 public int acceptMarked(CharacterIterator fIter) { in acceptMarked() argument 65 fIter.setIndex(offset + lengths[mark]); in acceptMarked() 71 public boolean backUp(CharacterIterator fIter) { in backUp() argument 73 fIter.setIndex(offset + lengths[--current]); in backUp()
|
D | LSTMBreakEngine.java | 162 abstract public void vectorize(CharacterIterator fIter, int rangeStart, int rangeEnd, in vectorize() argument 176 public void vectorize(CharacterIterator fIter, int rangeStart, int rangeEnd, in vectorize() argument 178 fIter.setIndex(rangeStart); in vectorize() 179 for (char c = fIter.current(); in vectorize() 180 c != CharacterIterator.DONE && fIter.getIndex() < rangeEnd; in vectorize() 181 c = fIter.next()) { in vectorize() 182 offsets.add(fIter.getIndex()); in vectorize() 354 public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, 364 fVectorizer.vectorize(fIter, rangeStart, rangeEnd, offsets, indicies);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/breakiter/ |
D | ThaiBreakEngine.java | 98 public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, in divideUpDictionaryRange() argument 112 fIter.setIndex(rangeStart); in divideUpDictionaryRange() 114 while ((current = fIter.getIndex()) < rangeEnd) { in divideUpDictionaryRange() 118 … int candidates = words[wordsFound%THAI_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd); in divideUpDictionaryRange() 122 wordLength = words[wordsFound%THAI_LOOKAHEAD].acceptMarked(fIter); in divideUpDictionaryRange() 129 if (fIter.getIndex() < rangeEnd) { in divideUpDictionaryRange() 132 … if (words[(wordsFound+1)%THAI_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange() 137 if (fIter.getIndex() >= rangeEnd) { in divideUpDictionaryRange() 144 … if (words[(wordsFound+2)%THAI_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange() 148 } while (words[(wordsFound+1)%THAI_LOOKAHEAD].backUp(fIter)); in divideUpDictionaryRange() [all …]
|
D | BurmeseBreakEngine.java | 79 public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, in divideUpDictionaryRange() argument 95 fIter.setIndex(rangeStart); in divideUpDictionaryRange() 96 while ((current = fIter.getIndex()) < rangeEnd) { in divideUpDictionaryRange() 100 … int candidates = words[wordsFound%BURMESE_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd); in divideUpDictionaryRange() 104 wordLength = words[wordsFound%BURMESE_LOOKAHEAD].acceptMarked(fIter); in divideUpDictionaryRange() 112 if (fIter.getIndex() < rangeEnd) { in divideUpDictionaryRange() 114 … if (words[(wordsFound+1)%BURMESE_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange() 119 if (fIter.getIndex() >= rangeEnd) { in divideUpDictionaryRange() 126 … if (words[(wordsFound+2)%BURMESE_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange() 131 } while (words[(wordsFound+1)%BURMESE_LOOKAHEAD].backUp(fIter)); in divideUpDictionaryRange() [all …]
|
D | LaoBreakEngine.java | 87 public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, in divideUpDictionaryRange() argument 103 fIter.setIndex(rangeStart); in divideUpDictionaryRange() 104 while ((current = fIter.getIndex()) < rangeEnd) { in divideUpDictionaryRange() 108 … int candidates = words[wordsFound%LAO_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd); in divideUpDictionaryRange() 112 wordLength = words[wordsFound%LAO_LOOKAHEAD].acceptMarked(fIter); in divideUpDictionaryRange() 120 if (fIter.getIndex() < rangeEnd) { in divideUpDictionaryRange() 122 … if (words[(wordsFound+1)%LAO_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange() 127 if (fIter.getIndex() >= rangeEnd) { in divideUpDictionaryRange() 134 … if (words[(wordsFound+2)%LAO_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange() 139 } while (words[(wordsFound+1)%LAO_LOOKAHEAD].backUp(fIter)); in divideUpDictionaryRange() [all …]
|
D | KhmerBreakEngine.java | 87 public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, in divideUpDictionaryRange() argument 102 fIter.setIndex(rangeStart); in divideUpDictionaryRange() 104 while ((current = fIter.getIndex()) < rangeEnd) { in divideUpDictionaryRange() 108 … int candidates = words[wordsFound % KHMER_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd); in divideUpDictionaryRange() 112 wordLength = words[wordsFound % KHMER_LOOKAHEAD].acceptMarked(fIter); in divideUpDictionaryRange() 120 if (fIter.getIndex() < rangeEnd) { in divideUpDictionaryRange() 122 … if (words[(wordsFound+1)%KHMER_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange() 127 if (fIter.getIndex() >= rangeEnd) { in divideUpDictionaryRange() 134 … if (words[(wordsFound+2)%KHMER_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange() 139 } while (words[(wordsFound+1)%KHMER_LOOKAHEAD].backUp(fIter)); in divideUpDictionaryRange() [all …]
|
D | DictionaryBreakEngine.java | 41 public int candidates(CharacterIterator fIter, DictionaryMatcher dict, int rangeEnd) { in candidates() argument 42 int start = fIter.getIndex(); in candidates() 45 prefix = dict.matches(fIter, rangeEnd - start, lengths, count, lengths.length); in candidates() 48 fIter.setIndex(start); in candidates() 52 fIter.setIndex(start + lengths[count[0]-1]); in candidates() 60 public int acceptMarked(CharacterIterator fIter) { in acceptMarked() argument 61 fIter.setIndex(offset + lengths[mark]); in acceptMarked() 67 public boolean backUp(CharacterIterator fIter) { in backUp() argument 69 fIter.setIndex(offset + lengths[--current]); in backUp()
|
D | LSTMBreakEngine.java | 153 abstract public void vectorize(CharacterIterator fIter, int rangeStart, int rangeEnd, in vectorize() argument 167 public void vectorize(CharacterIterator fIter, int rangeStart, int rangeEnd, in vectorize() argument 169 fIter.setIndex(rangeStart); in vectorize() 170 for (char c = fIter.current(); in vectorize() 171 c != CharacterIterator.DONE && fIter.getIndex() < rangeEnd; in vectorize() 172 c = fIter.next()) { in vectorize() 173 offsets.add(fIter.getIndex()); in vectorize() 345 public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, 355 fVectorizer.vectorize(fIter, rangeStart, rangeEnd, offsets, indicies);
|
/external/skia/src/core/ |
D | SkPathMeasure.cpp | 14 : fIter(path, forceClosed, resScale) in SkPathMeasure() 16 fContour = fIter.next(); in SkPathMeasure() 22 fIter.reset(path ? *path : SkPath(), forceClosed); in setPath() 23 fContour = fIter.next(); in setPath() 47 fContour = fIter.next(); in nextContour()
|
D | SkClipStack.cpp | 790 return (const SkClipStack::Element*)fIter.next(); in next() 794 return (const SkClipStack::Element*)fIter.prev(); in prev() 802 fIter.reset(fStack->fDeque, SkDeque::Iter::kBack_IterStart); in skipToTopmost() 806 for (element = (const SkClipStack::Element*) fIter.prev(); in skipToTopmost() 808 element = (const SkClipStack::Element*) fIter.prev()) { in skipToTopmost() 817 if (nullptr == fIter.next()) { in skipToTopmost() 821 fIter.reset(fStack->fDeque, SkDeque::Iter::kFront_IterStart); in skipToTopmost() 829 fIter.reset(fStack->fDeque, SkDeque::Iter::kFront_IterStart); in skipToTopmost() 837 fIter.reset(stack.fDeque, static_cast<SkDeque::Iter::IterStart>(startLoc)); in reset()
|
D | SkContourMeasure.cpp | 179 , fIter(SkPathPriv::Iterate(fPath).begin()) in Impl() 183 bool hasNextSegments() const { return fIter != SkPathPriv::Iterate(fPath).end(); } in hasNextSegments() 188 SkPathPriv::RangeIter fIter; member in SkContourMeasureIter::Impl 348 for (; fIter != end; ++fIter) { in buildSegments() 349 auto [verb, pts, w] = *fIter; in buildSegments()
|
D | SkRegion.cpp | 1425 : fIter(rgn), fClip(clip), fDone(true) { in Cliperator() 1426 const SkIRect& r = fIter.rect(); in Cliperator() 1428 while (!fIter.done()) { in Cliperator() 1436 fIter.next(); in Cliperator() 1445 const SkIRect& r = fIter.rect(); in next() 1448 fIter.next(); in next() 1449 while (!fIter.done()) { in next() 1457 fIter.next(); in next()
|
D | SkClipStack.h | 429 SkDeque::Iter fIter; variable
|
D | SkPath.cpp | 1890 fIter = iterate.begin(); in setPath() 1895 if (!(fIter != fEnd)) { in next() 1898 auto [verb, iterPts, weights] = *fIter; in next() 1912 ++fIter; in next()
|
/external/skia/src/gpu/tessellate/ |
D | StrokeIterator.h | 37 fIter = it.begin(); in StrokeIterator() 70 for (; fIter != fEnd; ++fIter) { in next() 72 auto [verb, pts, w] = *fIter; in next() 117 ++fIter; in next() 346 SkPathPriv::RangeIter fIter; variable
|
/external/skia/src/gpu/ganesh/ops/ |
D | LatticeOp.cpp | 168 patch.fIter = std::move(iter); in NonAALatticeOp() 242 numRects += fPatches[i].fIter->numRectsToDraw(); in onPrepareDraws() 268 patch.fIter->mapDstScaleTranslate(patch.fViewMatrix); in onPrepareDraws() 278 while (patch.fIter->next(&srcR, &dstR)) { in onPrepareDraws() 378 std::unique_ptr<SkLatticeIter> fIter; member
|
/external/skia/include/core/ |
D | SkPathMeasure.h | 81 SkContourMeasureIter fIter;
|
D | SkPath.h | 1646 return (fIter != fEnd) ? static_cast<Verb>(std::get<0>(*fIter)) : kDone_Verb; in peek() 1661 RangeIter fIter;
|
D | SkRegion.h | 548 Iterator fIter;
|
/external/skia/tools/viewer/ |
D | VariableWidthStrokerSlide.cpp | 327 explicit PathVerbMeasure(const SkPath& path) : fPath(path), fIter(path, false) { nextVerb(); } in PathVerbMeasure() 340 SkPath::Iter fIter; member in __anon0fc59e400111::PathVerbMeasure 351 SkPath::Verb verb = fIter.next(pts); in nextVerb() 358 verb = fIter.next(pts); in nextVerb() 374 fCurrVerb.conicTo(pts[1], pts[2], fIter.conicWeight()); in nextVerb()
|