Lines Matching refs:pos
82 u16 *pos = buf; in printx() local
86 if (c || pos != buf || !i || i < prec) { in printx()
90 *pos++ = c; in printx()
93 *pos = 0; in printx()
152 efi_uintn_t pos = 0; in efi_input() local
175 if (pos) { in efi_input()
176 buffer[pos--] = 0; in efi_input()
191 pos < buffer_size - 1) { in efi_input()
193 buffer[pos++] = key.unicode_char; in efi_input()
194 buffer[pos] = 0; in efi_input()
206 static u16 *skip_whitespace(u16 *pos) in skip_whitespace() argument
208 for (; *pos && *pos <= 0x20; ++pos) in skip_whitespace()
210 return pos; in skip_whitespace()
428 u16 *pos; in efi_main() local
435 pos = skip_whitespace(command); in efi_main()
436 if (starts_with(pos, L"exit")) in efi_main()
438 else if (starts_with(pos, L"load")) in efi_main()
440 else if (starts_with(pos, L"save ")) in efi_main()
441 do_save(pos + 5); in efi_main()