Home
last modified time | relevance | path

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

12

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DFormattedValueFieldPositionIteratorImpl.java104 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/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DFormattedValueFieldPositionIteratorImpl.java106 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/libwebsockets/lib/plat/windows/
Dwindows-file.c108 LARGE_INTEGER newPos; in _lws_plat_file_seek_cur() local
109 if (!SetFilePointerEx((HANDLE)fop_fd->filesystem_priv, zero, &newPos, FILE_CURRENT)) in _lws_plat_file_seek_cur()
114 fop_fd->pos = newPos.QuadPart; in _lws_plat_file_seek_cur()
116 return newPos.QuadPart; in _lws_plat_file_seek_cur()
/third_party/node/lib/internal/repl/
Dutils.js191 const newPos = repl._getDisplayPos(totalLine);
194 if (newPos.rows === 0 || (pos && pos.displayPos.rows === newPos.rows)) {
277 const newPos = repl._getDisplayPos(totalLine);
278 const rows = newPos.rows - cursorPos.rows - (newPos.cols === 0 ? 1 : 0);
/third_party/skia/third_party/externals/zlib/contrib/minizip/
Diowin32.c246 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/zlib/contrib/minizip/
Diowin32.c241 static BOOL MySetFilePointerEx(HANDLE hFile, LARGE_INTEGER pos, LARGE_INTEGER *newPos, DWORD dwMov… in MySetFilePointerEx() argument
244 return SetFilePointerEx(hFile, pos, newPos, dwMoveMethod); in MySetFilePointerEx()
252 if ((newPos != NULL) && (fOk)) in MySetFilePointerEx()
254 newPos->LowPart = dwNewPos; in MySetFilePointerEx()
255 newPos->HighPart = lHigh; in MySetFilePointerEx()
/third_party/boost/tools/boost_install/test/iostreams/zlib-1.2.11/contrib/minizip/
Diowin32.c241 static BOOL MySetFilePointerEx(HANDLE hFile, LARGE_INTEGER pos, LARGE_INTEGER *newPos, DWORD dwMov… in MySetFilePointerEx() argument
244 return SetFilePointerEx(hFile, pos, newPos, dwMoveMethod); in MySetFilePointerEx()
252 if ((newPos != NULL) && (fOk)) in MySetFilePointerEx()
254 newPos->LowPart = dwNewPos; in MySetFilePointerEx()
255 newPos->HighPart = lHigh; in MySetFilePointerEx()
/third_party/flutter/skia/third_party/externals/zlib/contrib/minizip/
Diowin32.c248 static BOOL MySetFilePointerEx(HANDLE hFile, LARGE_INTEGER pos, LARGE_INTEGER *newPos, DWORD dwMov… in MySetFilePointerEx() argument
251 return SetFilePointerEx(hFile, pos, newPos, dwMoveMethod); in MySetFilePointerEx()
259 if ((newPos != NULL) && (fOk)) in MySetFilePointerEx()
261 newPos->LowPart = dwNewPos; in MySetFilePointerEx()
262 newPos->HighPart = lHigh; in MySetFilePointerEx()
/third_party/boost/libs/beast/test/extern/zlib-1.2.11/contrib/minizip/
Diowin32.c241 static BOOL MySetFilePointerEx(HANDLE hFile, LARGE_INTEGER pos, LARGE_INTEGER *newPos, DWORD dwMov… in MySetFilePointerEx() argument
244 return SetFilePointerEx(hFile, pos, newPos, dwMoveMethod); in MySetFilePointerEx()
252 if ((newPos != NULL) && (fOk)) in MySetFilePointerEx()
254 newPos->LowPart = dwNewPos; in MySetFilePointerEx()
255 newPos->HighPart = lHigh; in MySetFilePointerEx()
/third_party/skia/modules/svg/src/
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/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DTimeUnitFormat.java255 int newPos = -1; in parseObject() local
298 newPos = pos.getIndex(); in parseObject()
328 pos.setIndex(newPos); in parseObject()
DSimpleDateFormat.java2868 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/
DTimeUnitFormat.java253 int newPos = -1; in parseObject() local
296 newPos = pos.getIndex(); in parseObject()
326 pos.setIndex(newPos); in parseObject()
DSimpleDateFormat.java2887 int newPos = originalPos; in matchLiteral() local
2888 while (newPos < tlen) { in matchLiteral()
2889 char ich = text.charAt(newPos); in matchLiteral()
2893 ++newPos; in matchLiteral()
2895 complete[0] = newPos > originalPos; in matchLiteral()
2896 pos = newPos; in matchLiteral()
/third_party/protobuf/csharp/src/Google.Protobuf/
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/
DSkSVGAttributeParser.h84 bool matchStringToken(const char* token, const char** newPos = nullptr) const;
/third_party/icu/icu4c/source/i18n/
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/icu/source/i18n/
Dtmutfmt.cpp181 int32_t newPos = -1; in parseObject() local
246 newPos = pos.getIndex(); in parseObject()
280 pos.setIndex(newPos); in parseObject()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
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/
Dtmutfmt.cpp181 int32_t newPos = -1; in parseObject() local
246 newPos = pos.getIndex(); in parseObject()
280 pos.setIndex(newPos); in parseObject()
/third_party/node/lib/
Dreadline.js898 const newPos = this.getCursorPos();
901 if (oldPos.rows === newPos.rows) {
902 const diffWidth = newPos.cols - oldPos.cols;
/third_party/typescript/src/services/
Dservices.ts2183 …const newPos = text.substring(pos, textRange.end).search(`(${openMultilineRegex})|(${closeMultilin… constant
2187 …: isCommenting || !isTextWhiteSpaceLike(text, pos, newPos === -1 ? textRange.end : pos + newPos); …
2188 pos = newPos === -1 ? textRange.end + 1 : pos + newPos + closeMultiline.length;
/third_party/flutter/skia/platform_tools/android/apps/arcore/src/main/cpp/
Dhello_ar_application.cc724 glm::vec4 newPos(out_hit_raw[4], out_hit_raw[5], out_hit_raw[6], 1); in OnTouchTranslate() local
726 glm::vec3 movement = glm::vec3(newPos - oldPos); in OnTouchTranslate()
/third_party/flutter/flutter/packages/flutter/test/material/
Dtext_field_test.dart2754 Offset newPos = tester.getTopLeft(find.text('Second'));
2755 expect(newPos.dy, lessThan(pos.dy));
2759 pos = newPos;
2760 newPos = tester.getTopLeft(find.text('Second'));
2761 expect(newPos.dy, lessThan(pos.dy));
/third_party/typescript/lib/
Dtsserver.js150231 …var newPos = text.substring(pos, textRange.end).search("(" + openMultilineRegex + ")|(" + closeMul…
150234 …: isCommenting || !ts.isTextWhiteSpaceLike(text, pos, newPos === -1 ? textRange.end : pos + newPos
150235 pos = newPos === -1 ? textRange.end + 1 : pos + newPos + closeMultiline.length;

12