ctxt 934 lib/common/xml.c xmlParserCtxtPtr ctxt = NULL; ctxt 943 lib/common/xml.c ctxt = xmlNewParserCtxt(); ctxt 944 lib/common/xml.c CRM_CHECK(ctxt != NULL, return NULL); ctxt 946 lib/common/xml.c xmlCtxtResetLastError(ctxt); ctxt 947 lib/common/xml.c xmlSetGenericErrorFunc(ctxt, log_xmllib_err); ctxt 948 lib/common/xml.c output = xmlCtxtReadDoc(ctxt, (pcmkXmlStr) input, NULL, NULL, ctxt 953 lib/common/xml.c last_error = xmlCtxtGetLastError(ctxt); ctxt 986 lib/common/xml.c xmlFreeParserCtxt(ctxt); ctxt 1111 lib/common/xml.c xmlParserCtxtPtr ctxt = NULL; ctxt 1115 lib/common/xml.c ctxt = xmlNewParserCtxt(); ctxt 1116 lib/common/xml.c CRM_CHECK(ctxt != NULL, return NULL); ctxt 1118 lib/common/xml.c xmlCtxtResetLastError(ctxt); ctxt 1119 lib/common/xml.c xmlSetGenericErrorFunc(ctxt, log_xmllib_err); ctxt 1127 lib/common/xml.c output = xmlCtxtReadFd(ctxt, STDIN_FILENO, "unknown.xml", NULL, ctxt 1131 lib/common/xml.c output = xmlCtxtReadFile(ctxt, filename, NULL, PCMK__XML_PARSE_OPTS); ctxt 1136 lib/common/xml.c output = xmlCtxtReadDoc(ctxt, (pcmkXmlStr) input, NULL, NULL, ctxt 1145 lib/common/xml.c last_error = xmlCtxtGetLastError(ctxt); ctxt 1163 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;