Lines Matching refs:input_buf
29 static char input_buf[8];
230 if (*((unsigned short *) input_buf) != ('\e' | ('[' << 8)))
240 if (three_code_table[i].key == input_buf[2])
242 input_buf[0] = three_code_table[i].ascii;
244 grub_memmove (input_buf + 1, input_buf + 3, npending - 1);
252 short key = *((short *) (input_buf + 2));
259 input_buf[0] = four_code_table[i].ascii;
261 grub_memmove (input_buf + 1, input_buf + 4, npending - 1);
272 for (i = 0; i < 10000 && npending < sizeof (input_buf); i++)
279 input_buf[npending++] = c;
304 c = input_buf[0];
306 grub_memmove (input_buf, input_buf + 1, npending);
316 return input_buf[0];