Lines Matching +defs:val +defs:reader

772     xmlSchemaValPtr val;
886 xmlSchemaValPtr val; /* the pre-computed value if any */
945 xmlSchemaValPtr val; /* the pre-computed value if any */
1019 xmlTextReaderPtr reader;
1465 * @val: the precomputed value
1476 xmlSchemaGetCanonValueWhtspExt(xmlSchemaValPtr val,
1485 if ((retValue == NULL) || (val == NULL))
1487 list = xmlSchemaValueGetNext(val) ? 1 : 0;
1491 valType = xmlSchemaGetValType(val);
1496 value = xmlSchemaValueGetAsString(val);
1507 if (xmlSchemaGetCanonValue(val, &value2) == -1) {
1526 val = xmlSchemaValueGetNext(val);
1527 } while (val != NULL);
1801 res = xmlSchemaGetCanonValueWhtspExt(facet->val,
3926 if (facet->val != NULL)
3927 xmlSchemaFreeValue(facet->val);
4544 if ((key != NULL) && (key->val != NULL)) {
4545 res = xmlSchemaGetCanonValue(key->val, &value);
4553 fprintf(output, "(no val), ");
4566 if ((key != NULL) && (key->val != NULL)) {
4567 res = xmlSchemaGetCanonValue(key->val, &value);
4575 fprintf(output, "(no val), ");
4652 xmlChar *val;
4655 val = xmlNodeGetContent(node);
4656 if (val == NULL)
4657 val = xmlStrdup((xmlChar *)"");
4658 ret = xmlDictLookup(ctxt->dict, val, -1);
4659 xmlFree(val);
4683 xmlChar *val;
4686 val = xmlGetNoNsProp(node, BAD_CAST name);
4687 if (val == NULL)
4689 ret = xmlDictLookup(ctxt->dict, val, -1);
4690 xmlFree(val);
5999 const xmlChar *val, *cur;
6006 val = xmlSchemaGetNodeContent(ctxt, (xmlNodePtr) attr);
6008 if (xmlStrEqual(val, (const xmlChar *) "unbounded")) {
6014 val, NULL, NULL, NULL);
6020 cur = val;
6028 val, NULL, NULL, NULL);
6045 val, NULL, NULL, NULL);
6064 const xmlChar *val, *cur;
6071 val = xmlSchemaGetNodeContent(ctxt, (xmlNodePtr) attr);
6072 cur = val;
6080 val, NULL, NULL, NULL);
6097 val, NULL, NULL, NULL);
6166 const xmlChar *val;
6168 val = xmlSchemaGetProp(ctxt, node, name);
6169 if (val == NULL)
6176 if (xmlStrEqual(val, BAD_CAST "true"))
6178 else if (xmlStrEqual(val, BAD_CAST "false"))
6180 else if (xmlStrEqual(val, BAD_CAST "1"))
6182 else if (xmlStrEqual(val, BAD_CAST "0"))
6190 NULL, val, NULL, NULL, NULL);
6324 const xmlChar *val;
6329 val = xmlSchemaGetNodeContent(ctxt, (xmlNodePtr) attr);
6331 *value = val;
6334 val, type));
9617 const xmlChar *val;
9636 xmlSchemaGetBuiltInType(XML_SCHEMAS_TOKEN), &val);
9652 val = xmlSchemaGetNodeContent(ctxt, (xmlNodePtr) attr);
9653 res = xmlSchemaPValAttrFormDefault(val, &schema->flags,
9660 "(qualified | unqualified)", val, NULL, NULL, NULL);
9665 val = xmlSchemaGetNodeContent(ctxt, (xmlNodePtr) attr);
9666 res = xmlSchemaPValAttrFormDefault(val, &schema->flags,
9673 "(qualified | unqualified)", val, NULL, NULL, NULL);
9678 val = xmlSchemaGetNodeContent(ctxt, (xmlNodePtr) attr);
9679 res = xmlSchemaPValAttrBlockFinal(val, &(schema->flags), -1,
9691 val, NULL, NULL, NULL);
9696 val = xmlSchemaGetNodeContent(ctxt, (xmlNodePtr) attr);
9697 res = xmlSchemaPValAttrBlockFinal(val, &(schema->flags), -1,
9707 val, NULL, NULL, NULL);
13935 xmlSchemaValPtr *val)
13939 if (val != 0)
13940 *val = NULL;
13944 if (val != NULL)
13945 *val = attruse->defVal;
13952 if (val != NULL)
13953 *val = attruse->attrDecl->defVal;
15709 xmlSchemaValPtr *val)
15754 type, value, val, 1, 1, 0);
15757 type->contentTypeDef, value, val, 1, 1, 0);
17245 res = xmlSchemaCompareValues(flength->val, bflength->val);
17260 res = xmlSchemaCompareValues(fminlen->val, bfminlen->val);
17274 res = xmlSchemaCompareValues(fmaxlen->val, bfmaxlen->val);
17293 res = xmlSchemaCompareValues(flength->val, fminlen->val);
17303 res = xmlSchemaCompareValues(flength->val, fmaxlen->val);
17316 res = xmlSchemaCompareValues(fmaxinc->val, fmininc->val);
17328 res = xmlSchemaCompareValues(fmaxinc->val, bfmaxinc->val);
17339 res = xmlSchemaCompareValues(fmaxinc->val, bfmaxexc->val);
17348 res = xmlSchemaCompareValues(fmaxinc->val, bfmininc->val);
17357 res = xmlSchemaCompareValues(fmaxinc->val, bfminexc->val);
17370 res = xmlSchemaCompareValues(fmaxexc->val, fminexc->val);
17382 res = xmlSchemaCompareValues(fmaxexc->val, bfmaxexc->val);
17394 res = xmlSchemaCompareValues(fmaxexc->val, bfmaxinc->val);
17403 res = xmlSchemaCompareValues(fmaxexc->val, bfmininc->val);
17412 res = xmlSchemaCompareValues(fmaxexc->val, bfminexc->val);
17425 res = xmlSchemaCompareValues(fminexc->val, fmaxinc->val);
17437 res = xmlSchemaCompareValues(fminexc->val, bfminexc->val);
17449 res = xmlSchemaCompareValues(fminexc->val, bfmaxinc->val);
17458 res = xmlSchemaCompareValues(fminexc->val, bfmininc->val);
17467 res = xmlSchemaCompareValues(fminexc->val, bfmaxexc->val);
17480 res = xmlSchemaCompareValues(fmininc->val, fmaxexc->val);
17492 res = xmlSchemaCompareValues(fmininc->val, bfmininc->val);
17504 res = xmlSchemaCompareValues(fmininc->val, bfmaxinc->val);
17513 res = xmlSchemaCompareValues(fmininc->val, bfminexc->val);
17521 res = xmlSchemaCompareValues(fmininc->val, bfmaxexc->val);
17533 res = xmlSchemaCompareValues(ftotdig->val, bftotdig->val);
17548 res = xmlSchemaCompareValues(ffracdig->val, bffracdig->val);
17566 res = xmlSchemaCompareValues(ffracdig->val, ftotdig->val);
18603 facet->value, &(facet->val), 1, 1, 0);
18632 } else if (facet->val == NULL) {
18664 facet->value, &(facet->val));
18668 facet->value, &(facet->val));
21737 } else if (vctxt->reader != NULL) {
21740 nsName = xmlTextReaderLookupNamespace(vctxt->reader, prefix);
21775 xmlSchemaValPtr *val,
21813 if (valNeeded && (val != NULL)) {
21814 (*val) = xmlSchemaNewNOTATIONValue(BAD_CAST localName,
21816 if (*val == NULL)
21825 if (valNeeded && (val != NULL)) {
21826 (*val) = xmlSchemaNewNOTATIONValue(
21828 if (*val == NULL)
22131 if (key->val != NULL)
22132 xmlSchemaFreeValue(key->val);
22503 res = xmlSchemaGetCanonValueWhtspExt(seq[i]->val,
22557 * @val: the precompiled value
22655 if ((key == NULL) && (vctxt->inode->val == NULL)) {
22798 key->val = vctxt->inode->val;
22799 vctxt->inode->val = NULL;
22900 res = xmlSchemaAreValuesEqual(ckey->val, bkey->val);
23268 res = xmlSchemaAreValuesEqual(keys[0]->val,
23269 dupls[j]->keys[0]->val);
23282 res = xmlSchemaAreValuesEqual(keys[k]->val,
23283 ntkeys[k]->val);
23307 res = xmlSchemaAreValuesEqual(keys[0]->val,
23308 bind->nodeTable[j]->keys[0]->val);
23321 res = xmlSchemaAreValuesEqual(keys[k]->val,
23322 ntkeys[k]->val);
23469 node->keys[0]->val,
23470 dupls[j]->keys[0]->val);
23481 node->keys[k]->val,
23482 parNode->keys[k]->val);
23508 node->keys[0]->val,
23509 parNode->keys[0]->val);
23519 node->keys[k]->val,
23520 parNode->keys[k]->val);
23721 res = xmlSchemaAreValuesEqual(keys[k]->val,
23722 refKeys[k]->val);
23744 res = xmlSchemaAreValuesEqual(keys[k]->val,
23745 refKeys[k]->val);
23932 if (ielem->val != NULL) {
23937 xmlSchemaFreeValue(ielem->val);
23938 ielem->val = NULL;
24053 xmlSchemaValPtr val,
24100 if (val == NULL)
24103 valType = xmlSchemaGetValType(val);
24121 valType, value, val, &len, ws);
24125 valType, value, val, ws);
24197 ret = xmlSchemaAreValuesEqual(facet->val, val);
24299 xmlSchemaValPtr *val,
24347 if (valNeeded && val) {
24349 *val = xmlSchemaNewQNameValue(
24352 *val = xmlSchemaNewQNameValue(NULL,
24373 xmlSchemaValPtr val = NULL;
24452 NULL, value, &val, valNeeded);
24456 value, &val, valNeeded);
24462 value, &val, NULL);
24473 value, &val, valNeeded);
24479 value, &val, node);
24508 (xmlSchemaValType) biType->builtInType, value, val,
24568 if (val == NULL)
24569 val = curVal;
24592 XML_SCHEMAS_UNKNOWN, value, val,
24644 memberLink->type, value, &val, 0, 1, 0);
24671 XML_SCHEMAS_UNKNOWN, value, val,
24690 *retVal = val;
24691 else if (val != NULL)
24692 xmlSchemaFreeValue(val);
24693 } else if (val != NULL)
24694 xmlSchemaFreeValue(val);
24699 if (val != NULL)
24700 xmlSchemaFreeValue(val);
24938 iattr->value, &(iattr->val), 1, 0, 0);
24955 if (xmlSchemaValueGetAsBoolean(iattr->val)) {
25072 if (attr->val != NULL) {
25073 xmlSchemaFreeValue(attr->val);
25074 attr->val = NULL;
25399 iattr->val = iattr->use->defVal;
25402 iattr->val = iattr->decl->defVal;
25408 if (iattr->val == NULL) {
25414 iattr->val = xmlSchemaCopyValue(iattr->val);
25415 if (iattr->val == NULL) {
25531 iattr->node, iattr->typeDef, iattr->value, &(iattr->val),
25571 if (iattr->val == NULL) {
25585 if (xmlSchemaCompareValuesWhtsp(attr->val,
25590 if (! xmlSchemaAreValuesEqual(iattr->val, iattr->use->defVal))
25600 if (xmlSchemaCompareValuesWhtsp(attr->val,
25605 if (! xmlSchemaAreValuesEqual(iattr->val, iattr->decl->defVal))
25780 xmlSchemaValPtr *val)
25827 NULL, inode->typeDef, value, val, 1, 1, 0);
25832 NULL, inode->typeDef->contentTypeDef, value, val, 1, 1, 0);
25891 type, value, &(inode->val), 1, 1, 0));
26060 inode->decl->value, &(inode->val));
26668 * When working with the reader.
26903 ret = xmlTextReaderRead(vctxt->reader);
26908 nodeType = xmlTextReaderNodeType(vctxt->reader);
26911 ret = xmlTextReaderRead(vctxt->reader);
26918 depth = xmlTextReaderDepth(vctxt->reader);
26919 nodeType = xmlTextReaderNodeType(vctxt->reader);
26930 ielem->localName = xmlTextReaderLocalName(vctxt->reader);
26931 ielem->nsName = xmlTextReaderNamespaceUri(vctxt->reader);
26936 ret = xmlTextReaderIsEmptyElement(vctxt->reader);
26949 ret = xmlTextReaderMoveToFirstAttribute(vctxt->reader);
26958 * VAL TODO: How do we know that the reader works on a
26962 (const xmlChar *) xmlTextReaderLocalName(vctxt->reader),
26963 xmlTextReaderNamespaceUri(vctxt->reader), 1,
26964 xmlTextReaderValue(vctxt->reader), 1) == -1) {
26970 ret = xmlTextReaderMoveToNextAttribute(vctxt->reader);
26980 ret = xmlTextReaderMoveToElement(vctxt->reader);
27005 ret = xmlTextReaderRead(vctxt->reader);
27006 curDepth = xmlTextReaderDepth(vctxt->reader);
27008 ret = xmlTextReaderRead(vctxt->reader);
27009 curDepth = xmlTextReaderDepth(vctxt->reader);
27013 * VAL TODO: A reader error occured; what to do here?
27057 value = xmlTextReaderValue(vctxt->reader);
27077 ret = xmlTextReaderRead(vctxt->reader);
27394 vctxt->reader = NULL;
27954 } else if (vctxt->reader != NULL) {