Lines Matching refs:curnode
140 xmlNodePtr curnode;/* current attribute node */ member
1294 reader->curnode = NULL; in xmlTextReaderRead()
1796 node = (reader->curnode != NULL) ? reader->curnode : reader->node; in xmlTextReaderReadString()
2131 ret->curnode = NULL; in xmlNewTextReader()
2307 reader->curnode = NULL; in xmlTextReaderClose()
2346 if (reader->curnode != NULL) in xmlTextReaderGetAttributeNo()
2395 if (reader->curnode != NULL) in xmlTextReaderGetAttribute()
2466 if (reader->curnode != NULL) in xmlTextReaderGetAttributeNs()
2516 reader->curnode = NULL; in xmlTextReaderGetRemainder()
2594 reader->curnode = NULL; in xmlTextReaderMoveToAttributeNo()
2601 reader->curnode = (xmlNodePtr) ns; in xmlTextReaderMoveToAttributeNo()
2615 reader->curnode = (xmlNodePtr) cur; in xmlTextReaderMoveToAttributeNo()
2654 reader->curnode = (xmlNodePtr) ns; in xmlTextReaderMoveToAttribute()
2671 reader->curnode = (xmlNodePtr) prop; in xmlTextReaderMoveToAttribute()
2686 reader->curnode = (xmlNodePtr) ns; in xmlTextReaderMoveToAttribute()
2702 reader->curnode = (xmlNodePtr) prop; in xmlTextReaderMoveToAttribute()
2757 reader->curnode = (xmlNodePtr) ns; in xmlTextReaderMoveToAttributeNs()
2775 reader->curnode = (xmlNodePtr) prop; in xmlTextReaderMoveToAttributeNs()
2802 reader->curnode = (xmlNodePtr) reader->node->nsDef; in xmlTextReaderMoveToFirstAttribute()
2806 reader->curnode = (xmlNodePtr) reader->node->properties; in xmlTextReaderMoveToFirstAttribute()
2829 if (reader->curnode == NULL) in xmlTextReaderMoveToNextAttribute()
2832 if (reader->curnode->type == XML_NAMESPACE_DECL) { in xmlTextReaderMoveToNextAttribute()
2833 xmlNsPtr ns = (xmlNsPtr) reader->curnode; in xmlTextReaderMoveToNextAttribute()
2835 reader->curnode = (xmlNodePtr) ns->next; in xmlTextReaderMoveToNextAttribute()
2839 reader->curnode = (xmlNodePtr) reader->node->properties; in xmlTextReaderMoveToNextAttribute()
2843 } else if ((reader->curnode->type == XML_ATTRIBUTE_NODE) && in xmlTextReaderMoveToNextAttribute()
2844 (reader->curnode->next != NULL)) { in xmlTextReaderMoveToNextAttribute()
2845 reader->curnode = reader->curnode->next; in xmlTextReaderMoveToNextAttribute()
2868 if (reader->curnode != NULL) { in xmlTextReaderMoveToElement()
2869 reader->curnode = NULL; in xmlTextReaderMoveToElement()
2891 if (reader->curnode == NULL) in xmlTextReaderReadAttributeValue()
2893 if (reader->curnode->type == XML_ATTRIBUTE_NODE) { in xmlTextReaderReadAttributeValue()
2894 if (reader->curnode->children == NULL) in xmlTextReaderReadAttributeValue()
2896 reader->curnode = reader->curnode->children; in xmlTextReaderReadAttributeValue()
2897 } else if (reader->curnode->type == XML_NAMESPACE_DECL) { in xmlTextReaderReadAttributeValue()
2898 xmlNsPtr ns = (xmlNsPtr) reader->curnode; in xmlTextReaderReadAttributeValue()
2910 reader->curnode = reader->faketext; in xmlTextReaderReadAttributeValue()
2912 if (reader->curnode->next == NULL) in xmlTextReaderReadAttributeValue()
2914 reader->curnode = reader->curnode->next; in xmlTextReaderReadAttributeValue()
2972 if (reader->curnode != NULL) in xmlTextReaderAttributeCount()
2973 node = reader->curnode; in xmlTextReaderAttributeCount()
3014 if (reader->curnode != NULL) in xmlTextReaderNodeType()
3015 node = reader->curnode; in xmlTextReaderNodeType()
3084 if (reader->curnode != NULL) in xmlTextReaderIsEmptyElement()
3113 if (reader->curnode != NULL) in xmlTextReaderLocalName()
3114 node = reader->curnode; in xmlTextReaderLocalName()
3144 if (reader->curnode != NULL) in xmlTextReaderConstLocalName()
3145 node = reader->curnode; in xmlTextReaderConstLocalName()
3177 if (reader->curnode != NULL) in xmlTextReaderName()
3178 node = reader->curnode; in xmlTextReaderName()
3252 if (reader->curnode != NULL) in xmlTextReaderConstName()
3253 node = reader->curnode; in xmlTextReaderConstName()
3319 if (reader->curnode != NULL) in xmlTextReaderPrefix()
3320 node = reader->curnode; in xmlTextReaderPrefix()
3351 if (reader->curnode != NULL) in xmlTextReaderConstPrefix()
3352 node = reader->curnode; in xmlTextReaderConstPrefix()
3383 if (reader->curnode != NULL) in xmlTextReaderNamespaceUri()
3384 node = reader->curnode; in xmlTextReaderNamespaceUri()
3411 if (reader->curnode != NULL) in xmlTextReaderConstNamespaceUri()
3412 node = reader->curnode; in xmlTextReaderConstNamespaceUri()
3480 if (reader->curnode != NULL) { in xmlTextReaderDepth()
3481 if ((reader->curnode->type == XML_ATTRIBUTE_NODE) || in xmlTextReaderDepth()
3482 (reader->curnode->type == XML_NAMESPACE_DECL)) in xmlTextReaderDepth()
3504 if (reader->curnode != NULL) in xmlTextReaderHasAttributes()
3505 node = reader->curnode; in xmlTextReaderHasAttributes()
3531 if (reader->curnode != NULL) in xmlTextReaderHasValue()
3532 node = reader->curnode; in xmlTextReaderHasValue()
3566 if (reader->curnode != NULL) in xmlTextReaderValue()
3567 node = reader->curnode; in xmlTextReaderValue()
3612 if (reader->curnode != NULL) in xmlTextReaderConstValue()
3613 node = reader->curnode; in xmlTextReaderConstValue()
3930 if (reader->curnode != NULL) in xmlTextReaderCurrentNode()
3931 return(reader->curnode); in xmlTextReaderCurrentNode()
3952 if (reader->curnode != NULL) in xmlTextReaderPreserve()
3953 cur = reader->curnode; in xmlTextReaderPreserve()
4646 if (reader->curnode != NULL) in xmlTextReaderIsNamespaceDecl()
4647 node = reader->curnode; in xmlTextReaderIsNamespaceDecl()
5185 reader->curnode = NULL; in xmlTextReaderSetup()
5353 ret->curnode = NULL; in xmlReaderWalker()
5555 reader->curnode = NULL; in xmlReaderNewWalker()