Home
last modified time | relevance | path

Searched refs:buffer_base (Results 1 – 1 of 1) sorted by relevance

/src/contrib/file/src/
H A Dvasprintf.c135 char * buffer_base; /* output buffer */ member
155 ptr = (char *)realloc((void *)(s->buffer_base), len); in realloc_buff()
157 s->buffer_base = NULL; in realloc_buff()
161 s->dest_string = ptr + (size_t)(s->dest_string - s->buffer_base); in realloc_buff()
162 s->buffer_base = ptr; in realloc_buff()
165 (s->buffer_base)[s->buffer_len - 1] = 1; /* overflow marker */ in realloc_buff()
214 assert((s->buffer_base)[s->buffer_len - 1] == 1); in print_it()
569 s->buffer_base = NULL; in core()
575 s->dest_string = s->buffer_base; in core()
590 (s->buffer_base)[s->maxlen] = '\0'; /* final NUL */ in core()
[all …]