Lines Matching +defs:val +defs:list
26 #include <libxml/list.h>
348 xmlNodePtr node; /* pointer to the current node in the list */
1632 /* TODO : rebuild the attribute list on the copy */
1833 * @list: the list to update
1836 * has to be entered in the list.
1839 xmlScanAttributeDeclCallback(xmlAttributePtr attr, xmlAttributePtr *list,
1841 attr->nexth = *list;
1842 *list = attr;
1961 * @tree: if it's an enumeration, the associated list
2864 * @lk: A list link
2881 * @list_ref: A list of references.
2883 * Deallocate the memory used by a list of references
2990 * References are maintained as a list of references,
2999 "xmlAddRef: Reference list creation failed!\n",
3006 "xmlAddRef: Reference list insertion failed!\n",
3013 "xmlAddRef: Reference list insertion failed!\n",
3116 /* At this point, ref_list refers to a list of references which
3117 * have the same key as the supplied attr. Our list of references
3119 * here to use when removing. We'll have to walk the list and
3122 * The list is ordered by reference, so that means we don't have the
3123 * key. Passing the list and the reference to the walker means we
3129 /* Remove the supplied attr from our list */
3132 /*If the list is empty then remove the list entry in the hash */
3460 int val, len;
3464 val = xmlStringCurrentChar(NULL, cur, &len);
3466 if (!IS_LETTER(val) && (val != '_') &&
3467 (val != ':')) {
3471 val = xmlStringCurrentChar(NULL, cur, &len);
3473 while ((IS_LETTER(val)) || (IS_DIGIT(val)) ||
3474 (val == '.') || (val == '-') ||
3475 (val == '_') || (val == ':') ||
3476 (IS_COMBINING(val)) ||
3477 (IS_EXTENDER(val))) {
3478 val = xmlStringCurrentChar(NULL, cur, &len);
3482 if (val != 0) return(0);
3499 int val, len;
3503 val = xmlStringCurrentChar(NULL, cur, &len);
3506 if (!IS_LETTER(val) && (val != '_') &&
3507 (val != ':')) {
3511 val = xmlStringCurrentChar(NULL, cur, &len);
3513 while ((IS_LETTER(val)) || (IS_DIGIT(val)) ||
3514 (val == '.') || (val == '-') ||
3515 (val == '_') || (val == ':') ||
3516 (IS_COMBINING(val)) ||
3517 (IS_EXTENDER(val))) {
3518 val = xmlStringCurrentChar(NULL, cur, &len);
3522 /* Should not test IS_BLANK(val) here -- see erratum E20*/
3523 while (val == 0x20) {
3524 while (val == 0x20) {
3525 val = xmlStringCurrentChar(NULL, cur, &len);
3529 if (!IS_LETTER(val) && (val != '_') &&
3530 (val != ':')) {
3533 val = xmlStringCurrentChar(NULL, cur, &len);
3536 while ((IS_LETTER(val)) || (IS_DIGIT(val)) ||
3537 (val == '.') || (val == '-') ||
3538 (val == '_') || (val == ':') ||
3539 (IS_COMBINING(val)) ||
3540 (IS_EXTENDER(val))) {
3541 val = xmlStringCurrentChar(NULL, cur, &len);
3546 if (val != 0) return(0);
3565 int val, len;
3569 val = xmlStringCurrentChar(NULL, cur, &len);
3572 if (!IS_LETTER(val) && !IS_DIGIT(val) &&
3573 (val != '.') && (val != '-') &&
3574 (val != '_') && (val != ':') &&
3575 (!IS_COMBINING(val)) &&
3576 (!IS_EXTENDER(val)))
3579 while ((IS_LETTER(val)) || (IS_DIGIT(val)) ||
3580 (val == '.') || (val == '-') ||
3581 (val == '_') || (val == ':') ||
3582 (IS_COMBINING(val)) ||
3583 (IS_EXTENDER(val))) {
3584 val = xmlStringCurrentChar(NULL, cur, &len);
3588 if (val != 0) return(0);
3607 int val, len;
3611 val = xmlStringCurrentChar(NULL, cur, &len);
3614 while (IS_BLANK(val)) {
3615 val = xmlStringCurrentChar(NULL, cur, &len);
3619 if (!IS_LETTER(val) && !IS_DIGIT(val) &&
3620 (val != '.') && (val != '-') &&
3621 (val != '_') && (val != ':') &&
3622 (!IS_COMBINING(val)) &&
3623 (!IS_EXTENDER(val)))
3626 while ((IS_LETTER(val)) || (IS_DIGIT(val)) ||
3627 (val == '.') || (val == '-') ||
3628 (val == '_') || (val == ':') ||
3629 (IS_COMBINING(val)) ||
3630 (IS_EXTENDER(val))) {
3631 val = xmlStringCurrentChar(NULL, cur, &len);
3635 /* Should not test IS_BLANK(val) here -- see erratum E20*/
3636 while (val == 0x20) {
3637 while (val == 0x20) {
3638 val = xmlStringCurrentChar(NULL, cur, &len);
3641 if (val == 0) return(1);
3643 if (!IS_LETTER(val) && !IS_DIGIT(val) &&
3644 (val != '.') && (val != '-') &&
3645 (val != '_') && (val != ':') &&
3646 (!IS_COMBINING(val)) &&
3647 (!IS_EXTENDER(val)))
3650 while ((IS_LETTER(val)) || (IS_DIGIT(val)) ||
3651 (val == '.') || (val == '-') ||
3652 (val == '_') || (val == ':') ||
3653 (IS_COMBINING(val)) ||
3654 (IS_EXTENDER(val))) {
3655 val = xmlStringCurrentChar(NULL, cur, &len);
3660 if (val != 0) return(0);
4047 int val;
4054 val = xmlValidateAttributeValue(attr->atype, attr->defaultValue);
4055 if (val == 0) {
4060 ret &= val;
4280 int val;
4335 val = xmlValidateAttributeValue(attrDecl->atype, value);
4336 if (val == 0) {
4382 /* Second, verify that it's among the list */
4457 int val;
4520 val = xmlValidateAttributeValue(attrDecl->atype, value);
4521 if (val == 0) {
4585 /* Second, verify that it's among the list */
4656 * @child: the child list
5065 * This will dump the list of elements to the buffer
5145 * @child: the child list
5368 char list[5000];
5372 list[0] = 0;
5375 xmlSnprintfElements(&list[0], 5000, repl, 1);
5378 xmlSnprintfElements(&list[0], 5000, child, 1);
5383 name, BAD_CAST expr, BAD_CAST list);
5387 BAD_CAST expr, BAD_CAST list, NULL);
5688 "Element %s is not declared in %s list of possible children\n",
6040 "Element %s is not declared in %s list of possible children\n",
6788 * @names: an array to store the list of child names
6789 * @len: a pointer to the number of element in the list
6792 * Build/extend a list of potential children allowed by the content tree
6794 * returns the number of element in the list, or -1 in case of error.
6843 * @names: an array to store the list of child names
6846 * This function returns the list of authorized children to insert
6859 * returns the number of element in the list, or -1 in case of error. If