Home
last modified time | relevance | path

Searched refs:fIter (Results 1 – 18 of 18) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/text/
DThaiBreakEngine.java102 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()
137 … if (words[(wordsFound+1)%THAI_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
145 if (fIter.getIndex() >= rangeEnd) { in divideUpDictionaryRange()
152 … if (words[(wordsFound+2)%THAI_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
156 } while (words[(wordsFound+1)%THAI_LOOKAHEAD].backUp(fIter)); in divideUpDictionaryRange()
[all …]
DKhmerBreakEngine.java91 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()
127 … if (words[(wordsFound+1)%KHMER_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
135 if (fIter.getIndex() >= rangeEnd) { in divideUpDictionaryRange()
142 … if (words[(wordsFound+2)%KHMER_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
147 } while (words[(wordsFound+1)%KHMER_LOOKAHEAD].backUp(fIter)); in divideUpDictionaryRange()
[all …]
DBurmeseBreakEngine.java87 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%BURMESE_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd); in divideUpDictionaryRange()
112 wordLength = words[wordsFound%BURMESE_LOOKAHEAD].acceptMarked(fIter); in divideUpDictionaryRange()
120 if (fIter.getIndex() < rangeEnd) { in divideUpDictionaryRange()
123 … if (words[(wordsFound+1)%BURMESE_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
131 if (fIter.getIndex() >= rangeEnd) { in divideUpDictionaryRange()
138 … if (words[(wordsFound+2)%BURMESE_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
143 } while (words[(wordsFound+1)%BURMESE_LOOKAHEAD].backUp(fIter)); in divideUpDictionaryRange()
[all …]
DLaoBreakEngine.java90 public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, in divideUpDictionaryRange() argument
106 fIter.setIndex(rangeStart); in divideUpDictionaryRange()
107 while ((current = fIter.getIndex()) < rangeEnd) { in divideUpDictionaryRange()
111 … int candidates = words[wordsFound%LAO_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd); in divideUpDictionaryRange()
115 wordLength = words[wordsFound%LAO_LOOKAHEAD].acceptMarked(fIter); in divideUpDictionaryRange()
123 if (fIter.getIndex() < rangeEnd) { in divideUpDictionaryRange()
126 … if (words[(wordsFound+1)%LAO_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
134 if (fIter.getIndex() >= rangeEnd) { in divideUpDictionaryRange()
141 … if (words[(wordsFound+2)%LAO_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
146 } while (words[(wordsFound+1)%LAO_LOOKAHEAD].backUp(fIter)); in divideUpDictionaryRange()
[all …]
DDictionaryBreakEngine.java40 public int candidates(CharacterIterator fIter, DictionaryMatcher dict, int rangeEnd) { in candidates() argument
41 int start = fIter.getIndex(); in candidates()
44 prefix = dict.matches(fIter, rangeEnd - start, lengths, count, lengths.length); in candidates()
47 fIter.setIndex(start); in candidates()
51 fIter.setIndex(start + lengths[count[0]-1]); in candidates()
59 public int acceptMarked(CharacterIterator fIter) { in acceptMarked() argument
60 fIter.setIndex(offset + lengths[mark]); in acceptMarked()
66 public boolean backUp(CharacterIterator fIter) { in backUp() argument
68 fIter.setIndex(offset + lengths[--current]); in backUp()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DThaiBreakEngine.java101 public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, in divideUpDictionaryRange() argument
115 fIter.setIndex(rangeStart); in divideUpDictionaryRange()
117 while ((current = fIter.getIndex()) < rangeEnd) { in divideUpDictionaryRange()
121 … int candidates = words[wordsFound%THAI_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd); in divideUpDictionaryRange()
125 wordLength = words[wordsFound%THAI_LOOKAHEAD].acceptMarked(fIter); in divideUpDictionaryRange()
132 if (fIter.getIndex() < rangeEnd) { in divideUpDictionaryRange()
136 … if (words[(wordsFound+1)%THAI_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
144 if (fIter.getIndex() >= rangeEnd) { in divideUpDictionaryRange()
151 … if (words[(wordsFound+2)%THAI_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
155 } while (words[(wordsFound+1)%THAI_LOOKAHEAD].backUp(fIter)); in divideUpDictionaryRange()
[all …]
DLaoBreakEngine.java89 public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, in divideUpDictionaryRange() argument
105 fIter.setIndex(rangeStart); in divideUpDictionaryRange()
106 while ((current = fIter.getIndex()) < rangeEnd) { in divideUpDictionaryRange()
110 … int candidates = words[wordsFound%LAO_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd); in divideUpDictionaryRange()
114 wordLength = words[wordsFound%LAO_LOOKAHEAD].acceptMarked(fIter); in divideUpDictionaryRange()
122 if (fIter.getIndex() < rangeEnd) { in divideUpDictionaryRange()
125 … if (words[(wordsFound+1)%LAO_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
133 if (fIter.getIndex() >= rangeEnd) { in divideUpDictionaryRange()
140 … if (words[(wordsFound+2)%LAO_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
145 } while (words[(wordsFound+1)%LAO_LOOKAHEAD].backUp(fIter)); in divideUpDictionaryRange()
[all …]
DKhmerBreakEngine.java90 public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, in divideUpDictionaryRange() argument
105 fIter.setIndex(rangeStart); in divideUpDictionaryRange()
107 while ((current = fIter.getIndex()) < rangeEnd) { in divideUpDictionaryRange()
111 … int candidates = words[wordsFound % KHMER_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd); in divideUpDictionaryRange()
115 wordLength = words[wordsFound % KHMER_LOOKAHEAD].acceptMarked(fIter); in divideUpDictionaryRange()
123 if (fIter.getIndex() < rangeEnd) { in divideUpDictionaryRange()
126 … if (words[(wordsFound+1)%KHMER_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
134 if (fIter.getIndex() >= rangeEnd) { in divideUpDictionaryRange()
141 … if (words[(wordsFound+2)%KHMER_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
146 } while (words[(wordsFound+1)%KHMER_LOOKAHEAD].backUp(fIter)); in divideUpDictionaryRange()
[all …]
DBurmeseBreakEngine.java86 public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, in divideUpDictionaryRange() argument
102 fIter.setIndex(rangeStart); in divideUpDictionaryRange()
103 while ((current = fIter.getIndex()) < rangeEnd) { in divideUpDictionaryRange()
107 … int candidates = words[wordsFound%BURMESE_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd); in divideUpDictionaryRange()
111 wordLength = words[wordsFound%BURMESE_LOOKAHEAD].acceptMarked(fIter); in divideUpDictionaryRange()
119 if (fIter.getIndex() < rangeEnd) { in divideUpDictionaryRange()
122 … if (words[(wordsFound+1)%BURMESE_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
130 if (fIter.getIndex() >= rangeEnd) { in divideUpDictionaryRange()
137 … if (words[(wordsFound+2)%BURMESE_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
142 } while (words[(wordsFound+1)%BURMESE_LOOKAHEAD].backUp(fIter)); in divideUpDictionaryRange()
[all …]
DDictionaryBreakEngine.java39 public int candidates(CharacterIterator fIter, DictionaryMatcher dict, int rangeEnd) { in candidates() argument
40 int start = fIter.getIndex(); in candidates()
43 prefix = dict.matches(fIter, rangeEnd - start, lengths, count, lengths.length); in candidates()
46 fIter.setIndex(start); in candidates()
50 fIter.setIndex(start + lengths[count[0]-1]); in candidates()
58 public int acceptMarked(CharacterIterator fIter) { in acceptMarked() argument
59 fIter.setIndex(offset + lengths[mark]); in acceptMarked()
65 public boolean backUp(CharacterIterator fIter) { in backUp() argument
67 fIter.setIndex(offset + lengths[--current]); in backUp()
/external/skia/include/private/
DSkTDict.h104 fIter = dict.fArray.begin(); in Iter()
110 if (fIter < fStop) { in next()
111 name = fIter->fName; in next()
113 *value = fIter->fValue; in next()
115 fIter += 1; in next()
120 const Pair* fIter;
/external/skia/src/core/
DSkRWBuffer.cpp245 SkASSERT(fLocalOffset <= fIter.size()); in validate()
263 SkROBufferStreamAsset(const SkROBuffer* buffer) : fBuffer(SkRef(buffer)), fIter(buffer) { in SkROBufferStreamAsset()
273 fIter.reset(fBuffer); in rewind()
282 size_t size = fIter.size(); in read()
286 memcpy(dst, (const char*)fIter.data() + fLocalOffset, avail); in read()
298 if (!fIter.next()) { in read()
346 SkROBuffer::Iter fIter; member in SkROBufferStreamAsset
DSkClipStack.cpp762 return (const SkClipStack::Element*)fIter.next(); in next()
766 return (const SkClipStack::Element*)fIter.prev(); in prev()
775 fIter.reset(fStack->fDeque, SkDeque::Iter::kBack_IterStart); in skipToTopmost()
779 for (element = (const SkClipStack::Element*) fIter.prev(); in skipToTopmost()
781 element = (const SkClipStack::Element*) fIter.prev()) { in skipToTopmost()
790 if (nullptr == fIter.next()) { in skipToTopmost()
794 fIter.reset(fStack->fDeque, SkDeque::Iter::kFront_IterStart); in skipToTopmost()
802 fIter.reset(fStack->fDeque, SkDeque::Iter::kFront_IterStart); in skipToTopmost()
810 fIter.reset(stack.fDeque, static_cast<SkDeque::Iter::IterStart>(startLoc)); in reset()
DSkRegion.cpp1349 : fIter(rgn), fClip(clip), fDone(true) { in Cliperator()
1350 const SkIRect& r = fIter.rect(); in Cliperator()
1352 while (!fIter.done()) { in Cliperator()
1360 fIter.next(); in Cliperator()
1369 const SkIRect& r = fIter.rect(); in next()
1372 fIter.next(); in next()
1373 while (!fIter.done()) { in next()
1381 fIter.next(); in next()
DSkPathMeasure.cpp235 switch (fIter.next(pts)) { in buildSegments()
284 const SkConic conic(pts, fIter.conicWeight()); in buildSegments()
493 fIter.setPath(path, forceClosed); in SkPathMeasure()
507 fIter.setPath(*path, forceClosed); in setPath()
/external/skia/include/core/
DSkPathMeasure.h86 SkPath::Iter fIter;
DSkRegion.h342 Iterator fIter;
DSkClipStack.h396 SkDeque::Iter fIter; variable