Lines Matching refs:text_len
99 int text_len; /* message text length */ variable
633 text_len = 0;
709 while ((text_len + (int)MB_CUR_MAX + 1) >= text_size)
711 if ((n = wctomb(&text[text_len], c)) > 0)
712 text_len += n;
716 while ((text_len + 1) >= text_size)
718 text[text_len] = '\0';
719 ++text_len;
800 while ((text_len + (int)MB_CUR_MAX + 1) >= text_size)
802 if ((n = wctomb(&text[text_len], c)) > 0)
803 text_len += n;
807 while ((text_len + 1) >= text_size)
809 text[text_len] = '\0';
810 ++text_len;
842 text_len = 1;
843 while (text_len >= text_size)
847 while ((text_len + 1) >= text_size)
849 text[text_len] = c;
850 ++text_len;
854 while ((text_len + 1) >= text_size)
856 text[text_len] = NUL;
1004 insert_msg(no, text_len, text);