ctxt 839 lib/common/xml.c xmlParserCtxtPtr ctxt = NULL; ctxt 848 lib/common/xml.c ctxt = xmlNewParserCtxt(); ctxt 849 lib/common/xml.c CRM_CHECK(ctxt != NULL, return NULL); ctxt 851 lib/common/xml.c xmlCtxtResetLastError(ctxt); ctxt 852 lib/common/xml.c xmlSetGenericErrorFunc(ctxt, log_xmllib_err); ctxt 853 lib/common/xml.c output = xmlCtxtReadDoc(ctxt, (pcmkXmlStr) input, NULL, NULL, ctxt 858 lib/common/xml.c last_error = xmlCtxtGetLastError(ctxt); ctxt 891 lib/common/xml.c xmlFreeParserCtxt(ctxt); ctxt 1023 lib/common/xml.c xmlParserCtxtPtr ctxt = NULL; ctxt 1027 lib/common/xml.c ctxt = xmlNewParserCtxt(); ctxt 1028 lib/common/xml.c CRM_CHECK(ctxt != NULL, return NULL); ctxt 1030 lib/common/xml.c xmlCtxtResetLastError(ctxt); ctxt 1031 lib/common/xml.c xmlSetGenericErrorFunc(ctxt, log_xmllib_err); ctxt 1039 lib/common/xml.c output = xmlCtxtReadFd(ctxt, STDIN_FILENO, "unknown.xml", NULL, ctxt 1043 lib/common/xml.c output = xmlCtxtReadFile(ctxt, filename, NULL, PCMK__XML_PARSE_OPTS); ctxt 1048 lib/common/xml.c output = xmlCtxtReadDoc(ctxt, (pcmkXmlStr) input, NULL, NULL, ctxt 1057 lib/common/xml.c last_error = xmlCtxtGetLastError(ctxt); ctxt 1075 lib/common/xml.c xmlFreeParserCtxt(ctxt); ctxt 193 maint/mocked/based-notifyfenced.c mock_based_notifyfenced_argparse_hook(struct mock_based_context_s *ctxt, ctxt 213 maint/mocked/based-notifyfenced.c ctxt->modules[module_handle]->priv = ctxt 215 maint/mocked/based-notifyfenced.c if (ctxt->modules[module_handle]->priv == NULL) { ctxt 135 maint/mocked/based.c mock_based_context_t *ctxt; ctxt 159 maint/mocked/based.c ctxt = (mock_based_context_t *) cib_client->userdata; ctxt 160 maint/mocked/based.c for (size_t c = ctxt->modules_cnt; c > 0; c--) { ctxt 161 maint/mocked/based.c if (ctxt->modules[c - 1]->hooks.cib_notify != NULL) { ctxt 162 maint/mocked/based.c ctxt->modules[c - 1]->hooks.cib_notify(cib_client); ctxt 236 maint/mocked/based.c mock_based_options(mock_based_context_t *ctxt, ctxt 245 maint/mocked/based.c return mock_based_options(ctxt, false, 2, (const char **) &help_argv); ctxt 261 maint/mocked/based.c = malloc((ctxt->modules_cnt + 2) * sizeof(*args2argv))) == NULL ctxt 263 maint/mocked/based.c = malloc((ctxt->modules_cnt * 2 + 2) * sizeof(*s))) == NULL) { ctxt 267 maint/mocked/based.c args2argv[ctxt->modules_cnt + 1] = (char[]){'-', 'h', '\0'}; ctxt 268 maint/mocked/based.c for (size_t c = ctxt->modules_cnt; c > 0; c--) { ctxt 269 maint/mocked/based.c args2argv[c] = (char[]){'-', ctxt->modules[c - 1]->shortopt, '\0'}; ctxt 270 maint/mocked/based.c s[(ctxt->modules_cnt - i) + 1] = '|'; ctxt 271 maint/mocked/based.c s[(ctxt->modules_cnt - i) + 2] = ctxt->modules[c - 1]->shortopt; ctxt 273 maint/mocked/based.c s[ctxt->modules_cnt * 2 + 1] = '\0'; ctxt 275 maint/mocked/based.c (void) mock_based_options(ctxt, true, 2 + ctxt->modules_cnt, args2argv); ctxt 281 maint/mocked/based.c for (size_t c = ctxt->modules_cnt; c > 0; c--) { ctxt 282 maint/mocked/based.c if (ctxt->modules[c - 1]->shortopt == argv[i][1]) { ctxt 283 maint/mocked/based.c ret = ctxt->modules[c - 1]->hooks.argparse(ctxt, usage, argc - i, &argv[i]); ctxt 303 maint/mocked/based.c mock_based_context_t *ctxt = &mock_based_context; ctxt 305 maint/mocked/based.c if (mock_based_options(ctxt, false, argc, (const char **) argv) > 0) { ctxt 322 maint/mocked/based.c for (size_t c = ctxt->modules_cnt; c > 0; c--) { ctxt 323 maint/mocked/based.c if (ctxt->modules[c - 1]->hooks.destroy != NULL) { ctxt 324 maint/mocked/based.c ctxt->modules[c - 1]->hooks.destroy(ctxt->modules[c - 1]);