Lines Matching refs:Buffer
80 /* Make space in the buffer for adding at least 16 more bytes. */
82 Buf_Expand(Buffer *buf)
88 /* Add the bytes to the buffer. */
90 Buf_AddBytes(Buffer *buf, const char *bytes, size_t bytes_len)
107 /* Add the bytes between start and end to the buffer. */
109 Buf_AddRange(Buffer *buf, const char *start, const char *end)
114 /* Add the string to the buffer. */
116 Buf_AddStr(Buffer *buf, const char *str)
121 /* Add the number to the buffer. */
123 Buf_AddInt(Buffer *buf, int n)
132 Buf_AddFlag(Buffer *buf, bool flag, const char *name)
141 /* Initialize a buffer. */
143 Buf_InitSize(Buffer *buf, size_t cap)
152 Buf_Init(Buffer *buf)
158 * Free the data from the buffer.
159 * Leave the buffer itself in an indeterminate state.
162 Buf_Done(Buffer *buf)
174 * Return the data from the buffer.
175 * Leave the buffer itself in an indeterminate state.
178 Buf_DoneData(Buffer *buf)