Home
last modified time | relevance | path

Searched refs:newPos (Results 1 - 25 of 28) sorted by relevance

12

/third_party/node/deps/npm/node_modules/diff/lib/diff/
H A Dbase.js69 var newPos = this.extractCommon(bestPath[0], newString, oldString, 0);
71 if (bestPath[0].oldPos + 1 >= oldLen && newPos + 1 >= newLen) {
117 // what newPos will be after we do an insertion:
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,
228 while (newPos + 1 < newLen && oldPos + 1 < oldLen && this.equals(newString[newPos + 1], oldString[oldPos + 1])) {
229 newPos
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DFormattedValueFieldPositionIteratorImpl.java104 FieldPosition newPos = new FieldPosition(new FieldWithValue(spanField, firstIndex)); in addOverlapSpans()
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/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A DFormattedValueFieldPositionIteratorImpl.java106 FieldPosition newPos = new FieldPosition(new FieldWithValue(spanField, firstIndex)); in addOverlapSpans()
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/musl/libc-test/src/functional/
H A Dfopencookie_test.c77 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/lzma/CPP/7zip/Common/
H A DLimitedStreams.cpp45 UInt64 newPos = _startOffset + _virtPos; in Read() local
46 if (newPos != _physPos) in Read()
48 _physPos = newPos; in Read()
109 UInt64 newPos = StartOffset + ((UInt64)phyBlock << BlockSizeLog) + offsetInBlock; in Read() local
110 if (newPos != _physPos) in Read()
112 _physPos = newPos; in Read()
317 UInt64 newPos = _startOffset + _virtPos; in Read() local
318 UInt64 offsetInCache = newPos - _cachePhyPos; in Read()
320 if (newPos >= _cachePhyPos && in Read()
329 if (newPos ! in Read()
[all...]
/third_party/libwebsockets/lib/plat/windows/
H A Dwindows-file.c107 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/v8/third_party/zlib/contrib/minizip/
H A Diowin32.c246 static BOOL MySetFilePointerEx(HANDLE hFile, LARGE_INTEGER pos, LARGE_INTEGER *newPos, DWORD dwMoveMethod) 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/
H A Diowin32.c246 static BOOL MySetFilePointerEx(HANDLE hFile, LARGE_INTEGER pos, LARGE_INTEGER *newPos, DWORD dwMoveMethod) 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/zlib/contrib/minizip/
H A Diowin32.c238 static BOOL MySetFilePointerEx(HANDLE hFile, LARGE_INTEGER pos, LARGE_INTEGER *newPos, DWORD dwMoveMethod) in MySetFilePointerEx() argument
241 return SetFilePointerEx(hFile, pos, newPos, dwMoveMethod); in MySetFilePointerEx()
249 if ((newPos != NULL) && (fOk)) in MySetFilePointerEx()
251 newPos->LowPart = dwNewPos; in MySetFilePointerEx()
252 newPos->HighPart = lHigh; in MySetFilePointerEx()
/third_party/node/lib/internal/repl/
H A Dutils.js194 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/skia/modules/svg/src/
H A DSkSVGAttributeParser.cpp48 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/deps/npm/node_modules/diff/lib/
H A Dindex.es6.js49 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,
196 while (newPos + 1 < newLen && oldPos + 1 < oldLen && this.equals(newString[newPos + 1], oldString[oldPos + 1])) {
197 newPos
[all...]
/third_party/node/lib/internal/readline/
H A Dinterface.js645 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/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DTimeUnitFormat.java253 int newPos = -1; in parseObject()
296 newPos = pos.getIndex(); in parseObject()
326 pos.setIndex(newPos); in parseObject()
H A DSimpleDateFormat.java2889 int newPos = originalPos; in matchLiteral()
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/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DTimeUnitFormat.java255 int newPos = -1; in parseObject()
298 newPos = pos.getIndex(); in parseObject()
328 pos.setIndex(newPos); in parseObject()
H A DSimpleDateFormat.java2868 int newPos = originalPos; in matchLiteral()
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/protobuf/csharp/src/Google.Protobuf/
H A DParsingPrimitives.cs501 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/
H A DSkSVGAttributeParser.h84 bool matchStringToken(const char* token, const char** newPos = nullptr) const;
/third_party/icu/icu4c/source/i18n/
H A Dtmutfmt.cpp181 int32_t newPos = -1; in parseObject() local
246 newPos = pos.getIndex(); in parseObject()
280 pos.setIndex(newPos); in parseObject()
/third_party/node/deps/icu-small/source/i18n/
H A Dtmutfmt.cpp185 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/
H A Dtmutfmt.cpp181 int32_t newPos = -1; in parseObject() local
246 newPos = pos.getIndex(); in parseObject()
280 pos.setIndex(newPos); in parseObject()
/third_party/skia/third_party/externals/sfntly/java/lib/
H A Dicu4j-4_8_1_1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ibm/icu/ com/ibm/icu/impl/ ...
/third_party/node/test/fixtures/snapshot/
H A Dtypescript.js[all...]
/third_party/typescript/lib/
H A Dtsserverlibrary.js[all...]

Completed in 79 milliseconds

12