Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(455)

Side by Side Diff: third_party/libxml/src/xmlIO.c

Issue 2792873002: Roll libxml to e905f08123e4a6e7731549e6f09dadff4cab65bd (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/libxml/src/timsort.h ('k') | third_party/libxml/src/xpath.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * xmlIO.c : implementation of the I/O interfaces used by the parser 2 * xmlIO.c : implementation of the I/O interfaces used by the parser
3 * 3 *
4 * See Copyright for the status of this software. 4 * See Copyright for the status of this software.
5 * 5 *
6 * daniel@veillard.com 6 * daniel@veillard.com
7 * 7 *
8 * 14 Nov 2000 ht - for VMS, truncated name of long functions to under 32 char 8 * 14 Nov 2000 ht - for VMS, truncated name of long functions to under 32 char
9 */ 9 */
10 10
(...skipping 1656 matching lines...) Expand 10 before | Expand all | Expand 10 after
1667 buff->size = new_size; 1667 buff->size = new_size;
1668 buff->zbuff = tmp_ptr; 1668 buff->zbuff = tmp_ptr;
1669 buff->zctrl.next_out = tmp_ptr + cur_used; 1669 buff->zctrl.next_out = tmp_ptr + cur_used;
1670 buff->zctrl.avail_out = new_size - cur_used; 1670 buff->zctrl.avail_out = new_size - cur_used;
1671 } 1671 }
1672 else { 1672 else {
1673 xmlChar msg[500]; 1673 xmlChar msg[500];
1674 xmlStrPrintf(msg, 500, 1674 xmlStrPrintf(msg, 500,
1675 "xmlZMemBuffExtend: %s %lu bytes.\n", 1675 "xmlZMemBuffExtend: %s %lu bytes.\n",
1676 "Allocation failure extending output buffer to", 1676 "Allocation failure extending output buffer to",
1677 » » new_size ); 1677 » » (unsigned long) new_size );
1678 xmlIOErr(XML_IO_WRITE, (const char *) msg); 1678 xmlIOErr(XML_IO_WRITE, (const char *) msg);
1679 } 1679 }
1680 1680
1681 return ( rc ); 1681 return ( rc );
1682 } 1682 }
1683 1683
1684 /** 1684 /**
1685 * xmlZMemBuffAppend 1685 * xmlZMemBuffAppend
1686 * @buff: Buffer used to compress and consolidate data 1686 * @buff: Buffer used to compress and consolidate data
1687 * @src: Uncompressed source content to append to buffer 1687 * @src: Uncompressed source content to append to buffer
(...skipping 2489 matching lines...) Expand 10 before | Expand all | Expand 10 after
4177 } 4177 }
4178 } 4178 }
4179 input = xmlDefaultExternalEntityLoader((const char *) resource, ID, ctxt); 4179 input = xmlDefaultExternalEntityLoader((const char *) resource, ID, ctxt);
4180 if (resource != (xmlChar *) URL) 4180 if (resource != (xmlChar *) URL)
4181 xmlFree(resource); 4181 xmlFree(resource);
4182 return(input); 4182 return(input);
4183 } 4183 }
4184 4184
4185 #define bottom_xmlIO 4185 #define bottom_xmlIO
4186 #include "elfgcchack.h" 4186 #include "elfgcchack.h"
OLDNEW
« no previous file with comments | « third_party/libxml/src/timsort.h ('k') | third_party/libxml/src/xpath.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698