Home
last modified time | relevance | path

Searched refs:endPos (Results 1 – 25 of 54) sorted by relevance

123

/external/lzma/CPP/7zip/Common/
DFilterCoder.cpp78 UInt32 endPos = pos; in Code() local
84 endPos = pos + (UInt32)processedSize; in Code()
85 inputFinished = (endPos != _bufSize); in Code()
88 pos = Filter->Filter(_buf, endPos); in Code()
90 if (pos > endPos) in Code()
99 _buf[endPos] = 0; in Code()
100 while (++endPos != pos); in Code()
106 if (endPos == 0) in Code()
109 UInt32 size = (pos != 0 ? pos : endPos); in Code()
127 while (pos < endPos) in Code()
/external/flatbuffers/lua/flatbuffers/
Dbinaryarray.lua31 function mt:Slice(startPos, endPos)
33 endPos = endPos or self.size
46 while startPos < endPos do
58 return self.str:sub(startPos+1, endPos)
/external/fonttools/Lib/fontTools/ttLib/tables/
DG_P_K_G_.py26 endPos = (self.numGMAPs+1) * 4
27 GMAPoffsets.fromstring(newData[:endPos])
34 pos = endPos
35 endPos = pos + (self.numGlyplets + 1)*4
37 glyphletOffsets.fromstring(newData[pos:endPos])
/external/v8/tools/
Dcsvparser.js44 let endPos = string.length;
88 var endPos = line.length;
90 if (endPos == 0) return fields;
/external/turbine/javatests/com/google/turbine/parse/
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/icu4j/main/classes/core/src/com/ibm/icu/text/
DCjkBreakEngine.java84 public int divideUpDictionaryRange(CharacterIterator inText, int startPos, int endPos, in divideUpDictionaryRange() argument
86 if (startPos >= endPos) { in divideUpDictionaryRange()
92 int inputLength = endPos - startPos; in divideUpDictionaryRange()
96 while (inText.getIndex() < endPos) { in divideUpDictionaryRange()
236 if (!foundBreaks.isEmpty() && foundBreaks.peek() == endPos) { in divideUpDictionaryRange()
DUnhandledBreakEngine.java45 public int findBreaks(CharacterIterator text, int startPos, int endPos, in findBreaks() argument
50 while (text.getIndex() < endPos && uniset.contains(c)) { in findBreaks()
DRuleBasedBreakIterator.java382 int endPos = fText.getEndIndex(); in last() local
383 …boolean endShouldBeBoundary = isBoundary(endPos); // Has side effect of setting iterator posi… in last()
385 if (fPosition != endPos) { in last()
386 assert(fPosition == endPos); in last()
388 return endPos; in last()
1191 void populateDictionary(int startPos, int endPos, in populateDictionary() argument
1193 if ((endPos - startPos) <= 1) { in populateDictionary()
1202 int rangeEnd = endPos; in populateDictionary()
1254 if (endPos > fBreaks.peek()) { in populateDictionary()
1255 fBreaks.push(endPos); in populateDictionary()
DDictionaryBreakEngine.java184 public int findBreaks(CharacterIterator text, int startPos, int endPos,
197 while ((current = text.getIndex()) < endPos && fSet.contains(c)) {
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCjkBreakEngine.java85 public int divideUpDictionaryRange(CharacterIterator inText, int startPos, int endPos, in divideUpDictionaryRange() argument
87 if (startPos >= endPos) { in divideUpDictionaryRange()
93 int inputLength = endPos - startPos; in divideUpDictionaryRange()
97 while (inText.getIndex() < endPos) { in divideUpDictionaryRange()
237 if (!foundBreaks.isEmpty() && foundBreaks.peek() == endPos) { in divideUpDictionaryRange()
DUnhandledBreakEngine.java46 public int findBreaks(CharacterIterator text, int startPos, int endPos, in findBreaks() argument
51 while (text.getIndex() < endPos && uniset.contains(c)) { in findBreaks()
DRuleBasedBreakIterator.java374 int endPos = fText.getEndIndex(); in last() local
375 …boolean endShouldBeBoundary = isBoundary(endPos); // Has side effect of setting iterator posi… in last()
377 if (fPosition != endPos) { in last()
378 assert(fPosition == endPos); in last()
380 return endPos; in last()
1170 void populateDictionary(int startPos, int endPos, in populateDictionary() argument
1172 if ((endPos - startPos) <= 1) { in populateDictionary()
1181 int rangeEnd = endPos; in populateDictionary()
1233 if (endPos > fBreaks.peek()) { in populateDictionary()
1234 fBreaks.push(endPos); in populateDictionary()
DDictionaryBreakEngine.java185 public int findBreaks(CharacterIterator text, int startPos, int endPos,
198 while ((current = text.getIndex()) < endPos && fSet.contains(c)) {
/external/gptfdisk/
Dgptcl.cc554 size_t startPos = 0, endPos = 0; in GetString() local
562 endPos = argument.find(':', startPos); in GetString()
564 if (endPos == string::npos) { in GetString()
566 endPos = argument.length(); in GetString()
568 startPos = endPos + 1; in GetString()
572 retVal = argument.substr(startPos, endPos - startPos); in GetString()
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DXMPUtilsImpl.java192 int endPos = catedStr.length(); in separateArrayItems() local
193 while (itemEnd < endPos) in separateArrayItems()
197 for (itemStart = itemEnd; itemStart < endPos; itemStart++) in separateArrayItems()
206 if (itemStart >= endPos) in separateArrayItems()
215 for (itemEnd = itemStart; itemEnd < endPos; itemEnd++) in separateArrayItems()
229 else if ((itemEnd + 1) < endPos) in separateArrayItems()
259 for (itemEnd = itemStart; itemEnd < endPos; itemEnd++) in separateArrayItems()
278 if ((itemEnd + 1) < endPos) in separateArrayItems()
/external/xz-java/src/org/tukaani/xz/index/
DIndexDecoder.java50 long endPos = in.position() + streamFooterFlags.backwardSize - 4; in IndexDecoder() local
97 if (in.position() > endPos) in IndexDecoder()
120 if (in.position() + indexPaddingSize != endPos) in IndexDecoder()
/external/icu/icu4c/source/common/
Dbrkeng.h75 int32_t endPos,
192 int32_t endPos,
Drbbi_cache.cpp124 void RuleBasedBreakIterator::DictionaryCache::populateDictionary(int32_t startPos, int32_t endPos, in populateDictionary() argument
126 if ((endPos - startPos) <= 1) { in populateDictionary()
135 int32_t rangeEnd = endPos; in populateDictionary()
190 if (endPos > fBreaks.peeki()) { in populateDictionary()
191 fBreaks.push(endPos, status); in populateDictionary()
/external/fonttools/MetaTools/
DbuildTableList.py65 endPos = doc.find(end) variable
70 doc = doc[:beginPos] + blockquote + doc[endPos:]
/external/cldr/tools/java/org/unicode/cldr/util/
DTabber.java118 int endPos = getStop(count) - minGap; in process_field() local
125 startPos = endPos - pieceLength; in process_field()
128 startPos = (startPos + endPos - pieceLength + 1) / 2; in process_field()
/external/pdfium/core/fpdftext/
Dcpdf_textpagefind.cpp323 size_t endPos) { in IsMatchWholeWord() argument
324 if (startPos > endPos) in IsMatchWholeWord()
328 size_t char_count = endPos - startPos + 1; in IsMatchWholeWord()
355 if (std::iswdigit(char_right) && std::iswdigit(csPageText[endPos])) in IsMatchWholeWord()
/external/icu/icu4c/source/test/cintltst/
Dcdattst.c1756 int32_t endPos; member
1790 int32_t ulen, field, beginPos, endPos; in TestFormatForFields() local
1800 field = ufieldpositer_next(fpositer, &beginPos, &endPos); in TestFormatForFields()
1801 … (field != fptr->field || (field >= 0 && (beginPos != fptr->beginPos || endPos != fptr->endPos))) { in TestFormatForFields()
1804 … aescstrdup(ubuf, ulen), fptr->field, fptr->beginPos, fptr->endPos, field, beginPos, endPos); in TestFormatForFields()
1807 aescstrdup(ubuf, ulen), field, beginPos, endPos); in TestFormatForFields()
1824 field = ufieldpositer_next(fpositer, &beginPos, &endPos); in TestFormatForFields()
1825 … (field != fptr->field || (field >= 0 && (beginPos != fptr->beginPos || endPos != fptr->endPos))) { in TestFormatForFields()
1828 … aescstrdup(ubuf, ulen), fptr->field, fptr->beginPos, fptr->endPos, field, beginPos, endPos); in TestFormatForFields()
1831 aescstrdup(ubuf, ulen), field, beginPos, endPos); in TestFormatForFields()
[all …]
/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/
DExtendableMessageNano.java145 int endPos = input.getPosition(); in storeUnknownField() local
146 byte[] bytes = input.getData(startPos, endPos - startPos); in storeUnknownField()
/external/mesa3d/src/mesa/program/
Dprogramopt.c559 GLint endPos, var; in _mesa_remove_output_reads() local
562 endPos = -1; in _mesa_remove_output_reads()
566 endPos = i; in _mesa_remove_output_reads()
572 assert(endPos >= 0); in _mesa_remove_output_reads()
575 inst = prog->arb.Instructions + endPos; in _mesa_remove_output_reads()
/external/syzkaller/pkg/report/
Dreport_test.go188 endPos := bytes.Index(test.Log, []byte(test.EndLine)) + len(test.EndLine)
189 if rep.StartPos != startPos || rep.EndPos != endPos {
191 rep.StartPos, rep.EndPos, startPos, endPos,

123