Home
last modified time | relevance | path

Searched refs:c_kill (Results 1 – 7 of 7) sorted by relevance

/openbsd/lib/libedit/
H A Demacs.c100 el->el_chared.c_kill.last = kp; in em_delete_next_word()
119 if (el->el_chared.c_kill.last == el->el_chared.c_kill.buf) in em_yank()
123 (el->el_chared.c_kill.last - el->el_chared.c_kill.buf) >= in em_yank()
132 (int)(el->el_chared.c_kill.last - el->el_chared.c_kill.buf)); in em_yank()
134 for (kp = el->el_chared.c_kill.buf; kp < el->el_chared.c_kill.last; kp++) in em_yank()
155 kp = el->el_chared.c_kill.buf; in em_kill_line()
158 el->el_chared.c_kill.last = kp; in em_kill_line()
175 if (!el->el_chared.c_kill.mark) in em_kill_region()
180 kp = el->el_chared.c_kill.buf; in em_kill_region()
187 kp = el->el_chared.c_kill.buf; in em_kill_region()
[all …]
H A Dchared.c82 c_kill_t *k = &el->el_chared.c_kill; in cv_yank()
419 sizeof(*el->el_chared.c_kill.buf)); in ch_init()
420 if (el->el_chared.c_kill.buf == NULL) in ch_init()
423 el->el_chared.c_kill.last = el->el_chared.c_kill.buf; in ch_init()
511 oldkbuf = el->el_chared.c_kill.buf; in ch_enlargebufs()
513 el->el_chared.c_kill.buf = newbuffer; in ch_enlargebufs()
514 el->el_chared.c_kill.last = newbuffer + in ch_enlargebufs()
515 (el->el_chared.c_kill.last - oldkbuf); in ch_enlargebufs()
517 (el->el_chared.c_kill.mark - oldbuf); in ch_enlargebufs()
564 free(el->el_chared.c_kill.buf); in ch_end()
[all …]
H A Dcommon.c121 for (p = cp, kp = el->el_chared.c_kill.buf; p < el->el_line.cursor; p++) in ed_delete_prev_word()
123 el->el_chared.c_kill.last = kp; in ed_delete_prev_word()
192 kp = el->el_chared.c_kill.buf; in ed_kill_line()
195 el->el_chared.c_kill.last = kp; in ed_kill_line()
H A Dchared.h101 c_kill_t c_kill; member
H A Dvi.c95 c_kill_t *k = &el->el_chared.c_kill; in cv_paste()
625 kp = el->el_chared.c_kill.buf; in vi_kill_line_prev()
628 el->el_chared.c_kill.last = kp; in vi_kill_line_prev()
/openbsd/bin/ksh/
H A Dsh.h394 int c_kill(char **);
H A Dc_ksh.c1146 c_kill(char **wp) in c_kill() function
1413 {"+kill", c_kill},