/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | CodedInputStreamReader.java | 293 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 …]
|
/third_party/flatbuffers/lua/flatbuffers/ |
D | binaryarray.lua | 37 function mt:Slice(startPos, endPos) 39 endPos = endPos or self.size 52 while startPos < endPos do 67 return self.str:sub(startPos+1, endPos)
|
/third_party/flutter/skia/modules/skparagraph/src/ |
D | TextWrapper.h | 28 fPos = up ? 0 : fCluster->endPos(); in move() 39 … : fStart(s, 0), fEnd(e, e->endPos()), fMetrics(forceStrut), fWidth(0), fWidthWithGhostSpaces(0) { in TextStretch() 54 inline size_t endPos() const { return fEnd.position(); } in endPos() function 56 bool endOfCluster() { return fEnd.position() == fEnd.cluster()->endPos(); } in endOfCluster() 73 fEnd = ClusterPos(cluster, cluster->endPos()); in extend() 95 if (fBreak.position() == fBreak.cluster()->endPos()) { in nextBreakPos() 102 fBreak.setPosition(fBreak.cluster()->endPos()); in nextBreakPos()
|
D | Run.cpp | 160 if (cluster->endPos() == cluster->startPos()) { in addSpacesAtTheEnd() 164 fOffsets[cluster->endPos() - 1] += space; in addSpacesAtTheEnd() 177 for (size_t i = cluster->startPos(); i < cluster->endPos(); ++i) { in addSpacesEvenly() 181 if (this->size() == cluster->endPos()) { in addSpacesEvenly() 183 fOffsets[cluster->endPos()] += shift; in addSpacesEvenly() 200 for (size_t i = cluster->startPos(); i < cluster->endPos(); ++i) { in shift() 203 if (this->size() == cluster->endPos()) { in shift() 205 fOffsets[cluster->endPos()] += offset; in shift()
|
/third_party/icu/icu4c/source/test/cintltst/ |
D | crelativedateformattest.c | 44 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 …]
|
/third_party/node/deps/icu-small/source/common/ |
D | lstmbe.cpp | 476 virtual void vectorize(UText *text, int32_t startPos, int32_t endPos, 509 virtual void vectorize(UText *text, int32_t startPos, int32_t endPos, 519 UText *text, int32_t startPos, int32_t endPos, in vectorize() argument 522 if (offsets.ensureCapacity(endPos - startPos, status) && in vectorize() 523 indices.ensureCapacity(endPos - startPos, status)) { in vectorize() 529 (current = (int32_t)utext_getNativeIndex(text)) < endPos) { in vectorize() 548 virtual void vectorize(UText *text, int32_t startPos, int32_t endPos, 560 UText *text, int32_t startPos, int32_t endPos, in vectorize() argument 564 if (!offsets.ensureCapacity(endPos - startPos, status) || in vectorize() 565 !indices.ensureCapacity(endPos - startPos, status)) { in vectorize() [all …]
|
D | brkeng.h | 76 int32_t endPos, 195 int32_t endPos,
|
/third_party/skia/modules/skparagraph/src/ |
D | Run.cpp | 148 if (cluster->endPos() == cluster->startPos()) { in addSpacesAtTheEnd() 152 fShifts[cluster->endPos() - 1] += space; in addSpacesAtTheEnd() 165 for (size_t i = cluster->startPos(); i < cluster->endPos(); ++i) { in addSpacesEvenly() 169 if (this->size() == cluster->endPos()) { in addSpacesEvenly() 171 fShifts[cluster->endPos()] += shift; in addSpacesEvenly() 189 for (size_t i = cluster->startPos(); i < cluster->endPos(); ++i) { in shift() 192 if (this->size() == cluster->endPos()) { in shift() 194 fShifts[cluster->endPos()] += offset; in shift()
|
D | TextWrapper.h | 28 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()
|
D | TextWrapper.cpp | 125 if (fClusters.endPos() - fClusters.startPos() > 1 || in lookAhead() 217 width += cluster->trimmedWidth(cluster->endPos()); in getClustersTrimmedWidth() 378 fEndLine.endPos(), in breakTextIntoLines() 418 while (cluster != end || cluster->endPos() < end->endPos()) { in breakTextIntoLines()
|
/third_party/mindspore/third_party/securec/src/ |
D | strncpy_s.c | 39 const char *endPos = strSrc; in CheckSrcCountRange() local 42 while (*(endPos) != '\0' && tmpDestMax > 0 && tmpCount > 0) { in CheckSrcCountRange() 43 ++endPos; in CheckSrcCountRange()
|
/third_party/bounds_checking_function/src/ |
D | strncpy_s.c | 35 const char *endPos = strSrc; in CheckSrcCountRange() local 38 while (*(endPos) != '\0' && tmpDestMax > 0 && tmpCount > 0) { in CheckSrcCountRange() 39 ++endPos; in CheckSrcCountRange()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | CjkBreakEngine.java | 85 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()
|
D | UnhandledBreakEngine.java | 46 public int findBreaks(CharacterIterator text, int startPos, int endPos, in findBreaks() argument 51 while (text.getIndex() < endPos && uniset.contains(c)) { in findBreaks()
|
D | RuleBasedBreakIterator.java | 374 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() 1175 void populateDictionary(int startPos, int endPos, in populateDictionary() argument 1177 if ((endPos - startPos) <= 1) { in populateDictionary() 1186 int rangeEnd = endPos; in populateDictionary() 1238 if (endPos > fBreaks.peek()) { in populateDictionary() 1239 fBreaks.push(endPos); in populateDictionary()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CjkBreakEngine.java | 84 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()
|
D | UnhandledBreakEngine.java | 45 public int findBreaks(CharacterIterator text, int startPos, int endPos, in findBreaks() argument 50 while (text.getIndex() < endPos && uniset.contains(c)) { in findBreaks()
|
D | RuleBasedBreakIterator.java | 390 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()
|
/third_party/gptfdisk/ |
D | gptcl.cc | 585 size_t startPos = 0, endPos = 0; in GetString() local 593 endPos = argument.find(':', startPos); in GetString() 595 if (endPos == string::npos) { in GetString() 597 endPos = argument.length(); in GetString() 599 startPos = endPos + 1; in GetString() 603 retVal = argument.substr(startPos, endPos - startPos); in GetString()
|
/third_party/icu/icu4c/source/common/ |
D | brkeng.h | 75 int32_t endPos, 192 int32_t endPos,
|
D | rbbi_cache.cpp | 120 void RuleBasedBreakIterator::DictionaryCache::populateDictionary(int32_t startPos, int32_t endPos, in populateDictionary() argument 122 if ((endPos - startPos) <= 1) { in populateDictionary() 131 int32_t rangeEnd = endPos; in populateDictionary() 188 if (endPos > fBreaks.peeki()) { in populateDictionary() 189 fBreaks.push(endPos, status); in populateDictionary()
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | brkeng.h | 75 int32_t endPos, 192 int32_t endPos,
|
D | rbbi_cache.cpp | 120 void RuleBasedBreakIterator::DictionaryCache::populateDictionary(int32_t startPos, int32_t endPos, in populateDictionary() argument 122 if ((endPos - startPos) <= 1) { in populateDictionary() 131 int32_t rangeEnd = endPos; in populateDictionary() 188 if (endPos > fBreaks.peeki()) { in populateDictionary() 189 fBreaks.push(endPos, status); in populateDictionary()
|
/third_party/flutter/skia/third_party/externals/icu/source/common/ |
D | brkeng.h | 75 int32_t endPos, 192 int32_t endPos,
|
/third_party/typescript/src/services/formatting/ |
D | formattingScanner.ts | 28 …ner<T>(text: string, languageVariant: LanguageVariant, startPos: number, endPos: number, cb: (scan… 76 while (pos < endPos) { 195 while (scanner.getStartPos() < endPos) { 275 return startPos < endPos && current !== SyntaxKind.EndOfFileToken && !isTrivia(current);
|