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

Side by Side Diff: third_party/libxml/src/debugXML.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/configure.ac ('k') | third_party/libxml/src/encoding.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 * debugXML.c : This is a set of routines used for debugging the tree 2 * debugXML.c : This is a set of routines used for debugging the tree
3 * produced by the XML parser. 3 * produced by the XML parser.
4 * 4 *
5 * See Copyright for the status of this software. 5 * See Copyright for the status of this software.
6 * 6 *
7 * Daniel Veillard <daniel@veillard.com> 7 * Daniel Veillard <daniel@veillard.com>
8 */ 8 */
9 9
10 #define IN_LIBXML 10 #define IN_LIBXML
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 static void 157 static void
158 xmlDebugErr(xmlDebugCtxtPtr ctxt, int error, const char *msg) 158 xmlDebugErr(xmlDebugCtxtPtr ctxt, int error, const char *msg)
159 { 159 {
160 ctxt->errors++; 160 ctxt->errors++;
161 __xmlRaiseError(NULL, NULL, NULL, 161 __xmlRaiseError(NULL, NULL, NULL,
162 NULL, ctxt->node, XML_FROM_CHECK, 162 NULL, ctxt->node, XML_FROM_CHECK,
163 error, XML_ERR_ERROR, NULL, 0, 163 error, XML_ERR_ERROR, NULL, 0,
164 NULL, NULL, NULL, 0, 0, 164 NULL, NULL, NULL, 0, 0,
165 "%s", msg); 165 "%s", msg);
166 } 166 }
167 static void 167 static void LIBXML_ATTR_FORMAT(3,0)
168 xmlDebugErr2(xmlDebugCtxtPtr ctxt, int error, const char *msg, int extra) 168 xmlDebugErr2(xmlDebugCtxtPtr ctxt, int error, const char *msg, int extra)
169 { 169 {
170 ctxt->errors++; 170 ctxt->errors++;
171 __xmlRaiseError(NULL, NULL, NULL, 171 __xmlRaiseError(NULL, NULL, NULL,
172 NULL, ctxt->node, XML_FROM_CHECK, 172 NULL, ctxt->node, XML_FROM_CHECK,
173 error, XML_ERR_ERROR, NULL, 0, 173 error, XML_ERR_ERROR, NULL, 0,
174 NULL, NULL, NULL, 0, 0, 174 NULL, NULL, NULL, 0, 0,
175 msg, extra); 175 msg, extra);
176 } 176 }
177 static void 177 static void LIBXML_ATTR_FORMAT(3,0)
178 xmlDebugErr3(xmlDebugCtxtPtr ctxt, int error, const char *msg, const char *extra ) 178 xmlDebugErr3(xmlDebugCtxtPtr ctxt, int error, const char *msg, const char *extra )
179 { 179 {
180 ctxt->errors++; 180 ctxt->errors++;
181 __xmlRaiseError(NULL, NULL, NULL, 181 __xmlRaiseError(NULL, NULL, NULL,
182 NULL, ctxt->node, XML_FROM_CHECK, 182 NULL, ctxt->node, XML_FROM_CHECK,
183 error, XML_ERR_ERROR, NULL, 0, 183 error, XML_ERR_ERROR, NULL, 0,
184 NULL, NULL, NULL, 0, 0, 184 NULL, NULL, NULL, 0, 0,
185 msg, extra); 185 msg, extra);
186 } 186 }
187 187
(...skipping 3231 matching lines...) Expand 10 before | Expand all | Expand 10 after
3419 xmlFree(ctxt->filename); 3419 xmlFree(ctxt->filename);
3420 xmlFree(ctxt); 3420 xmlFree(ctxt);
3421 if (cmdline != NULL) 3421 if (cmdline != NULL)
3422 free(cmdline); /* not xmlFree here ! */ 3422 free(cmdline); /* not xmlFree here ! */
3423 } 3423 }
3424 3424
3425 #endif /* LIBXML_XPATH_ENABLED */ 3425 #endif /* LIBXML_XPATH_ENABLED */
3426 #define bottom_debugXML 3426 #define bottom_debugXML
3427 #include "elfgcchack.h" 3427 #include "elfgcchack.h"
3428 #endif /* LIBXML_DEBUG_ENABLED */ 3428 #endif /* LIBXML_DEBUG_ENABLED */
OLDNEW
« no previous file with comments | « third_party/libxml/src/configure.ac ('k') | third_party/libxml/src/encoding.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698