Lines Matching defs:text
208 sbuf_append(struct sbuf *sbuf, const char *text, int length)
212 (void) memcpy(sbuf->end, text, length);
221 sbuf_append_str(struct sbuf *sbuf, char *text)
224 sbuf_append(sbuf, text, strlen(text));
231 sbuf_append_edited(struct sbuf *sbuf, char *text, edited_copy copy)
235 if ((length = strlen(text)) > 0) {
237 sbuf->end = copy(text, sbuf->end, length);
479 add_nroff(char *text)
482 sbuf_append_edited(whatis_proto, text, de_nroff_copy);
599 * Collect a list of comma-separated names from the text.
602 collect_names(stringlist *names, char *text)
607 arg = text;
608 text = strchr(text, ',');
609 if (text != NULL)
610 *text++ = '\0';
612 if (text == NULL)
614 if (*text == ' ')
615 text++;