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

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

Issue 1977213002: Roll libxml to 8effcb578e0590cc01bbcab0f9dccefc6bdbcdbd (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update README.chromium. Created 4 years, 7 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 * HTMLparser.c : an HTML 4.0 non-verifying parser 2 * HTMLparser.c : an HTML 4.0 non-verifying 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 8
9 #define IN_LIBXML 9 #define IN_LIBXML
10 #include "libxml.h" 10 #include "libxml.h"
(...skipping 6519 matching lines...) Expand 10 before | Expand all | Expand 10 after
6530 } 6530 }
6531 /************************************************************************ 6531 /************************************************************************
6532 * * 6532 * *
6533 * New set (2.6.0) of simpler and more flexible APIs * 6533 * New set (2.6.0) of simpler and more flexible APIs *
6534 * * 6534 * *
6535 ************************************************************************/ 6535 ************************************************************************/
6536 /** 6536 /**
6537 * DICT_FREE: 6537 * DICT_FREE:
6538 * @str: a string 6538 * @str: a string
6539 * 6539 *
6540 * Free a string if it is not owned by the "dict" dictionnary in the 6540 * Free a string if it is not owned by the "dict" dictionary in the
6541 * current scope 6541 * current scope
6542 */ 6542 */
6543 #define DICT_FREE(str) \ 6543 #define DICT_FREE(str) \
6544 if ((str) && ((!dict) || \ 6544 if ((str) && ((!dict) || \
6545 (xmlDictOwns(dict, (const xmlChar *)(str)) == 0))) \ 6545 (xmlDictOwns(dict, (const xmlChar *)(str)) == 0))) \
6546 xmlFree((char *)(str)); 6546 xmlFree((char *)(str));
6547 6547
6548 /** 6548 /**
6549 * htmlCtxtReset: 6549 * htmlCtxtReset:
6550 * @ctxt: an HTML parser context 6550 * @ctxt: an HTML parser context
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after
7112 xmlFreeParserInputBuffer(input); 7112 xmlFreeParserInputBuffer(input);
7113 return (NULL); 7113 return (NULL);
7114 } 7114 }
7115 inputPush(ctxt, stream); 7115 inputPush(ctxt, stream);
7116 return (htmlDoRead(ctxt, URL, encoding, options, 1)); 7116 return (htmlDoRead(ctxt, URL, encoding, options, 1));
7117 } 7117 }
7118 7118
7119 #define bottom_HTMLparser 7119 #define bottom_HTMLparser
7120 #include "elfgcchack.h" 7120 #include "elfgcchack.h"
7121 #endif /* LIBXML_HTML_ENABLED */ 7121 #endif /* LIBXML_HTML_ENABLED */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698