Lines Matching refs:last
178 struct edit_history *h, *match = NULL, *last = NULL; in history_add() local
189 last = h; in history_add()
200 if (count >= HISTORY_MAX && last) { in history_add()
201 dl_list_del(&last->list); in history_add()
202 os_free(last); in history_add()
561 static enum edit_key_code esc_seq_to_key1_no(char last) in esc_seq_to_key1_no() argument
563 switch (last) { in esc_seq_to_key1_no()
578 static enum edit_key_code esc_seq_to_key1_shift(char last) in esc_seq_to_key1_shift() argument
580 switch (last) { in esc_seq_to_key1_shift()
595 static enum edit_key_code esc_seq_to_key1_alt(char last) in esc_seq_to_key1_alt() argument
597 switch (last) { in esc_seq_to_key1_alt()
612 static enum edit_key_code esc_seq_to_key1_alt_shift(char last) in esc_seq_to_key1_alt_shift() argument
614 switch (last) { in esc_seq_to_key1_alt_shift()
629 static enum edit_key_code esc_seq_to_key1_ctrl(char last) in esc_seq_to_key1_ctrl() argument
631 switch (last) { in esc_seq_to_key1_ctrl()
646 static enum edit_key_code esc_seq_to_key1(int param1, int param2, char last) in esc_seq_to_key1() argument
651 return esc_seq_to_key1_no(last); in esc_seq_to_key1()
654 return esc_seq_to_key1_shift(last); in esc_seq_to_key1()
657 return esc_seq_to_key1_alt(last); in esc_seq_to_key1()
660 return esc_seq_to_key1_alt_shift(last); in esc_seq_to_key1()
663 return esc_seq_to_key1_ctrl(last); in esc_seq_to_key1()
666 if (last != '~') in esc_seq_to_key1()
700 static enum edit_key_code esc_seq_to_key2(int param1, int param2, char last) in esc_seq_to_key2() argument
707 switch (last) { in esc_seq_to_key2()
728 char last, *pos; in esc_seq_to_key() local
732 last = '\0'; in esc_seq_to_key()
734 last = *pos; in esc_seq_to_key()
744 ret = esc_seq_to_key1(param1, param2, last); in esc_seq_to_key()
746 ret = esc_seq_to_key2(param1, param2, last); in esc_seq_to_key()