Home
last modified time | relevance | path

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

12

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DThaiBreakEngine.java103 public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, in divideUpDictionaryRange() argument
117 fIter.setIndex(rangeStart); in divideUpDictionaryRange()
119 while ((current = fIter.getIndex()) < rangeEnd) { in divideUpDictionaryRange()
123 … int candidates = words[wordsFound%THAI_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd); in divideUpDictionaryRange()
127 wordLength = words[wordsFound%THAI_LOOKAHEAD].acceptMarked(fIter); in divideUpDictionaryRange()
134 if (fIter.getIndex() < rangeEnd) { in divideUpDictionaryRange()
138 … if (words[(wordsFound+1)%THAI_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
146 if (fIter.getIndex() >= rangeEnd) { in divideUpDictionaryRange()
153 … if (words[(wordsFound+2)%THAI_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
157 } while (words[(wordsFound+1)%THAI_LOOKAHEAD].backUp(fIter)); in divideUpDictionaryRange()
[all …]
DBurmeseBreakEngine.java88 public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, in divideUpDictionaryRange() argument
104 fIter.setIndex(rangeStart); in divideUpDictionaryRange()
105 while ((current = fIter.getIndex()) < rangeEnd) { in divideUpDictionaryRange()
109 … int candidates = words[wordsFound%BURMESE_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd); in divideUpDictionaryRange()
113 wordLength = words[wordsFound%BURMESE_LOOKAHEAD].acceptMarked(fIter); in divideUpDictionaryRange()
121 if (fIter.getIndex() < rangeEnd) { in divideUpDictionaryRange()
124 … if (words[(wordsFound+1)%BURMESE_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
132 if (fIter.getIndex() >= rangeEnd) { in divideUpDictionaryRange()
139 … if (words[(wordsFound+2)%BURMESE_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
144 } while (words[(wordsFound+1)%BURMESE_LOOKAHEAD].backUp(fIter)); in divideUpDictionaryRange()
[all …]
DLaoBreakEngine.java91 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()
127 … if (words[(wordsFound+1)%LAO_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
135 if (fIter.getIndex() >= rangeEnd) { in divideUpDictionaryRange()
142 … if (words[(wordsFound+2)%LAO_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
147 } while (words[(wordsFound+1)%LAO_LOOKAHEAD].backUp(fIter)); in divideUpDictionaryRange()
[all …]
DKhmerBreakEngine.java92 public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, in divideUpDictionaryRange() argument
107 fIter.setIndex(rangeStart); in divideUpDictionaryRange()
109 while ((current = fIter.getIndex()) < rangeEnd) { in divideUpDictionaryRange()
113 … int candidates = words[wordsFound % KHMER_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd); in divideUpDictionaryRange()
117 wordLength = words[wordsFound % KHMER_LOOKAHEAD].acceptMarked(fIter); in divideUpDictionaryRange()
125 if (fIter.getIndex() < rangeEnd) { in divideUpDictionaryRange()
128 … if (words[(wordsFound+1)%KHMER_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
136 if (fIter.getIndex() >= rangeEnd) { in divideUpDictionaryRange()
143 … if (words[(wordsFound+2)%KHMER_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
148 } while (words[(wordsFound+1)%KHMER_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/android_icu4j/src/main/java/android/icu/text/
DThaiBreakEngine.java104 public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, in divideUpDictionaryRange() argument
118 fIter.setIndex(rangeStart); in divideUpDictionaryRange()
120 while ((current = fIter.getIndex()) < rangeEnd) { in divideUpDictionaryRange()
124 … int candidates = words[wordsFound%THAI_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd); in divideUpDictionaryRange()
128 wordLength = words[wordsFound%THAI_LOOKAHEAD].acceptMarked(fIter); in divideUpDictionaryRange()
135 if (fIter.getIndex() < rangeEnd) { in divideUpDictionaryRange()
139 … if (words[(wordsFound+1)%THAI_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
147 if (fIter.getIndex() >= rangeEnd) { in divideUpDictionaryRange()
154 … if (words[(wordsFound+2)%THAI_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
158 } while (words[(wordsFound+1)%THAI_LOOKAHEAD].backUp(fIter)); in divideUpDictionaryRange()
[all …]
DKhmerBreakEngine.java93 public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, in divideUpDictionaryRange() argument
108 fIter.setIndex(rangeStart); in divideUpDictionaryRange()
110 while ((current = fIter.getIndex()) < rangeEnd) { in divideUpDictionaryRange()
114 … int candidates = words[wordsFound % KHMER_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd); in divideUpDictionaryRange()
118 wordLength = words[wordsFound % KHMER_LOOKAHEAD].acceptMarked(fIter); in divideUpDictionaryRange()
126 if (fIter.getIndex() < rangeEnd) { in divideUpDictionaryRange()
129 … if (words[(wordsFound+1)%KHMER_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
137 if (fIter.getIndex() >= rangeEnd) { in divideUpDictionaryRange()
144 … if (words[(wordsFound+2)%KHMER_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
149 } while (words[(wordsFound+1)%KHMER_LOOKAHEAD].backUp(fIter)); in divideUpDictionaryRange()
[all …]
DBurmeseBreakEngine.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%BURMESE_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd); in divideUpDictionaryRange()
114 wordLength = words[wordsFound%BURMESE_LOOKAHEAD].acceptMarked(fIter); in divideUpDictionaryRange()
122 if (fIter.getIndex() < rangeEnd) { in divideUpDictionaryRange()
125 … if (words[(wordsFound+1)%BURMESE_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
133 if (fIter.getIndex() >= rangeEnd) { in divideUpDictionaryRange()
140 … if (words[(wordsFound+2)%BURMESE_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
145 } while (words[(wordsFound+1)%BURMESE_LOOKAHEAD].backUp(fIter)); in divideUpDictionaryRange()
[all …]
DLaoBreakEngine.java92 public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, in divideUpDictionaryRange() argument
108 fIter.setIndex(rangeStart); in divideUpDictionaryRange()
109 while ((current = fIter.getIndex()) < rangeEnd) { in divideUpDictionaryRange()
113 … int candidates = words[wordsFound%LAO_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd); in divideUpDictionaryRange()
117 wordLength = words[wordsFound%LAO_LOOKAHEAD].acceptMarked(fIter); in divideUpDictionaryRange()
125 if (fIter.getIndex() < rangeEnd) { in divideUpDictionaryRange()
128 … if (words[(wordsFound+1)%LAO_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
136 if (fIter.getIndex() >= rangeEnd) { in divideUpDictionaryRange()
143 … if (words[(wordsFound+2)%LAO_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
148 } while (words[(wordsFound+1)%LAO_LOOKAHEAD].backUp(fIter)); in divideUpDictionaryRange()
[all …]
DDictionaryBreakEngine.java41 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()
/external/skia/src/core/
DSkPathMeasure.cpp14 : 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()
DSkClipStack.cpp913 return (const SkClipStack::Element*)fIter.next(); in next()
917 return (const SkClipStack::Element*)fIter.prev(); in prev()
926 fIter.reset(fStack->fDeque, SkDeque::Iter::kBack_IterStart); in skipToTopmost()
930 for (element = (const SkClipStack::Element*) fIter.prev(); in skipToTopmost()
932 element = (const SkClipStack::Element*) fIter.prev()) { in skipToTopmost()
941 if (nullptr == fIter.next()) { in skipToTopmost()
945 fIter.reset(fStack->fDeque, SkDeque::Iter::kFront_IterStart); in skipToTopmost()
953 fIter.reset(fStack->fDeque, SkDeque::Iter::kFront_IterStart); in skipToTopmost()
961 fIter.reset(stack.fDeque, static_cast<SkDeque::Iter::IterStart>(startLoc)); in reset()
DSkContourMeasure.cpp179 , 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()
/external/skqp/src/core/
DSkTMultiMap.h133 : fIter(&(mmap->fHash)) in ConstIter()
135 if (!fIter.done()) { in ConstIter()
136 fList = &(*fIter); in ConstIter()
141 return fIter.done(); in done()
154 ++fIter;
155 if (!fIter.done()) {
156 fList = &(*fIter);
162 typename SkTDynamicHash<ValueList, Key>::ConstIter fIter;
DSkRWBuffer.cpp257 SkASSERT(fLocalOffset <= fIter.size()); in validate()
275 SkROBufferStreamAsset(sk_sp<SkROBuffer> buffer) : fBuffer(std::move(buffer)), fIter(fBuffer) { in SkROBufferStreamAsset()
283 fIter.reset(fBuffer.get()); in rewind()
292 size_t size = fIter.size(); in read()
296 memcpy(dst, (const char*)fIter.data() + fLocalOffset, avail); in read()
308 if (!fIter.next()) { in read()
357 SkROBuffer::Iter fIter; member in SkROBufferStreamAsset
DSkClipStack.cpp882 return (const SkClipStack::Element*)fIter.next(); in next()
886 return (const SkClipStack::Element*)fIter.prev(); in prev()
895 fIter.reset(fStack->fDeque, SkDeque::Iter::kBack_IterStart); in skipToTopmost()
899 for (element = (const SkClipStack::Element*) fIter.prev(); in skipToTopmost()
901 element = (const SkClipStack::Element*) fIter.prev()) { in skipToTopmost()
910 if (nullptr == fIter.next()) { in skipToTopmost()
914 fIter.reset(fStack->fDeque, SkDeque::Iter::kFront_IterStart); in skipToTopmost()
922 fIter.reset(fStack->fDeque, SkDeque::Iter::kFront_IterStart); in skipToTopmost()
930 fIter.reset(stack.fDeque, static_cast<SkDeque::Iter::IterStart>(startLoc)); in reset()
/external/skqp/tools/bookmaker/
DparserCommon.cpp441 if (status->fIter != status->fObject.end()) { in next()
450 if (status->fIter.key().asString() == block_names[index]) { in next()
458 status->fIter++; in next()
459 } while (status->fIter != status->fObject.end()); in next()
460 if (status->fIter == status->fObject.end()) { in next()
465 SkASSERT(status->fIter != status->fObject.end()); in next()
467 *status->fIter, in next()
468 status->fIter->begin(), in next()
469 status->fIter.key().asString(), in next()
474 status->fIter++; in next()
[all …]
DfiddleParser.cpp27 while (status->fIter != status->fObject.end()) { in parseFiddles()
28 const char* blockName = status->fIter.memberName(); in parseFiddles()
34 for (auto iter = status->fIter->begin(); status->fIter->end() != iter; ++iter) { in parseFiddles()
89 status->fIter++; in parseFiddles()
/external/skia/src/gpu/glsl/
DGrGLSLGeometryProcessor.cpp424 : fIter(pipeline), fTransformedCoordVars(transformedCoordVars) { in FPCoordTransformHandler()
425 while (fIter && !fIter->usesVaryingCoordsDirectly()) { in FPCoordTransformHandler()
426 ++fIter; in FPCoordTransformHandler()
431 return *fIter; in get()
438 ++fIter; in operator ++()
439 } while (fIter && !fIter->usesVaryingCoordsDirectly()); in operator ++()
DGrGLSLGeometryProcessor.h47 ~FPCoordTransformHandler() { SkASSERT(!fIter); } in ~FPCoordTransformHandler()
49 operator bool() const { return (bool)fIter; }
63 GrFragmentProcessor::CIter fIter;
/external/skia/src/gpu/tessellate/
DGrStrokeIterator.h35 fIter = it.begin(); in GrStrokeIterator()
68 for (; fIter != fEnd; ++fIter) { in next()
70 auto [verb, pts, w] = *fIter; in next()
115 ++fIter; in next()
344 SkPathPriv::RangeIter fIter; variable
/external/skqp/src/gpu/glsl/
DGrGLSLPrimitiveProcessor.cpp73 fCurr = fIter.next(); in nextCoordTransform()
76 return fIter.next(); in nextCoordTransform()
DGrGLSLPrimitiveProcessor.h44 : fIter(pipeline) in FPCoordTransformHandler()
60 GrFragmentProcessor::CoordTransformIter fIter;
/external/skqp/src/gpu/ops/
DGrLatticeOp.cpp163 patch.fIter = std::move(iter); in NonAALatticeOp()
219 numRects += fPatches[i].fIter->numRectsToDraw(); in onPrepareDraws()
249 patch.fIter->mapDstScaleTranslate(patch.fViewMatrix); in onPrepareDraws()
260 while (patch.fIter->next(&srcR, &dstR)) { in onPrepareDraws()
284 kVertsPerRect * patch.fIter->numRectsToDraw()); in onPrepareDraws()
314 std::unique_ptr<SkLatticeIter> fIter; member
/external/skia/src/gpu/ops/
DGrLatticeOp.cpp160 patch.fIter = std::move(iter); in NonAALatticeOp()
232 numRects += fPatches[i].fIter->numRectsToDraw(); in onPrepareDraws()
258 patch.fIter->mapDstScaleTranslate(patch.fViewMatrix); in onPrepareDraws()
268 while (patch.fIter->next(&srcR, &dstR)) { in onPrepareDraws()
368 std::unique_ptr<SkLatticeIter> fIter; member

12