Lines Matching refs:rl_line_buffer

97     rl_line_buffer[i + l] = rl_line_buffer[i];
98 strncpy (rl_line_buffer + rl_point, string, l);
115 rl_line_buffer[rl_end] = '\0';
147 rl_line_buffer[i] = rl_line_buffer[i + diff];
156 rl_line_buffer[rl_end] = '\0';
216 strcpy (rl_line_buffer, text);
299 point = _rl_find_next_mbchar (rl_line_buffer, rl_point, count, MB_FIND_NONZERO);
303 point = _rl_find_prev_mbchar (rl_line_buffer, rl_end, MB_FIND_NONZERO);
411 point = _rl_find_prev_mbchar (rl_line_buffer, point, MB_FIND_NONZERO);
477 c = _rl_char_value (rl_line_buffer, rl_point);
481 rl_point = MB_NEXTCHAR (rl_line_buffer, rl_point, 1, MB_FIND_NONZERO);
484 c = _rl_char_value (rl_line_buffer, rl_point);
487 rl_point = MB_NEXTCHAR (rl_line_buffer, rl_point, 1, MB_FIND_NONZERO);
494 rl_point = MB_NEXTCHAR (rl_line_buffer, rl_point, 1, MB_FIND_NONZERO);
497 c = _rl_char_value (rl_line_buffer, rl_point);
500 rl_point = MB_NEXTCHAR (rl_line_buffer, rl_point, 1, MB_FIND_NONZERO);
527 p = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_NONZERO);
528 c = _rl_char_value (rl_line_buffer, p);
535 p = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_NONZERO);
536 c = _rl_char_value (rl_line_buffer, p);
545 p = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_NONZERO);
546 c = _rl_char_value (rl_line_buffer, p);
569 _rl_move_cursor_relative (0, rl_line_buffer); /* XXX is this right */
1032 l += rl_character_len (rl_line_buffer[rl_point], rl_point); /* not exactly right */
1100 c = rl_line_buffer[--rl_point];
1112 rl_point = _rl_find_prev_mbchar (rl_line_buffer, rl_point, MB_FIND_NONZERO);
1149 xpoint = MB_NEXTCHAR (rl_line_buffer, rl_point, 1, MB_FIND_NONZERO);
1176 while (rl_point && whitespace (rl_line_buffer[rl_point - 1]))
1181 while (rl_point < rl_end && whitespace (rl_line_buffer[rl_point]))
1230 if (STREQN (rl_comment_text, rl_line_buffer, rl_comment_len))
1319 c = _rl_char_value (rl_line_buffer, start);
1321 next = MB_NEXTCHAR (rl_line_buffer, start, 1, MB_FIND_NONZERO);
1340 rl_line_buffer[start] = nc;
1345 m = mbrtowc (&wc, rl_line_buffer + start, end - start, &mps);
1347 wc = (wchar_t)rl_line_buffer[start];
1357 strncpy (rl_line_buffer + start, mb, mlen);
1463 rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_NONZERO);
1468 rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_NONZERO);
1474 dummy[i] = rl_line_buffer[rl_point + i];
1477 dummy[0] = rl_line_buffer[rl_point];
1483 rl_point = _rl_find_next_mbchar (rl_line_buffer, rl_point, count, MB_FIND_NONZERO);
1532 pos = (inc > 0) ? _rl_find_next_mbchar (rl_line_buffer, pos, 1, MB_FIND_ANY)
1533 : _rl_find_prev_mbchar (rl_line_buffer, pos, MB_FIND_ANY);
1540 if (_rl_is_mbchar_matched (rl_line_buffer, pos, rl_end, smbchar, len))
1542 if (rl_line_buffer[pos] == schar)
1547 rl_point = (dir == BTO) ? _rl_find_next_mbchar (rl_line_buffer, pos, 1, MB_FIND_ANY)
1550 rl_point = (dir == FTO) ? _rl_find_prev_mbchar (rl_line_buffer, pos, MB_FIND_ANY)
1559 while ((dir < 0) ? (pos = _rl_find_prev_mbchar (rl_line_buffer, pos, MB_FIND_ANY)) != prepos
1560 : (pos = _rl_find_next_mbchar (rl_line_buffer, pos, 1, MB_FIND_ANY)) != prepos);