Lines Matching defs:content
62 char *content; /* the start of the buffer */
63 char *end; /* just past the end of the content */
69 /* Return the length of the sbuf content */
70 #define sbuf_length(sbuf) ((sbuf)->end - (sbuf)->content)
88 /* Free a struct page_info and its content */
150 sbuf->end = sbuf->content;
163 if ((sbuf->content = (char *)malloc(LINE_ALLOC)) == NULL)
165 sbuf->last = sbuf->content + LINE_ALLOC - 1;
188 size = sbuf->last + 1 - sbuf->content;
190 cntsize = sbuf->end - sbuf->content;
192 if ((new_content = realloc(sbuf->content, size)) == NULL) {
198 sbuf->content = new_content;
248 while (sbuf->end > sbuf->content && strchr(set, sbuf->end[-1]) != NULL)
260 return (sbuf->content);