Home
last modified time | relevance | path

Searched refs:cursorPos (Results 1 – 20 of 20) sorted by relevance

/third_party/flatbuffers/kotlin/flatbuffers-kotlin/src/commonMain/kotlin/com/google/flatbuffers/kotlin/
DJSON.kt349 var cursorPos = readPos in readString() variable
353 while (limit - cursorPos >= 4) { in readString()
354 currentChar = fetch(cursorPos) in readString()
359 currentChar = fetch(cursorPos + 1) in readString()
361 cursorPos += 1 in readString()
365 currentChar = fetch(cursorPos + 2) in readString()
367 cursorPos += 2 in readString()
371 currentChar = fetch(cursorPos + 3) in readString()
373 cursorPos += 3 in readString()
377 cursorPos += 4 in readString()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Dstrrepl.cpp43 cursorPos = theCursorPos; in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
61 cursorPos = 0; in StringReplacer()
75 cursorPos = other.cursorPos; in StringReplacer()
121 newStart = cursorPos; in replace()
159 if (oOutput == cursorPos) { in replace()
189 if (oOutput == cursorPos) { in replace()
209 if (cursorPos < 0) { in replace()
211 int32_t n = cursorPos; in replace()
218 } else if (cursorPos > output.length()) { in replace()
220 int32_t n = cursorPos - output.length(); in replace()
[all …]
Dstrrepl.h50 int32_t cursorPos; variable
/third_party/skia/third_party/externals/icu/source/i18n/
Dstrrepl.cpp43 cursorPos = theCursorPos; in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
61 cursorPos = 0; in StringReplacer()
75 cursorPos = other.cursorPos; in StringReplacer()
121 newStart = cursorPos; in replace()
159 if (oOutput == cursorPos) { in replace()
189 if (oOutput == cursorPos) { in replace()
209 if (cursorPos < 0) { in replace()
211 int32_t n = cursorPos; in replace()
218 } else if (cursorPos > output.length()) { in replace()
220 int32_t n = cursorPos - output.length(); in replace()
[all …]
Dstrrepl.h50 int32_t cursorPos; variable
/third_party/icu/icu4c/source/i18n/
Dstrrepl.cpp43 cursorPos = theCursorPos; in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
61 cursorPos = 0; in StringReplacer()
75 cursorPos = other.cursorPos; in StringReplacer()
121 newStart = cursorPos; in replace()
159 if (oOutput == cursorPos) { in replace()
189 if (oOutput == cursorPos) { in replace()
209 if (cursorPos < 0) { in replace()
211 int32_t n = cursorPos; in replace()
218 } else if (cursorPos > output.length()) { in replace()
220 int32_t n = cursorPos - output.length(); in replace()
[all …]
Dstrrepl.h50 int32_t cursorPos; variable
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dstrrepl.cpp43 cursorPos = theCursorPos; in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
61 cursorPos = 0; in StringReplacer()
75 cursorPos = other.cursorPos; in StringReplacer()
121 newStart = cursorPos; in replace()
159 if (oOutput == cursorPos) { in replace()
189 if (oOutput == cursorPos) { in replace()
209 if (cursorPos < 0) { in replace()
211 int32_t n = cursorPos; in replace()
218 } else if (cursorPos > output.length()) { in replace()
220 int32_t n = cursorPos - output.length(); in replace()
[all …]
Dstrrepl.h50 int32_t cursorPos; variable
/third_party/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DStringReplacer.java36 private int cursorPos; field in StringReplacer
73 cursorPos = theCursorPos; in StringReplacer()
91 cursorPos = 0; in StringReplacer()
131 newStart = cursorPos; in replace()
169 if (oOutput == cursorPos) { in replace()
215 if (oOutput == cursorPos) { in replace()
235 if (cursorPos < 0) { in replace()
237 int n = cursorPos; in replace()
244 } else if (cursorPos > output.length()) { in replace()
246 int n = cursorPos - output.length(); in replace()
[all …]
DTransliterationRule.java157 int cursorPos, int cursorOffset, in TransliterationRule() argument
181 if (cursorPos < 0) { in TransliterationRule()
182 cursorPos = output.length(); in TransliterationRule()
183 } else if (cursorPos > output.length()) { in TransliterationRule()
221 this.output = new StringReplacer(output, cursorPos + cursorOffset, data); in TransliterationRule()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DStringReplacer.java37 private int cursorPos; field in StringReplacer
74 cursorPos = theCursorPos; in StringReplacer()
92 cursorPos = 0; in StringReplacer()
132 newStart = cursorPos; in replace()
170 if (oOutput == cursorPos) { in replace()
216 if (oOutput == cursorPos) { in replace()
236 if (cursorPos < 0) { in replace()
238 int n = cursorPos; in replace()
245 } else if (cursorPos > output.length()) { in replace()
247 int n = cursorPos - output.length(); in replace()
[all …]
DTransliterationRule.java158 int cursorPos, int cursorOffset, in TransliterationRule() argument
182 if (cursorPos < 0) { in TransliterationRule()
183 cursorPos = output.length(); in TransliterationRule()
184 } else if (cursorPos > output.length()) { in TransliterationRule()
222 this.output = new StringReplacer(output, cursorPos + cursorOffset, data); in TransliterationRule()
/third_party/node/lib/internal/repl/
Dutils.js158 const cursorPos = repl.line.length !== repl.cursor ?
161 return { displayPos, cursorPos };
165 const { cursorPos, displayPos } = getPreviewPos();
166 return cursorPos.rows === displayPos.rows &&
167 cursorPos.cols === displayPos.cols;
172 const { displayPos, cursorPos } = getPreviewPos();
173 const rows = displayPos.rows - cursorPos.rows + 1;
187 rows = pos.displayPos.rows - pos.cursorPos.rows;
200 cursorTo(repl.output, pos.cursorPos.cols);
269 const { cursorPos, displayPos } = getPreviewPos();
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/video/windows/
DSDL_windowsevents.c399 POINT cursorPos; in WIN_WindowProc() local
427 GetCursorPos(&cursorPos); in WIN_WindowProc()
428 ScreenToClient(hwnd, &cursorPos); in WIN_WindowProc()
429 SDL_SendMouseMotion(data->window, 0, 0, cursorPos.x, cursorPos.y); in WIN_WindowProc()
586 POINT cursorPos; in WIN_WindowProc() local
587 GetCursorPos(&cursorPos); in WIN_WindowProc()
588 ScreenToClient(hwnd, &cursorPos); in WIN_WindowProc()
589 SDL_SendMouseMotion(data->window, 0, 0, cursorPos.x, cursorPos.y); in WIN_WindowProc()
/third_party/flutter/glfw/src/
Dinput.c111 if (window->callbacks.cursorPos) in _glfwInputCursorPos()
112 window->callbacks.cursorPos((GLFWwindow*) window, xpos, ypos); in _glfwInputCursorPos()
507 _GLFW_SWAP_POINTERS(window->callbacks.cursorPos, cbfun); in glfwSetCursorPosCallback()
Dinternal.h383 GLFWcursorposfun cursorPos; member
/third_party/flutter/skia/third_party/externals/sdl/src/core/winrt/
DSDL_winrtapp_direct3d.cpp631 …Point cursorPos = WINRT_TransformCursorPosition(window, sender->PointerPosition, TransformToSDLWin… variable
632 SDL_SendMouseMotion(window, 0, 0, (int)cursorPos.X, (int)cursorPos.Y);
/third_party/node/lib/
Dreadline.js490 const cursorPos = this.getCursorPos();
512 cursorTo(this.output, cursorPos.cols);
514 const diff = lineRows - cursorPos.rows;
519 this.prevRows = cursorPos.rows;
/third_party/node/test/parallel/
Dtest-readline-interface.js63 const cursorPos = rli.getCursorPos();
64 assert.strictEqual(cursorPos.rows, rows);
65 assert.strictEqual(cursorPos.cols, cols);