Lines Matching refs:buffer
534 * Prints the given namespace to the output buffer from C14N context.
567 * buffer from C14N context as follows
681 * buffer from C14N context as follows
876 * Prints the given attribute to the output buffer from C14N context.
926 * buffer from C14N context as follows
936 xmlChar *buffer;
955 buffer = xmlC11NNormalizeAttr(value);
957 if (buffer != NULL) {
958 xmlOutputBufferWriteString(ctx->buf, (const char *) buffer);
959 xmlFree(buffer);
1099 * buffer from C14N context as follows
1550 xmlChar *buffer;
1552 buffer = xmlC11NNormalizeText(cur->content);
1553 if (buffer != NULL) {
1555 (const char *) buffer);
1556 xmlFree(buffer);
1586 xmlChar *buffer;
1591 buffer = xmlC11NNormalizePI(cur->content);
1592 if (buffer != NULL) {
1594 (const char *) buffer);
1595 xmlFree(buffer);
1633 xmlChar *buffer;
1636 buffer = xmlC11NNormalizeComment(cur->content);
1637 if (buffer != NULL) {
1639 (const char *) buffer);
1640 xmlFree(buffer);
1764 * @buf: the output buffer to store canonical XML; this
1765 * buffer MUST have encoder==NULL because C14N requires
1786 * Validate the encoding output buffer encoding
1790 "xmlC14NNewCtx: output buffer encoder != NULL but C14N requires UTF8 output\n");
1856 * @buf: the output buffer to store canonical XML; this
1857 * buffer MUST have encoder==NULL because C14N requires
1860 * Dumps the canonized image of given XML document into the provided buffer.
1894 * Validate the encoding output buffer encoding
1898 "xmlC14NExecute: output buffer encoder != NULL but C14N requires UTF8 output\n");
1931 * Flush buffer to get number of bytes written
1935 xmlC14NErrInternal("flushing output buffer");
1958 * @buf: the output buffer to store canonical XML; this
1959 * buffer MUST have encoder==NULL because C14N requires
1962 * Dumps the canonized image of given XML document into the provided buffer.
2019 * create memory buffer with UTF8 (default) encoding
2023 xmlC14NErrMemory("creating output buffer");
2028 * canonize document and write to buffer
2033 xmlC14NErrInternal("saving doc to output buffer");
2038 ret = xmlBufUse(buf->buffer);
2040 *doc_txt_ptr = xmlStrndup(xmlBufContent(buf->buffer), ret);
2092 * save the content to a temp buffer, use default UTF8 encoding.
2101 * canonize document and write to buffer
2106 xmlC14NErrInternal("cannicanize document to buffer");
2121 * Macro used to grow the current buffer.
2125 buffer = (xmlChar *) \
2126 xmlRealloc(buffer, buffer_size * sizeof(xmlChar)); \
2127 if (buffer == NULL) { \
2128 xmlC14NErrMemory("growing buffer"); \
2150 xmlChar *buffer = NULL;
2158 * allocate an translation buffer.
2161 buffer = (xmlChar *) xmlMallocAtomic(buffer_size * sizeof(xmlChar));
2162 if (buffer == NULL) {
2163 xmlC14NErrMemory("allocating buffer");
2166 out = buffer;
2169 if ((out - buffer) > (buffer_size - 10)) {
2170 int indx = out - buffer;
2173 out = &buffer[indx];
2232 return (buffer);