Lines Matching refs:text
99 int text_len; /* message text length */
100 int text_size; /* the size of allocated text memory */
101 char *text; /* messsge text */
143 "message text\n"
282 new_msg(no, len, text)
285 char *text;
298 MEMCPY(p->s, text, len);
304 insert_msg(no, len, text)
307 char *text;
316 current_msg = new_msg(no, len, text);
324 current_msg = new_msg(no, len, text);
331 current_msg = new_msg(no, len, text);
358 current_msg = new_msg(no, len, text);
571 * Extend the memory in 1000 byte chunks whenever runs out of text space.
577 if (text)
578 text = REALLOC(text, text_size);
580 text = MALLOC(text_size);
581 if (text == NULL) {
599 text[i] = c;
608 text[i] = NUL;
610 for (s = text; *s == '0'; ++s)
711 if ((n = wctomb(&text[text_len], c)) > 0)
718 text[text_len] = '\0';
802 if ((n = wctomb(&text[text_len], c)) > 0)
809 text[text_len] = '\0';
845 text[0] = DOLLAR;
849 text[text_len] = c;
856 text[text_len] = NUL;
858 if (strcmp(text, "$set") == 0) {
883 } else if (strcmp(text, "$delset") == 0) {
908 } else if (strcmp(text, "$quote") == 0) {
947 FPRINTF(stderr, MSG(19), msgfname, lineno, text);
1004 insert_msg(no, text_len, text);
1045 char *text;
1047 /* compute number of sets, number of messages, the total text size */
1078 text = (char *) (msg + nmsgs);
1093 MEMCPY(text, msgp->s, msgp->msg_len);
1094 text += msgp->msg_len;