Home | History | Annotate | Download | only in libxml2

Lines Matching defs:buffer

184  * Macro used to grow the current buffer.
188 buffer = (xmlChar **) \
189 xmlRealloc(buffer, buffer_size * sizeof(xmlChar*)); \
190 if (buffer == NULL) { \
198 xmlChar **buffer;
213 * allocate an translation buffer.
216 buffer = (xmlChar **) xmlMalloc(buffer_size * sizeof(xmlChar*));
217 if (buffer == NULL) {
221 out = buffer;
224 if (out - buffer > buffer_size - 10) {
225 int indx = out - buffer;
228 out = &buffer[indx];
235 return buffer;