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

123

/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DLanguageBreakEngine.java32 * @param endPos The index of the possible end of our range. It is possible,
39 int findBreaks(CharacterIterator text, int startPos, int endPos, argument
H A DUnhandledBreakEngine.java53 public int findBreaks(CharacterIterator text, int startPos, int endPos, argument
58 while (text.getIndex() < endPos && uniset.contains(c)) {
H A DCjkBreakEngine.java86 public int divideUpDictionaryRange(CharacterIterator inText, int startPos, int endPos, argument
88 if (startPos >= endPos) {
94 int inputLength = endPos - startPos;
98 while (inText.getIndex() < endPos) {
232 if (!foundBreaks.isEmpty() && foundBreaks.peek() == endPos) {
H A DDictionaryBreakEngine.java192 public int findBreaks(CharacterIterator text, int startPos, int endPos, argument
205 while ((current = text.getIndex()) < endPos && fSet.contains(c)) {
H A DRuleBasedBreakIterator.java377 int endPos = fText.getEndIndex();
378 boolean endShouldBeBoundary = isBoundary(endPos); // Has side effect of setting iterator position.
380 if (fPosition != endPos) {
381 assert(fPosition == endPos);
383 return endPos;
1242 * @param endPos The end position of a range of text
1247 void populateDictionary(int startPos, int endPos, argument
1249 if ((endPos - startPos) <= 1) {
1258 int rangeEnd = endPos;
1310 if (endPos > fBreak
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DLanguageBreakEngine.java31 * @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.java52 public int findBreaks(CharacterIterator text, int startPos, int endPos, argument
57 while (text.getIndex() < endPos && uniset.contains(c)) {
H A DCjkBreakEngine.java85 public int divideUpDictionaryRange(CharacterIterator inText, int startPos, int endPos, argument
87 if (startPos >= endPos) {
93 int inputLength = endPos - startPos;
97 while (inText.getIndex() < endPos) {
231 if (!foundBreaks.isEmpty() && foundBreaks.peek() == endPos) {
H A DDictionaryBreakEngine.java191 public int findBreaks(CharacterIterator text, int startPos, int endPos, argument
204 while ((current = text.getIndex()) < endPos && fSet.contains(c)) {
H A DRuleBasedBreakIterator.java385 int endPos = fText.getEndIndex();
386 boolean endShouldBeBoundary = isBoundary(endPos); // Has side effect of setting iterator position.
388 if (fPosition != endPos) {
389 assert(fPosition == endPos);
391 return endPos;
1263 * @param endPos The end position of a range of text
1268 void populateDictionary(int startPos, int endPos, argument
1270 if ((endPos - startPos) <= 1) {
1279 int rangeEnd = endPos;
1331 if (endPos > fBreak
[all...]
/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/lzma/CPP/7zip/Common/
H A DFilterCoder.cpp78 UInt32 endPos = pos; local
84 endPos = pos + (UInt32)processedSize;
85 inputFinished = (endPos != _bufSize);
88 pos = Filter->Filter(_buf, endPos);
90 if (pos > endPos)
99 _buf[endPos] = 0;
100 while (++endPos != pos);
106 if (endPos == 0)
109 UInt32 size = (pos != 0 ? pos : endPos);
127 while (pos < endPos)
[all...]
/external/pdfium/core/fpdftext/
H A Dcpdf_textpagefind.h37 size_t endPos);
H A Dcpdf_textpagefind.cpp323 size_t endPos) {
324 if (startPos > endPos)
328 size_t char_count = endPos - startPos + 1;
355 if (std::iswdigit(char_right) && std::iswdigit(csPageText[endPos]))
321 IsMatchWholeWord(const WideString& csPageText, size_t startPos, size_t endPos) argument
/external/turbine/javatests/com/google/turbine/parse/
H A DJavacLexer.java273 return String.format("INT_LITERAL(%s)", input.substring(token.pos, token.endPos));
275 return String.format("LONG_LITERAL(%s)", input.substring(token.pos, token.endPos));
277 return String.format("FLOAT_LITERAL(%s)", input.substring(token.pos, token.endPos));
279 return String.format("DOUBLE_LITERAL(%s)", input.substring(token.pos, token.endPos));
/external/icu/icu4c/source/common/
H A Dbrkeng.h70 * @param endPos The end of the run within the supplied text.
77 int32_t endPos,
192 * @param endPos The end of the run within the supplied text.
199 int32_t endPos,
/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/javanano/src/main/java/com/google/protobuf/nano/
H A DExtendableMessageNano.java145 int endPos = input.getPosition();
146 byte[] bytes = input.getData(startPos, endPos - startPos);
/external/gptfdisk/
H A Dgptcl.cc554 size_t startPos = 0, endPos = 0; local
562 endPos = argument.find(':', startPos);
564 if (endPos == string::npos) {
566 endPos = argument.length();
568 startPos = endPos + 1;
572 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/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.c219 size_t endPos; member in struct:__anon15414
233 if (!p->srcWasFinished && p->curPos == p->endPos)
236 p->endPos = FILTER_BUF_SIZE;
237 RINOK(p->realStream->Read(p->realStream, p->buf, &p->endPos));
238 if (p->endPos == 0)
242 SizeT srcLen = p->endPos - p->curPos;
280 p->curPos = p->endPos = 0;

Completed in 646 milliseconds

123