Home
last modified time | relevance | path

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

1234

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DCodedInputStreamReader.java293 int endPos = input.getTotalBytesRead() + bytes; in readDoubleList() local
296 } while (input.getTotalBytesRead() < endPos); in readDoubleList()
319 int endPos = input.getTotalBytesRead() + bytes; in readDoubleList() local
322 } while (input.getTotalBytesRead() < endPos); in readDoubleList()
351 int endPos = input.getTotalBytesRead() + bytes; in readFloatList() local
354 } while (input.getTotalBytesRead() < endPos); in readFloatList()
377 int endPos = input.getTotalBytesRead() + bytes; in readFloatList() local
380 } while (input.getTotalBytesRead() < endPos); in readFloatList()
408 int endPos = input.getTotalBytesRead() + bytes; in readUInt64List() local
411 } while (input.getTotalBytesRead() < endPos); in readUInt64List()
[all …]
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/
DJavacTokens.java44 private final int endPos; field in JavacTokens.RawTok
46 RawTok(String stringVal, TokenKind kind, int pos, int endPos) { in RawTok() argument
50 this.endPos = endPos; in RawTok()
64 public int endPos() { in endPos() method in JavacTokens.RawTok
65 return endPos; in endPos()
114 t.endPos)); in getTokens()
115 last = t.endPos; in getTokens()
130 protected Comment processComment(int pos, int endPos, CommentStyle style) { in processComment() argument
131 char[] buf = reader.getRawCharacters(pos, endPos); in processComment()
133 pos, endPos, new AccessibleReader(fac, buf, buf.length), style); in processComment()
[all …]
/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/icu/icu4c/source/test/cintltst/
Dcrelativedateformattest.c44 int32_t endPos; member
497 int32_t beginPos, endPos; in TestNumericField() local
498 ucfpos_getIndexes(cfpos, &beginPos, &endPos, &status); in TestNumericField()
508 endPos != expectedAttr.endPos) { in TestNumericField()
511 expectedAttr.field, expectedAttr.beginPos, expectedAttr.endPos, in TestNumericField()
512 beginPos, endPos); in TestNumericField()
552 int32_t beginPos, endPos; in TestNumericField() local
553 ucfpos_getIndexes(cfpos, &beginPos, &endPos, &status); in TestNumericField()
558 ucfpos_getField(cfpos, &status), beginPos, endPos); in TestNumericField()
562 (beginPos != expectedAttr.beginPos || endPos != expectedAttr.endPos)) { in TestNumericField()
[all …]
/external/skia/modules/skparagraph/src/
DRun.cpp143 if (cluster->endPos() == cluster->startPos()) { in addSpacesAtTheEnd()
147 fShifts[cluster->endPos() - 1] += space; in addSpacesAtTheEnd()
160 for (size_t i = cluster->startPos(); i < cluster->endPos(); ++i) { in addSpacesEvenly()
164 if (this->size() == cluster->endPos()) { in addSpacesEvenly()
166 fShifts[cluster->endPos()] += shift; in addSpacesEvenly()
184 for (size_t i = cluster->startPos(); i < cluster->endPos(); ++i) { in shift()
187 if (this->size() == cluster->endPos()) { in shift()
189 fShifts[cluster->endPos()] += offset; in shift()
DTextWrapper.h28 fPos = up ? 0 : fCluster->endPos(); in move()
39 … : fStart(s, 0), fEnd(e, e->endPos()), fMetrics(forceStrut), fWidth(0), fWidthWithGhostSpaces(0) { in TextStretch()
58 inline size_t endPos() const { return fEnd.position(); } in endPos() function
59 bool endOfCluster() { return fEnd.position() == fEnd.cluster()->endPos(); } in endOfCluster()
81 fEnd = ClusterPos(cluster, cluster->endPos()); in extend()
DTextWrapper.cpp125 if (fClusters.endPos() - fClusters.startPos() > 1 || in lookAhead()
217 width += cluster->trimmedWidth(cluster->endPos()); in getClustersTrimmedWidth()
364 fEndLine.endPos(), in breakTextIntoLines()
404 while (cluster != end || cluster->endPos() < end->endPos()) { in breakTextIntoLines()
/external/fonttools/Lib/fontTools/ttLib/tables/
DG_P_K_G_.py25 endPos = (self.numGMAPs+1) * 4
26 GMAPoffsets.frombytes(newData[:endPos])
33 pos = endPos
34 endPos = pos + (self.numGlyplets + 1)*4
36 glyphletOffsets.frombytes(newData[pos:endPos])
/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/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.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()
1127 void populateDictionary(int startPos, int endPos, in populateDictionary() argument
1129 if ((endPos - startPos) <= 1) { in populateDictionary()
1138 int rangeEnd = endPos; in populateDictionary()
1191 if (endPos > fBreaks.peek()) { in populateDictionary()
1192 fBreaks.push(endPos); in populateDictionary()
/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.java390 int endPos = fText.getEndIndex(); in last() local
391 …boolean endShouldBeBoundary = isBoundary(endPos); // Has side effect of setting iterator posi… in last()
393 if (fPosition != endPos) { in last()
394 assert(fPosition == endPos); in last()
396 return endPos; in last()
1148 void populateDictionary(int startPos, int endPos, in populateDictionary() argument
1150 if ((endPos - startPos) <= 1) { in populateDictionary()
1159 int rangeEnd = endPos; in populateDictionary()
1212 if (endPos > fBreaks.peek()) { in populateDictionary()
1213 fBreaks.push(endPos); in populateDictionary()
/external/gptfdisk/
Dgptcl.cc578 size_t startPos = 0, endPos = 0; in GetString() local
586 endPos = argument.find(':', startPos); in GetString()
588 if (endPos == string::npos) { in GetString()
590 endPos = argument.length(); in GetString()
592 startPos = endPos + 1; in GetString()
596 retVal = argument.substr(startPos, endPos - startPos); in GetString()
/external/llvm-project/mlir/tools/mlir-tblgen/
DLLVMIRConversionGen.cpp63 size_t endPos = str.find_if_not([](char c) { return isAlnum(c) || c == '_'; }, in findNextVariable() local
65 if (endPos == std::string::npos) in findNextVariable()
66 endPos = str.size(); in findNextVariable()
68 return {startPos, endPos - startPos}; in findNextVariable()
/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/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/icu/icu4c/source/common/
Dbrkeng.h75 int32_t endPos,
192 int32_t endPos,
/external/icu/libicu/cts_headers/
Dbrkeng.h75 int32_t endPos,
192 int32_t endPos,
/external/fonttools/MetaTools/
DbuildTableList.py62 endPos = doc.find(end) variable
68 doc = doc[:beginPos] + intro + blockquote + "\n" + doc[endPos:]
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/
DRegularFile.java324 long endPos = pos + len; in write() local
325 if (endPos > size) { in write()
326 size = endPos; in write()
361 long endPos = pos + len; in write() local
362 if (endPos > size) { in write()
363 size = endPos; in write()
/external/pdfium/core/fpdftext/
Dcpdf_textpagefind.cpp40 size_t endPos) { in IsMatchWholeWord() argument
41 if (startPos > endPos) in IsMatchWholeWord()
45 size_t char_count = endPos - startPos + 1; in IsMatchWholeWord()
76 FXSYS_IsDecimalDigit(csPageText[endPos])) { in IsMatchWholeWord()

1234