Home | History | Annotate | Download | only in shared

Lines Matching full:bytes

44 	tmp = realloc(buf->bytes, sz);
47 buf->bytes = tmp;
54 buf->bytes = NULL;
61 free(buf->bytes);
66 char *bytes;
68 bytes = realloc(buf->bytes, buf->used + 1);
69 if (!bytes) {
70 free(buf->bytes);
73 bytes[buf->used] = '\0';
74 return bytes;
81 buf->bytes[buf->used] = '\0';
82 return buf->bytes;
89 buf->bytes[buf->used] = ch;
106 memcpy(buf->bytes + buf->used, str, len);