Lines Matching refs:CursorPosition
175 UINT32 CursorPosition);
225 UINT32 CursorPosition) in AcpiAcClearLine() argument
230 if (CursorPosition < EndOfLine) in AcpiAcClearLine()
234 for (i = 0; i < (EndOfLine - CursorPosition); i++) in AcpiAcClearLine()
277 UINT32 CursorPosition = 0; in AcpiOsGetLine() local
307 if (EndOfLine == CursorPosition) in AcpiOsGetLine()
313 CursorPosition++; in AcpiOsGetLine()
320 memmove (&Buffer[CursorPosition + 1], &Buffer[CursorPosition], in AcpiOsGetLine()
321 (EndOfLine - CursorPosition + 1)); in AcpiOsGetLine()
323 Buffer [CursorPosition] = (char) InputChar; in AcpiOsGetLine()
328 fprintf (stdout, "%s", &Buffer[CursorPosition]); in AcpiOsGetLine()
332 ACPI_BACKUP_CURSOR (i, EndOfLine - CursorPosition); in AcpiOsGetLine()
333 CursorPosition++; in AcpiOsGetLine()
344 if (EndOfLine == CursorPosition) /* Erase the final character */ in AcpiOsGetLine()
348 CursorPosition--; in AcpiOsGetLine()
352 if (!CursorPosition) /* Do not backup beyond start of line */ in AcpiOsGetLine()
359 memmove (&Buffer[CursorPosition - 1], &Buffer[CursorPosition], in AcpiOsGetLine()
360 (EndOfLine - CursorPosition + 1)); in AcpiOsGetLine()
365 fprintf (stdout, "%s ", &Buffer[CursorPosition - 1]); in AcpiOsGetLine()
369 ACPI_BACKUP_CURSOR (i, EndOfLine - CursorPosition + 1); in AcpiOsGetLine()
372 if (CursorPosition > 0) in AcpiOsGetLine()
374 CursorPosition--; in AcpiOsGetLine()
421 if (CursorPosition > 0) in AcpiOsGetLine()
424 CursorPosition--; in AcpiOsGetLine()
433 if (CursorPosition < EndOfLine) in AcpiOsGetLine()
437 ACPI_BACKUP_CURSOR (i, CursorPosition); in AcpiOsGetLine()
442 CursorPosition++; in AcpiOsGetLine()
443 ACPI_BACKUP_CURSOR (i, EndOfLine - CursorPosition); in AcpiOsGetLine()
473 AcpiAcClearLine (EndOfLine, CursorPosition); in AcpiOsGetLine()
476 EndOfLine = CursorPosition = strlen (Buffer); in AcpiOsGetLine()
500 AcpiAcClearLine (EndOfLine, CursorPosition); in AcpiOsGetLine()
501 EndOfLine = CursorPosition = 0; in AcpiOsGetLine()
519 AcpiAcClearLine (EndOfLine, CursorPosition); in AcpiOsGetLine()
522 EndOfLine = CursorPosition = strlen (Buffer); in AcpiOsGetLine()