Lines Matching refs:CursorPosition
69 UINT32 CursorPosition);
107 * CursorPosition - Current cursor position within line
119 UINT32 CursorPosition)
124 if (CursorPosition < EndOfLine)
128 for (i = 0; i < (EndOfLine - CursorPosition); i++)
171 UINT32 CursorPosition = 0;
201 if (EndOfLine == CursorPosition)
207 CursorPosition++;
214 memmove (&Buffer[CursorPosition + 1], &Buffer[CursorPosition],
215 (EndOfLine - CursorPosition + 1));
217 Buffer [CursorPosition] = (char) InputChar;
222 fprintf (stdout, "%s", &Buffer[CursorPosition]);
226 ACPI_BACKUP_CURSOR (i, EndOfLine - CursorPosition);
227 CursorPosition++;
238 if (EndOfLine == CursorPosition) /* Erase the final character */
242 CursorPosition--;
246 if (!CursorPosition) /* Do not backup beyond start of line */
253 memmove (&Buffer[CursorPosition - 1], &Buffer[CursorPosition],
254 (EndOfLine - CursorPosition + 1));
259 fprintf (stdout, "%s ", &Buffer[CursorPosition - 1]);
263 ACPI_BACKUP_CURSOR (i, EndOfLine - CursorPosition + 1);
265 if (CursorPosition > 0)
267 CursorPosition--;
314 if (CursorPosition > 0)
317 CursorPosition--;
326 if (CursorPosition < EndOfLine)
330 ACPI_BACKUP_CURSOR (i, CursorPosition);
335 CursorPosition++;
336 ACPI_BACKUP_CURSOR (i, EndOfLine - CursorPosition);
366 AcpiAcClearLine (EndOfLine, CursorPosition);
369 EndOfLine = CursorPosition = strlen (Buffer);
393 AcpiAcClearLine (EndOfLine, CursorPosition);
394 EndOfLine = CursorPosition = 0;
412 AcpiAcClearLine (EndOfLine, CursorPosition);
415 EndOfLine = CursorPosition = strlen (Buffer);