Searched refs:pos (Results 1 – 6 of 6) sorted by relevance
73 const char *pos; in fn_tilde_expand() local80 pos = strchr(txt + 1, '/'); in fn_tilde_expand()81 if (pos == NULL) { in fn_tilde_expand()87 len = (size_t)(pos - txt + 1); in fn_tilde_expand()333 const char *pos; in fn_filename_completion_function() local337 pos = strrchr(text, '/'); in fn_filename_completion_function()338 if (pos) { in fn_filename_completion_function()340 pos++; in fn_filename_completion_function()341 nptr = el_realloc(filename, (strlen(pos) + 1) * in fn_filename_completion_function()349 (void)strcpy(filename, pos); in fn_filename_completion_function()[all …]
77 r->pos = r->buf; in cv_undo()347 if (el->el_chared.c_vcmd.pos == 0) in cv_delfini()351 size = (int)(el->el_line.cursor - el->el_chared.c_vcmd.pos); in cv_delfini()354 el->el_line.cursor = el->el_chared.c_vcmd.pos; in cv_delfini()420 el->el_chared.c_redo.pos = el->el_chared.c_redo.buf; in ch_init()425 el->el_chared.c_vcmd.pos = el->el_line.buffer; in ch_init()465 el->el_chared.c_vcmd.pos = el->el_line.buffer; in ch_reset()554 el->el_chared.c_redo.pos = newbuffer + in ch_enlargebufs()555 (el->el_chared.c_redo.pos - el->el_chared.c_redo.buf); in ch_enlargebufs()583 el->el_chared.c_redo.pos = NULL; in ch_end()
531 el->el_chared.c_redo.pos < el->el_chared.c_redo.lim) { in el_wgets()533 el->el_chared.c_redo.pos != el->el_chared.c_redo.buf in el_wgets()534 && iswprint(el->el_chared.c_redo.pos[-1])) in el_wgets()535 el->el_chared.c_redo.pos--; in el_wgets()537 *el->el_chared.c_redo.pos++ = ch; in el_wgets()
80 el->el_chared.c_vcmd.pos = 0; in cv_action()90 el->el_chared.c_vcmd.pos = el->el_line.cursor; in cv_action()555 el->el_chared.c_vcmd.pos = 0; in vi_command_mode()1147 el->el_chared.c_vcmd.pos = el->el_line.cursor; in vi_redo()1149 if (r->pos != r->buf) { in vi_redo()1150 if (r->pos + 1 > r->lim) in vi_redo()1152 r->pos = r->lim - 1; in vi_redo()1153 r->pos[0] = 0; in vi_redo()
1740 history_set_pos(int pos) in history_set_pos() argument1742 if (pos >= history_length || pos < 0) in history_set_pos()1745 history_offset = pos; in history_set_pos()1834 int direction __attribute__((__unused__)), int pos) in history_search_pos() argument1839 off = (pos > 0) ? pos : -pos; in history_search_pos()1840 pos = (pos > 0) ? 1 : -1; in history_search_pos()1852 if (history(h, &ev, (pos < 0) ? H_PREV : H_NEXT) != 0) in history_search_pos()1858 pos < 0 ? H_NEXT_EVENT : H_PREV_EVENT, curr_num); in history_search_pos()
67 wchar_t *pos; member80 wchar_t *pos; member