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

Side by Side Diff: third_party/libxml/src/error.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
OLDNEW
1 /* 1 /*
2 * error.c: module displaying/handling XML parser errors 2 * error.c: module displaying/handling XML parser errors
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 <daniel@veillard.com> 6 * Daniel Veillard <daniel@veillard.com>
7 */ 7 */
8 8
9 #define IN_LIBXML 9 #define IN_LIBXML
10 #include "libxml.h" 10 #include "libxml.h"
11 11
12 #include <string.h> 12 #include <string.h>
13 #include <stdarg.h> 13 #include <stdarg.h>
14 #include <libxml/parser.h> 14 #include <libxml/parser.h>
15 #include <libxml/xmlerror.h> 15 #include <libxml/xmlerror.h>
16 #include <libxml/xmlmemory.h> 16 #include <libxml/xmlmemory.h>
17 #include <libxml/globals.h> 17 #include <libxml/globals.h>
18 18
19 void XMLCDECL xmlGenericErrorDefaultFunc (void *ctx ATTRIBUTE_UNUSED, 19 void XMLCDECL xmlGenericErrorDefaultFunc (void *ctx ATTRIBUTE_UNUSED,
20 const char *msg, 20 const char *msg,
21 » » » » ...); 21 » » » » ...) LIBXML_ATTR_FORMAT(2,3);
22 22
23 #define XML_GET_VAR_STR(msg, str) { \ 23 #define XML_GET_VAR_STR(msg, str) { \
24 int size, prev_size = -1; \ 24 int size, prev_size = -1; \
25 int chars; \ 25 int chars; \
26 char *larger; \ 26 char *larger; \
27 va_list ap; \ 27 va_list ap; \
28 \ 28 \
29 str = (char *) xmlMalloc(150); \ 29 str = (char *) xmlMalloc(150); \
30 if (str != NULL) { \ 30 if (str != NULL) { \
31 \ 31 \
(...skipping 957 matching lines...) Expand 10 before | Expand all | Expand 10 after
989 to->file = file; 989 to->file = file;
990 to->str1 = str1; 990 to->str1 = str1;
991 to->str2 = str2; 991 to->str2 = str2;
992 to->str3 = str3; 992 to->str3 = str3;
993 993
994 return 0; 994 return 0;
995 } 995 }
996 996
997 #define bottom_error 997 #define bottom_error
998 #include "elfgcchack.h" 998 #include "elfgcchack.h"
OLDNEW
« no previous file with comments | « third_party/libxml/src/entities.c ('k') | third_party/libxml/src/include/libxml/parserInternals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698