Lines Matching refs:node_seq

1762     xmlInitNodeInfoSeq(&ctxt->node_seq);  in xmlInitParserCtxt()
1896 xmlClearNodeInfoSeq(&ctxt->node_seq); in xmlClearParserCtxt()
1918 pos = xmlParserFindNodeInfoIndex(&ctx->node_seq, node); in xmlParserFindNodeInfo()
1919 if (pos < ctx->node_seq.length in xmlParserFindNodeInfo()
1920 && ctx->node_seq.buffer[pos].node == node) in xmlParserFindNodeInfo()
1921 return &ctx->node_seq.buffer[pos]; in xmlParserFindNodeInfo()
2019 pos = xmlParserFindNodeInfoIndex(&ctxt->node_seq, (xmlNodePtr) in xmlParserAddNodeInfo()
2022 if ((pos < ctxt->node_seq.length) && in xmlParserAddNodeInfo()
2023 (ctxt->node_seq.buffer != NULL) && in xmlParserAddNodeInfo()
2024 (ctxt->node_seq.buffer[pos].node == info->node)) { in xmlParserAddNodeInfo()
2025 ctxt->node_seq.buffer[pos] = *info; in xmlParserAddNodeInfo()
2030 if ((ctxt->node_seq.length + 1 > ctxt->node_seq.maximum) || in xmlParserAddNodeInfo()
2031 (ctxt->node_seq.buffer == NULL)) { in xmlParserAddNodeInfo()
2035 if (ctxt->node_seq.maximum == 0) in xmlParserAddNodeInfo()
2036 ctxt->node_seq.maximum = 2; in xmlParserAddNodeInfo()
2037 byte_size = (sizeof(*ctxt->node_seq.buffer) * in xmlParserAddNodeInfo()
2038 (2 * ctxt->node_seq.maximum)); in xmlParserAddNodeInfo()
2040 if (ctxt->node_seq.buffer == NULL) in xmlParserAddNodeInfo()
2044 (xmlParserNodeInfo *) xmlRealloc(ctxt->node_seq.buffer, in xmlParserAddNodeInfo()
2051 ctxt->node_seq.buffer = tmp_buffer; in xmlParserAddNodeInfo()
2052 ctxt->node_seq.maximum *= 2; in xmlParserAddNodeInfo()
2056 if (pos != ctxt->node_seq.length) { in xmlParserAddNodeInfo()
2059 for (i = ctxt->node_seq.length; i > pos; i--) in xmlParserAddNodeInfo()
2060 ctxt->node_seq.buffer[i] = ctxt->node_seq.buffer[i - 1]; in xmlParserAddNodeInfo()
2064 ctxt->node_seq.buffer[pos] = *info; in xmlParserAddNodeInfo()
2065 ctxt->node_seq.length++; in xmlParserAddNodeInfo()