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

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

Issue 2010803004: Roll libxml to bdec2183f34b37ee89ae1d330c6ad2bb4d76605f (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update README.chromium Created 4 years, 6 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/encoding.c ('k') | third_party/libxml/src/error.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 * entities.c : implementation for the XML entities handling 2 * entities.c : implementation for the XML entities handling
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 8
9 #define IN_LIBXML 9 #define IN_LIBXML
10 #include "libxml.h" 10 #include "libxml.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 __xmlSimpleError(XML_FROM_TREE, XML_ERR_NO_MEMORY, NULL, NULL, extra); 76 __xmlSimpleError(XML_FROM_TREE, XML_ERR_NO_MEMORY, NULL, NULL, extra);
77 } 77 }
78 78
79 /** 79 /**
80 * xmlEntitiesErr: 80 * xmlEntitiesErr:
81 * @code: the error code 81 * @code: the error code
82 * @msg: the message 82 * @msg: the message
83 * 83 *
84 * Handle an out of memory condition 84 * Handle an out of memory condition
85 */ 85 */
86 static void 86 static void LIBXML_ATTR_FORMAT(2,0)
87 xmlEntitiesErr(xmlParserErrors code, const char *msg) 87 xmlEntitiesErr(xmlParserErrors code, const char *msg)
88 { 88 {
89 __xmlSimpleError(XML_FROM_TREE, code, NULL, msg, NULL); 89 __xmlSimpleError(XML_FROM_TREE, code, NULL, msg, NULL);
90 } 90 }
91 91
92 /* 92 /*
93 * xmlFreeEntity : clean-up an entity record. 93 * xmlFreeEntity : clean-up an entity record.
94 */ 94 */
95 static void 95 static void
96 xmlFreeEntity(xmlEntityPtr entity) 96 xmlFreeEntity(xmlEntityPtr entity)
(...skipping 999 matching lines...) Expand 10 before | Expand all | Expand 10 after
1096 * 1096 *
1097 * This will dump the content of the entity table as an XML DTD definition 1097 * This will dump the content of the entity table as an XML DTD definition
1098 */ 1098 */
1099 void 1099 void
1100 xmlDumpEntitiesTable(xmlBufferPtr buf, xmlEntitiesTablePtr table) { 1100 xmlDumpEntitiesTable(xmlBufferPtr buf, xmlEntitiesTablePtr table) {
1101 xmlHashScan(table, (xmlHashScanner)xmlDumpEntityDeclScan, buf); 1101 xmlHashScan(table, (xmlHashScanner)xmlDumpEntityDeclScan, buf);
1102 } 1102 }
1103 #endif /* LIBXML_OUTPUT_ENABLED */ 1103 #endif /* LIBXML_OUTPUT_ENABLED */
1104 #define bottom_entities 1104 #define bottom_entities
1105 #include "elfgcchack.h" 1105 #include "elfgcchack.h"
OLDNEW
« no previous file with comments | « third_party/libxml/src/encoding.c ('k') | third_party/libxml/src/error.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698