Searched refs:endPos (Results 1 - 25 of 75) sorted by relevance

123

/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DLanguageBreakEngine.java29 * @param endPos The index of the possible end of our range. It is possible,
38 int findBreaks(CharacterIterator text, int startPos, int endPos, argument
H A DUnhandledBreakEngine.java32 public int findBreaks(CharacterIterator text, int startPos, int endPos, argument
34 text.setIndex(endPos);
H A DCjkBreakEngine.java82 public int divideUpDictionaryRange(CharacterIterator inText, int startPos, int endPos, argument
84 if (startPos >= endPos) {
90 int inputLength = endPos - startPos;
94 while (inText.getIndex() < endPos) {
228 if (!foundBreaks.isEmpty() && foundBreaks.peek() == endPos) {
H A DDictionaryBreakEngine.java172 public int findBreaks(CharacterIterator text, int startPos, int endPos, argument
195 while ((current = text.getIndex()) < endPos && fSet.contains(c)) {
H A DRuleBasedBreakIterator.java416 private int checkDictionary(int startPos, int endPos, boolean reverse) { argument
422 // startPos-endPos range
424 if ((endPos - startPos) <= 1) {
425 return (reverse ? startPos : endPos);
431 fText.setIndex(reverse ? endPos : startPos);
437 int rangeEnd = endPos;
539 if (endPos > breaks.peek()) {
540 breaks.push(endPos);
555 return preceding(endPos);
564 fText.setIndex(reverse ? startPos : endPos);
[all...]
/external/lzma/CPP/7zip/Common/
H A DFilterCoder.cpp55 UInt32 endPos = bufferPos + (UInt32)processedSize; local
57 bufferPos = Filter->Filter(_buffer, endPos);
58 if (bufferPos > endPos)
60 for (; endPos < bufferPos; endPos++)
61 _buffer[endPos] = 0;
62 bufferPos = Filter->Filter(_buffer, endPos);
67 if (endPos == 0)
69 return WriteWithLimit(outStream, endPos);
77 while (bufferPos < endPos)
110 UInt32 endPos = _bufferPos + sizeTemp; local
137 UInt32 endPos = Filter->Filter(_buffer, _bufferPos); local
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DLanguageBreakEngine.java28 * @param endPos The index of the possible end of our range. It is possible,
37 int findBreaks(CharacterIterator text, int startPos, int endPos, argument
H A DUnhandledBreakEngine.java31 public int findBreaks(CharacterIterator text, int startPos, int endPos, argument
33 text.setIndex(endPos);
H A DCjkBreakEngine.java81 public int divideUpDictionaryRange(CharacterIterator inText, int startPos, int endPos, argument
83 if (startPos >= endPos) {
89 int inputLength = endPos - startPos;
93 while (inText.getIndex() < endPos) {
227 if (!foundBreaks.isEmpty() && foundBreaks.peek() == endPos) {
H A DDictionaryBreakEngine.java171 public int findBreaks(CharacterIterator text, int startPos, int endPos, argument
194 while ((current = text.getIndex()) < endPos && fSet.contains(c)) {
/external/fonttools/MetaTools/
H A DbuildTableList.py51 endPos = doc.find(end) variable
53 doc = doc[:beginPos] + ", ".join(tables[:-1]) + " and " + tables[-1] + "\n" + doc[endPos:]
/external/fonttools/Lib/fontTools/ttLib/tables/
H A DG_P_K_G_.py26 endPos = (self.numGMAPs+1) * 4
27 GMAPoffsets.fromstring(newData[:endPos])
35 pos = endPos
36 endPos = pos + (self.numGlyplets + 1)*4
38 glyphletOffsets.fromstring(newData[pos:endPos])
/external/fonttools/Tools/fontTools/ttLib/tables/
H A DG_P_K_G_.py26 endPos = (self.numGMAPs+1) * 4
27 GMAPoffsets.fromstring(newData[:endPos])
35 pos = endPos
36 endPos = pos + (self.numGlyplets + 1)*4
38 glyphletOffsets.fromstring(newData[pos:endPos])
/external/icu/icu4c/source/common/
H A Dbrkeng.h67 * @param endPos The end of the run within the supplied text.
76 int32_t endPos,
192 * @param endPos The end of the run within the supplied text.
201 int32_t endPos,
H A Drbbi.cpp1577 int32_t endPos,
1583 // startPos-endPos range
1585 if ((endPos - startPos) <= 1) {
1586 return (reverse ? startPos : endPos);
1592 utext_setNativeIndex(fText, reverse ? endPos : startPos);
1598 int32_t rangeEnd = endPos;
1695 if (endPos > breaks.peeki()) {
1708 if (endPos > fCachedBreakPositions[out-1]) {
1709 fCachedBreakPositions[out] = endPos;
1715 return preceding(endPos);
1576 checkDictionary(int32_t startPos, int32_t endPos, UBool reverse) argument
[all...]
/external/lzma/Java/Tukaani/src/org/tukaani/xz/index/
H A DIndexDecoder.java48 // If endPos is exceeded before the CRC32 field has been decoded,
50 long endPos = in.position() + streamFooterFlags.backwardSize - 4;
97 if (in.position() > endPos)
120 if (in.position() + indexPaddingSize != endPos)
/external/protobuf/java/src/main/java/com/google/protobuf/nano/
H A DExtendableMessageNano.java145 int endPos = input.getPosition();
146 byte[] bytes = input.getData(startPos, endPos - startPos);
/external/lzma/CPP/7zip/Compress/
H A DBcj2Coder.cpp111 UInt32 endPos = bufPos + processedSize; local
113 if (endPos < 5)
116 for (bufPos = 0; bufPos < endPos; bufPos++)
140 UInt32 limit = endPos - 5;
234 while (bufPos < endPos)
/external/gptfdisk/
H A Dgptcl.cc540 size_t startPos = 0, endPos = 0; local
548 endPos = argument.find(':', startPos);
550 if (endPos == string::npos) {
552 endPos = argument.length();
554 startPos = endPos + 1;
558 retVal = argument.substr(startPos, endPos - startPos);
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
H A DXMPUtilsImpl.java192 int endPos = catedStr.length();
193 while (itemEnd < endPos)
197 for (itemStart = itemEnd; itemStart < endPos; itemStart++)
206 if (itemStart >= endPos)
215 for (itemEnd = itemStart; itemEnd < endPos; itemEnd++)
229 else if ((itemEnd + 1) < endPos)
259 for (itemEnd = itemStart; itemEnd < endPos; itemEnd++)
278 if ((itemEnd + 1) < endPos)
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
H A DTabber.java138 int endPos = getStop(count) - minGap;
144 startPos = endPos - piece.length();
147 startPos = (startPos + endPos - piece.length() + 1)/2;
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
H A DTabber.java137 int endPos = getStop(count) - minGap;
143 startPos = endPos - piece.length();
146 startPos = (startPos + endPos - piece.length() + 1)/2;
/external/javassist/src/main/javassist/expr/
H A DExpr.java318 int endPos = oldIterator.lookAhead();
320 if (ed.doit(thisClass, thisMethod, context, oldIterator, endPos))
323 oldIterator.move(endPos + oldIterator.getCodeLength() - size);
H A DExprEditor.java126 CodeIterator iterator, int endPos)
130 while (iterator.hasNext() && iterator.lookAhead() < endPos) {
136 endPos += size2 - size;
125 doit(CtClass clazz, MethodInfo minfo, LoopContext context, CodeIterator iterator, int endPos) argument
/external/lzma/C/
H A DXzEnc.c214 size_t endPos; member in struct:__anon13069
227 if (!p->srcWasFinished && p->curPos == p->endPos)
230 p->endPos = FILTER_BUF_SIZE;
231 RINOK(p->realStream->Read(p->realStream, p->buf, &p->endPos));
232 if (p->endPos == 0)
236 SizeT srcLen = p->endPos - p->curPos;
274 p->curPos = p->endPos = 0;

Completed in 703 milliseconds

123