/third_party/node/deps/npm/node_modules/diff/lib/diff/ |
D | base.js | 69 var newPos = this.extractCommon(bestPath[0], newString, oldString, 0); 71 if (bestPath[0].oldPos + 1 >= oldLen && newPos + 1 >= newLen) { 141 newPos = self.extractCommon(basePath, newString, oldString, diagonalPath); 143 if (basePath.oldPos + 1 >= oldLen && newPos + 1 >= newLen) { 153 if (newPos + 1 >= newLen) { 225 newPos = oldPos - diagonalPath, variable in Diff 228 …while (newPos + 1 < newLen && oldPos + 1 < oldLen && this.equals(newString[newPos + 1], oldString[… 229 newPos++; 242 return newPos; 309 newPos = 0, [all …]
|
/third_party/musl/libc-test/src/functional/ |
D | fopencookie_test.c | 77 off_t newPos; in mseek() local 79 newPos = *off; in mseek() 81 newPos = *off + c->pos; in mseek() 83 newPos = *off + c->len; in mseek() 87 if (newPos < 0) { in mseek() 91 c->pos = newPos; in mseek() 92 *off = newPos; in mseek()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
D | FormattedValueFieldPositionIteratorImpl.java | 106 FieldPosition newPos = new FieldPosition(new FieldWithValue(spanField, firstIndex)); in addOverlapSpans() local 107 newPos.setBeginIndex(s1a); in addOverlapSpans() 108 newPos.setEndIndex(s1b); in addOverlapSpans() 109 attributes.add(newPos); in addOverlapSpans() 110 newPos = new FieldPosition(new FieldWithValue(spanField, 1 - firstIndex)); in addOverlapSpans() 111 newPos.setBeginIndex(s2a); in addOverlapSpans() 112 newPos.setEndIndex(s2b); in addOverlapSpans() 113 attributes.add(newPos); in addOverlapSpans()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | FormattedValueFieldPositionIteratorImpl.java | 104 FieldPosition newPos = new FieldPosition(new FieldWithValue(spanField, firstIndex)); in addOverlapSpans() local 105 newPos.setBeginIndex(s1a); in addOverlapSpans() 106 newPos.setEndIndex(s1b); in addOverlapSpans() 107 attributes.add(newPos); in addOverlapSpans() 108 newPos = new FieldPosition(new FieldWithValue(spanField, 1 - firstIndex)); in addOverlapSpans() 109 newPos.setBeginIndex(s2a); in addOverlapSpans() 110 newPos.setEndIndex(s2b); in addOverlapSpans() 111 attributes.add(newPos); in addOverlapSpans()
|
/third_party/lzma/CPP/7zip/Common/ |
D | LimitedStreams.cpp | 45 UInt64 newPos = _startOffset + _virtPos; in Z7_COM7F_IMF() local 46 if (newPos != _physPos) in Z7_COM7F_IMF() 48 _physPos = newPos; in Z7_COM7F_IMF() 109 UInt64 newPos = StartOffset + ((UInt64)phyBlock << BlockSizeLog) + offsetInBlock; in Z7_COM7F_IMF() local 110 if (newPos != _physPos) in Z7_COM7F_IMF() 112 _physPos = newPos; in Z7_COM7F_IMF() 317 UInt64 newPos = _startOffset + _virtPos; in Z7_COM7F_IMF() local 318 UInt64 offsetInCache = newPos - _cachePhyPos; in Z7_COM7F_IMF() 320 if (newPos >= _cachePhyPos && in Z7_COM7F_IMF() 329 if (newPos != _physPos) in Z7_COM7F_IMF() [all …]
|
/third_party/libwebsockets/lib/plat/windows/ |
D | windows-file.c | 107 LARGE_INTEGER newPos; in _lws_plat_file_seek_cur() local 108 if (!SetFilePointerEx((HANDLE)fop_fd->filesystem_priv, zero, &newPos, FILE_CURRENT)) in _lws_plat_file_seek_cur() 113 fop_fd->pos = newPos.QuadPart; in _lws_plat_file_seek_cur() 115 return newPos.QuadPart; in _lws_plat_file_seek_cur()
|
/third_party/node/deps/npm/node_modules/diff/lib/ |
D | index.es6.js | 49 var newPos = this.extractCommon(bestPath[0], newString, oldString, 0); 51 if (bestPath[0].oldPos + 1 >= oldLen && newPos + 1 >= newLen) { 117 newPos = self.extractCommon(basePath, newString, oldString, diagonalPath); 119 if (basePath.oldPos + 1 >= oldLen && newPos + 1 >= newLen) { 129 if (newPos + 1 >= newLen) { 193 newPos = oldPos - diagonalPath, variable in Diff 196 …while (newPos + 1 < newLen && oldPos + 1 < oldLen && this.equals(newString[newPos + 1], oldString[… 197 newPos++; 210 return newPos; 257 newPos = 0, [all …]
|
D | index.mjs | 49 var newPos = this.extractCommon(bestPath[0], newString, oldString, 0); 51 if (bestPath[0].oldPos + 1 >= oldLen && newPos + 1 >= newLen) { 93 // what newPos will be after we do an insertion: 117 newPos = self.extractCommon(basePath, newString, oldString, diagonalPath); 119 if (basePath.oldPos + 1 >= oldLen && newPos + 1 >= newLen) { 129 if (newPos + 1 >= newLen) { 193 newPos = oldPos - diagonalPath, variable in Diff 196 …while (newPos + 1 < newLen && oldPos + 1 < oldLen && this.equals(newString[newPos + 1], oldString[… 197 newPos++; 210 return newPos; [all …]
|
/third_party/node/deps/npm/node_modules/diff/dist/ |
D | diff.js | 55 var newPos = this.extractCommon(bestPath[0], newString, oldString, 0); 57 if (bestPath[0].oldPos + 1 >= oldLen && newPos + 1 >= newLen) { 123 newPos = self.extractCommon(basePath, newString, oldString, diagonalPath); 125 if (basePath.oldPos + 1 >= oldLen && newPos + 1 >= newLen) { 135 if (newPos + 1 >= newLen) { 199 newPos = oldPos - diagonalPath, 202 …while (newPos + 1 < newLen && oldPos + 1 < oldLen && this.equals(newString[newPos + 1], oldString[… 203 newPos++; 216 return newPos; 263 newPos = 0, [all …]
|
/third_party/node/lib/internal/repl/ |
D | utils.js | 194 const newPos = repl._getDisplayPos(totalLine); 197 if (newPos.rows === 0 || (pos && pos.displayPos.rows === newPos.rows)) { 280 const newPos = repl._getDisplayPos(totalLine); 281 const rows = newPos.rows - cursorPos.rows - (newPos.cols === 0 ? 1 : 0);
|
/third_party/zlib/contrib/minizip/ |
D | iowin32.c | 246 static BOOL MySetFilePointerEx(HANDLE hFile, LARGE_INTEGER pos, LARGE_INTEGER *newPos, DWORD dwMov… in MySetFilePointerEx() argument 249 return SetFilePointerEx(hFile, pos, newPos, dwMoveMethod); in MySetFilePointerEx() 257 if ((newPos != NULL) && (fOk)) in MySetFilePointerEx() 259 newPos->LowPart = dwNewPos; in MySetFilePointerEx() 260 newPos->HighPart = lHigh; in MySetFilePointerEx()
|
/third_party/skia/third_party/externals/zlib/contrib/minizip/ |
D | iowin32.c | 246 static BOOL MySetFilePointerEx(HANDLE hFile, LARGE_INTEGER pos, LARGE_INTEGER *newPos, DWORD dwMov… in MySetFilePointerEx() argument 249 return SetFilePointerEx(hFile, pos, newPos, dwMoveMethod); in MySetFilePointerEx() 257 if ((newPos != NULL) && (fOk)) in MySetFilePointerEx() 259 newPos->LowPart = dwNewPos; in MySetFilePointerEx() 260 newPos->HighPart = lHigh; in MySetFilePointerEx()
|
/third_party/node/deps/v8/third_party/zlib/contrib/minizip/ |
D | iowin32.c | 246 static BOOL MySetFilePointerEx(HANDLE hFile, LARGE_INTEGER pos, LARGE_INTEGER *newPos, DWORD dwMov… in MySetFilePointerEx() argument 249 return SetFilePointerEx(hFile, pos, newPos, dwMoveMethod); in MySetFilePointerEx() 257 if ((newPos != NULL) && (fOk)) in MySetFilePointerEx() 259 newPos->LowPart = dwNewPos; in MySetFilePointerEx() 260 newPos->HighPart = lHigh; in MySetFilePointerEx()
|
/third_party/skia/modules/svg/src/ |
D | SkSVGAttributeParser.cpp | 48 bool SkSVGAttributeParser::matchStringToken(const char* token, const char** newPos) const { in matchStringToken() 60 if (newPos) { in matchStringToken() 61 *newPos = c; in matchStringToken() 86 const char* newPos; in parseExpectedStringToken() local 87 if (!matchStringToken(expected, &newPos)) { in parseExpectedStringToken() 91 fCurPos = newPos; in parseExpectedStringToken()
|
/third_party/node/lib/internal/readline/ |
D | interface.js | 645 const newPos = this.getCursorPos(); 647 if (oldPos.rows < newPos.rows) { 1051 const newPos = this.getCursorPos(); 1054 if (oldPos.rows === newPos.rows) { 1055 const diffWidth = newPos.cols - oldPos.cols;
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | TimeUnitFormat.java | 255 int newPos = -1; in parseObject() local 298 newPos = pos.getIndex(); in parseObject() 328 pos.setIndex(newPos); in parseObject()
|
D | SimpleDateFormat.java | 2868 int newPos = originalPos; in matchLiteral() local 2869 while (newPos < tlen) { in matchLiteral() 2870 char ich = text.charAt(newPos); in matchLiteral() 2874 ++newPos; in matchLiteral() 2876 complete[0] = newPos > originalPos; in matchLiteral() 2877 pos = newPos; in matchLiteral()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | TimeUnitFormat.java | 253 int newPos = -1; in parseObject() local 296 newPos = pos.getIndex(); in parseObject() 326 pos.setIndex(newPos); in parseObject()
|
D | SimpleDateFormat.java | 2889 int newPos = originalPos; in matchLiteral() local 2890 while (newPos < tlen) { in matchLiteral() 2891 char ich = text.charAt(newPos); in matchLiteral() 2895 ++newPos; in matchLiteral() 2897 complete[0] = newPos > originalPos; in matchLiteral() 2898 pos = newPos; in matchLiteral()
|
/third_party/protobuf/csharp/src/Google.Protobuf/ |
D | ParsingPrimitives.cs | 501 int newPos = 0; in ReadRawBytesSlow() 504 Buffer.BlockCopy(chunk, 0, bytes, newPos, chunk.Length); in ReadRawBytesSlow() 505 newPos += chunk.Length; in ReadRawBytesSlow()
|
/third_party/skia/modules/svg/include/ |
D | SkSVGAttributeParser.h | 84 bool matchStringToken(const char* token, const char** newPos = nullptr) const;
|
/third_party/node/deps/icu-small/source/i18n/ |
D | tmutfmt.cpp | 185 int32_t newPos = -1; in parseObject() local 250 newPos = pos.getIndex(); in parseObject() 284 pos.setIndex(newPos); in parseObject()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | tmutfmt.cpp | 181 int32_t newPos = -1; in parseObject() local 246 newPos = pos.getIndex(); in parseObject() 280 pos.setIndex(newPos); in parseObject()
|
/third_party/icu/icu4c/source/i18n/ |
D | tmutfmt.cpp | 181 int32_t newPos = -1; in parseObject() local 246 newPos = pos.getIndex(); in parseObject() 280 pos.setIndex(newPos); in parseObject()
|
/third_party/typescript/src/services/ |
D | services.ts | 2320 …const newPos = text.substring(pos, textRange.end).search(`(${openMultilineRegex})|(${closeMultilin… constant 2324 …: isCommenting || !isTextWhiteSpaceLike(text, pos, newPos === -1 ? textRange.end : pos + newPos); … 2325 pos = newPos === -1 ? textRange.end + 1 : pos + newPos + closeMultiline.length;
|