Lines Matching refs:nfd

1468   register char *ofd, *ols, *oe, *nfd, *nls, *ne;
1613 nfd = new + nd;
1666 nfd = new + temp;
1679 nfd = new + nmax;
1686 for (ofd = old, nfd = new;
1694 nfd = new + new_offset;
1701 for (ofd = old, nfd = new;
1702 (ofd - old < omax) && *ofd && (*ofd == *nfd);
1703 ofd++, nfd++)
1710 for (nd = nfd - new, ne = nfd; nd < nmax && *ne; ne++, nd++);
1713 if (ofd == oe && nfd == ne)
1730 new_offset = _rl_find_prev_mbchar (new, nfd - new, MB_FIND_ANY);
1732 nfd = new + new_offset;
1747 while ((ols > ofd) && (nls > nfd))
1773 while ((ols > ofd) && (nls > nfd) && (*ols == *nls))
1855 nd = nfd - new; /* nd, od are buffer indexes */
1889 old ofd/nfd and the prompt length (or line length) has changed.
1897 nfd = new + lendiff; /* number of characters we output above */
1902 temp = ne - nfd;
1905 _rl_output_some_chars (nfd, temp);
1955 lendiff = (nls - nfd) - (ols - ofd);
1957 col_lendiff = _rl_col_width (new, nfd - new, nls - new, 1) - _rl_col_width (old, ofd - old, ols - old, 1);
1984 temp = ne - nfd;
1986 col_temp = _rl_col_width (new, nfd - new, ne - new, 1);
1991 bytes_to_insert = nls - nfd;
2007 _rl_output_some_chars (nfd, temp);
2008 _rl_last_c_pos += col_temp; /* XXX - was _rl_col_width (nfd, 0, temp, 1); */
2009 /* If nfd begins before any invisible characters in the prompt,
2012 if (current_line == 0 && displaying_prompt_first_line && wrap_offset && ((nfd - new) <= prompt_last_invisible))
2039 ((nfd - new) <= prompt_last_invisible) &&
2044 _rl_output_some_chars (nfd, bytes_to_insert);
2046 _rl_last_c_pos += _rl_col_width (nfd, 0, bytes_to_insert, 1);
2054 _rl_output_some_chars (nfd, temp);
2060 _rl_output_some_chars (nfd, temp);
2062 /* If nfd begins before the last invisible character in the
2065 if ((mb_cur_max > 1 && rl_byte_oriented == 0) && current_line == 0 && displaying_prompt_first_line && wrap_offset && ((nfd - new) <= prompt_last_invisible))
2075 /* If nfd begins before the last invisible character in the
2078 if ((mb_cur_max > 1 && rl_byte_oriented == 0) && current_line == 0 && displaying_prompt_first_line && wrap_offset && ((nfd - new) <= prompt_last_invisible))
2088 _rl_output_some_chars (nfd, temp);
2102 ((nfd-new) < (prompt_last_invisible-(current_line*_rl_screenwidth+prompt_invis_chars_first_line))))
2137 /* If nfd begins at the prompt, or before the invisible
2141 _rl_output_some_chars (nfd, bytes_to_insert);
2144 _rl_last_c_pos += _rl_col_width (nfd, 0, bytes_to_insert, 1);
2148 ((nfd - new) <= prompt_last_invisible))
2163 nfd[bytes_to_insert-1] != ' ')
2185 /* If nfd begins at the prompt, or before the invisible
2189 _rl_output_some_chars (nfd, temp);
2196 ((nfd - new) <= prompt_last_invisible))