• Home
  • Raw
  • Download

Lines Matching refs:node_seq

1760     xmlInitNodeInfoSeq(&ctxt->node_seq);  in xmlInitParserCtxt()
1894 xmlClearNodeInfoSeq(&ctxt->node_seq); in xmlClearParserCtxt()
1916 pos = xmlParserFindNodeInfoIndex(&ctx->node_seq, node); in xmlParserFindNodeInfo()
1917 if (pos < ctx->node_seq.length in xmlParserFindNodeInfo()
1918 && ctx->node_seq.buffer[pos].node == node) in xmlParserFindNodeInfo()
1919 return &ctx->node_seq.buffer[pos]; in xmlParserFindNodeInfo()
2017 pos = xmlParserFindNodeInfoIndex(&ctxt->node_seq, (xmlNodePtr) in xmlParserAddNodeInfo()
2020 if ((pos < ctxt->node_seq.length) && in xmlParserAddNodeInfo()
2021 (ctxt->node_seq.buffer != NULL) && in xmlParserAddNodeInfo()
2022 (ctxt->node_seq.buffer[pos].node == info->node)) { in xmlParserAddNodeInfo()
2023 ctxt->node_seq.buffer[pos] = *info; in xmlParserAddNodeInfo()
2028 if (ctxt->node_seq.length + 1 > ctxt->node_seq.maximum) { in xmlParserAddNodeInfo()
2032 if (ctxt->node_seq.maximum == 0) in xmlParserAddNodeInfo()
2033 ctxt->node_seq.maximum = 2; in xmlParserAddNodeInfo()
2034 byte_size = (sizeof(*ctxt->node_seq.buffer) * in xmlParserAddNodeInfo()
2035 (2 * ctxt->node_seq.maximum)); in xmlParserAddNodeInfo()
2037 if (ctxt->node_seq.buffer == NULL) in xmlParserAddNodeInfo()
2041 (xmlParserNodeInfo *) xmlRealloc(ctxt->node_seq.buffer, in xmlParserAddNodeInfo()
2048 ctxt->node_seq.buffer = tmp_buffer; in xmlParserAddNodeInfo()
2049 ctxt->node_seq.maximum *= 2; in xmlParserAddNodeInfo()
2053 if (pos != ctxt->node_seq.length) { in xmlParserAddNodeInfo()
2056 for (i = ctxt->node_seq.length; i > pos; i--) in xmlParserAddNodeInfo()
2057 ctxt->node_seq.buffer[i] = ctxt->node_seq.buffer[i - 1]; in xmlParserAddNodeInfo()
2061 ctxt->node_seq.buffer[pos] = *info; in xmlParserAddNodeInfo()
2062 ctxt->node_seq.length++; in xmlParserAddNodeInfo()