ctxt 835 lib/common/xml.c xmlParserCtxtPtr ctxt = NULL; ctxt 844 lib/common/xml.c ctxt = xmlNewParserCtxt(); ctxt 845 lib/common/xml.c CRM_CHECK(ctxt != NULL, return NULL); ctxt 847 lib/common/xml.c xmlCtxtResetLastError(ctxt); ctxt 848 lib/common/xml.c xmlSetGenericErrorFunc(ctxt, pcmk__log_xmllib_err); ctxt 849 lib/common/xml.c output = xmlCtxtReadDoc(ctxt, (pcmkXmlStr) input, NULL, NULL, ctxt 854 lib/common/xml.c last_error = xmlCtxtGetLastError(ctxt); ctxt 887 lib/common/xml.c xmlFreeParserCtxt(ctxt); ctxt 1012 lib/common/xml.c xmlParserCtxtPtr ctxt = NULL; ctxt 1016 lib/common/xml.c ctxt = xmlNewParserCtxt(); ctxt 1017 lib/common/xml.c CRM_CHECK(ctxt != NULL, return NULL); ctxt 1019 lib/common/xml.c xmlCtxtResetLastError(ctxt); ctxt 1020 lib/common/xml.c xmlSetGenericErrorFunc(ctxt, pcmk__log_xmllib_err); ctxt 1028 lib/common/xml.c output = xmlCtxtReadFd(ctxt, STDIN_FILENO, "unknown.xml", NULL, ctxt 1032 lib/common/xml.c output = xmlCtxtReadFile(ctxt, filename, NULL, PCMK__XML_PARSE_OPTS); ctxt 1037 lib/common/xml.c output = xmlCtxtReadDoc(ctxt, (pcmkXmlStr) input, NULL, NULL, ctxt 1046 lib/common/xml.c last_error = xmlCtxtGetLastError(ctxt); ctxt 1064 lib/common/xml.c xmlFreeParserCtxt(ctxt); ctxt 83 maint/gnulib/lib/diffseq.h # define EARLY_ABORT(ctxt) false ctxt 181 maint/gnulib/lib/diffseq.h struct partition *part, struct context *ctxt) ctxt 183 maint/gnulib/lib/diffseq.h OFFSET *const fd = ctxt->fdiag; /* Give the compiler a chance. */ ctxt 184 maint/gnulib/lib/diffseq.h OFFSET *const bd = ctxt->bdiag; /* Additional help for the compiler. */ ctxt 186 maint/gnulib/lib/diffseq.h ELEMENT const *const xv = ctxt->xvec; /* Still more help for the compiler. */ ctxt 187 maint/gnulib/lib/diffseq.h ELEMENT const *const yv = ctxt->yvec; /* And more and more . . . */ ctxt 190 maint/gnulib/lib/diffseq.h #define XREF_YREF_EQUAL(x,y) XVECREF_YVECREF_EQUAL (ctxt, x, y) ctxt 282 maint/gnulib/lib/diffseq.h bool heuristic = ctxt->heuristic; ctxt 378 maint/gnulib/lib/diffseq.h if (c >= ctxt->too_expensive) ctxt 461 maint/gnulib/lib/diffseq.h bool find_minimal, struct context *ctxt) ctxt 464 maint/gnulib/lib/diffseq.h ELEMENT const *xv = ctxt->xvec; /* Help the compiler. */ ctxt 465 maint/gnulib/lib/diffseq.h ELEMENT const *yv = ctxt->yvec; ctxt 468 maint/gnulib/lib/diffseq.h #define XREF_YREF_EQUAL(x,y) XVECREF_YVECREF_EQUAL (ctxt, x, y) ctxt 492 maint/gnulib/lib/diffseq.h NOTE_INSERT (ctxt, yoff); ctxt 493 maint/gnulib/lib/diffseq.h if (EARLY_ABORT (ctxt)) ctxt 503 maint/gnulib/lib/diffseq.h NOTE_DELETE (ctxt, xoff); ctxt 504 maint/gnulib/lib/diffseq.h if (EARLY_ABORT (ctxt)) ctxt 514 maint/gnulib/lib/diffseq.h diag (xoff, xlim, yoff, ylim, find_minimal, &part, ctxt); ctxt 546 maint/gnulib/lib/diffseq.h bool early = compareseq (xoff1, xlim1, yoff1, ylim1, find_minimal1, ctxt); ctxt 47 maint/gnulib/lib/fstrcmp.c #define NOTE_DELETE(ctxt, xoff) ctxt->edit_count++ ctxt 48 maint/gnulib/lib/fstrcmp.c #define NOTE_INSERT(ctxt, yoff) ctxt->edit_count++ ctxt 50 maint/gnulib/lib/fstrcmp.c #define EARLY_ABORT(ctxt) ctxt->edit_count > 0 ctxt 103 maint/gnulib/lib/fstrcmp.c struct context ctxt; ctxt 199 maint/gnulib/lib/fstrcmp.c ctxt.xvec = string1; ctxt 200 maint/gnulib/lib/fstrcmp.c ctxt.yvec = string2; ctxt 204 maint/gnulib/lib/fstrcmp.c ctxt.too_expensive = 1; ctxt 206 maint/gnulib/lib/fstrcmp.c ctxt.too_expensive <<= 1; ctxt 207 maint/gnulib/lib/fstrcmp.c if (ctxt.too_expensive < 4096) ctxt 208 maint/gnulib/lib/fstrcmp.c ctxt.too_expensive = 4096; ctxt 228 maint/gnulib/lib/fstrcmp.c ctxt.fdiag = buffer + yvec_length + 1; ctxt 229 maint/gnulib/lib/fstrcmp.c ctxt.bdiag = ctxt.fdiag + fdiag_len; ctxt 241 maint/gnulib/lib/fstrcmp.c ctxt.edit_count_limit = ctxt 247 maint/gnulib/lib/fstrcmp.c ctxt.edit_count = - ctxt.edit_count_limit; ctxt 248 maint/gnulib/lib/fstrcmp.c if (compareseq (0, xvec_length, 0, yvec_length, 0, &ctxt)) /* Prob: 98% */ ctxt 252 maint/gnulib/lib/fstrcmp.c ctxt.edit_count += ctxt.edit_count_limit; ctxt 262 maint/gnulib/lib/fstrcmp.c return ((double) (xvec_length + yvec_length - ctxt.edit_count) ctxt 647 maint/gnulib/lib/git-merge-changelog.c #define NOTE_DELETE(ctxt, xoff) \ ctxt 648 maint/gnulib/lib/git-merge-changelog.c ctxt->index_mapping[xoff] = -1 ctxt 649 maint/gnulib/lib/git-merge-changelog.c #define NOTE_INSERT(ctxt, yoff) \ ctxt 650 maint/gnulib/lib/git-merge-changelog.c ctxt->index_mapping_reverse[yoff] = -1 ctxt 664 maint/gnulib/lib/git-merge-changelog.c struct context ctxt; ctxt 671 maint/gnulib/lib/git-merge-changelog.c ctxt.xvec = file1->entries; ctxt 672 maint/gnulib/lib/git-merge-changelog.c ctxt.yvec = file2->entries; ctxt 673 maint/gnulib/lib/git-merge-changelog.c ctxt.index_mapping = XNMALLOC (n1, ssize_t); ctxt 675 maint/gnulib/lib/git-merge-changelog.c ctxt.index_mapping[i] = 0; ctxt 676 maint/gnulib/lib/git-merge-changelog.c ctxt.index_mapping_reverse = XNMALLOC (n2, ssize_t); ctxt 678 maint/gnulib/lib/git-merge-changelog.c ctxt.index_mapping_reverse[j] = 0; ctxt 679 maint/gnulib/lib/git-merge-changelog.c ctxt.fdiag = XNMALLOC (2 * (n1 + n2 + 3), ssize_t) + n2 + 1; ctxt 680 maint/gnulib/lib/git-merge-changelog.c ctxt.bdiag = ctxt.fdiag + n1 + n2 + 3; ctxt 681 maint/gnulib/lib/git-merge-changelog.c ctxt.too_expensive = n1 + n2; ctxt 685 maint/gnulib/lib/git-merge-changelog.c compareseq (0, n1, 0, n2, 0, &ctxt); ctxt 692 maint/gnulib/lib/git-merge-changelog.c while (i < n1 && ctxt.index_mapping[i] < 0) ctxt 694 maint/gnulib/lib/git-merge-changelog.c while (j < n2 && ctxt.index_mapping_reverse[j] < 0) ctxt 699 maint/gnulib/lib/git-merge-changelog.c ctxt.index_mapping[i] = j; ctxt 700 maint/gnulib/lib/git-merge-changelog.c ctxt.index_mapping_reverse[j] = i; ctxt 733 maint/gnulib/lib/git-merge-changelog.c if (ctxt.index_mapping[i] >= 0) ctxt 735 maint/gnulib/lib/git-merge-changelog.c if (ctxt.index_mapping_reverse[j] >= 0) ctxt 737 maint/gnulib/lib/git-merge-changelog.c ASSERT (ctxt.index_mapping[i] == j); ctxt 738 maint/gnulib/lib/git-merge-changelog.c ASSERT (ctxt.index_mapping_reverse[j] == i); ctxt 745 maint/gnulib/lib/git-merge-changelog.c ASSERT (ctxt.index_mapping_reverse[j] < 0); ctxt 751 maint/gnulib/lib/git-merge-changelog.c while (j < n2 && ctxt.index_mapping_reverse[j] < 0); ctxt 758 maint/gnulib/lib/git-merge-changelog.c if (ctxt.index_mapping_reverse[j] >= 0) ctxt 761 maint/gnulib/lib/git-merge-changelog.c ASSERT (ctxt.index_mapping[i] < 0); ctxt 767 maint/gnulib/lib/git-merge-changelog.c while (i < n1 && ctxt.index_mapping[i] < 0); ctxt 774 maint/gnulib/lib/git-merge-changelog.c ASSERT (ctxt.index_mapping[i] < 0); ctxt 775 maint/gnulib/lib/git-merge-changelog.c ASSERT (ctxt.index_mapping_reverse[j] < 0); ctxt 781 maint/gnulib/lib/git-merge-changelog.c while (i < n1 && ctxt.index_mapping[i] < 0); ctxt 786 maint/gnulib/lib/git-merge-changelog.c while (j < n2 && ctxt.index_mapping_reverse[j] < 0); ctxt 793 maint/gnulib/lib/git-merge-changelog.c result->index_mapping = ctxt.index_mapping; ctxt 794 maint/gnulib/lib/git-merge-changelog.c result->index_mapping_reverse = ctxt.index_mapping_reverse;