Lines Matching +defs:val +defs:list
223 const xmlChar *ID, xmlNodePtr *list);
579 * @val: an integer value
585 const char *msg, int val)
594 NULL, 0, NULL, NULL, NULL, val, 0, msg, val);
608 * @val: an integer value
615 const char *msg, const xmlChar *str1, int val,
626 NULL, val, 0, msg, str1, val, str2);
639 * @val: a string value
645 const char *msg, const xmlChar * val)
654 NULL, 0, (const char *) val, NULL, NULL, 0, 0, msg,
655 val);
668 * @val: a string value
674 const char *msg, const xmlChar * val)
683 NULL, 0, (const char *) val, NULL, NULL, 0, 0, msg,
684 val);
1112 * Trim the list of attributes defined to remove all those of type
1577 static int spacePush(xmlParserCtxtPtr ctxt, int val) {
1587 ctxt->spaceTab[ctxt->spaceNr] = val;
1642 #define NXT(val) ctxt->input->cur[(val)]
1663 #define SKIP(val) do { \
1664 ctxt->nbChars += (val),ctxt->input->cur += (val),ctxt->input->col+=(val); \
1671 #define SKIPL(val) do { \
1673 for(skipl=0; skipl<val; skipl++) { \
1865 unsigned int val = 0;
1882 val = val * 16 + (CUR - '0');
1884 val = val * 16 + (CUR - 'a') + 10;
1886 val = val * 16 + (CUR - 'A') + 10;
1889 val = 0;
1892 if (val > 0x10FFFF)
1893 outofrange = val;
1913 val = val * 10 + (CUR - '0');
1916 val = 0;
1919 if (val > 0x10FFFF)
1920 outofrange = val;
1940 if ((IS_CHAR(val) && (outofrange == 0))) {
1941 return(val);
1945 val);
1972 unsigned int val = 0;
1983 val = val * 16 + (cur - '0');
1985 val = val * 16 + (cur - 'a') + 10;
1987 val = val * 16 + (cur - 'A') + 10;
1990 val = 0;
1993 if (val > 0x10FFFF)
1994 outofrange = val;
2006 val = val * 10 + (cur - '0');
2009 val = 0;
2012 if (val > 0x10FFFF)
2013 outofrange = val;
2031 if ((IS_CHAR(val) && (outofrange == 0))) {
2032 return(val);
2036 val);
2357 int val = xmlParseStringCharRef(ctxt, &str);
2358 if (val != 0) {
2359 COPY_BUF(0,buffer,nbchars,val);
3248 int val = xmlParseCharRef(ctxt);
3250 if (val == '&') {
3274 len += xmlCopyChar(0, &buf[len], val);
4816 * attribute-list declaration.
4835 int val;
4847 val = XML_ATTRIBUTE_NONE;
4850 val = XML_ATTRIBUTE_FIXED;
4864 return(val);
5018 * parse the Attribute list def for an element
5093 * : parse the Attribute list def for an element
5213 "Attribute list declaration doesn't start and stop in the same entity\n");
5237 * returns: the list of the xmlElementContentPtr describing the element choices
6138 xmlChar *val;
6188 xmlNodePtr list = NULL;
6230 list = xmlNewDocText(ctxt->myDoc, value);
6231 if (list != NULL) {
6234 ent->children = list;
6235 ent->last = list;
6238 list->parent = (xmlNodePtr) ent;
6240 xmlFreeNodeList(list);
6242 } else if (list != NULL) {
6243 xmlFreeNodeList(list);
6267 value, user_data, &list);
6275 ent->URI, ent->ExternalID, &list);
6293 xmlFreeNodeList(list);
6297 xmlFreeNodeList(list);
6303 } else if ((ret == XML_ERR_OK) && (list != NULL)) {
6307 ent->children = list;
6313 if (((list->type == XML_TEXT_NODE) &&
6314 (list->next == NULL)) ||
6316 list->parent = (xmlNodePtr) ent;
6317 list = NULL;
6322 while (list != NULL) {
6323 list->parent = (xmlNodePtr) ctxt->node;
6324 list->doc = ctxt->myDoc;
6325 if (list->next == NULL)
6326 ent->last = list;
6327 list = list->next;
6329 list = ent->children;
6332 xmlAddEntityReference(ent, list, NULL);
6338 while (list != NULL) {
6339 list->parent = (xmlNodePtr) ent;
6340 if (list->next == NULL)
6341 ent->last = list;
6342 list = list->next;
6346 xmlFreeNodeList(list);
6347 list = NULL;
6353 } else if (list != NULL) {
6354 xmlFreeNodeList(list);
6355 list = NULL;
6440 * In the first occurrence list contains the replacement.
6444 if (((list == NULL) && (ent->owner == 0)) ||
6492 } else if (list == NULL) {
6504 * Copy the entity child list and make it the new
6505 * entity child list. The goal is to make sure any
6565 val = ent->content;
6566 if (val == NULL) return;
6572 ctxt->sax->characters(ctxt->userData, val, xmlStrlen(val));
6594 * attribute-list declaration. Note that if entities are declared in the
6653 * value in an attribute-list declaration. Note that if
6764 * attribute-list declaration. Note that if entities are declared in the
6827 * value in an attribute-list declaration. Note that if
7325 xmlChar *val;
7343 val = xmlParseAttValue(ctxt);
7357 if (!xmlCheckLanguageID(val)) {
7360 val, NULL);
7368 if (xmlStrEqual(val, BAD_CAST "default"))
7370 else if (xmlStrEqual(val, BAD_CAST "preserve"))
7375 val, NULL);
7379 *value = val;
7892 * caller if it was copied, this can be detected by val[*len] == 0.
8040 xmlChar *val, *internal_val = NULL;
8070 val = xmlParseAttValueInternal(ctxt, len, alloc, normalize);
8085 internal_val = xmlStrndup(val, *len);
8097 internal_val = xmlStrndup(val, *len);
8113 *value = val;
11609 * @list: the return value for the set of parsed nodes
11621 const xmlChar *ID, xmlNodePtr *list) {
11636 if (list != NULL)
11637 *list = NULL;
11751 if (list != NULL) {
11759 *list = cur;