Lines Matching refs:mp
2494 msgchunk_T *mp; in store_sb_text() local
2505 mp = alloc(sizeof(msgchunk_T) + (s - *sb_str)); in store_sb_text()
2506 if (mp != NULL) in store_sb_text()
2508 mp->sb_eol = finish; in store_sb_text()
2509 mp->sb_msg_col = *sb_col; in store_sb_text()
2510 mp->sb_attr = attr; in store_sb_text()
2511 vim_strncpy(mp->sb_text, *sb_str, s - *sb_str); in store_sb_text()
2515 last_msgchunk = mp; in store_sb_text()
2516 mp->sb_prev = NULL; in store_sb_text()
2520 mp->sb_prev = last_msgchunk; in store_sb_text()
2521 last_msgchunk->sb_next = mp; in store_sb_text()
2522 last_msgchunk = mp; in store_sb_text()
2524 mp->sb_next = NULL; in store_sb_text()
2570 msgchunk_T *mp; in clear_sb_text() local
2584 mp = (*lastp)->sb_prev; in clear_sb_text()
2586 *lastp = mp; in clear_sb_text()
2596 msgchunk_T *mp; in show_sb_text() local
2600 mp = msg_sb_start(last_msgchunk); in show_sb_text()
2601 if (mp == NULL || mp->sb_prev == NULL) in show_sb_text()
2616 msgchunk_T *mp = mps; in msg_sb_start() local
2618 while (mp != NULL && mp->sb_prev != NULL && !mp->sb_prev->sb_eol) in msg_sb_start()
2619 mp = mp->sb_prev; in msg_sb_start()
2620 return mp; in msg_sb_start()
2640 msgchunk_T *mp = smp; in disp_sb_line() local
2646 msg_col = mp->sb_msg_col; in disp_sb_line()
2647 p = mp->sb_text; in disp_sb_line()
2650 msg_puts_display(p, -1, mp->sb_attr, TRUE); in disp_sb_line()
2651 if (mp->sb_eol || mp->sb_next == NULL) in disp_sb_line()
2653 mp = mp->sb_next; in disp_sb_line()
2655 return mp->sb_next; in disp_sb_line()
2814 msgchunk_T *mp; in do_more_prompt() local
2972 mp = msg_sb_start(last_msgchunk); in do_more_prompt()
2974 mp = msg_sb_start(mp_last->sb_prev); in do_more_prompt()
2976 mp = NULL; in do_more_prompt()
2979 for (i = 0; i < Rows - 2 && mp != NULL && mp->sb_prev != NULL; in do_more_prompt()
2981 mp = msg_sb_start(mp->sb_prev); in do_more_prompt()
2983 if (mp != NULL && mp->sb_prev != NULL) in do_more_prompt()
2988 if (mp == NULL || mp->sb_prev == NULL) in do_more_prompt()
2990 mp = msg_sb_start(mp->sb_prev); in do_more_prompt()
3001 (void)disp_sb_line(0, mp); in do_more_prompt()
3007 for (i = 0; mp != NULL && i < Rows - 1; ++i) in do_more_prompt()
3009 mp = disp_sb_line(i, mp); in do_more_prompt()