Lines Matching refs:ielem
2235 xmlSchemaNodeInfoPtr ielem = in xmlSchemaFormatNodeForError() local
2240 ielem->nsName, ielem->localName)); in xmlSchemaFormatNodeForError()
22229 xmlSchemaNodeInfoPtr ielem; in xmlSchemaIDCAcquireBinding() local
22231 ielem = vctxt->elemInfos[matcher->depth]; in xmlSchemaIDCAcquireBinding()
22233 if (ielem->idcTable == NULL) { in xmlSchemaIDCAcquireBinding()
22234 ielem->idcTable = xmlSchemaIDCNewBinding(matcher->aidc->def); in xmlSchemaIDCAcquireBinding()
22235 if (ielem->idcTable == NULL) in xmlSchemaIDCAcquireBinding()
22237 return(ielem->idcTable); in xmlSchemaIDCAcquireBinding()
22241 bind = ielem->idcTable; in xmlSchemaIDCAcquireBinding()
23335 xmlSchemaNodeInfoPtr ielem) in xmlSchemaIDCFillNodeTables() argument
23342 xmlSchemaIDCMatcherPtr matcher = ielem->idcMatchers; in xmlSchemaIDCFillNodeTables()
24062 xmlSchemaNodeInfoPtr ielem) in xmlSchemaClearElemInfo() argument
24064 ielem->hasKeyrefs = 0; in xmlSchemaClearElemInfo()
24065 ielem->appliedXPath = 0; in xmlSchemaClearElemInfo()
24066 if (ielem->flags & XML_SCHEMA_NODE_INFO_FLAG_OWNED_NAMES) { in xmlSchemaClearElemInfo()
24067 FREE_AND_NULL(ielem->localName); in xmlSchemaClearElemInfo()
24068 FREE_AND_NULL(ielem->nsName); in xmlSchemaClearElemInfo()
24070 ielem->localName = NULL; in xmlSchemaClearElemInfo()
24071 ielem->nsName = NULL; in xmlSchemaClearElemInfo()
24073 if (ielem->flags & XML_SCHEMA_NODE_INFO_FLAG_OWNED_VALUES) { in xmlSchemaClearElemInfo()
24074 FREE_AND_NULL(ielem->value); in xmlSchemaClearElemInfo()
24076 ielem->value = NULL; in xmlSchemaClearElemInfo()
24078 if (ielem->val != NULL) { in xmlSchemaClearElemInfo()
24083 xmlSchemaFreeValue(ielem->val); in xmlSchemaClearElemInfo()
24084 ielem->val = NULL; in xmlSchemaClearElemInfo()
24086 if (ielem->idcMatchers != NULL) { in xmlSchemaClearElemInfo()
24091 xmlSchemaIDCReleaseMatcherList(vctxt, ielem->idcMatchers); in xmlSchemaClearElemInfo()
24093 xmlSchemaIDCFreeMatcherList(ielem->idcMatchers); in xmlSchemaClearElemInfo()
24095 ielem->idcMatchers = NULL; in xmlSchemaClearElemInfo()
24097 if (ielem->idcTable != NULL) { in xmlSchemaClearElemInfo()
24101 xmlSchemaIDCFreeIDCTable(ielem->idcTable); in xmlSchemaClearElemInfo()
24102 ielem->idcTable = NULL; in xmlSchemaClearElemInfo()
24104 if (ielem->regexCtxt != NULL) { in xmlSchemaClearElemInfo()
24105 xmlRegFreeExecCtxt(ielem->regexCtxt); in xmlSchemaClearElemInfo()
24106 ielem->regexCtxt = NULL; in xmlSchemaClearElemInfo()
24108 if (ielem->nsBindings != NULL) { in xmlSchemaClearElemInfo()
24109 xmlFree((xmlChar **)ielem->nsBindings); in xmlSchemaClearElemInfo()
24110 ielem->nsBindings = NULL; in xmlSchemaClearElemInfo()
24111 ielem->nbNsBindings = 0; in xmlSchemaClearElemInfo()
24112 ielem->sizeNsBindings = 0; in xmlSchemaClearElemInfo()
25495 xmlSchemaNodeInfoPtr ielem = vctxt->elemInfos[vctxt->depth]; in xmlSchemaVAttributesComplex() local
25496 if (ielem && ielem->node && ielem->node->doc) in xmlSchemaVAttributesComplex()
25497 defAttrOwnerElem = ielem->node; in xmlSchemaVAttributesComplex()
27069 xmlSchemaNodeInfoPtr ielem; in xmlSchemaVReaderWalk() local
27098 ielem = vctxt->inode; in xmlSchemaVReaderWalk()
27099 ielem->localName = xmlTextReaderLocalName(vctxt->reader); in xmlSchemaVReaderWalk()
27100 ielem->nsName = xmlTextReaderNamespaceUri(vctxt->reader); in xmlSchemaVReaderWalk()
27101 ielem->flags |= XML_SCHEMA_NODE_INFO_FLAG_OWNED_NAMES; in xmlSchemaVReaderWalk()
27112 ielem->flags |= XML_SCHEMA_ELEM_INFO_EMPTY; in xmlSchemaVReaderWalk()
27173 if ((ielem->flags & XML_SCHEMA_ELEM_INFO_EMPTY) == 0) { in xmlSchemaVReaderWalk()
27194 if (ielem->flags & XML_SCHEMA_ELEM_INFO_EMPTY) in xmlSchemaVReaderWalk()
27211 ielem = vctxt->inode; in xmlSchemaVReaderWalk()
27213 ielem = NULL; in xmlSchemaVReaderWalk()
27339 xmlSchemaNodeInfoPtr ielem; in xmlSchemaSAXHandleStartElementNs() local
27359 ielem = vctxt->inode; in xmlSchemaSAXHandleStartElementNs()
27363 ielem->nodeLine = xmlSAX2GetLineNumber(vctxt->parserCtxt); in xmlSchemaSAXHandleStartElementNs()
27364 ielem->localName = localname; in xmlSchemaSAXHandleStartElementNs()
27365 ielem->nsName = URI; in xmlSchemaSAXHandleStartElementNs()
27366 ielem->flags |= XML_SCHEMA_ELEM_INFO_EMPTY; in xmlSchemaSAXHandleStartElementNs()
27379 if (ielem->nsBindings == NULL) { in xmlSchemaSAXHandleStartElementNs()
27380 ielem->nsBindings = in xmlSchemaSAXHandleStartElementNs()
27383 if (ielem->nsBindings == NULL) { in xmlSchemaSAXHandleStartElementNs()
27389 ielem->nbNsBindings = 0; in xmlSchemaSAXHandleStartElementNs()
27390 ielem->sizeNsBindings = 5; in xmlSchemaSAXHandleStartElementNs()
27391 } else if (ielem->sizeNsBindings <= ielem->nbNsBindings) { in xmlSchemaSAXHandleStartElementNs()
27392 ielem->sizeNsBindings *= 2; in xmlSchemaSAXHandleStartElementNs()
27393 ielem->nsBindings = in xmlSchemaSAXHandleStartElementNs()
27395 (void *) ielem->nsBindings, in xmlSchemaSAXHandleStartElementNs()
27396 ielem->sizeNsBindings * 2 * sizeof(const xmlChar *)); in xmlSchemaSAXHandleStartElementNs()
27397 if (ielem->nsBindings == NULL) { in xmlSchemaSAXHandleStartElementNs()
27405 ielem->nsBindings[ielem->nbNsBindings * 2] = namespaces[j]; in xmlSchemaSAXHandleStartElementNs()
27410 ielem->nsBindings[ielem->nbNsBindings * 2 + 1] = NULL; in xmlSchemaSAXHandleStartElementNs()
27412 ielem->nsBindings[ielem->nbNsBindings * 2 + 1] = in xmlSchemaSAXHandleStartElementNs()
27414 ielem->nbNsBindings++; in xmlSchemaSAXHandleStartElementNs()
27462 NULL, ielem->nodeLine, attributes[j], attributes[j+2], 0, in xmlSchemaSAXHandleStartElementNs()
27932 xmlSchemaNodeInfoPtr ielem = NULL; in xmlSchemaVDocWalk() local
27960 ielem = vctxt->inode; in xmlSchemaVDocWalk()
27961 ielem->node = node; in xmlSchemaVDocWalk()
27962 ielem->nodeLine = node->line; in xmlSchemaVDocWalk()
27963 ielem->localName = node->name; in xmlSchemaVDocWalk()
27965 ielem->nsName = node->ns->href; in xmlSchemaVDocWalk()
27966 ielem->flags |= XML_SCHEMA_ELEM_INFO_EMPTY; in xmlSchemaVDocWalk()
27986 ielem->nodeLine, in xmlSchemaVDocWalk()
28021 if ((ielem != NULL) && (ielem->flags & XML_SCHEMA_ELEM_INFO_EMPTY)) in xmlSchemaVDocWalk()
28022 ielem->flags ^= XML_SCHEMA_ELEM_INFO_EMPTY; in xmlSchemaVDocWalk()