Home | History | Annotate | Download | only in libxml2

Lines Matching refs:xmlChar

56 xmlChar * htmlDecodeEntities(htmlParserCtxtPtr ctxt, int len,
57 xmlChar end, xmlChar end2, xmlChar end3);
107 const char *msg, const xmlChar *str1, const xmlChar *str2)
164 htmlnamePush(htmlParserCtxtPtr ctxt, const xmlChar * value)
168 ctxt->nameTab = (const xmlChar * *)
169 xmlRealloc((xmlChar * *)ctxt->nameTab,
189 static const xmlChar *
192 const xmlChar *ret;
214 * CUR_PTR return the current pointer to the xmlChar to be parsed.
215 * CUR returns the current xmlChar value, i.e. a 8 bit value if compiled
220 * NXT(n) returns the n'th next xmlChar. Same as CUR is should be used only
222 * UPP(n) returns the n'th next xmlChar converted to uppercase. Same as CUR
224 * SKIP(n) Skip n xmlChar, and must also be used only to skip ASCII defined
287 if (l == 1) b[i++] = (xmlChar) v; \
1074 htmlTagLookup(const xmlChar *tag) {
1092 htmlGetEndPriority (const xmlChar *name) {
1096 (!xmlStrEqual((const xmlChar *)htmlEndPriority[i].name, name)))
1115 htmlCheckAutoClose(const xmlChar * newtag, const xmlChar * oldtag)
1152 htmlAutoCloseOnClose(htmlParserCtxtPtr ctxt, const xmlChar * newtag)
1221 htmlAutoClose(htmlParserCtxtPtr ctxt, const xmlChar * newtag)
1257 htmlAutoCloseTag(htmlDocPtr doc, const xmlChar *name, htmlNodePtr elem) {
1305 htmlCheckImplied(htmlParserCtxtPtr ctxt, const xmlChar *newtag) {
1363 const xmlChar *tag;
1401 htmlIsScriptAttribute(const xmlChar *name) {
1414 if (xmlStrEqual(name, (const xmlChar *) htmlScriptAttributes[i]))
1720 xmlChar *tmp; \
1722 tmp = (xmlChar *) xmlRealloc(buffer, buffer##_size * sizeof(xmlChar)); \
1742 htmlEntityLookup(const xmlChar *name) {
2043 * @str: a xmlChar *
2051 static int areBlanks(htmlParserCtxtPtr ctxt, const xmlChar *str, int len) {
2118 htmlNewDocNoDtD(const xmlChar *URI, const xmlChar *ExternalID) {
2163 htmlNewDoc(const xmlChar *URI, const xmlChar *ExternalID) {
2186 static const xmlChar * htmlParseNameComplex(xmlParserCtxtPtr ctxt);
2198 static const xmlChar *
2201 xmlChar loc[HTML_PARSER_BUFFER_SIZE];
2231 static const xmlChar *
2234 xmlChar loc[HTML_PARSER_BUFFER_SIZE];
2260 static const xmlChar *
2262 const xmlChar *in;
2263 const xmlChar *ret;
2294 static const xmlChar *
2340 static xmlChar *
2341 htmlParseHTMLAttribute(htmlParserCtxtPtr ctxt, const xmlChar stop) {
2342 xmlChar *buffer = NULL;
2344 xmlChar *out = NULL;
2345 const xmlChar *name = NULL;
2346 const xmlChar *cur = NULL;
2353 buffer = (xmlChar *) xmlMallocAtomic(buffer_size * sizeof(xmlChar));
2481 htmlParseEntityRef(htmlParserCtxtPtr ctxt, const xmlChar **str) {
2482 const xmlChar *name;
2530 static xmlChar *
2532 xmlChar *ret = NULL;
2574 static xmlChar *
2576 const xmlChar *q;
2577 xmlChar *ret = NULL;
2622 static xmlChar *
2624 const xmlChar *q;
2625 xmlChar *ret = NULL;
2683 xmlChar buf[HTML_PARSER_BIG_BUFFER_SIZE + 5];
2768 xmlChar buf[HTML_PARSER_BIG_BUFFER_SIZE + 5];
2843 * @publicID: a xmlChar** receiving PubidLiteral
2857 static xmlChar *
2858 htmlParseExternalID(htmlParserCtxtPtr ctxt, xmlChar **publicID) {
2859 xmlChar *URI = NULL;
2908 xmlChar *buf = NULL;
2912 const xmlChar *target;
2944 buf = (xmlChar *) xmlMallocAtomic(size * sizeof(xmlChar));
2959 xmlChar *tmp;
2962 tmp = (xmlChar *) xmlRealloc(buf, size * sizeof(xmlChar));
3019 xmlChar *buf = NULL;
3037 buf = (xmlChar *) xmlMallocAtomic(size * sizeof(xmlChar));
3053 xmlChar *tmp;
3056 tmp = (xmlChar *) xmlRealloc(buf, size * sizeof(xmlChar));
3160 "htmlParseCharRef: invalid xmlChar value %d\n",
3179 const xmlChar *name;
3180 xmlChar *ExternalID = NULL;
3181 xmlChar *URI = NULL;
3238 * @value: a xmlChar ** used to store the value of the attribute
3256 static const xmlChar *
3257 htmlParseAttribute(htmlParserCtxtPtr ctxt, xmlChar **value) {
3258 const xmlChar *name;
3259 xmlChar *val = NULL;
3299 htmlCheckEncoding(htmlParserCtxtPtr ctxt, const xmlChar *attvalue) {
3300 const xmlChar *encoding;
3324 xmlFree((xmlChar *) ctxt->input->encoding);
3392 htmlCheckMeta(htmlParserCtxtPtr ctxt, const xmlChar **atts) {
3394 const xmlChar *att, *value;
3396 const xmlChar *content = NULL;
3439 const xmlChar *name;
3440 const xmlChar *attname;
3441 xmlChar *attvalue;
3442 const xmlChar **atts;
3549 atts = (const xmlChar **)
3550 xmlMalloc(maxatts * sizeof(xmlChar *));
3560 const xmlChar **n;
3563 n = (const xmlChar **) xmlRealloc((void *) atts,
3564 maxatts * sizeof(const xmlChar *));
3623 xmlFree((xmlChar *) atts[i]);
3648 const xmlChar *name;
3649 const xmlChar *oldname;
3755 xmlChar out[6];
3756 const xmlChar *name;
3830 xmlChar *currentNode;
3832 const xmlChar *name;
3995 const xmlChar *name;
3996 xmlChar *currentNode = NULL;
4001 const xmlChar *oldptr;
4123 xmlChar start[4];
4144 if ((ctxt->encoding == (const xmlChar *)XML_CHAR_ENCODING_NONE) &&
4312 ctxt->nameTab = (const xmlChar **) xmlMalloc(10 * sizeof(xmlChar *));
4439 * @cur: a pointer to an array of xmlChar
4449 htmlCreateDocParserCtxt(const xmlChar *cur, const char *encoding) {
4465 xmlFree((xmlChar *) ctxt->input->encoding);
4466 ctxt->input->encoding = xmlStrdup((const xmlChar *) encoding);
4477 (const xmlChar *) encoding, NULL);
4489 (const xmlChar *) encoding, NULL);
4522 htmlParseLookupSequence(htmlParserCtxtPtr ctxt, xmlChar first,
4523 xmlChar next, xmlChar third, int iscomment) {
4526 const xmlChar *buf;
4618 xmlChar cur, next;
4908 const xmlChar *name;
5014 xmlChar chr[2] = { 0 , 0 } ;
5016 chr[0] = (xmlChar) ctxt->token;
5056 xmlChar val;
5478 xmlCanonicPath((const xmlChar *) filename);
5510 * @cur: a pointer to an array of xmlChar
5524 htmlSAXParseDoc(xmlChar *cur, const char *encoding, htmlSAXHandlerPtr sax, void *userData) {
5554 * @cur: a pointer to an array of xmlChar
5563 htmlParseDoc(xmlChar *cur, const char *encoding) {
5586 xmlChar *content, *content_line = (xmlChar *) "charset=";
5595 canonicFilename = (char *) xmlCanonicPath((const xmlChar *) filename);
5718 htmlElementAllowedHere(const htmlElemDesc* parent, const xmlChar* elt) {
5725 if ( !xmlStrcmp((const xmlChar *)*p, elt) )
5744 if ( ! htmlElementAllowedHere(parent, (const xmlChar*) elt->name ) )
5761 htmlAttrAllowed(const htmlElemDesc* elt, const xmlChar* attr, int legacy) {
5769 if ( !xmlStrcmp((const xmlChar*)*p, attr) )
5774 if ( !xmlStrcmp((const xmlChar*)*p, attr) )
5779 if ( !xmlStrcmp((const xmlChar*)*p, attr) )
5833 (xmlDictOwns(dict, (const xmlChar *)(str)) == 0))) \
6005 xmlFree((xmlChar *) ctxt->input->encoding);
6006 ctxt->input->encoding = xmlStrdup((xmlChar *)encoding);
6011 ctxt->input->filename = (char *) xmlStrdup((const xmlChar *) URL);
6037 htmlReadDoc(const xmlChar * cur, const char *URL, const char *encoding, int options)
6198 htmlCtxtReadDoc(htmlParserCtxtPtr ctxt, const xmlChar * cur,