Lines Matching refs:str
175 char *str; // pointer to allocated string
182 s->str[0] = 0;
189 s->str = malloc(s->size);
190 assert(s->str != NULL && "out of memory");
196 free(s->str);
197 s->str = NULL;
208 int ret = vsnprintf(s->str + len, s->size - len, fmt, ap);
216 s->str = realloc(s->str, s->size);
217 assert(s->str != NULL && "out of memory");
218 vsnprintf(s->str + len, s->size - len, fmt, ap);
480 fputs(g.out.str, stdout);