out 50 daemons/attrd/pacemaker-attrd.c static pcmk__output_t *out = NULL; out 120 daemons/attrd/pacemaker-attrd.c rc = pcmk__output_new(&out, args->output_ty, args->output_dest, argv); out 121 daemons/attrd/pacemaker-attrd.c if ((rc != pcmk_rc_ok) || (out == NULL)) { out 130 daemons/attrd/pacemaker-attrd.c out->version(out, false); out 135 daemons/attrd/pacemaker-attrd.c pcmk__add_logfiles(log_files, out); out 216 daemons/attrd/pacemaker-attrd.c pcmk__output_and_clear_error(&error, out); out 218 daemons/attrd/pacemaker-attrd.c if (out != NULL) { out 219 daemons/attrd/pacemaker-attrd.c out->finish(out, attrd_exit_status, true, NULL); out 220 daemons/attrd/pacemaker-attrd.c pcmk__output_free(out); out 132 daemons/based/pacemaker-based.c based_metadata(pcmk__output_t *out) out 134 daemons/based/pacemaker-based.c return pcmk__daemon_metadata(out, "pacemaker-based", out 180 daemons/based/pacemaker-based.c pcmk__output_t *out = NULL; out 197 daemons/based/pacemaker-based.c rc = pcmk__output_new(&out, args->output_ty, args->output_dest, argv); out 207 daemons/based/pacemaker-based.c out->version(out, false); out 219 daemons/based/pacemaker-based.c rc = based_metadata(out); out 307 daemons/based/pacemaker-based.c pcmk__output_and_clear_error(&error, out); out 309 daemons/based/pacemaker-based.c if (out != NULL) { out 310 daemons/based/pacemaker-based.c out->finish(out, exit_code, true, NULL); out 311 daemons/based/pacemaker-based.c pcmk__output_free(out); out 53 daemons/controld/pacemaker-controld.c controld_metadata(pcmk__output_t *out) out 55 daemons/controld/pacemaker-controld.c return pcmk__daemon_metadata(out, "pacemaker-controld", out 77 daemons/controld/pacemaker-controld.c pcmk__output_t *out = NULL; out 94 daemons/controld/pacemaker-controld.c rc = pcmk__output_new(&out, args->output_ty, args->output_dest, argv); out 104 daemons/controld/pacemaker-controld.c out->version(out, false); out 113 daemons/controld/pacemaker-controld.c rc = controld_metadata(out); out 175 daemons/controld/pacemaker-controld.c pcmk__output_and_clear_error(&error, out); out 177 daemons/controld/pacemaker-controld.c if (out != NULL) { out 178 daemons/controld/pacemaker-controld.c out->finish(out, exit_code, true, NULL); out 179 daemons/controld/pacemaker-controld.c pcmk__output_free(out); out 440 daemons/execd/pacemaker-execd.c pcmk__output_t *out = NULL; out 470 daemons/execd/pacemaker-execd.c rc = pcmk__output_new(&out, args->output_ty, args->output_dest, argv); out 480 daemons/execd/pacemaker-execd.c out->version(out, false); out 490 daemons/execd/pacemaker-execd.c out->err(out, "Logging to %s is disabled: %s", out 579 daemons/execd/pacemaker-execd.c pcmk__output_and_clear_error(&error, out); out 581 daemons/execd/pacemaker-execd.c if (out != NULL) { out 582 daemons/execd/pacemaker-execd.c out->finish(out, exit_code, true, NULL); out 583 daemons/execd/pacemaker-execd.c pcmk__output_free(out); out 53 daemons/fenced/pacemaker-fenced.c static pcmk__output_t *out = NULL; out 512 daemons/fenced/pacemaker-fenced.c return pcmk__daemon_metadata(out, name, desc_short, desc_long, out 561 daemons/fenced/pacemaker-fenced.c rc = pcmk__output_new(&out, args->output_ty, args->output_dest, argv); out 571 daemons/fenced/pacemaker-fenced.c out->version(out, false); out 588 daemons/fenced/pacemaker-fenced.c pcmk__add_logfiles(options.log_files, out); out 678 daemons/fenced/pacemaker-fenced.c pcmk__output_and_clear_error(&error, out); out 680 daemons/fenced/pacemaker-fenced.c if (out != NULL) { out 681 daemons/fenced/pacemaker-fenced.c out->finish(out, exit_code, true, NULL); out 682 daemons/fenced/pacemaker-fenced.c pcmk__output_free(out); out 45 daemons/pacemakerd/pacemakerd.c static pcmk__output_t *out = NULL; out 56 daemons/pacemakerd/pacemakerd.c pacemakerd_features(pcmk__output_t *out, va_list args) { out 57 daemons/pacemakerd/pacemakerd.c out->info(out, "Pacemaker %s (Build: %s)\n Supporting v%s: %s", PACEMAKER_VERSION, out 64 daemons/pacemakerd/pacemakerd.c pacemakerd_features_xml(pcmk__output_t *out, va_list args) { out 67 daemons/pacemakerd/pacemakerd.c pcmk__output_xml_create_parent(out, PCMK_XE_PACEMAKERD, out 72 daemons/pacemakerd/pacemakerd.c out->begin_list(out, NULL, NULL, PCMK_XE_FEATURES); out 75 daemons/pacemakerd/pacemakerd.c pcmk__output_create_xml_text_node(out, PCMK_XE_FEATURE, *s); out 78 daemons/pacemakerd/pacemakerd.c out->end_list(out); out 80 daemons/pacemakerd/pacemakerd.c pcmk__output_xml_pop_parent(out); out 247 daemons/pacemakerd/pacemakerd.c out->err(out, "Bad reply from pacemakerd: %s", crm_exit_str(status)); out 252 daemons/pacemakerd/pacemakerd.c out->err(out, "Unknown reply type %d from pacemakerd", out 298 daemons/pacemakerd/pacemakerd.c rc = pcmk__output_new(&out, args->output_ty, args->output_dest, argv); out 299 daemons/pacemakerd/pacemakerd.c if ((rc != pcmk_rc_ok) || (out == NULL)) { out 306 daemons/pacemakerd/pacemakerd.c pcmk__register_messages(out, fmt_functions); out 309 daemons/pacemakerd/pacemakerd.c out->message(out, "features"); out 315 daemons/pacemakerd/pacemakerd.c out->version(out, false); out 332 daemons/pacemakerd/pacemakerd.c out->err(out, "Could not check for existing pacemakerd: %s", pcmk_rc_str(rc)); out 376 daemons/pacemakerd/pacemakerd.c out->err(out, "Could not request shutdown " out 393 daemons/pacemakerd/pacemakerd.c if (out != NULL) { out 394 daemons/pacemakerd/pacemakerd.c out->finish(out, exit_code, true, NULL); out 395 daemons/pacemakerd/pacemakerd.c pcmk__output_free(out); out 396 daemons/pacemakerd/pacemakerd.c out = NULL; out 481 daemons/pacemakerd/pacemakerd.c pcmk__output_and_clear_error(&error, out); out 483 daemons/pacemakerd/pacemakerd.c if (out != NULL) { out 484 daemons/pacemakerd/pacemakerd.c out->finish(out, exit_code, true, NULL); out 485 daemons/pacemakerd/pacemakerd.c pcmk__output_free(out); out 35 daemons/schedulerd/pacemaker-schedulerd.c static pcmk__output_t *out = NULL; out 53 daemons/schedulerd/pacemaker-schedulerd.c scheduler_metadata(pcmk__output_t *out) out 55 daemons/schedulerd/pacemaker-schedulerd.c return pcmk__daemon_metadata(out, "pacemaker-schedulerd", out 99 daemons/schedulerd/pacemaker-schedulerd.c rc = pcmk__output_new(&out, args->output_ty, args->output_dest, argv); out 100 daemons/schedulerd/pacemaker-schedulerd.c if ((rc != pcmk_rc_ok) || (out == NULL)) { out 107 daemons/schedulerd/pacemaker-schedulerd.c pe__register_messages(out); out 108 daemons/schedulerd/pacemaker-schedulerd.c pcmk__register_lib_messages(out); out 114 daemons/schedulerd/pacemaker-schedulerd.c rc = scheduler_metadata(out); out 130 daemons/schedulerd/pacemaker-schedulerd.c out->version(out, false); out 172 daemons/schedulerd/pacemaker-schedulerd.c pcmk__output_and_clear_error(&error, out); out 191 daemons/schedulerd/pacemaker-schedulerd.c if (out != NULL) { out 192 daemons/schedulerd/pacemaker-schedulerd.c out->finish(out, exit_code, true, NULL); out 193 daemons/schedulerd/pacemaker-schedulerd.c pcmk__output_free(out); out 194 daemons/schedulerd/pacemaker-schedulerd.c out = NULL; out 264 include/crm/cib/internal.h void cib__set_output(cib_t *cib, pcmk__output_t *out); out 289 include/crm/cib/internal.h int cib__signon_query(pcmk__output_t *out, cib_t **cib, xmlNode **cib_object); out 296 include/crm/cib/internal.h int cib__update_node_attr(pcmk__output_t *out, cib_t *cib, int call_options, out 302 include/crm/cib/internal.h int cib__get_node_attrs(pcmk__output_t *out, cib_t *cib, const char *section, out 307 include/crm/cib/internal.h int cib__delete_node_attr(pcmk__output_t *out, cib_t *cib, int options, out 235 include/crm/common/logging_internal.h void pcmk__add_logfiles(gchar **log_files, pcmk__output_t *out); out 93 include/crm/common/options_internal.h int pcmk__output_cluster_options(pcmk__output_t *out, const char *name, out 96 include/crm/common/options_internal.h int pcmk__output_fencing_params(pcmk__output_t *out, const char *name, out 99 include/crm/common/options_internal.h int pcmk__output_primitive_meta(pcmk__output_t *out, const char *name, out 103 include/crm/common/options_internal.h int pcmk__daemon_metadata(pcmk__output_t *out, const char *name, out 68 include/crm/common/output_internal.h typedef int (*pcmk__message_fn_t)(pcmk__output_t *out, va_list args); out 231 include/crm/common/output_internal.h bool (*init) (pcmk__output_t *out); out 242 include/crm/common/output_internal.h void (*free_priv) (pcmk__output_t *out); out 278 include/crm/common/output_internal.h void (*finish) (pcmk__output_t *out, crm_exit_t exit_status, bool print, out 296 include/crm/common/output_internal.h void (*reset) (pcmk__output_t *out); out 309 include/crm/common/output_internal.h void (*register_message) (pcmk__output_t *out, const char *message_id, out 327 include/crm/common/output_internal.h int (*message) (pcmk__output_t *out, const char *message_id, ...); out 338 include/crm/common/output_internal.h void (*subprocess_output) (pcmk__output_t *out, int exit_status, out 349 include/crm/common/output_internal.h void (*version) (pcmk__output_t *out, bool extended); out 371 include/crm/common/output_internal.h int (*info) (pcmk__output_t *out, const char *format, ...) G_GNUC_PRINTF(2, 3); out 390 include/crm/common/output_internal.h int (*transient) (pcmk__output_t *out, const char *format, ...) out 408 include/crm/common/output_internal.h void (*err) (pcmk__output_t *out, const char *format, ...) G_GNUC_PRINTF(2, 3); out 418 include/crm/common/output_internal.h void (*output_xml) (pcmk__output_t *out, const char *name, const char *buf); out 439 include/crm/common/output_internal.h void (*begin_list) (pcmk__output_t *out, const char *singular_noun, out 452 include/crm/common/output_internal.h void (*list_item) (pcmk__output_t *out, const char *name, const char *format, ...) out 467 include/crm/common/output_internal.h void (*increment_list) (pcmk__output_t *out); out 479 include/crm/common/output_internal.h void (*end_list) (pcmk__output_t *out); out 492 include/crm/common/output_internal.h bool (*is_quiet) (pcmk__output_t *out); out 500 include/crm/common/output_internal.h void (*spacer) (pcmk__output_t *out); out 512 include/crm/common/output_internal.h void (*progress) (pcmk__output_t *out, bool end); out 546 include/crm/common/output_internal.h pcmk__call_message(pcmk__output_t *out, const char *message_id, ...); out 560 include/crm/common/output_internal.h void pcmk__output_free(pcmk__output_t *out); out 578 include/crm/common/output_internal.h int pcmk__output_new(pcmk__output_t **out, const char *fmt_name, out 637 include/crm/common/output_internal.h pcmk__register_message(pcmk__output_t *out, const char *message_id, out 652 include/crm/common/output_internal.h pcmk__register_messages(pcmk__output_t *out, out 657 include/crm/common/output_internal.h void pcmk__output_text_set_fancy(pcmk__output_t *out, bool enabled); out 675 include/crm/common/output_internal.h pcmk__indented_printf(pcmk__output_t *out, const char *format, ...) G_GNUC_PRINTF(2, 3); out 692 include/crm/common/output_internal.h pcmk__indented_vprintf(pcmk__output_t *out, const char *format, va_list args) G_GNUC_PRINTF(2, 0); out 708 include/crm/common/output_internal.h pcmk__formatted_printf(pcmk__output_t *out, const char *format, ...) G_GNUC_PRINTF(2, 3); out 724 include/crm/common/output_internal.h pcmk__formatted_vprintf(pcmk__output_t *out, const char *format, va_list args) G_GNUC_PRINTF(2, 0); out 739 include/crm/common/output_internal.h pcmk__output_get_log_level(const pcmk__output_t *out); out 742 include/crm/common/output_internal.h pcmk__output_set_log_level(pcmk__output_t *out, uint8_t log_level); out 744 include/crm/common/output_internal.h void pcmk__output_set_log_filter(pcmk__output_t *out, const char *file, out 761 include/crm/common/output_internal.h pcmk__output_xml_create_parent(pcmk__output_t *out, const char *name, ...) out 773 include/crm/common/output_internal.h pcmk__output_xml_add_node_copy(pcmk__output_t *out, xmlNodePtr node); out 785 include/crm/common/output_internal.h pcmk__output_create_xml_node(pcmk__output_t *out, const char *name, ...) out 798 include/crm/common/output_internal.h pcmk__output_create_xml_text_node(pcmk__output_t *out, const char *name, const char *content); out 815 include/crm/common/output_internal.h pcmk__output_xml_push_parent(pcmk__output_t *out, xmlNodePtr parent); out 832 include/crm/common/output_internal.h pcmk__output_xml_pop_parent(pcmk__output_t *out); out 849 include/crm/common/output_internal.h pcmk__output_xml_peek_parent(pcmk__output_t *out); out 865 include/crm/common/output_internal.h pcmk__output_create_html_node(pcmk__output_t *out, const char *element_name, const char *id, out 903 include/crm/common/output_internal.h void pcmk__output_and_clear_error(GError **error, pcmk__output_t *out); out 905 include/crm/common/output_internal.h int pcmk__xml_output_new(pcmk__output_t **out, xmlNodePtr *xml); out 906 include/crm/common/output_internal.h void pcmk__xml_output_finish(pcmk__output_t *out, crm_exit_t exit_status, xmlNodePtr *xml); out 907 include/crm/common/output_internal.h int pcmk__log_output_new(pcmk__output_t **out); out 908 include/crm/common/output_internal.h int pcmk__text_output_new(pcmk__output_t **out, const char *filename); out 923 include/crm/common/output_internal.h bool pcmk__output_get_legacy_xml(pcmk__output_t *out); out 935 include/crm/common/output_internal.h void pcmk__output_set_legacy_xml(pcmk__output_t *out); out 948 include/crm/common/output_internal.h void pcmk__output_enable_list_element(pcmk__output_t *out); out 1000 include/crm/common/output_internal.h out->spacer(out); \ out 87 include/crm/common/results_internal.h char *out, char *err); out 168 include/crm/common/xml_internal.h int pcmk__xml_show(pcmk__output_t *out, const char *prefix, const xmlNode *data, out 170 include/crm/common/xml_internal.h int pcmk__xml_show_changes(pcmk__output_t *out, const xmlNode *xml); out 519 include/crm/common/xml_internal.h pcmk__warn_multiple_name_matches(pcmk__output_t *out, xmlNode *search, out 91 include/crm/fencing/internal.h void stonith__register_messages(pcmk__output_t *out); out 86 include/crm/lrmd_internal.h void lrmd__register_messages(pcmk__output_t *out); out 97 include/crm/pengine/internal.h int pe__name_and_nvpairs_xml(pcmk__output_t *out, bool is_list, const char *tag_name, out 109 include/crm/pengine/internal.h int pe__clone_xml(pcmk__output_t *out, va_list args); out 110 include/crm/pengine/internal.h int pe__clone_default(pcmk__output_t *out, va_list args); out 111 include/crm/pengine/internal.h int pe__group_xml(pcmk__output_t *out, va_list args); out 112 include/crm/pengine/internal.h int pe__group_default(pcmk__output_t *out, va_list args); out 113 include/crm/pengine/internal.h int pe__bundle_xml(pcmk__output_t *out, va_list args); out 114 include/crm/pengine/internal.h int pe__bundle_html(pcmk__output_t *out, va_list args); out 115 include/crm/pengine/internal.h int pe__bundle_text(pcmk__output_t *out, va_list args); out 116 include/crm/pengine/internal.h int pe__node_html(pcmk__output_t *out, va_list args); out 117 include/crm/pengine/internal.h int pe__node_text(pcmk__output_t *out, va_list args); out 118 include/crm/pengine/internal.h int pe__node_xml(pcmk__output_t *out, va_list args); out 119 include/crm/pengine/internal.h int pe__resource_xml(pcmk__output_t *out, va_list args); out 120 include/crm/pengine/internal.h int pe__resource_html(pcmk__output_t *out, va_list args); out 121 include/crm/pengine/internal.h int pe__resource_text(pcmk__output_t *out, va_list args); out 323 include/crm/pengine/internal.h int pe__rscs_brief_output(pcmk__output_t *out, GList *rsc_list, unsigned int options); out 333 include/crm/pengine/internal.h int pe__common_output_text(pcmk__output_t *out, const pcmk_resource_t *rsc, out 336 include/crm/pengine/internal.h int pe__common_output_html(pcmk__output_t *out, const pcmk_resource_t *rsc, out 381 include/crm/pengine/internal.h void pe__register_messages(pcmk__output_t *out); out 14 include/pcmki/pcmki_agents.h int pcmk__list_alternatives(pcmk__output_t *out, const char *agent_spec); out 15 include/pcmki/pcmki_agents.h int pcmk__list_agents(pcmk__output_t *out, char *agent_spec); out 16 include/pcmki/pcmki_agents.h int pcmk__list_providers(pcmk__output_t *out, const char *agent_spec); out 17 include/pcmki/pcmki_agents.h int pcmk__list_standards(pcmk__output_t *out); out 22 include/pcmki/pcmki_cluster_queries.h int pcmk__list_nodes(pcmk__output_t *out, const char *node_types, out 26 include/pcmki/pcmki_cluster_queries.h int pcmk__controller_status(pcmk__output_t *out, const char *node_name, out 28 include/pcmki/pcmki_cluster_queries.h int pcmk__designated_controller(pcmk__output_t *out, out 30 include/pcmki/pcmki_cluster_queries.h int pcmk__pacemakerd_status(pcmk__output_t *out, const char *ipc_name, out 33 include/pcmki/pcmki_cluster_queries.h int pcmk__query_node_info(pcmk__output_t *out, uint32_t *node_id, out 58 include/pcmki/pcmki_cluster_queries.h pcmk__query_node_name(pcmk__output_t *out, uint32_t nodeid, char **node_name, out 61 include/pcmki/pcmki_cluster_queries.h return pcmk__query_node_info(out, &nodeid, node_name, NULL, NULL, NULL, out 66 include/pcmki/pcmki_cluster_queries.h int pcmk__pacemakerd_status(pcmk__output_t *out, const char *ipc_name, out 73 include/pcmki/pcmki_fence.h int pcmk__fence_history(pcmk__output_t *out, stonith_t *st, const char *target, out 93 include/pcmki/pcmki_fence.h int pcmk__fence_installed(pcmk__output_t *out, stonith_t *st, unsigned int timeout); out 111 include/pcmki/pcmki_fence.h int pcmk__fence_last(pcmk__output_t *out, const char *target, bool as_nodeid); out 130 include/pcmki/pcmki_fence.h int pcmk__fence_list_targets(pcmk__output_t *out, stonith_t *st, out 150 include/pcmki/pcmki_fence.h int pcmk__fence_metadata(pcmk__output_t *out, stonith_t *st, const char *agent, out 170 include/pcmki/pcmki_fence.h int pcmk__fence_registered(pcmk__output_t *out, stonith_t *st, out 234 include/pcmki/pcmki_fence.h int pcmk__fence_validate(pcmk__output_t *out, stonith_t *st, const char *agent, out 15 include/pcmki/pcmki_options.h int pcmk__list_cluster_options(pcmk__output_t *out, bool all); out 16 include/pcmki/pcmki_options.h int pcmk__list_fencing_params(pcmk__output_t *out, bool all); out 17 include/pcmki/pcmki_options.h int pcmk__list_primitive_meta(pcmk__output_t *out, bool all); out 24 include/pcmki/pcmki_output.h void pcmk__register_lib_messages(pcmk__output_t *out); out 26 include/pcmki/pcmki_output.h int pcmk__cluster_status_text(pcmk__output_t *out, va_list args); out 21 include/pcmki/pcmki_resource.h int pcmk__resource_digests(pcmk__output_t *out, pcmk_resource_t *rsc, out 18 include/pcmki/pcmki_result_code.h int pcmk__show_result_code(pcmk__output_t *out, int code, out 20 include/pcmki/pcmki_result_code.h int pcmk__list_result_codes(pcmk__output_t *out, enum pcmk_result_type type, out 17 include/pcmki/pcmki_rule.h int pcmk__check_rules(pcmk__output_t *out, xmlNodePtr input, out 33 include/pcmki/pcmki_rule.h pcmk__check_rule(pcmk__output_t *out, xmlNodePtr input, const crm_time_t *date, out 37 include/pcmki/pcmki_rule.h return pcmk__check_rules(out, input, date, rule_ids); out 83 include/pcmki/pcmki_simulate.h int pcmk__simulate(pcmk_scheduler_t *scheduler, pcmk__output_t *out, out 41 include/pcmki/pcmki_status.h int pcmk__output_simple_status(pcmk__output_t *out, out 44 include/pcmki/pcmki_status.h int pcmk__output_cluster_status(pcmk__output_t *out, stonith_t *stonith, out 53 include/pcmki/pcmki_status.h int pcmk__status(pcmk__output_t *out, cib_t *cib, out 43 include/pcmki/pcmki_ticket.h int pcmk__ticket_constraints(pcmk__output_t *out, cib_t *cib, const char *ticket_id); out 58 include/pcmki/pcmki_ticket.h int pcmk__ticket_delete(pcmk__output_t *out, cib_t *cib, pcmk_scheduler_t *scheduler, out 74 include/pcmki/pcmki_ticket.h int pcmk__ticket_get_attr(pcmk__output_t *out, pcmk_scheduler_t *scheduler, out 96 include/pcmki/pcmki_ticket.h int pcmk__ticket_info(pcmk__output_t *out, pcmk_scheduler_t *scheduler, out 113 include/pcmki/pcmki_ticket.h int pcmk__ticket_remove_attr(pcmk__output_t *out, cib_t *cib, pcmk_scheduler_t *scheduler, out 135 include/pcmki/pcmki_ticket.h int pcmk__ticket_set_attr(pcmk__output_t *out, cib_t *cib, pcmk_scheduler_t *scheduler, out 152 include/pcmki/pcmki_ticket.h int pcmk__ticket_state(pcmk__output_t *out, cib_t *cib, const char *ticket_id); out 31 include/pcmki/pcmki_verify.h int pcmk__parse_cib(pcmk__output_t *out, const char *cib_source, xmlNodePtr *cib_object); out 47 include/pcmki/pcmki_verify.h int pcmk__verify(pcmk_scheduler_t *scheduler, pcmk__output_t *out, out 34 lib/cib/cib_attrs.c pcmk__output_t *out = NULL; out 43 lib/cib/cib_attrs.c rc = pcmk__output_new(&out, ty, NULL, (char**)argv); out 44 lib/cib/cib_attrs.c if ((rc != pcmk_rc_ok) || (out == NULL)) { out 49 lib/cib/cib_attrs.c return out; out 153 lib/cib/cib_attrs.c handle_multiples(pcmk__output_t *out, xmlNode *search, const char *attr_name) out 156 lib/cib/cib_attrs.c pcmk__warn_multiple_name_matches(out, search, attr_name); out 164 lib/cib/cib_attrs.c cib__update_node_attr(pcmk__output_t *out, cib_t *cib, int call_options, const char *section, out 178 lib/cib/cib_attrs.c CRM_CHECK((out != NULL) && (cib != NULL) && (section != NULL) out 186 lib/cib/cib_attrs.c if (handle_multiples(out, xml_search, attr_name) == ENOTUNIQ) { out 331 lib/cib/cib_attrs.c out->err(out, "Error setting %s=%s (section=%s, set=%s): %s", out 345 lib/cib/cib_attrs.c cib__get_node_attrs(pcmk__output_t *out, cib_t *cib, const char *section, out 371 lib/cib/cib_attrs.c cib__delete_node_attr(pcmk__output_t *out, cib_t *cib, int options, const char *section, out 388 lib/cib/cib_attrs.c if (rc != pcmk_rc_ok || handle_multiples(out, xml_search, attr_name) == ENOTUNIQ) { out 412 lib/cib/cib_attrs.c out->info(out, "Deleted %s %s: id=%s%s%s%s%s", out 428 lib/cib/cib_attrs.c pcmk__output_t *out = NULL; out 432 lib/cib/cib_attrs.c out = new_output_object(to_console ? "text" : "log"); out 433 lib/cib/cib_attrs.c if (out == NULL) { out 441 lib/cib/cib_attrs.c rc = handle_multiples(out, xml_search, attr_name); out 448 lib/cib/cib_attrs.c out->finish(out, CRM_EX_OK, true, NULL); out 450 lib/cib/cib_attrs.c pcmk__output_free(out); out 460 lib/cib/cib_attrs.c pcmk__output_t *out = NULL; out 463 lib/cib/cib_attrs.c out = new_output_object(to_console ? "text" : "log"); out 464 lib/cib/cib_attrs.c if (out == NULL) { out 468 lib/cib/cib_attrs.c rc = cib__update_node_attr(out, cib, call_options, section, node_uuid, set_type, out 472 lib/cib/cib_attrs.c out->finish(out, CRM_EX_OK, true, NULL); out 473 lib/cib/cib_attrs.c pcmk__output_free(out); out 483 lib/cib/cib_attrs.c pcmk__output_t *out = NULL; out 487 lib/cib/cib_attrs.c out = new_output_object(to_console ? "text" : "log"); out 488 lib/cib/cib_attrs.c if (out == NULL) { out 492 lib/cib/cib_attrs.c rc = cib__get_node_attrs(out, cib, section, node_uuid, set_type, set_name, out 504 lib/cib/cib_attrs.c out->finish(out, CRM_EX_OK, true, NULL); out 506 lib/cib/cib_attrs.c pcmk__output_free(out); out 516 lib/cib/cib_attrs.c pcmk__output_t *out = NULL; out 519 lib/cib/cib_attrs.c out = new_output_object(to_console ? "text" : "log"); out 520 lib/cib/cib_attrs.c if (out == NULL) { out 524 lib/cib/cib_attrs.c rc = cib__delete_node_attr(out, cib, options, section, node_uuid, set_type, out 527 lib/cib/cib_attrs.c out->finish(out, CRM_EX_OK, true, NULL); out 528 lib/cib/cib_attrs.c pcmk__output_free(out); out 53 lib/cib/cib_remote.c pcmk__output_t *out; out 491 lib/cib/cib_remote.c if (private->out == NULL) { out 497 lib/cib/cib_remote.c private->out->prompt("Password", false, &(private->passwd)); out 684 lib/cib/cib_remote.c cib__set_output(cib_t *cib, pcmk__output_t *out) out 693 lib/cib/cib_remote.c private->out = out; out 961 lib/cib/cib_utils.c #define log_signon_query_err(out, fmt, args...) do { \ out 962 lib/cib/cib_utils.c if (out != NULL) { \ out 963 lib/cib/cib_utils.c out->err(out, fmt, ##args); \ out 970 lib/cib/cib_utils.c cib__signon_query(pcmk__output_t *out, cib_t **cib, xmlNode **cib_object) out 996 lib/cib/cib_utils.c log_signon_query_err(out, "Could not connect to the CIB: %s", out 1001 lib/cib/cib_utils.c if (out != NULL) { out 1002 lib/cib/cib_utils.c out->transient(out, "Querying CIB..."); out 1009 lib/cib/cib_utils.c log_signon_query_err(out, "CIB query failed: %s", pcmk_rc_str(rc)); out 1112 lib/cib/cib_utils.c pcmk__output_t *out = NULL; out 1113 lib/cib/cib_utils.c int rc = pcmk__output_new(&out, "text", NULL, NULL); out 1120 lib/cib/cib_utils.c pcmk__daemon_metadata(out, "pacemaker-based", out 1126 lib/cib/cib_utils.c out->finish(out, CRM_EX_OK, true, NULL); out 1127 lib/cib/cib_utils.c pcmk__output_free(out); out 325 lib/common/crmcommon_private.h int pcmk__bare_output_new(pcmk__output_t **out, const char *fmt_name, out 329 lib/common/crmcommon_private.h void pcmk__register_option_messages(pcmk__output_t *out); out 332 lib/common/crmcommon_private.h void pcmk__register_patchset_messages(pcmk__output_t *out); out 335 lib/common/crmcommon_private.h bool pcmk__output_text_get_fancy(pcmk__output_t *out); out 401 lib/common/logging.c pcmk__add_logfiles(gchar **log_files, pcmk__output_t *out) out 411 lib/common/logging.c out->err(out, "Logging to %s is disabled: %s", out 1452 lib/common/options.c pcmk__output_cluster_options(pcmk__output_t *out, const char *name, out 1456 lib/common/options.c return out->message(out, "option-list", name, desc_short, desc_long, filter, out 1475 lib/common/options.c pcmk__output_primitive_meta(pcmk__output_t *out, const char *name, out 1479 lib/common/options.c return out->message(out, "option-list", name, desc_short, desc_long, out 1502 lib/common/options.c pcmk__output_fencing_params(pcmk__output_t *out, const char *name, out 1506 lib/common/options.c return out->message(out, "option-list", name, desc_short, desc_long, out 1524 lib/common/options.c pcmk__daemon_metadata(pcmk__output_t *out, const char *name, out 1556 lib/common/options.c out->output_xml(out, PCMK_XE_METADATA, metadata_s->str); out 24 lib/common/options_display.c add_possible_values_default(pcmk__output_t *out, out 67 lib/common/options_display.c out->list_item(out, id, "%s", buf->str); out 79 lib/common/options_display.c add_option_metadata_default(pcmk__output_t *out, out 92 lib/common/options_display.c out->list_item(out, option->name, "%s", _(desc_short)); out 94 lib/common/options_display.c out->begin_list(out, NULL, NULL, NULL); out 97 lib/common/options_display.c out->list_item(out, NULL, "%s", _(desc_long)); out 99 lib/common/options_display.c add_possible_values_default(out, option); out 100 lib/common/options_display.c out->end_list(out); out 126 lib/common/options_display.c option_list_default(pcmk__output_t *out, va_list args) out 144 lib/common/options_display.c pcmk__assert((out != NULL) && (desc_short != NULL) out 147 lib/common/options_display.c old_fancy = pcmk__output_text_get_fancy(out); out 148 lib/common/options_display.c pcmk__output_text_set_fancy(out, true); out 150 lib/common/options_display.c out->info(out, "%s", _(desc_short)); out 151 lib/common/options_display.c out->spacer(out); out 152 lib/common/options_display.c out->info(out, "%s", _(desc_long)); out 153 lib/common/options_display.c out->begin_list(out, NULL, NULL, NULL); out 171 lib/common/options_display.c out->spacer(out); out 172 lib/common/options_display.c add_option_metadata_default(out, option); out 180 lib/common/options_display.c out->spacer(out); out 181 lib/common/options_display.c out->begin_list(out, NULL, NULL, _("ADVANCED OPTIONS")); out 185 lib/common/options_display.c out->spacer(out); out 186 lib/common/options_display.c add_option_metadata_default(out, option); out 188 lib/common/options_display.c out->end_list(out); out 195 lib/common/options_display.c out->spacer(out); out 196 lib/common/options_display.c out->begin_list(out, NULL, NULL, out 202 lib/common/options_display.c out->spacer(out); out 203 lib/common/options_display.c add_option_metadata_default(out, option); out 205 lib/common/options_display.c out->end_list(out); out 209 lib/common/options_display.c out->end_list(out); out 210 lib/common/options_display.c pcmk__output_text_set_fancy(out, old_fancy); out 227 lib/common/options_display.c add_desc_xml(pcmk__output_t *out, bool for_long, const char *desc) out 230 lib/common/options_display.c xmlNode *node = pcmk__output_create_xml_text_node(out, tag, desc); out 245 lib/common/options_display.c node = pcmk__output_create_xml_text_node(out, tag, _(desc)); out 261 lib/common/options_display.c add_possible_values_xml(pcmk__output_t *out, out 270 lib/common/options_display.c pcmk__output_create_xml_node(out, PCMK_XE_OPTION, out 315 lib/common/options_display.c add_option_metadata_xml(pcmk__output_t *out, out 331 lib/common/options_display.c const bool legacy = pcmk__output_get_legacy_xml(out); out 391 lib/common/options_display.c pcmk__output_xml_create_parent(out, PCMK_XE_PARAMETER, out 399 lib/common/options_display.c pcmk__output_create_xml_node(out, PCMK_XE_DEPRECATED, NULL); out 401 lib/common/options_display.c add_desc_xml(out, true, desc_long); out 402 lib/common/options_display.c add_desc_xml(out, false, desc_short); out 404 lib/common/options_display.c pcmk__output_xml_create_parent(out, PCMK_XE_CONTENT, out 409 lib/common/options_display.c add_possible_values_xml(out, option); out 411 lib/common/options_display.c pcmk__output_xml_pop_parent(out); out 412 lib/common/options_display.c pcmk__output_xml_pop_parent(out); out 441 lib/common/options_display.c option_list_xml(pcmk__output_t *out, va_list args) out 450 lib/common/options_display.c pcmk__assert((out != NULL) && (name != NULL) && (desc_short != NULL) out 453 lib/common/options_display.c pcmk__output_xml_create_parent(out, PCMK_XE_RESOURCE_AGENT, out 458 lib/common/options_display.c pcmk__output_create_xml_text_node(out, PCMK_XE_VERSION, PCMK_OCF_VERSION); out 459 lib/common/options_display.c add_desc_xml(out, true, desc_long); out 460 lib/common/options_display.c add_desc_xml(out, false, desc_short); out 462 lib/common/options_display.c pcmk__output_xml_create_parent(out, PCMK_XE_PARAMETERS, NULL); out 468 lib/common/options_display.c add_option_metadata_xml(out, option); out 472 lib/common/options_display.c pcmk__output_xml_pop_parent(out); out 473 lib/common/options_display.c pcmk__output_xml_pop_parent(out); out 491 lib/common/options_display.c pcmk__register_option_messages(pcmk__output_t *out) { out 492 lib/common/options_display.c pcmk__register_messages(out, fmt_functions); out 30 lib/common/output.c pcmk__output_free(pcmk__output_t *out) { out 31 lib/common/output.c if (out == NULL) { out 35 lib/common/output.c out->free_priv(out); out 37 lib/common/output.c if (out->messages != NULL) { out 38 lib/common/output.c g_hash_table_destroy(out->messages); out 41 lib/common/output.c g_free(out->request); out 42 lib/common/output.c free(out); out 63 lib/common/output.c pcmk__bare_output_new(pcmk__output_t **out, const char *fmt_name, out 68 lib/common/output.c pcmk__assert((formatters != NULL) && (out != NULL)); out 83 lib/common/output.c *out = create(argv); out 84 lib/common/output.c if (*out == NULL) { out 89 lib/common/output.c (*out)->dest = stdout; out 91 lib/common/output.c (*out)->dest = fopen(filename, "w"); out 92 lib/common/output.c if ((*out)->dest == NULL) { out 93 lib/common/output.c pcmk__output_free(*out); out 94 lib/common/output.c *out = NULL; out 99 lib/common/output.c (*out)->quiet = false; out 100 lib/common/output.c (*out)->messages = pcmk__strkey_table(free, NULL); out 102 lib/common/output.c if ((*out)->init(*out) == false) { out 103 lib/common/output.c pcmk__output_free(*out); out 107 lib/common/output.c setenv("OCF_OUTPUT_FORMAT", (*out)->fmt_name, 1); out 113 lib/common/output.c pcmk__output_new(pcmk__output_t **out, const char *fmt_name, out 116 lib/common/output.c int rc = pcmk__bare_output_new(out, fmt_name, filename, argv); out 120 lib/common/output.c pcmk__register_option_messages(*out); out 121 lib/common/output.c pcmk__register_patchset_messages(*out); out 174 lib/common/output.c pcmk__call_message(pcmk__output_t *out, const char *message_id, ...) { out 179 lib/common/output.c pcmk__assert((out != NULL) && !pcmk__str_empty(message_id)); out 181 lib/common/output.c fn = g_hash_table_lookup(out->messages, message_id); out 184 lib/common/output.c message_id, out->fmt_name); out 189 lib/common/output.c rc = fn(out, args); out 196 lib/common/output.c pcmk__register_message(pcmk__output_t *out, const char *message_id, out 199 lib/common/output.c pcmk__assert((out != NULL) && !pcmk__str_empty(message_id) && (fn != NULL)); out 200 lib/common/output.c g_hash_table_replace(out->messages, pcmk__str_copy(message_id), fn); out 204 lib/common/output.c pcmk__register_messages(pcmk__output_t *out, const pcmk__message_entry_t *table) out 208 lib/common/output.c if (pcmk__strcase_any_of(entry->fmt_name, "default", out->fmt_name, NULL)) { out 209 lib/common/output.c pcmk__register_message(out, entry->message_id, entry->fn); out 215 lib/common/output.c pcmk__output_and_clear_error(GError **error, pcmk__output_t *out) out 221 lib/common/output.c if (out != NULL) { out 222 lib/common/output.c out->err(out, "%s: %s", g_get_prgname(), (*error)->message); out 244 lib/common/output.c pcmk__xml_output_new(pcmk__output_t **out, xmlNodePtr *xml) { out 259 lib/common/output.c return pcmk__output_new(out, "xml", NULL, NULL); out 271 lib/common/output.c pcmk__xml_output_finish(pcmk__output_t *out, crm_exit_t exit_status, out 274 lib/common/output.c if (out == NULL) { out 278 lib/common/output.c out->finish(out, exit_status, FALSE, (void **) xml); out 279 lib/common/output.c pcmk__output_free(out); out 291 lib/common/output.c pcmk__log_output_new(pcmk__output_t **out) out 301 lib/common/output.c rc = pcmk__output_new(out, "log", NULL, (char **) argv); out 302 lib/common/output.c if ((rc != pcmk_rc_ok) || (*out == NULL)) { out 320 lib/common/output.c pcmk__text_output_new(pcmk__output_t **out, const char *filename) out 330 lib/common/output.c rc = pcmk__output_new(out, "text", filename, (char **) argv); out 331 lib/common/output.c if ((rc != pcmk_rc_ok) || (*out == NULL)) { out 75 lib/common/output_html.c html_free_priv(pcmk__output_t *out) { out 78 lib/common/output_html.c if (out == NULL || out->priv == NULL) { out 82 lib/common/output_html.c priv = out->priv; out 92 lib/common/output_html.c out->priv = NULL; out 96 lib/common/output_html.c html_init(pcmk__output_t *out) { out 99 lib/common/output_html.c pcmk__assert(out != NULL); out 102 lib/common/output_html.c if (out->priv != NULL) { out 105 lib/common/output_html.c out->priv = calloc(1, sizeof(private_data_t)); out 106 lib/common/output_html.c if (out->priv == NULL) { out 110 lib/common/output_html.c priv = out->priv; out 122 lib/common/output_html.c pcmk__output_xml_create_parent(out, "body", NULL); out 130 lib/common/output_html.c pcmk__output_t *out = (pcmk__output_t *) user_data; out 131 lib/common/output_html.c out->list_item(out, NULL, "%s", str); out 135 lib/common/output_html.c html_finish(pcmk__output_t *out, crm_exit_t exit_status, bool print, void **copy_dest) { out 141 lib/common/output_html.c pcmk__assert(out != NULL); out 143 lib/common/output_html.c priv = out->priv; out 153 lib/common/output_html.c fprintf(out->dest, "Content-Type: text/html\n\n"); out 166 lib/common/output_html.c } else if (out->request != NULL) { out 168 lib/common/output_html.c pcmk__xe_set_content(child_node, "%s", out->request); out 196 lib/common/output_html.c out->begin_list(out, "Errors", NULL, NULL); out 197 lib/common/output_html.c g_slist_foreach(priv->errors, add_error_node, (gpointer) out); out 198 lib/common/output_html.c out->end_list(out); out 202 lib/common/output_html.c htmlDocDump(out->dest, priv->root->doc); out 214 lib/common/output_html.c html_reset(pcmk__output_t *out) { out 215 lib/common/output_html.c pcmk__assert(out != NULL); out 217 lib/common/output_html.c out->dest = freopen(NULL, "w", out->dest); out 218 lib/common/output_html.c pcmk__assert(out->dest != NULL); out 220 lib/common/output_html.c html_free_priv(out); out 221 lib/common/output_html.c html_init(out); out 225 lib/common/output_html.c html_subprocess_output(pcmk__output_t *out, int exit_status, out 229 lib/common/output_html.c pcmk__assert(out != NULL); out 233 lib/common/output_html.c pcmk__output_create_xml_text_node(out, "h2", "Command Output"); out 234 lib/common/output_html.c pcmk__output_create_html_node(out, PCMK__XE_DIV, NULL, NULL, rc_buf); out 237 lib/common/output_html.c pcmk__output_create_html_node(out, PCMK__XE_DIV, NULL, NULL, "Stdout"); out 238 lib/common/output_html.c pcmk__output_create_html_node(out, PCMK__XE_DIV, NULL, out 242 lib/common/output_html.c pcmk__output_create_html_node(out, PCMK__XE_DIV, NULL, NULL, "Stderr"); out 243 lib/common/output_html.c pcmk__output_create_html_node(out, PCMK__XE_DIV, NULL, out 251 lib/common/output_html.c html_version(pcmk__output_t *out, bool extended) { out 252 lib/common/output_html.c pcmk__assert(out != NULL); out 254 lib/common/output_html.c pcmk__output_create_xml_text_node(out, "h2", "Version Information"); out 255 lib/common/output_html.c pcmk__output_create_html_node(out, PCMK__XE_DIV, NULL, NULL, out 257 lib/common/output_html.c pcmk__output_create_html_node(out, PCMK__XE_DIV, NULL, NULL, out 259 lib/common/output_html.c pcmk__output_create_html_node(out, PCMK__XE_DIV, NULL, NULL, out 262 lib/common/output_html.c pcmk__output_create_html_node(out, PCMK__XE_DIV, NULL, NULL, out 264 lib/common/output_html.c pcmk__output_create_html_node(out, PCMK__XE_DIV, NULL, NULL, out 270 lib/common/output_html.c html_err(pcmk__output_t *out, const char *format, ...) { out 276 lib/common/output_html.c pcmk__assert((out != NULL) && (out->priv != NULL)); out 277 lib/common/output_html.c priv = out->priv; out 289 lib/common/output_html.c html_info(pcmk__output_t *out, const char *format, ...) { out 294 lib/common/output_html.c html_output_xml(pcmk__output_t *out, const char *name, const char *buf) { out 297 lib/common/output_html.c pcmk__assert(out != NULL); out 299 lib/common/output_html.c node = pcmk__output_create_html_node(out, "pre", NULL, NULL, buf); out 305 lib/common/output_html.c html_begin_list(pcmk__output_t *out, const char *singular_noun, out 311 lib/common/output_html.c pcmk__assert((out != NULL) && (out->priv != NULL)); out 312 lib/common/output_html.c priv = out->priv; out 320 lib/common/output_html.c pcmk__output_xml_create_parent(out, "li", NULL); out 334 lib/common/output_html.c pcmk__output_create_xml_text_node(out, "h3", buf); out 336 lib/common/output_html.c pcmk__output_create_xml_text_node(out, "h2", buf); out 342 lib/common/output_html.c node = pcmk__output_xml_create_parent(out, "ul", NULL); out 348 lib/common/output_html.c html_list_item(pcmk__output_t *out, const char *name, const char *format, ...) { out 354 lib/common/output_html.c pcmk__assert(out != NULL); out 361 lib/common/output_html.c item_node = pcmk__output_create_xml_text_node(out, "li", buf); out 370 lib/common/output_html.c html_increment_list(pcmk__output_t *out) { out 375 lib/common/output_html.c html_end_list(pcmk__output_t *out) { out 378 lib/common/output_html.c pcmk__assert((out != NULL) && (out->priv != NULL)); out 379 lib/common/output_html.c priv = out->priv; out 385 lib/common/output_html.c pcmk__output_xml_pop_parent(out); out 389 lib/common/output_html.c pcmk__output_xml_pop_parent(out); out 394 lib/common/output_html.c html_is_quiet(pcmk__output_t *out) { out 399 lib/common/output_html.c html_spacer(pcmk__output_t *out) { out 400 lib/common/output_html.c pcmk__assert(out != NULL); out 401 lib/common/output_html.c pcmk__output_create_xml_node(out, "br", NULL); out 405 lib/common/output_html.c html_progress(pcmk__output_t *out, bool end) { out 449 lib/common/output_html.c pcmk__output_create_html_node(pcmk__output_t *out, const char *element_name, const char *id, out 453 lib/common/output_html.c pcmk__assert(out != NULL); out 454 lib/common/output_html.c CRM_CHECK(pcmk__str_eq(out->fmt_name, "html", pcmk__str_none), return NULL); out 456 lib/common/output_html.c node = pcmk__output_create_xml_text_node(out, element_name, text); out 61 lib/common/output_log.c log_subprocess_output(pcmk__output_t *out, int exit_status, out 67 lib/common/output_log.c log_free_priv(pcmk__output_t *out) { out 70 lib/common/output_log.c if (out == NULL || out->priv == NULL) { out 74 lib/common/output_log.c priv = out->priv; out 78 lib/common/output_log.c out->priv = NULL; out 82 lib/common/output_log.c log_init(pcmk__output_t *out) { out 85 lib/common/output_log.c pcmk__assert(out != NULL); out 88 lib/common/output_log.c if (out->priv != NULL) { out 92 lib/common/output_log.c out->priv = calloc(1, sizeof(private_data_t)); out 93 lib/common/output_log.c if (out->priv == NULL) { out 97 lib/common/output_log.c priv = out->priv; out 106 lib/common/output_log.c log_finish(pcmk__output_t *out, crm_exit_t exit_status, bool print, void **copy_dest) { out 111 lib/common/output_log.c log_reset(pcmk__output_t *out) { out 112 lib/common/output_log.c pcmk__assert(out != NULL); out 114 lib/common/output_log.c out->dest = freopen(NULL, "w", out->dest); out 115 lib/common/output_log.c pcmk__assert(out->dest != NULL); out 117 lib/common/output_log.c log_free_priv(out); out 118 lib/common/output_log.c log_init(out); out 122 lib/common/output_log.c log_version(pcmk__output_t *out, bool extended) { out 125 lib/common/output_log.c pcmk__assert((out != NULL) && (out->priv != NULL)); out 126 lib/common/output_log.c priv = out->priv; out 140 lib/common/output_log.c log_err(pcmk__output_t *out, const char *format, ...) out 145 lib/common/output_log.c pcmk__assert((out != NULL) && (out->priv != NULL)); out 146 lib/common/output_log.c priv = out->priv; out 157 lib/common/output_log.c log_output_xml(pcmk__output_t *out, const char *name, const char *buf) { out 161 lib/common/output_log.c pcmk__assert((out != NULL) && (out->priv != NULL)); out 162 lib/common/output_log.c priv = out->priv; out 172 lib/common/output_log.c log_begin_list(pcmk__output_t *out, const char *singular_noun, const char *plural_noun, out 179 lib/common/output_log.c pcmk__assert((out != NULL) && (out->priv != NULL)); out 180 lib/common/output_log.c priv = out->priv; out 199 lib/common/output_log.c log_list_item(pcmk__output_t *out, const char *name, const char *format, ...) { out 207 lib/common/output_log.c pcmk__assert((out != NULL) && (out->priv != NULL)); out 208 lib/common/output_log.c priv = out->priv; out 242 lib/common/output_log.c log_end_list(pcmk__output_t *out) { out 245 lib/common/output_log.c pcmk__assert((out != NULL) && (out->priv != NULL)); out 246 lib/common/output_log.c priv = out->priv; out 259 lib/common/output_log.c log_info(pcmk__output_t *out, const char *format, ...) out 264 lib/common/output_log.c pcmk__assert((out != NULL) && (out->priv != NULL)); out 265 lib/common/output_log.c priv = out->priv; out 279 lib/common/output_log.c log_transient(pcmk__output_t *out, const char *format, ...) out 284 lib/common/output_log.c pcmk__assert((out != NULL) && (out->priv != NULL)); out 285 lib/common/output_log.c priv = out->priv; out 295 lib/common/output_log.c log_is_quiet(pcmk__output_t *out) { out 300 lib/common/output_log.c log_spacer(pcmk__output_t *out) { out 305 lib/common/output_log.c log_progress(pcmk__output_t *out, bool end) { out 363 lib/common/output_log.c pcmk__output_get_log_level(const pcmk__output_t *out) out 365 lib/common/output_log.c pcmk__assert(out != NULL); out 367 lib/common/output_log.c if (pcmk__str_eq(out->fmt_name, "log", pcmk__str_none)) { out 368 lib/common/output_log.c private_data_t *priv = out->priv; out 390 lib/common/output_log.c pcmk__output_set_log_level(pcmk__output_t *out, uint8_t log_level) out 392 lib/common/output_log.c pcmk__assert(out != NULL); out 394 lib/common/output_log.c if (pcmk__str_eq(out->fmt_name, "log", pcmk__str_none)) { out 395 lib/common/output_log.c private_data_t *priv = out->priv; out 419 lib/common/output_log.c pcmk__output_set_log_filter(pcmk__output_t *out, const char *file, out 422 lib/common/output_log.c pcmk__assert(out != NULL); out 424 lib/common/output_log.c if (pcmk__str_eq(out->fmt_name, "log", pcmk__str_none)) { out 425 lib/common/output_log.c private_data_t *priv = out->priv; out 19 lib/common/output_none.c none_free_priv(pcmk__output_t *out) { out 24 lib/common/output_none.c none_init(pcmk__output_t *out) { out 29 lib/common/output_none.c none_finish(pcmk__output_t *out, crm_exit_t exit_status, bool print, void **copy_dest) { out 34 lib/common/output_none.c none_reset(pcmk__output_t *out) { out 35 lib/common/output_none.c pcmk__assert(out != NULL); out 36 lib/common/output_none.c none_free_priv(out); out 37 lib/common/output_none.c none_init(out); out 41 lib/common/output_none.c none_subprocess_output(pcmk__output_t *out, int exit_status, out 47 lib/common/output_none.c none_version(pcmk__output_t *out, bool extended) { out 53 lib/common/output_none.c none_err(pcmk__output_t *out, const char *format, ...) { out 59 lib/common/output_none.c none_info(pcmk__output_t *out, const char *format, ...) { out 64 lib/common/output_none.c none_output_xml(pcmk__output_t *out, const char *name, const char *buf) { out 70 lib/common/output_none.c none_begin_list(pcmk__output_t *out, const char *singular_noun, const char *plural_noun, out 77 lib/common/output_none.c none_list_item(pcmk__output_t *out, const char *id, const char *format, ...) { out 82 lib/common/output_none.c none_increment_list(pcmk__output_t *out) { out 87 lib/common/output_none.c none_end_list(pcmk__output_t *out) { out 92 lib/common/output_none.c none_is_quiet(pcmk__output_t *out) { out 93 lib/common/output_none.c return out->quiet; out 97 lib/common/output_none.c none_spacer(pcmk__output_t *out) { out 102 lib/common/output_none.c none_progress(pcmk__output_t *out, bool end) { out 52 lib/common/output_text.c text_free_priv(pcmk__output_t *out) { out 55 lib/common/output_text.c if (out == NULL || out->priv == NULL) { out 59 lib/common/output_text.c priv = out->priv; out 63 lib/common/output_text.c out->priv = NULL; out 67 lib/common/output_text.c text_init(pcmk__output_t *out) { out 70 lib/common/output_text.c pcmk__assert(out != NULL); out 73 lib/common/output_text.c if (out->priv != NULL) { out 77 lib/common/output_text.c out->priv = calloc(1, sizeof(private_data_t)); out 78 lib/common/output_text.c if (out->priv == NULL) { out 82 lib/common/output_text.c priv = out->priv; out 88 lib/common/output_text.c text_finish(pcmk__output_t *out, crm_exit_t exit_status, bool print, void **copy_dest) out 90 lib/common/output_text.c pcmk__assert((out != NULL) && (out->dest != NULL)); out 91 lib/common/output_text.c fflush(out->dest); out 95 lib/common/output_text.c text_reset(pcmk__output_t *out) { out 99 lib/common/output_text.c pcmk__assert(out != NULL); out 101 lib/common/output_text.c if (out->dest != stdout) { out 102 lib/common/output_text.c out->dest = freopen(NULL, "w", out->dest); out 105 lib/common/output_text.c pcmk__assert(out->dest != NULL); out 108 lib/common/output_text.c priv = out->priv; out 111 lib/common/output_text.c text_free_priv(out); out 112 lib/common/output_text.c text_init(out); out 114 lib/common/output_text.c priv = out->priv; out 119 lib/common/output_text.c text_subprocess_output(pcmk__output_t *out, int exit_status, out 121 lib/common/output_text.c pcmk__assert(out != NULL); out 124 lib/common/output_text.c fprintf(out->dest, "%s\n", proc_stdout); out 128 lib/common/output_text.c fprintf(out->dest, "%s\n", proc_stderr); out 133 lib/common/output_text.c text_version(pcmk__output_t *out, bool extended) out 135 lib/common/output_text.c pcmk__assert((out != NULL) && (out->dest != NULL)); out 138 lib/common/output_text.c fprintf(out->dest, "Pacemaker %s (Build: %s): %s\n", PACEMAKER_VERSION, BUILD_VERSION, CRM_FEATURES); out 140 lib/common/output_text.c fprintf(out->dest, "Pacemaker %s\n", PACEMAKER_VERSION); out 141 lib/common/output_text.c fprintf(out->dest, "Written by Andrew Beekhof and " out 148 lib/common/output_text.c text_err(pcmk__output_t *out, const char *format, ...) { out 151 lib/common/output_text.c pcmk__assert(out != NULL); out 167 lib/common/output_text.c text_info(pcmk__output_t *out, const char *format, ...) { out 170 lib/common/output_text.c pcmk__assert(out != NULL); out 172 lib/common/output_text.c if (out->is_quiet(out)) { out 181 lib/common/output_text.c vfprintf(out->dest, format, ap); out 185 lib/common/output_text.c fprintf(out->dest, "\n"); out 191 lib/common/output_text.c text_transient(pcmk__output_t *out, const char *format, ...) out 197 lib/common/output_text.c text_output_xml(pcmk__output_t *out, const char *name, const char *buf) { out 198 lib/common/output_text.c pcmk__assert(out != NULL); out 199 lib/common/output_text.c pcmk__indented_printf(out, "%s", buf); out 204 lib/common/output_text.c text_begin_list(pcmk__output_t *out, const char *singular_noun, const char *plural_noun, out 210 lib/common/output_text.c pcmk__assert((out != NULL) && (out->priv != NULL)); out 211 lib/common/output_text.c priv = out->priv; out 216 lib/common/output_text.c pcmk__indented_vprintf(out, format, ap); out 217 lib/common/output_text.c fprintf(out->dest, ":\n"); out 232 lib/common/output_text.c text_list_item(pcmk__output_t *out, const char *id, const char *format, ...) { out 236 lib/common/output_text.c pcmk__assert(out != NULL); out 238 lib/common/output_text.c priv = out->priv; out 247 lib/common/output_text.c pcmk__indented_printf(out, "%s: ", id); out 248 lib/common/output_text.c vfprintf(out->dest, format, ap); out 250 lib/common/output_text.c pcmk__indented_vprintf(out, format, ap); out 253 lib/common/output_text.c pcmk__indented_vprintf(out, format, ap); out 256 lib/common/output_text.c fputc('\n', out->dest); out 257 lib/common/output_text.c fflush(out->dest); out 260 lib/common/output_text.c out->increment_list(out); out 264 lib/common/output_text.c text_increment_list(pcmk__output_t *out) { out 268 lib/common/output_text.c pcmk__assert((out != NULL) && (out->priv != NULL)); out 269 lib/common/output_text.c priv = out->priv; out 277 lib/common/output_text.c text_end_list(pcmk__output_t *out) { out 281 lib/common/output_text.c pcmk__assert((out != NULL) && (out->priv != NULL)); out 282 lib/common/output_text.c priv = out->priv; out 288 lib/common/output_text.c pcmk__indented_printf(out, "%d %s found\n", node->len, node->singular_noun); out 290 lib/common/output_text.c pcmk__indented_printf(out, "%d %s found\n", node->len, node->plural_noun); out 298 lib/common/output_text.c text_is_quiet(pcmk__output_t *out) { out 299 lib/common/output_text.c pcmk__assert(out != NULL); out 300 lib/common/output_text.c return out->quiet; out 304 lib/common/output_text.c text_spacer(pcmk__output_t *out) { out 305 lib/common/output_text.c pcmk__assert(out != NULL); out 306 lib/common/output_text.c fprintf(out->dest, "\n"); out 310 lib/common/output_text.c text_progress(pcmk__output_t *out, bool end) { out 311 lib/common/output_text.c pcmk__assert(out != NULL); out 313 lib/common/output_text.c if (out->dest == stdout) { out 314 lib/common/output_text.c fprintf(out->dest, "."); out 317 lib/common/output_text.c fprintf(out->dest, "\n"); out 372 lib/common/output_text.c pcmk__output_text_get_fancy(pcmk__output_t *out) out 374 lib/common/output_text.c pcmk__assert(out != NULL); out 376 lib/common/output_text.c if (pcmk__str_eq(out->fmt_name, "text", pcmk__str_none)) { out 377 lib/common/output_text.c private_data_t *priv = out->priv; out 395 lib/common/output_text.c pcmk__output_text_set_fancy(pcmk__output_t *out, bool enabled) out 397 lib/common/output_text.c pcmk__assert(out != NULL); out 399 lib/common/output_text.c if (pcmk__str_eq(out->fmt_name, "text", pcmk__str_none)) { out 400 lib/common/output_text.c private_data_t *priv = out->priv; out 409 lib/common/output_text.c pcmk__formatted_vprintf(pcmk__output_t *out, const char *format, va_list args) { out 410 lib/common/output_text.c pcmk__assert(out != NULL); out 411 lib/common/output_text.c CRM_CHECK(pcmk__str_eq(out->fmt_name, "text", pcmk__str_none), return); out 412 lib/common/output_text.c vfprintf(out->dest, format, args); out 417 lib/common/output_text.c pcmk__formatted_printf(pcmk__output_t *out, const char *format, ...) { out 420 lib/common/output_text.c pcmk__assert(out != NULL); out 423 lib/common/output_text.c pcmk__formatted_vprintf(out, format, ap); out 429 lib/common/output_text.c pcmk__indented_vprintf(pcmk__output_t *out, const char *format, va_list args) { out 432 lib/common/output_text.c pcmk__assert(out != NULL); out 433 lib/common/output_text.c CRM_CHECK(pcmk__str_eq(out->fmt_name, "text", pcmk__str_none), return); out 435 lib/common/output_text.c priv = out->priv; out 439 lib/common/output_text.c private_data_t *priv = out->priv; out 446 lib/common/output_text.c fprintf(out->dest, " "); out 450 lib/common/output_text.c fprintf(out->dest, "* "); out 454 lib/common/output_text.c pcmk__formatted_vprintf(out, format, args); out 459 lib/common/output_text.c pcmk__indented_printf(pcmk__output_t *out, const char *format, ...) { out 462 lib/common/output_text.c pcmk__assert(out != NULL); out 465 lib/common/output_text.c pcmk__indented_vprintf(out, format, ap); out 91 lib/common/output_xml.c has_root_node(pcmk__output_t *out) out 95 lib/common/output_xml.c pcmk__assert(out != NULL); out 97 lib/common/output_xml.c priv = out->priv; out 102 lib/common/output_xml.c add_root_node(pcmk__output_t *out) out 107 lib/common/output_xml.c if (has_root_node(out)) { out 111 lib/common/output_xml.c priv = out->priv; out 120 lib/common/output_xml.c pcmk__s(out->request, "libpacemaker")); out 128 lib/common/output_xml.c xml_free_priv(pcmk__output_t *out) { out 131 lib/common/output_xml.c if (out == NULL || out->priv == NULL) { out 135 lib/common/output_xml.c priv = out->priv; out 137 lib/common/output_xml.c if (has_root_node(out)) { out 148 lib/common/output_xml.c out->priv = NULL; out 152 lib/common/output_xml.c xml_init(pcmk__output_t *out) { out 155 lib/common/output_xml.c pcmk__assert(out != NULL); out 158 lib/common/output_xml.c if (out->priv != NULL) { out 161 lib/common/output_xml.c out->priv = calloc(1, sizeof(private_data_t)); out 162 lib/common/output_xml.c if (out->priv == NULL) { out 166 lib/common/output_xml.c priv = out->priv; out 184 lib/common/output_xml.c xml_finish(pcmk__output_t *out, crm_exit_t exit_status, bool print, void **copy_dest) { out 188 lib/common/output_xml.c pcmk__assert(out != NULL); out 189 lib/common/output_xml.c priv = out->priv; out 195 lib/common/output_xml.c add_root_node(out); out 226 lib/common/output_xml.c pcmk__xml2fd(fileno(out->dest), priv->root); out 235 lib/common/output_xml.c xml_reset(pcmk__output_t *out) { out 236 lib/common/output_xml.c pcmk__assert(out != NULL); out 238 lib/common/output_xml.c out->dest = freopen(NULL, "w", out->dest); out 239 lib/common/output_xml.c pcmk__assert(out->dest != NULL); out 241 lib/common/output_xml.c xml_free_priv(out); out 242 lib/common/output_xml.c xml_init(out); out 246 lib/common/output_xml.c xml_subprocess_output(pcmk__output_t *out, int exit_status, out 251 lib/common/output_xml.c pcmk__assert(out != NULL); out 255 lib/common/output_xml.c node = pcmk__output_xml_create_parent(out, PCMK_XE_COMMAND, out 275 lib/common/output_xml.c xml_version(pcmk__output_t *out, bool extended) { out 278 lib/common/output_xml.c pcmk__assert(out != NULL); out 280 lib/common/output_xml.c pcmk__output_create_xml_node(out, PCMK_XE_VERSION, out 291 lib/common/output_xml.c xml_err(pcmk__output_t *out, const char *format, ...) { out 297 lib/common/output_xml.c pcmk__assert((out != NULL) && (out->priv != NULL)); out 298 lib/common/output_xml.c priv = out->priv; out 300 lib/common/output_xml.c add_root_node(out); out 312 lib/common/output_xml.c xml_info(pcmk__output_t *out, const char *format, ...) { out 317 lib/common/output_xml.c xml_output_xml(pcmk__output_t *out, const char *name, const char *buf) { out 321 lib/common/output_xml.c pcmk__assert(out != NULL); out 323 lib/common/output_xml.c parent = pcmk__output_create_xml_node(out, name, NULL); out 333 lib/common/output_xml.c xml_begin_list(pcmk__output_t *out, const char *singular_noun, const char *plural_noun, out 341 lib/common/output_xml.c pcmk__assert((out != NULL) && (out->priv != NULL)); out 342 lib/common/output_xml.c priv = out->priv; out 361 lib/common/output_xml.c pcmk__output_xml_create_parent(out, PCMK_XE_LIST, out 365 lib/common/output_xml.c pcmk__output_xml_create_parent(out, name, NULL); out 374 lib/common/output_xml.c xml_list_item(pcmk__output_t *out, const char *name, const char *format, ...) { out 380 lib/common/output_xml.c pcmk__assert(out != NULL); out 387 lib/common/output_xml.c item_node = pcmk__output_create_xml_text_node(out, PCMK_XE_ITEM, buf); out 397 lib/common/output_xml.c xml_increment_list(pcmk__output_t *out) { out 402 lib/common/output_xml.c xml_end_list(pcmk__output_t *out) { out 405 lib/common/output_xml.c pcmk__assert((out != NULL) && (out->priv != NULL)); out 406 lib/common/output_xml.c priv = out->priv; out 424 lib/common/output_xml.c xml_is_quiet(pcmk__output_t *out) { out 429 lib/common/output_xml.c xml_spacer(pcmk__output_t *out) { out 434 lib/common/output_xml.c xml_progress(pcmk__output_t *out, bool end) { out 478 lib/common/output_xml.c pcmk__output_xml_create_parent(pcmk__output_t *out, const char *name, ...) { out 482 lib/common/output_xml.c pcmk__assert(out != NULL); out 483 lib/common/output_xml.c CRM_CHECK(pcmk__str_any_of(out->fmt_name, "xml", "html", NULL), return NULL); out 485 lib/common/output_xml.c node = pcmk__output_create_xml_node(out, name, NULL); out 491 lib/common/output_xml.c pcmk__output_xml_push_parent(out, node); out 496 lib/common/output_xml.c pcmk__output_xml_add_node_copy(pcmk__output_t *out, xmlNodePtr node) { out 500 lib/common/output_xml.c pcmk__assert((out != NULL) && (out->priv != NULL) && (node != NULL)); out 501 lib/common/output_xml.c CRM_CHECK(pcmk__str_any_of(out->fmt_name, "xml", "html", NULL), return); out 503 lib/common/output_xml.c add_root_node(out); out 505 lib/common/output_xml.c priv = out->priv; out 515 lib/common/output_xml.c pcmk__output_create_xml_node(pcmk__output_t *out, const char *name, ...) { out 520 lib/common/output_xml.c pcmk__assert((out != NULL) && (out->priv != NULL)); out 521 lib/common/output_xml.c CRM_CHECK(pcmk__str_any_of(out->fmt_name, "xml", "html", NULL), return NULL); out 523 lib/common/output_xml.c add_root_node(out); out 525 lib/common/output_xml.c priv = out->priv; out 536 lib/common/output_xml.c pcmk__output_create_xml_text_node(pcmk__output_t *out, const char *name, const char *content) { out 539 lib/common/output_xml.c pcmk__assert(out != NULL); out 540 lib/common/output_xml.c CRM_CHECK(pcmk__str_any_of(out->fmt_name, "xml", "html", NULL), return NULL); out 542 lib/common/output_xml.c node = pcmk__output_create_xml_node(out, name, NULL); out 548 lib/common/output_xml.c pcmk__output_xml_push_parent(pcmk__output_t *out, xmlNodePtr parent) { out 551 lib/common/output_xml.c pcmk__assert((out != NULL) && (out->priv != NULL) && (parent != NULL)); out 552 lib/common/output_xml.c CRM_CHECK(pcmk__str_any_of(out->fmt_name, "xml", "html", NULL), return); out 554 lib/common/output_xml.c add_root_node(out); out 556 lib/common/output_xml.c priv = out->priv; out 562 lib/common/output_xml.c pcmk__output_xml_pop_parent(pcmk__output_t *out) { out 565 lib/common/output_xml.c pcmk__assert((out != NULL) && (out->priv != NULL)); out 566 lib/common/output_xml.c CRM_CHECK(pcmk__str_any_of(out->fmt_name, "xml", "html", NULL), return); out 568 lib/common/output_xml.c add_root_node(out); out 570 lib/common/output_xml.c priv = out->priv; out 578 lib/common/output_xml.c pcmk__output_xml_peek_parent(pcmk__output_t *out) { out 581 lib/common/output_xml.c pcmk__assert((out != NULL) && (out->priv != NULL)); out 582 lib/common/output_xml.c CRM_CHECK(pcmk__str_any_of(out->fmt_name, "xml", "html", NULL), return NULL); out 584 lib/common/output_xml.c add_root_node(out); out 586 lib/common/output_xml.c priv = out->priv; out 593 lib/common/output_xml.c pcmk__output_get_legacy_xml(pcmk__output_t *out) out 597 lib/common/output_xml.c pcmk__assert(out != NULL); out 599 lib/common/output_xml.c if (!pcmk__str_eq(out->fmt_name, "xml", pcmk__str_none)) { out 603 lib/common/output_xml.c pcmk__assert(out->priv != NULL); out 605 lib/common/output_xml.c priv = out->priv; out 610 lib/common/output_xml.c pcmk__output_set_legacy_xml(pcmk__output_t *out) out 614 lib/common/output_xml.c pcmk__assert(out != NULL); out 616 lib/common/output_xml.c if (!pcmk__str_eq(out->fmt_name, "xml", pcmk__str_none)) { out 620 lib/common/output_xml.c pcmk__assert(out->priv != NULL); out 622 lib/common/output_xml.c priv = out->priv; out 627 lib/common/output_xml.c pcmk__output_enable_list_element(pcmk__output_t *out) out 631 lib/common/output_xml.c pcmk__assert(out != NULL); out 633 lib/common/output_xml.c if (!pcmk__str_eq(out->fmt_name, "xml", pcmk__str_none)) { out 637 lib/common/output_xml.c pcmk__assert(out->priv != NULL); out 639 lib/common/output_xml.c priv = out->priv; out 41 lib/common/patchset_display.c xml_show_patchset_header(pcmk__output_t *out, const xmlNode *patchset) out 53 lib/common/patchset_display.c out->info(out, "Diff: --- %d.%d.%d %s", del[0], del[1], del[2], fmt); out 54 lib/common/patchset_display.c rc = out->info(out, "Diff: +++ %d.%d.%d %s", out 58 lib/common/patchset_display.c rc = out->info(out, "Local-only Change: %d.%d.%d", out 80 lib/common/patchset_display.c xml_show_patchset_v1_recursive(pcmk__output_t *out, const char *prefix, out 102 lib/common/patchset_display.c int temp_rc = xml_show_patchset_v1_recursive(out, prefix, child, out 109 lib/common/patchset_display.c return pcmk__xml_show(out, prefix, data, depth, out 132 lib/common/patchset_display.c xml_show_patchset_v1(pcmk__output_t *out, const xmlNode *patchset, out 139 lib/common/patchset_display.c int rc = xml_show_patchset_header(out, patchset); out 149 lib/common/patchset_display.c int temp_rc = xml_show_patchset_v1_recursive(out, "- ", child, 0, out 157 lib/common/patchset_display.c rc = pcmk__output_select_rc(rc, out->info(out, " --- ")); out 165 lib/common/patchset_display.c int temp_rc = xml_show_patchset_v1_recursive(out, "+ ", child, 0, out 173 lib/common/patchset_display.c rc = pcmk__output_select_rc(rc, out->info(out, " +++ ")); out 195 lib/common/patchset_display.c xml_show_patchset_v2(pcmk__output_t *out, const xmlNode *patchset) out 197 lib/common/patchset_display.c int rc = xml_show_patchset_header(out, patchset); out 215 lib/common/patchset_display.c temp_rc = pcmk__xml_show(out, prefix, change->children, 0, out 224 lib/common/patchset_display.c temp_rc = pcmk__xml_show(out, prefix, change->children, 0, out 234 lib/common/patchset_display.c temp_rc = out->info(out, out 269 lib/common/patchset_display.c temp_rc = out->info(out, "+ %s: %s", xpath, buffer_set->str); out 275 lib/common/patchset_display.c temp_rc = out->info(out, "-- %s: %s", out 286 lib/common/patchset_display.c temp_rc = out->info(out, "-- %s (%d)", xpath, position); out 288 lib/common/patchset_display.c temp_rc = out->info(out, "-- %s", xpath); out 314 lib/common/patchset_display.c xml_patchset_default(pcmk__output_t *out, va_list args) out 328 lib/common/patchset_display.c return xml_show_patchset_v1(out, patchset, pcmk__xml_fmt_pretty); out 330 lib/common/patchset_display.c return xml_show_patchset_v2(out, patchset); out 354 lib/common/patchset_display.c xml_patchset_log(pcmk__output_t *out, va_list args) out 360 lib/common/patchset_display.c uint8_t log_level = pcmk__output_get_log_level(out); out 387 lib/common/patchset_display.c return xml_show_patchset_v1(out, patchset, out 391 lib/common/patchset_display.c return xml_show_patchset_v1(out, patchset, pcmk__xml_fmt_pretty); out 393 lib/common/patchset_display.c return xml_show_patchset_v2(out, patchset); out 417 lib/common/patchset_display.c xml_patchset_xml(pcmk__output_t *out, va_list args) out 427 lib/common/patchset_display.c out->output_xml(out, PCMK_XE_XML_PATCHSET, buf->str); out 450 lib/common/patchset_display.c pcmk__register_patchset_messages(pcmk__output_t *out) { out 451 lib/common/patchset_display.c pcmk__register_messages(out, fmt_functions); out 473 lib/common/patchset_display.c pcmk__output_t *out = NULL; out 481 lib/common/patchset_display.c CRM_CHECK(pcmk__text_output_new(&out, NULL) == pcmk_rc_ok, return); out 493 lib/common/patchset_display.c CRM_CHECK(pcmk__log_output_new(&out) == pcmk_rc_ok, return); out 494 lib/common/patchset_display.c pcmk__output_set_log_level(out, log_level); out 508 lib/common/patchset_display.c rc = xml_show_patchset_v1(out, patchset, out 512 lib/common/patchset_display.c rc = xml_show_patchset_v1(out, patchset, pcmk__xml_fmt_pretty); out 516 lib/common/patchset_display.c rc = xml_show_patchset_v2(out, patchset); out 525 lib/common/patchset_display.c out->finish(out, pcmk_rc2exitc(rc), true, NULL); out 526 lib/common/patchset_display.c pcmk__output_free(out); out 1047 lib/common/results.c pcmk__set_result_output(pcmk__action_result_t *result, char *out, char *err) out 1054 lib/common/results.c result->action_stdout = out; out 970 lib/common/schemas.c xmlNode *out = NULL; out 995 lib/common/schemas.c out = xmlDocGetRootElement(res); out 1004 lib/common/schemas.c return out; out 16 lib/common/tests/output/pcmk__call_message_test.c default_message_fn(pcmk__output_t *out, va_list args) { out 22 lib/common/tests/output/pcmk__call_message_test.c failed_message_fn(pcmk__output_t *out, va_list args) { out 28 lib/common/tests/output/pcmk__call_message_test.c message_fn_1(pcmk__output_t *out, va_list args) { out 34 lib/common/tests/output/pcmk__call_message_test.c message_fn_2(pcmk__output_t *out, va_list args) { out 40 lib/common/tests/output/pcmk__call_message_test.c fake_text_init(pcmk__output_t *out) { out 45 lib/common/tests/output/pcmk__call_message_test.c fake_text_free_priv(pcmk__output_t *out) { out 81 lib/common/tests/output/pcmk__call_message_test.c pcmk__output_t *out = NULL; out 83 lib/common/tests/output/pcmk__call_message_test.c pcmk__output_new(&out, "text", NULL, NULL); out 85 lib/common/tests/output/pcmk__call_message_test.c assert_int_equal(out->message(out, "fake"), EINVAL); out 86 lib/common/tests/output/pcmk__call_message_test.c pcmk__assert_asserts(out->message(out, "")); out 87 lib/common/tests/output/pcmk__call_message_test.c pcmk__assert_asserts(out->message(out, NULL)); out 89 lib/common/tests/output/pcmk__call_message_test.c pcmk__output_free(out); out 94 lib/common/tests/output/pcmk__call_message_test.c pcmk__output_t *out = NULL; out 103 lib/common/tests/output/pcmk__call_message_test.c pcmk__output_new(&out, "text", NULL, NULL); out 104 lib/common/tests/output/pcmk__call_message_test.c pcmk__register_messages(out, entries); out 107 lib/common/tests/output/pcmk__call_message_test.c assert_int_equal(out->message(out, "msg1"), pcmk_rc_ok); out 109 lib/common/tests/output/pcmk__call_message_test.c assert_int_equal(out->message(out, "msg2"), pcmk_rc_ok); out 111 lib/common/tests/output/pcmk__call_message_test.c assert_int_equal(out->message(out, "fail"), pcmk_rc_no_output); out 113 lib/common/tests/output/pcmk__call_message_test.c pcmk__output_free(out); out 118 lib/common/tests/output/pcmk__call_message_test.c pcmk__output_t *out = NULL; out 125 lib/common/tests/output/pcmk__call_message_test.c pcmk__output_new(&out, "text", NULL, NULL); out 126 lib/common/tests/output/pcmk__call_message_test.c pcmk__register_messages(out, entries); out 128 lib/common/tests/output/pcmk__call_message_test.c assert_int_equal(out->message(out, "msg1"), EINVAL); out 130 lib/common/tests/output/pcmk__call_message_test.c pcmk__output_free(out); out 135 lib/common/tests/output/pcmk__call_message_test.c pcmk__output_t *out = NULL; out 143 lib/common/tests/output/pcmk__call_message_test.c pcmk__output_new(&out, "text", NULL, NULL); out 144 lib/common/tests/output/pcmk__call_message_test.c pcmk__register_messages(out, entries); out 147 lib/common/tests/output/pcmk__call_message_test.c assert_int_equal(out->message(out, "msg1"), pcmk_rc_ok); out 149 lib/common/tests/output/pcmk__call_message_test.c pcmk__output_free(out); out 18 lib/common/tests/output/pcmk__output_and_clear_error_test.c fake_text_init(pcmk__output_t *out) { out 23 lib/common/tests/output/pcmk__output_and_clear_error_test.c fake_text_free_priv(pcmk__output_t *out) { out 29 lib/common/tests/output/pcmk__output_and_clear_error_test.c fake_text_err(pcmk__output_t *out, const char *format, ...) { out 68 lib/common/tests/output/pcmk__output_and_clear_error_test.c pcmk__output_t *out = NULL; out 70 lib/common/tests/output/pcmk__output_and_clear_error_test.c pcmk__output_new(&out, "text", NULL, NULL); out 75 lib/common/tests/output/pcmk__output_and_clear_error_test.c pcmk__output_and_clear_error(&error, out); out 77 lib/common/tests/output/pcmk__output_and_clear_error_test.c pcmk__output_free(out); out 16 lib/common/tests/output/pcmk__output_free_test.c null_message_fn(pcmk__output_t *out, va_list args) { out 21 lib/common/tests/output/pcmk__output_free_test.c fake_text_init(pcmk__output_t *out) { out 26 lib/common/tests/output/pcmk__output_free_test.c fake_text_free_priv(pcmk__output_t *out) { out 63 lib/common/tests/output/pcmk__output_free_test.c pcmk__output_t *out = NULL; out 65 lib/common/tests/output/pcmk__output_free_test.c pcmk__output_new(&out, "text", NULL, NULL); out 68 lib/common/tests/output/pcmk__output_free_test.c pcmk__output_free(out); out 73 lib/common/tests/output/pcmk__output_free_test.c pcmk__output_t *out = NULL; out 75 lib/common/tests/output/pcmk__output_free_test.c pcmk__output_new(&out, "text", NULL, NULL); out 76 lib/common/tests/output/pcmk__output_free_test.c pcmk__register_message(out, "fake", null_message_fn); out 79 lib/common/tests/output/pcmk__output_free_test.c pcmk__output_free(out); out 20 lib/common/tests/output/pcmk__output_new_test.c fake_text_init(pcmk__output_t *out) { out 25 lib/common/tests/output/pcmk__output_new_test.c fake_text_free_priv(pcmk__output_t *out) { out 62 lib/common/tests/output/pcmk__output_new_test.c pcmk__output_t *out = NULL; out 64 lib/common/tests/output/pcmk__output_new_test.c pcmk__assert_asserts(pcmk__output_new(&out, "fake", NULL, NULL)); out 75 lib/common/tests/output/pcmk__output_new_test.c pcmk__output_t *out = NULL; out 77 lib/common/tests/output/pcmk__output_new_test.c assert_int_equal(pcmk__output_new(&out, "fake", NULL, NULL), pcmk_rc_unknown_format); out 82 lib/common/tests/output/pcmk__output_new_test.c pcmk__output_t *out = NULL; out 88 lib/common/tests/output/pcmk__output_new_test.c assert_int_equal(pcmk__output_new(&out, "text", NULL, NULL), ENOMEM); out 95 lib/common/tests/output/pcmk__output_new_test.c pcmk__output_t *out = NULL; out 108 lib/common/tests/output/pcmk__output_new_test.c assert_int_equal(pcmk__output_new(&out, "text", "destfile", NULL), EPERM); out 115 lib/common/tests/output/pcmk__output_new_test.c pcmk__output_t *out = NULL; out 118 lib/common/tests/output/pcmk__output_new_test.c assert_int_equal(pcmk__output_new(&out, "text", NULL, NULL), ENOMEM); out 124 lib/common/tests/output/pcmk__output_new_test.c pcmk__output_t *out = NULL; out 126 lib/common/tests/output/pcmk__output_new_test.c assert_int_equal(pcmk__output_new(&out, "text", NULL, NULL), pcmk_rc_ok); out 127 lib/common/tests/output/pcmk__output_new_test.c assert_string_equal(out->fmt_name, "text"); out 128 lib/common/tests/output/pcmk__output_new_test.c assert_ptr_equal(out->dest, stdout); out 129 lib/common/tests/output/pcmk__output_new_test.c assert_false(out->quiet); out 130 lib/common/tests/output/pcmk__output_new_test.c assert_non_null(out->messages); out 133 lib/common/tests/output/pcmk__output_new_test.c pcmk__output_free(out); out 138 lib/common/tests/output/pcmk__output_new_test.c pcmk__output_t *out = NULL; out 140 lib/common/tests/output/pcmk__output_new_test.c assert_int_equal(pcmk__output_new(&out, NULL, NULL, NULL), pcmk_rc_ok); out 141 lib/common/tests/output/pcmk__output_new_test.c assert_string_equal(out->fmt_name, "text"); out 143 lib/common/tests/output/pcmk__output_new_test.c pcmk__output_free(out); out 18 lib/common/tests/output/pcmk__register_message_test.c null_message_fn(pcmk__output_t *out, va_list args) { out 23 lib/common/tests/output/pcmk__register_message_test.c null_message_fn_2(pcmk__output_t *out, va_list args) { out 28 lib/common/tests/output/pcmk__register_message_test.c fake_text_init(pcmk__output_t *out) { out 33 lib/common/tests/output/pcmk__register_message_test.c fake_text_free_priv(pcmk__output_t *out) { out 69 lib/common/tests/output/pcmk__register_message_test.c pcmk__output_t *out = NULL; out 71 lib/common/tests/output/pcmk__register_message_test.c pcmk__output_new(&out, "text", NULL, NULL); out 74 lib/common/tests/output/pcmk__register_message_test.c pcmk__assert_asserts(pcmk__register_message(out, NULL, null_message_fn)); out 75 lib/common/tests/output/pcmk__register_message_test.c pcmk__assert_asserts(pcmk__register_message(out, "", null_message_fn)); out 76 lib/common/tests/output/pcmk__register_message_test.c pcmk__assert_asserts(pcmk__register_message(out, "fake", NULL)); out 78 lib/common/tests/output/pcmk__register_message_test.c pcmk__output_free(out); out 83 lib/common/tests/output/pcmk__register_message_test.c pcmk__output_t *out = NULL; out 85 lib/common/tests/output/pcmk__register_message_test.c pcmk__bare_output_new(&out, "text", NULL, NULL); out 88 lib/common/tests/output/pcmk__register_message_test.c assert_int_equal(g_hash_table_size(out->messages), 0); out 91 lib/common/tests/output/pcmk__register_message_test.c pcmk__register_message(out, "fake", null_message_fn); out 92 lib/common/tests/output/pcmk__register_message_test.c assert_int_equal(g_hash_table_size(out->messages), 1); out 93 lib/common/tests/output/pcmk__register_message_test.c assert_ptr_equal(g_hash_table_lookup(out->messages, "fake"), null_message_fn); out 98 lib/common/tests/output/pcmk__register_message_test.c pcmk__register_message(out, "fake", null_message_fn_2); out 99 lib/common/tests/output/pcmk__register_message_test.c assert_int_equal(g_hash_table_size(out->messages), 1); out 100 lib/common/tests/output/pcmk__register_message_test.c assert_ptr_equal(g_hash_table_lookup(out->messages, "fake"), null_message_fn_2); out 102 lib/common/tests/output/pcmk__register_message_test.c pcmk__output_free(out); out 18 lib/common/tests/output/pcmk__register_messages_test.c null_message_fn(pcmk__output_t *out, va_list args) { out 23 lib/common/tests/output/pcmk__register_messages_test.c null_message_fn_2(pcmk__output_t *out, va_list args) { out 28 lib/common/tests/output/pcmk__register_messages_test.c fake_text_init(pcmk__output_t *out) { out 33 lib/common/tests/output/pcmk__register_messages_test.c fake_text_free_priv(pcmk__output_t *out) { out 69 lib/common/tests/output/pcmk__register_messages_test.c pcmk__output_t *out = NULL; out 81 lib/common/tests/output/pcmk__register_messages_test.c pcmk__bare_output_new(&out, "text", NULL, NULL); out 83 lib/common/tests/output/pcmk__register_messages_test.c pcmk__assert_asserts(pcmk__register_messages(out, entries)); out 84 lib/common/tests/output/pcmk__register_messages_test.c assert_int_equal(g_hash_table_size(out->messages), 0); out 86 lib/common/tests/output/pcmk__register_messages_test.c pcmk__output_free(out); out 91 lib/common/tests/output/pcmk__register_messages_test.c pcmk__output_t *out = NULL; out 99 lib/common/tests/output/pcmk__register_messages_test.c pcmk__bare_output_new(&out, "text", NULL, NULL); out 101 lib/common/tests/output/pcmk__register_messages_test.c pcmk__register_messages(out, entries); out 102 lib/common/tests/output/pcmk__register_messages_test.c assert_int_equal(g_hash_table_size(out->messages), 2); out 103 lib/common/tests/output/pcmk__register_messages_test.c assert_ptr_equal(g_hash_table_lookup(out->messages, "msg1"), null_message_fn); out 104 lib/common/tests/output/pcmk__register_messages_test.c assert_ptr_equal(g_hash_table_lookup(out->messages, "msg2"), null_message_fn_2); out 106 lib/common/tests/output/pcmk__register_messages_test.c pcmk__output_free(out); out 111 lib/common/tests/output/pcmk__register_messages_test.c pcmk__output_t *out = NULL; out 119 lib/common/tests/output/pcmk__register_messages_test.c pcmk__bare_output_new(&out, "text", NULL, NULL); out 121 lib/common/tests/output/pcmk__register_messages_test.c pcmk__register_messages(out, entries); out 122 lib/common/tests/output/pcmk__register_messages_test.c assert_int_equal(g_hash_table_size(out->messages), 1); out 123 lib/common/tests/output/pcmk__register_messages_test.c assert_ptr_equal(g_hash_table_lookup(out->messages, "msg1"), null_message_fn_2); out 125 lib/common/tests/output/pcmk__register_messages_test.c pcmk__output_free(out); out 130 lib/common/tests/output/pcmk__register_messages_test.c pcmk__output_t *out = NULL; out 138 lib/common/tests/output/pcmk__register_messages_test.c pcmk__bare_output_new(&out, "text", NULL, NULL); out 140 lib/common/tests/output/pcmk__register_messages_test.c pcmk__register_messages(out, entries); out 141 lib/common/tests/output/pcmk__register_messages_test.c assert_int_equal(g_hash_table_size(out->messages), 2); out 142 lib/common/tests/output/pcmk__register_messages_test.c assert_ptr_equal(g_hash_table_lookup(out->messages, "msg1"), null_message_fn); out 143 lib/common/tests/output/pcmk__register_messages_test.c assert_ptr_equal(g_hash_table_lookup(out->messages, "msg2"), null_message_fn); out 145 lib/common/tests/output/pcmk__register_messages_test.c pcmk__output_free(out); out 150 lib/common/tests/output/pcmk__register_messages_test.c pcmk__output_t *out = NULL; out 157 lib/common/tests/output/pcmk__register_messages_test.c pcmk__bare_output_new(&out, "text", NULL, NULL); out 159 lib/common/tests/output/pcmk__register_messages_test.c pcmk__register_messages(out, entries); out 160 lib/common/tests/output/pcmk__register_messages_test.c assert_int_equal(g_hash_table_size(out->messages), 1); out 161 lib/common/tests/output/pcmk__register_messages_test.c assert_ptr_equal(g_hash_table_lookup(out->messages, "msg1"), null_message_fn); out 163 lib/common/tests/output/pcmk__register_messages_test.c pcmk__output_free(out); out 168 lib/common/tests/output/pcmk__register_messages_test.c pcmk__output_t *out = NULL; out 176 lib/common/tests/output/pcmk__register_messages_test.c pcmk__bare_output_new(&out, "text", NULL, NULL); out 178 lib/common/tests/output/pcmk__register_messages_test.c pcmk__register_messages(out, entries); out 179 lib/common/tests/output/pcmk__register_messages_test.c assert_int_equal(g_hash_table_size(out->messages), 1); out 180 lib/common/tests/output/pcmk__register_messages_test.c assert_ptr_equal(g_hash_table_lookup(out->messages, "msg1"), null_message_fn_2); out 182 lib/common/tests/output/pcmk__register_messages_test.c pcmk__output_free(out); out 24 lib/common/unittest.c gchar *out = NULL; out 56 lib/common/unittest.c if (!g_spawn_command_line_sync(cmd, &out, &err, &status, &gerr)) { out 63 lib/common/unittest.c fail_msg("XML validation failed: %s\n%s\n", out, err); out 67 lib/common/unittest.c g_free(out); out 19 lib/common/xml_display.c static int show_xml_node(pcmk__output_t *out, GString *buffer, out 59 lib/common/xml_display.c show_xml_comment(pcmk__output_t *out, const xmlNode *data, int depth, out 65 lib/common/xml_display.c return out->info(out, "%*s<!--%s-->", out 91 lib/common/xml_display.c show_xml_element(pcmk__output_t *out, GString *buffer, const char *prefix, out 149 lib/common/xml_display.c rc = out->info(out, "%s%s%s", out 162 lib/common/xml_display.c int temp_rc = show_xml_node(out, buffer, prefix, child, depth + 1, out 171 lib/common/xml_display.c int temp_rc = out->info(out, "%s%s%*s</%s>", out 201 lib/common/xml_display.c show_xml_node(pcmk__output_t *out, GString *buffer, const char *prefix, out 206 lib/common/xml_display.c return show_xml_comment(out, data, depth, options); out 208 lib/common/xml_display.c return show_xml_element(out, buffer, prefix, data, depth, options); out 229 lib/common/xml_display.c pcmk__xml_show(pcmk__output_t *out, const char *prefix, const xmlNode *data, out 235 lib/common/xml_display.c pcmk__assert(out != NULL); out 246 lib/common/xml_display.c rc = show_xml_node(out, buffer, prefix, data, depth, options); out 266 lib/common/xml_display.c show_xml_changes_recursive(pcmk__output_t *out, const xmlNode *data, int depth, out 278 lib/common/xml_display.c return pcmk__xml_show(out, PCMK__XML_PREFIX_CREATED, data, depth, out 296 lib/common/xml_display.c rc = pcmk__xml_show(out, prefix, data, depth, out 309 lib/common/xml_display.c temp_rc = out->info(out, "%s %*s @%s=%s", out 329 lib/common/xml_display.c temp_rc = out->info(out, "%s %*s @%s=%s", out 338 lib/common/xml_display.c temp_rc = show_xml_changes_recursive(out, child, depth + 1, out 344 lib/common/xml_display.c temp_rc = pcmk__xml_show(out, PCMK__XML_PREFIX_MODIFIED, data, depth, out 352 lib/common/xml_display.c temp_rc = show_xml_changes_recursive(out, child, depth + 1, options); out 370 lib/common/xml_display.c pcmk__xml_show_changes(pcmk__output_t *out, const xmlNode *xml) out 376 lib/common/xml_display.c pcmk__assert((out != NULL) && (xml != NULL) && (xml->doc != NULL)); out 388 lib/common/xml_display.c temp_rc = out->info(out, PCMK__XML_PREFIX_DELETED " %s (%d)", out 391 lib/common/xml_display.c temp_rc = out->info(out, PCMK__XML_PREFIX_DELETED " %s", out 397 lib/common/xml_display.c temp_rc = show_xml_changes_recursive(out, xml, 0, pcmk__xml_fmt_pretty); out 413 lib/common/xml_display.c pcmk__output_t *out = NULL; out 428 lib/common/xml_display.c CRM_CHECK(pcmk__text_output_new(&out, NULL) == pcmk_rc_ok, return); out 431 lib/common/xml_display.c CRM_CHECK(pcmk__log_output_new(&out) == pcmk_rc_ok, return); out 432 lib/common/xml_display.c pcmk__output_set_log_level(out, log_level); out 473 lib/common/xml_display.c show_xml_changes_recursive(out, data, depth, options); out 509 lib/common/xml_display.c pcmk__xml_show(out, prefix, data, depth, out 517 lib/common/xml_display.c out->finish(out, CRM_EX_OK, true, NULL); out 518 lib/common/xml_display.c pcmk__output_free(out); out 524 lib/common/xml_display.c pcmk__output_t *out = NULL; out 531 lib/common/xml_display.c CRM_CHECK(pcmk__text_output_new(&out, NULL) == pcmk_rc_ok, return); out 534 lib/common/xml_display.c CRM_CHECK(pcmk__log_output_new(&out) == pcmk_rc_ok, return); out 535 lib/common/xml_display.c pcmk__output_set_log_level(out, log_level); out 538 lib/common/xml_display.c rc = pcmk__xml_show_changes(out, xml); out 539 lib/common/xml_display.c out->finish(out, pcmk_rc2exitc(rc), true, NULL); out 540 lib/common/xml_display.c pcmk__output_free(out); out 323 lib/common/xpath.c pcmk__output_t *out = userdata; out 325 lib/common/xpath.c out->info(out, " Value: %s \t(id=%s)", out 332 lib/common/xpath.c pcmk__warn_multiple_name_matches(pcmk__output_t *out, xmlNode *search, out 335 lib/common/xpath.c if (out == NULL || name == NULL || search == NULL || out 340 lib/common/xpath.c out->info(out, "Multiple attributes match " PCMK_XA_NAME "=%s", name); out 341 lib/common/xpath.c pcmk__xe_foreach_child(search, NULL, output_attr_child, out); out 172 lib/fencing/st_output.c failed_history(pcmk__output_t *out, va_list args) out 191 lib/fencing/st_output.c PCMK__OUTPUT_LIST_HEADER(out, print_spacer, rc, "Failed Fencing Actions"); out 192 lib/fencing/st_output.c out->message(out, "stonith-event", hp, out 195 lib/fencing/st_output.c out->increment_list(out); out 198 lib/fencing/st_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 205 lib/fencing/st_output.c stonith_history(pcmk__output_t *out, va_list args) out 221 lib/fencing/st_output.c PCMK__OUTPUT_LIST_HEADER(out, print_spacer, rc, "Fencing History"); out 222 lib/fencing/st_output.c out->message(out, "stonith-event", hp, out 226 lib/fencing/st_output.c out->increment_list(out); out 230 lib/fencing/st_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 237 lib/fencing/st_output.c full_history(pcmk__output_t *out, va_list args) out 253 lib/fencing/st_output.c PCMK__OUTPUT_LIST_HEADER(out, print_spacer, rc, "Fencing History"); out 254 lib/fencing/st_output.c out->message(out, "stonith-event", hp, out 257 lib/fencing/st_output.c out->increment_list(out); out 260 lib/fencing/st_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 267 lib/fencing/st_output.c full_history_xml(pcmk__output_t *out, va_list args) out 284 lib/fencing/st_output.c PCMK__OUTPUT_LIST_HEADER(out, false, rc, "Fencing History"); out 285 lib/fencing/st_output.c out->message(out, "stonith-event", hp, out 289 lib/fencing/st_output.c out->increment_list(out); out 292 lib/fencing/st_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 296 lib/fencing/st_output.c pcmk__output_create_xml_node(out, PCMK_XE_FENCE_HISTORY, out 309 lib/fencing/st_output.c last_fenced_html(pcmk__output_t *out, va_list args) { out 315 lib/fencing/st_output.c pcmk__output_create_html_node(out, PCMK__XE_DIV, NULL, NULL, buf); out 325 lib/fencing/st_output.c last_fenced_text(pcmk__output_t *out, va_list args) { out 330 lib/fencing/st_output.c pcmk__indented_printf(out, "Node %s last fenced at: %s", target, ctime(&when)); out 332 lib/fencing/st_output.c pcmk__indented_printf(out, "Node %s has never been fenced\n", target); out 340 lib/fencing/st_output.c last_fenced_xml(pcmk__output_t *out, va_list args) { out 347 lib/fencing/st_output.c pcmk__output_create_xml_node(out, PCMK_XE_LAST_FENCED, out 362 lib/fencing/st_output.c pending_actions(pcmk__output_t *out, va_list args) out 382 lib/fencing/st_output.c PCMK__OUTPUT_LIST_HEADER(out, print_spacer, rc, "Pending Fencing Actions"); out 383 lib/fencing/st_output.c out->message(out, "stonith-event", hp, out 386 lib/fencing/st_output.c out->increment_list(out); out 389 lib/fencing/st_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 396 lib/fencing/st_output.c stonith_event_html(pcmk__output_t *out, va_list args) out 409 lib/fencing/st_output.c out->list_item(out, "successful-stonith-event", "%s", desc); out 413 lib/fencing/st_output.c out->list_item(out, "failed-stonith-event", "%s", desc); out 417 lib/fencing/st_output.c out->list_item(out, "pending-stonith-event", "%s", desc); out 427 lib/fencing/st_output.c stonith_event_text(pcmk__output_t *out, va_list args) out 436 lib/fencing/st_output.c pcmk__formatted_printf(out, "%lld\n", (long long) event->completed); out 441 lib/fencing/st_output.c pcmk__indented_printf(out, "%s\n", desc); out 451 lib/fencing/st_output.c stonith_event_xml(pcmk__output_t *out, va_list args) out 461 lib/fencing/st_output.c node = pcmk__output_create_xml_node(out, PCMK_XE_FENCE_EVENT, out 509 lib/fencing/st_output.c validate_agent_html(pcmk__output_t *out, va_list args) { out 519 lib/fencing/st_output.c pcmk__output_create_html_node(out, PCMK__XE_DIV, NULL, NULL, buf); out 524 lib/fencing/st_output.c pcmk__output_create_html_node(out, PCMK__XE_DIV, NULL, NULL, buf); out 528 lib/fencing/st_output.c out->subprocess_output(out, rc, output, error_output); out 535 lib/fencing/st_output.c validate_agent_text(pcmk__output_t *out, va_list args) { out 543 lib/fencing/st_output.c pcmk__indented_printf(out, "Validation of %s on %s %s\n", agent, device, out 546 lib/fencing/st_output.c pcmk__indented_printf(out, "Validation of %s %s\n", agent, out 550 lib/fencing/st_output.c out->subprocess_output(out, rc, output, error_output); out 557 lib/fencing/st_output.c validate_agent_xml(pcmk__output_t *out, va_list args) { out 565 lib/fencing/st_output.c xmlNodePtr node = pcmk__output_create_xml_node(out, PCMK_XE_VALIDATE, out 574 lib/fencing/st_output.c pcmk__output_xml_push_parent(out, node); out 575 lib/fencing/st_output.c out->subprocess_output(out, rc, output, error_output); out 576 lib/fencing/st_output.c pcmk__output_xml_pop_parent(out); out 604 lib/fencing/st_output.c stonith__register_messages(pcmk__output_t *out) { out 605 lib/fencing/st_output.c pcmk__register_messages(out, fmt_functions); out 18 lib/lrmd/lrmd_output.c default_list(pcmk__output_t *out, lrmd_list_t *list, const char *title) { out 21 lib/lrmd/lrmd_output.c out->begin_list(out, NULL, NULL, "%s", title); out 24 lib/lrmd/lrmd_output.c out->list_item(out, NULL, "%s", iter->val); out 27 lib/lrmd/lrmd_output.c out->end_list(out); out 33 lib/lrmd/lrmd_output.c xml_list(pcmk__output_t *out, lrmd_list_t *list, const char *ele) { out 37 lib/lrmd/lrmd_output.c pcmk__output_create_xml_text_node(out, ele, iter->val); out 46 lib/lrmd/lrmd_output.c lrmd__alternatives_list_xml(pcmk__output_t *out, va_list args) { out 52 lib/lrmd/lrmd_output.c pcmk__output_xml_create_parent(out, PCMK_XE_PROVIDERS, out 55 lib/lrmd/lrmd_output.c rc = xml_list(out, list, PCMK_XE_PROVIDER); out 56 lib/lrmd/lrmd_output.c pcmk__output_xml_pop_parent(out); out 62 lib/lrmd/lrmd_output.c lrmd__alternatives_list(pcmk__output_t *out, va_list args) { out 66 lib/lrmd/lrmd_output.c return default_list(out, list, "Providers"); out 71 lib/lrmd/lrmd_output.c lrmd__agents_list_xml(pcmk__output_t *out, va_list args) { out 79 lib/lrmd/lrmd_output.c node = pcmk__output_xml_create_parent(out, PCMK_XE_AGENTS, out 87 lib/lrmd/lrmd_output.c rc = xml_list(out, list, PCMK_XE_AGENT); out 88 lib/lrmd/lrmd_output.c pcmk__output_xml_pop_parent(out); out 94 lib/lrmd/lrmd_output.c lrmd__agents_list(pcmk__output_t *out, va_list args) { out 102 lib/lrmd/lrmd_output.c rc = default_list(out, list, title); out 109 lib/lrmd/lrmd_output.c lrmd__providers_list_xml(pcmk__output_t *out, va_list args) { out 114 lib/lrmd/lrmd_output.c xmlNodePtr node = pcmk__output_xml_create_parent(out, PCMK_XE_PROVIDERS, out 122 lib/lrmd/lrmd_output.c rc = xml_list(out, list, PCMK_XE_PROVIDER); out 123 lib/lrmd/lrmd_output.c pcmk__output_xml_pop_parent(out); out 129 lib/lrmd/lrmd_output.c lrmd__providers_list(pcmk__output_t *out, va_list args) { out 133 lib/lrmd/lrmd_output.c return default_list(out, list, "Providers"); out 138 lib/lrmd/lrmd_output.c lrmd__standards_list(pcmk__output_t *out, va_list args) { out 141 lib/lrmd/lrmd_output.c return default_list(out, list, "Standards"); out 157 lib/lrmd/lrmd_output.c lrmd__register_messages(pcmk__output_t *out) { out 158 lib/lrmd/lrmd_output.c pcmk__register_messages(out, fmt_functions); out 984 lib/pacemaker/libpacemaker_private.h xmlNode *pcmk__inject_resource_history(pcmk__output_t *out, xmlNode *cib_node, out 992 lib/pacemaker/libpacemaker_private.h void pcmk__inject_failcount(pcmk__output_t *out, cib_t *cib_conn, out 1131 lib/pacemaker/libpacemaker_private.h int pcmk__init_scheduler(pcmk__output_t *out, xmlNodePtr input, const crm_time_t *date, out 1138 lib/pacemaker/libpacemaker_private.h int pcmk__setup_output_cib_sched(pcmk__output_t **out, cib_t **cib, out 17 lib/pacemaker/pcmk_agents.c pcmk__list_alternatives(pcmk__output_t *out, const char *agent_spec) out 23 lib/pacemaker/pcmk_agents.c pcmk__assert((out != NULL) && (agent_spec != NULL)); out 33 lib/pacemaker/pcmk_agents.c rc = out->message(out, "alternatives-list", list, agent_spec); out 40 lib/pacemaker/pcmk_agents.c out->err(out, _("No %s found for %s"), "OCF providers", agent_spec); out 52 lib/pacemaker/pcmk_agents.c pcmk__output_t *out = NULL; out 55 lib/pacemaker/pcmk_agents.c rc = pcmk__xml_output_new(&out, xml); out 60 lib/pacemaker/pcmk_agents.c lrmd__register_messages(out); out 62 lib/pacemaker/pcmk_agents.c rc = pcmk__list_alternatives(out, agent_spec); out 63 lib/pacemaker/pcmk_agents.c pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml); out 77 lib/pacemaker/pcmk_agents.c pcmk__list_agents(pcmk__output_t *out, char *agent_spec) out 84 lib/pacemaker/pcmk_agents.c pcmk__assert((out != NULL) && (agent_spec != NULL)); out 100 lib/pacemaker/pcmk_agents.c rc = out->message(out, "agents-list", list, agent_spec, provider); out 108 lib/pacemaker/pcmk_agents.c out->err(out, _("No agents found for standard '%s'"), agent_spec); out 110 lib/pacemaker/pcmk_agents.c out->err(out, _("No agents found for standard '%s' and provider '%s'"), out 123 lib/pacemaker/pcmk_agents.c pcmk__output_t *out = NULL; out 126 lib/pacemaker/pcmk_agents.c rc = pcmk__xml_output_new(&out, xml); out 131 lib/pacemaker/pcmk_agents.c lrmd__register_messages(out); out 133 lib/pacemaker/pcmk_agents.c rc = pcmk__list_agents(out, agent_spec); out 134 lib/pacemaker/pcmk_agents.c pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml); out 139 lib/pacemaker/pcmk_agents.c pcmk__list_providers(pcmk__output_t *out, const char *agent_spec) out 145 lib/pacemaker/pcmk_agents.c pcmk__assert(out != NULL); out 155 lib/pacemaker/pcmk_agents.c rc = out->message(out, "providers-list", list, agent_spec); out 163 lib/pacemaker/pcmk_agents.c out->err(out, _("No %s found"), "OCF providers"); out 165 lib/pacemaker/pcmk_agents.c out->err(out, _("No %s found for %s"), "OCF providers", agent_spec); out 179 lib/pacemaker/pcmk_agents.c pcmk__output_t *out = NULL; out 182 lib/pacemaker/pcmk_agents.c rc = pcmk__xml_output_new(&out, xml); out 187 lib/pacemaker/pcmk_agents.c lrmd__register_messages(out); out 189 lib/pacemaker/pcmk_agents.c rc = pcmk__list_providers(out, agent_spec); out 190 lib/pacemaker/pcmk_agents.c pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml); out 195 lib/pacemaker/pcmk_agents.c pcmk__list_standards(pcmk__output_t *out) out 201 lib/pacemaker/pcmk_agents.c pcmk__assert(out != NULL); out 211 lib/pacemaker/pcmk_agents.c rc = out->message(out, "standards-list", list); out 218 lib/pacemaker/pcmk_agents.c out->err(out, _("No %s found"), "standards"); out 230 lib/pacemaker/pcmk_agents.c pcmk__output_t *out = NULL; out 233 lib/pacemaker/pcmk_agents.c rc = pcmk__xml_output_new(&out, xml); out 238 lib/pacemaker/pcmk_agents.c lrmd__register_messages(out); out 240 lib/pacemaker/pcmk_agents.c rc = pcmk__list_standards(out); out 241 lib/pacemaker/pcmk_agents.c pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml); out 43 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out; out 66 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out = data->out; out 74 lib/pacemaker/pcmk_cluster_queries.c out->err(out, "error: Lost connection to %s", out 86 lib/pacemaker/pcmk_cluster_queries.c out->err(out, "error: Bad reply from %s: %s", out 113 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out = data->out; out 125 lib/pacemaker/pcmk_cluster_queries.c out->err(out, "error: Unexpected reply type '%s' from controller", out 154 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out = data->out; out 165 lib/pacemaker/pcmk_cluster_queries.c out->err(out, "error: Unexpected reply type '%s' from pacemakerd", out 191 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out = data->out; out 202 lib/pacemaker/pcmk_cluster_queries.c out->message(out, "health", out 226 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out = data->out; out 237 lib/pacemaker/pcmk_cluster_queries.c out->message(out, "dc", reply->host_from); out 257 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out = data->out; out 271 lib/pacemaker/pcmk_cluster_queries.c out->err(out, "Node is not known to cluster"); out 285 lib/pacemaker/pcmk_cluster_queries.c out->message(out, "node-info", out 312 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out = data->out; out 333 lib/pacemaker/pcmk_cluster_queries.c out->message(out, "pacemakerd-health", out 337 lib/pacemaker/pcmk_cluster_queries.c out->message(out, "pacemakerd-health", out 348 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out = data->out; out 353 lib/pacemaker/pcmk_cluster_queries.c out->err(out, "error: Could not connect to %s: %s", out 376 lib/pacemaker/pcmk_cluster_queries.c out->err(out, "error: Could not connect to %s: %s", out 402 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out = data->out; out 418 lib/pacemaker/pcmk_cluster_queries.c out->err(out, "error: Failed to poll %s API%s%s: %s", out 436 lib/pacemaker/pcmk_cluster_queries.c out->err(out, out 459 lib/pacemaker/pcmk_cluster_queries.c pcmk__controller_status(pcmk__output_t *out, const char *node_name, out 463 lib/pacemaker/pcmk_cluster_queries.c .out = out, out 480 lib/pacemaker/pcmk_cluster_queries.c out->err(out, "error: Could not ping controller API on %s: %s", out 500 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out = NULL; out 503 lib/pacemaker/pcmk_cluster_queries.c rc = pcmk__xml_output_new(&out, xml); out 508 lib/pacemaker/pcmk_cluster_queries.c pcmk__register_lib_messages(out); out 510 lib/pacemaker/pcmk_cluster_queries.c rc = pcmk__controller_status(out, node_name, message_timeout_ms); out 511 lib/pacemaker/pcmk_cluster_queries.c pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml); out 529 lib/pacemaker/pcmk_cluster_queries.c pcmk__designated_controller(pcmk__output_t *out, out 533 lib/pacemaker/pcmk_cluster_queries.c .out = out, out 550 lib/pacemaker/pcmk_cluster_queries.c out->err(out, "error: Could not ping controller API on DC: %s", out 568 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out = NULL; out 571 lib/pacemaker/pcmk_cluster_queries.c rc = pcmk__xml_output_new(&out, xml); out 576 lib/pacemaker/pcmk_cluster_queries.c pcmk__register_lib_messages(out); out 578 lib/pacemaker/pcmk_cluster_queries.c rc = pcmk__designated_controller(out, message_timeout_ms); out 579 lib/pacemaker/pcmk_cluster_queries.c pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml); out 616 lib/pacemaker/pcmk_cluster_queries.c pcmk__query_node_info(pcmk__output_t *out, uint32_t *node_id, char **node_name, out 622 lib/pacemaker/pcmk_cluster_queries.c .out = out, out 657 lib/pacemaker/pcmk_cluster_queries.c out->err(out, out 694 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out = NULL; out 699 lib/pacemaker/pcmk_cluster_queries.c rc = pcmk__xml_output_new(&out, xml); out 704 lib/pacemaker/pcmk_cluster_queries.c pcmk__register_lib_messages(out); out 706 lib/pacemaker/pcmk_cluster_queries.c rc = pcmk__query_node_info(out, node_id, node_name, uuid, state, out 709 lib/pacemaker/pcmk_cluster_queries.c pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml); out 737 lib/pacemaker/pcmk_cluster_queries.c pcmk__pacemakerd_status(pcmk__output_t *out, const char *ipc_name, out 742 lib/pacemaker/pcmk_cluster_queries.c .out = out, out 760 lib/pacemaker/pcmk_cluster_queries.c out->err(out, "error: Could not ping launcher API: %s", out 773 lib/pacemaker/pcmk_cluster_queries.c out->message(out, "pacemakerd-health", out 788 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out = NULL; out 791 lib/pacemaker/pcmk_cluster_queries.c rc = pcmk__xml_output_new(&out, xml); out 796 lib/pacemaker/pcmk_cluster_queries.c pcmk__register_lib_messages(out); out 798 lib/pacemaker/pcmk_cluster_queries.c rc = pcmk__pacemakerd_status(out, ipc_name, message_timeout_ms, true, NULL); out 799 lib/pacemaker/pcmk_cluster_queries.c pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml); out 805 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out; out 816 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out = data->out; out 821 lib/pacemaker/pcmk_cluster_queries.c out->message(out, "crmadmin-node", data->type, out 828 lib/pacemaker/pcmk_cluster_queries.c pcmk__list_nodes(pcmk__output_t *out, const char *node_types, bool bash_export) out 833 lib/pacemaker/pcmk_cluster_queries.c rc = cib__signon_query(out, NULL, &xml_node); out 837 lib/pacemaker/pcmk_cluster_queries.c .out = out, out 846 lib/pacemaker/pcmk_cluster_queries.c out->begin_list(out, NULL, NULL, PCMK_XE_NODES); out 874 lib/pacemaker/pcmk_cluster_queries.c out->end_list(out); out 877 lib/pacemaker/pcmk_cluster_queries.c out->info(out, "No nodes configured"); out 889 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out = NULL; out 892 lib/pacemaker/pcmk_cluster_queries.c rc = pcmk__xml_output_new(&out, xml); out 897 lib/pacemaker/pcmk_cluster_queries.c pcmk__register_lib_messages(out); out 899 lib/pacemaker/pcmk_cluster_queries.c rc = pcmk__list_nodes(out, node_types, FALSE); out 900 lib/pacemaker/pcmk_cluster_queries.c pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml); out 234 lib/pacemaker/pcmk_fence.c pcmk__fence_history(pcmk__output_t *out, stonith_t *st, const char *target, out 243 lib/pacemaker/pcmk_fence.c out->info(out, "cleaning up fencing-history%s%s", out 247 lib/pacemaker/pcmk_fence.c out->info(out, "gather fencing-history from all nodes"); out 268 lib/pacemaker/pcmk_fence.c out->begin_list(out, "event", "events", "Fencing history"); out 276 lib/pacemaker/pcmk_fence.c if (out->is_quiet(out) || !verbose) { out 280 lib/pacemaker/pcmk_fence.c out->message(out, "stonith-event", hp, true, false, out 283 lib/pacemaker/pcmk_fence.c out->increment_list(out); out 287 lib/pacemaker/pcmk_fence.c if (out->is_quiet(out)) { out 288 lib/pacemaker/pcmk_fence.c out->message(out, "stonith-event", latest, false, true, NULL, out 291 lib/pacemaker/pcmk_fence.c out->message(out, "stonith-event", latest, false, false, NULL, out 293 lib/pacemaker/pcmk_fence.c out->increment_list(out); out 297 lib/pacemaker/pcmk_fence.c out->end_list(out); out 309 lib/pacemaker/pcmk_fence.c pcmk__output_t *out = NULL; out 312 lib/pacemaker/pcmk_fence.c rc = pcmk__xml_output_new(&out, xml); out 317 lib/pacemaker/pcmk_fence.c stonith__register_messages(out); out 319 lib/pacemaker/pcmk_fence.c out->quiet = quiet; out 321 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_history(out, st, target, timeout, verbose, broadcast, out 323 lib/pacemaker/pcmk_fence.c pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml); out 329 lib/pacemaker/pcmk_fence.c pcmk__fence_installed(pcmk__output_t *out, stonith_t *st, unsigned int timeout) out 341 lib/pacemaker/pcmk_fence.c out->begin_list(out, "fence device", "fence devices", out 344 lib/pacemaker/pcmk_fence.c out->list_item(out, "device", "%s", iter->value); out 346 lib/pacemaker/pcmk_fence.c out->end_list(out); out 356 lib/pacemaker/pcmk_fence.c pcmk__output_t *out = NULL; out 359 lib/pacemaker/pcmk_fence.c rc = pcmk__xml_output_new(&out, xml); out 364 lib/pacemaker/pcmk_fence.c stonith__register_messages(out); out 366 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_installed(out, st, timeout); out 367 lib/pacemaker/pcmk_fence.c pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml); out 373 lib/pacemaker/pcmk_fence.c pcmk__fence_last(pcmk__output_t *out, const char *target, bool as_nodeid) out 387 lib/pacemaker/pcmk_fence.c return out->message(out, "last-fenced", target, when); out 394 lib/pacemaker/pcmk_fence.c pcmk__output_t *out = NULL; out 397 lib/pacemaker/pcmk_fence.c rc = pcmk__xml_output_new(&out, xml); out 402 lib/pacemaker/pcmk_fence.c stonith__register_messages(out); out 404 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_last(out, target, as_nodeid); out 405 lib/pacemaker/pcmk_fence.c pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml); out 411 lib/pacemaker/pcmk_fence.c pcmk__fence_list_targets(pcmk__output_t *out, stonith_t *st, out 425 lib/pacemaker/pcmk_fence.c out->begin_list(out, "fence target", "fence targets", "Fence Targets"); out 427 lib/pacemaker/pcmk_fence.c out->list_item(out, NULL, "%s", (const char *) targets->data); out 430 lib/pacemaker/pcmk_fence.c out->end_list(out); out 441 lib/pacemaker/pcmk_fence.c pcmk__output_t *out = NULL; out 444 lib/pacemaker/pcmk_fence.c rc = pcmk__xml_output_new(&out, xml); out 449 lib/pacemaker/pcmk_fence.c stonith__register_messages(out); out 451 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_list_targets(out, st, device_id, timeout); out 452 lib/pacemaker/pcmk_fence.c pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml); out 458 lib/pacemaker/pcmk_fence.c pcmk__fence_metadata(pcmk__output_t *out, stonith_t *st, const char *agent, out 469 lib/pacemaker/pcmk_fence.c out->output_xml(out, PCMK_XE_METADATA, buffer); out 479 lib/pacemaker/pcmk_fence.c pcmk__output_t *out = NULL; out 482 lib/pacemaker/pcmk_fence.c rc = pcmk__xml_output_new(&out, xml); out 487 lib/pacemaker/pcmk_fence.c stonith__register_messages(out); out 489 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_metadata(out, st, agent, timeout); out 490 lib/pacemaker/pcmk_fence.c pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml); out 496 lib/pacemaker/pcmk_fence.c pcmk__fence_registered(pcmk__output_t *out, stonith_t *st, const char *target, out 508 lib/pacemaker/pcmk_fence.c out->begin_list(out, "fence device", "fence devices", out 511 lib/pacemaker/pcmk_fence.c out->list_item(out, "device", "%s", iter->value); out 513 lib/pacemaker/pcmk_fence.c out->end_list(out); out 528 lib/pacemaker/pcmk_fence.c pcmk__output_t *out = NULL; out 531 lib/pacemaker/pcmk_fence.c rc = pcmk__xml_output_new(&out, xml); out 536 lib/pacemaker/pcmk_fence.c stonith__register_messages(out); out 538 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_registered(out, st, target, timeout); out 539 lib/pacemaker/pcmk_fence.c pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml); out 575 lib/pacemaker/pcmk_fence.c pcmk__fence_validate(pcmk__output_t *out, stonith_t *st, const char *agent, out 585 lib/pacemaker/pcmk_fence.c out->message(out, "validate", agent, id, output, error_output, rc); out 595 lib/pacemaker/pcmk_fence.c pcmk__output_t *out = NULL; out 598 lib/pacemaker/pcmk_fence.c rc = pcmk__xml_output_new(&out, xml); out 603 lib/pacemaker/pcmk_fence.c stonith__register_messages(out); out 605 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_validate(out, st, agent, id, params, timeout); out 606 lib/pacemaker/pcmk_fence.c pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml); out 53 lib/pacemaker/pcmk_injections.c inject_transient_attr(pcmk__output_t *out, xmlNode *cib_node, out 60 lib/pacemaker/pcmk_injections.c out->message(out, "inject-attr", name, value, cib_node); out 94 lib/pacemaker/pcmk_injections.c pcmk__inject_failcount(pcmk__output_t *out, cib_t *cib_conn, xmlNode *cib_node, out 104 lib/pacemaker/pcmk_injections.c CRM_CHECK((out != NULL) && (cib_conn != NULL) && (cib_node != NULL) out 115 lib/pacemaker/pcmk_injections.c if (cib__get_node_attrs(out, cib_conn, PCMK_XE_STATUS, out 124 lib/pacemaker/pcmk_injections.c inject_transient_attr(out, cib_node, name, value); out 132 lib/pacemaker/pcmk_injections.c inject_transient_attr(out, cib_node, name, value); out 404 lib/pacemaker/pcmk_injections.c pcmk__inject_resource_history(pcmk__output_t *out, xmlNode *cib_node, out 431 lib/pacemaker/pcmk_injections.c out->err(out, out 444 lib/pacemaker/pcmk_injections.c out->err(out, "Invalid class for %s: %s", resource, rclass); out 450 lib/pacemaker/pcmk_injections.c out->err(out, "Please specify the provider for resource %s", resource); out 495 lib/pacemaker/pcmk_injections.c set_ticket_state_attr(pcmk__output_t *out, const char *ticket_id, out 506 lib/pacemaker/pcmk_injections.c out->err(out, "Multiple " PCMK__XE_TICKET_STATE "s match ticket_id=%s", out 551 lib/pacemaker/pcmk_injections.c inject_action(pcmk__output_t *out, const char *spec, cib_t *cib, out 573 lib/pacemaker/pcmk_injections.c out->message(out, "inject-spec", spec); out 579 lib/pacemaker/pcmk_injections.c out->err(out, "Invalid operation spec: %s. Only found %d fields", out 588 lib/pacemaker/pcmk_injections.c out->err(out, "Invalid resource name: %s", resource); out 599 lib/pacemaker/pcmk_injections.c pcmk__inject_failcount(out, cib, cib_node, resource, task, interval_ms, out 602 lib/pacemaker/pcmk_injections.c cib_resource = pcmk__inject_resource_history(out, cib_node, out 639 lib/pacemaker/pcmk_injections.c pcmk__output_t *out = scheduler->priv; out 641 lib/pacemaker/pcmk_injections.c out->message(out, "inject-modify-config", injections->quorum, out 654 lib/pacemaker/pcmk_injections.c rc = cib__update_node_attr(out, cib, cib_sync_call|cib_scope_local, out 664 lib/pacemaker/pcmk_injections.c out->message(out, "inject-modify-node", "Online", node); out 679 lib/pacemaker/pcmk_injections.c out->message(out, "inject-modify-node", "Offline", node); out 709 lib/pacemaker/pcmk_injections.c out->message(out, "inject-modify-node", "Failing", node); out 724 lib/pacemaker/pcmk_injections.c out->message(out, "inject-modify-ticket", "Granting", ticket_id); out 726 lib/pacemaker/pcmk_injections.c rc = set_ticket_state_attr(out, ticket_id, PCMK__XA_GRANTED, true, cib); out 733 lib/pacemaker/pcmk_injections.c out->message(out, "inject-modify-ticket", "Revoking", ticket_id); out 735 lib/pacemaker/pcmk_injections.c rc = set_ticket_state_attr(out, ticket_id, PCMK__XA_GRANTED, false, out 743 lib/pacemaker/pcmk_injections.c out->message(out, "inject-modify-ticket", "Standby", ticket_id); out 745 lib/pacemaker/pcmk_injections.c rc = set_ticket_state_attr(out, ticket_id, PCMK_XA_STANDBY, true, cib); out 752 lib/pacemaker/pcmk_injections.c out->message(out, "inject-modify-ticket", "Activating", ticket_id); out 754 lib/pacemaker/pcmk_injections.c rc = set_ticket_state_attr(out, ticket_id, PCMK_XA_STANDBY, false, cib); out 759 lib/pacemaker/pcmk_injections.c inject_action(out, (const char *) iter->data, cib, scheduler); out 762 lib/pacemaker/pcmk_injections.c if (!out->is_quiet(out)) { out 763 lib/pacemaker/pcmk_injections.c out->end_list(out); out 30 lib/pacemaker/pcmk_options.c pcmk__list_cluster_options(pcmk__output_t *out, bool all) out 42 lib/pacemaker/pcmk_options.c return pcmk__output_cluster_options(out, name, desc_short, desc_long, out 50 lib/pacemaker/pcmk_options.c pcmk__output_t *out = NULL; out 53 lib/pacemaker/pcmk_options.c rc = pcmk__xml_output_new(&out, xml); out 58 lib/pacemaker/pcmk_options.c pcmk__register_lib_messages(out); out 60 lib/pacemaker/pcmk_options.c rc = pcmk__list_cluster_options(out, all); out 62 lib/pacemaker/pcmk_options.c pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml); out 81 lib/pacemaker/pcmk_options.c pcmk__list_fencing_params(pcmk__output_t *out, bool all) out 92 lib/pacemaker/pcmk_options.c return pcmk__output_fencing_params(out, name, desc_short, desc_long, all); out 99 lib/pacemaker/pcmk_options.c pcmk__output_t *out = NULL; out 102 lib/pacemaker/pcmk_options.c rc = pcmk__xml_output_new(&out, xml); out 107 lib/pacemaker/pcmk_options.c pcmk__register_lib_messages(out); out 109 lib/pacemaker/pcmk_options.c rc = pcmk__list_fencing_params(out, all); out 111 lib/pacemaker/pcmk_options.c pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml); out 126 lib/pacemaker/pcmk_options.c pcmk__list_primitive_meta(pcmk__output_t *out, bool all) out 132 lib/pacemaker/pcmk_options.c return pcmk__output_primitive_meta(out, name, desc_short, desc_long, all); out 139 lib/pacemaker/pcmk_options.c pcmk__output_t *out = NULL; out 142 lib/pacemaker/pcmk_options.c rc = pcmk__xml_output_new(&out, xml); out 147 lib/pacemaker/pcmk_options.c pcmk__register_lib_messages(out); out 149 lib/pacemaker/pcmk_options.c rc = pcmk__list_primitive_meta(out, all); out 151 lib/pacemaker/pcmk_options.c pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml); out 43 lib/pacemaker/pcmk_output.c colocations_xml_node(pcmk__output_t *out, pcmk_resource_t *rsc, out 56 lib/pacemaker/pcmk_output.c pcmk__output_create_xml_node(out, PCMK_XE_RSC_COLOCATION, out 68 lib/pacemaker/pcmk_output.c do_locations_list_xml(pcmk__output_t *out, pcmk_resource_t *rsc, out 84 lib/pacemaker/pcmk_output.c PCMK__OUTPUT_LIST_HEADER(out, false, rc, "locations"); out 87 lib/pacemaker/pcmk_output.c pcmk__output_create_xml_node(out, PCMK_XE_RSC_LOCATION, out 98 lib/pacemaker/pcmk_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 108 lib/pacemaker/pcmk_output.c rsc_action_item(pcmk__output_t *out, va_list args) out 223 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%-8s %-*s ( %*s )%s%s", out 236 lib/pacemaker/pcmk_output.c rsc_action_item_xml(pcmk__output_t *out, va_list args) out 273 lib/pacemaker/pcmk_output.c xml = pcmk__output_create_xml_node(out, PCMK_XE_RSC_ACTION, out 366 lib/pacemaker/pcmk_output.c rsc_is_colocated_with_list(pcmk__output_t *out, va_list args) { out 384 lib/pacemaker/pcmk_output.c PCMK__OUTPUT_LIST_HEADER(out, false, rc, out 388 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%s (id=%s - loop)", out 394 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%s", hdr); out 398 lib/pacemaker/pcmk_output.c out->begin_list(out, NULL, NULL, NULL); out 400 lib/pacemaker/pcmk_output.c out->message(out, "locations-list", cons->primary); out 402 lib/pacemaker/pcmk_output.c out->message(out, "rsc-is-colocated-with-list", out 406 lib/pacemaker/pcmk_output.c out->end_list(out); out 409 lib/pacemaker/pcmk_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 415 lib/pacemaker/pcmk_output.c rsc_is_colocated_with_list_xml(pcmk__output_t *out, va_list args) { out 433 lib/pacemaker/pcmk_output.c colocations_xml_node(out, cons->primary, cons); out 437 lib/pacemaker/pcmk_output.c colocations_xml_node(out, cons->primary, cons); out 438 lib/pacemaker/pcmk_output.c do_locations_list_xml(out, cons->primary, false); out 441 lib/pacemaker/pcmk_output.c out->message(out, "rsc-is-colocated-with-list", out 451 lib/pacemaker/pcmk_output.c rscs_colocated_with_list(pcmk__output_t *out, va_list args) { out 470 lib/pacemaker/pcmk_output.c PCMK__OUTPUT_LIST_HEADER(out, false, rc, "Resources colocated with %s", out 474 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%s (id=%s - loop)", out 480 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%s", hdr); out 484 lib/pacemaker/pcmk_output.c out->begin_list(out, NULL, NULL, NULL); out 486 lib/pacemaker/pcmk_output.c out->message(out, "locations-list", cons->dependent); out 488 lib/pacemaker/pcmk_output.c out->message(out, "rscs-colocated-with-list", out 492 lib/pacemaker/pcmk_output.c out->end_list(out); out 495 lib/pacemaker/pcmk_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 501 lib/pacemaker/pcmk_output.c rscs_colocated_with_list_xml(pcmk__output_t *out, va_list args) { out 520 lib/pacemaker/pcmk_output.c colocations_xml_node(out, cons->dependent, cons); out 524 lib/pacemaker/pcmk_output.c colocations_xml_node(out, cons->dependent, cons); out 525 lib/pacemaker/pcmk_output.c do_locations_list_xml(out, cons->dependent, false); out 528 lib/pacemaker/pcmk_output.c out->message(out, "rscs-colocated-with-list", out 538 lib/pacemaker/pcmk_output.c locations_list(pcmk__output_t *out, va_list args) { out 553 lib/pacemaker/pcmk_output.c PCMK__OUTPUT_LIST_HEADER(out, false, rc, "Locations"); out 554 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Node %s (score=%s, id=%s, rsc=%s)", out 561 lib/pacemaker/pcmk_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 567 lib/pacemaker/pcmk_output.c locations_list_xml(pcmk__output_t *out, va_list args) { out 569 lib/pacemaker/pcmk_output.c return do_locations_list_xml(out, rsc, true); out 575 lib/pacemaker/pcmk_output.c locations_and_colocations(pcmk__output_t *out, va_list args) out 588 lib/pacemaker/pcmk_output.c out->message(out, "locations-list", rsc); out 591 lib/pacemaker/pcmk_output.c out->message(out, "rscs-colocated-with-list", rsc, recursive); out 594 lib/pacemaker/pcmk_output.c out->message(out, "rsc-is-colocated-with-list", rsc, recursive); out 601 lib/pacemaker/pcmk_output.c locations_and_colocations_xml(pcmk__output_t *out, va_list args) out 614 lib/pacemaker/pcmk_output.c pcmk__output_xml_create_parent(out, PCMK_XE_CONSTRAINTS, NULL); out 615 lib/pacemaker/pcmk_output.c do_locations_list_xml(out, rsc, false); out 618 lib/pacemaker/pcmk_output.c out->message(out, "rscs-colocated-with-list", rsc, recursive); out 621 lib/pacemaker/pcmk_output.c out->message(out, "rsc-is-colocated-with-list", rsc, recursive); out 623 lib/pacemaker/pcmk_output.c pcmk__output_xml_pop_parent(out); out 630 lib/pacemaker/pcmk_output.c health(pcmk__output_t *out, va_list args) out 637 lib/pacemaker/pcmk_output.c return out->info(out, "Controller on %s in state %s: %s", out 646 lib/pacemaker/pcmk_output.c health_text(pcmk__output_t *out, va_list args) out 648 lib/pacemaker/pcmk_output.c if (!out->is_quiet(out)) { out 649 lib/pacemaker/pcmk_output.c return health(out, args); out 657 lib/pacemaker/pcmk_output.c pcmk__formatted_printf(out, "%s\n", fsa_state); out 668 lib/pacemaker/pcmk_output.c health_xml(pcmk__output_t *out, va_list args) out 675 lib/pacemaker/pcmk_output.c pcmk__output_create_xml_node(out, pcmk__s(sys_from, ""), out 686 lib/pacemaker/pcmk_output.c pacemakerd_health(pcmk__output_t *out, va_list args) out 716 lib/pacemaker/pcmk_output.c rc = out->info(out, "Status of %s: '%s' (last updated %s)", out 727 lib/pacemaker/pcmk_output.c pacemakerd_health_html(pcmk__output_t *out, va_list args) out 760 lib/pacemaker/pcmk_output.c pcmk__output_create_html_node(out, "li", NULL, NULL, msg); out 770 lib/pacemaker/pcmk_output.c pacemakerd_health_text(pcmk__output_t *out, va_list args) out 772 lib/pacemaker/pcmk_output.c if (!out->is_quiet(out)) { out 773 lib/pacemaker/pcmk_output.c return pacemakerd_health(out, args); out 784 lib/pacemaker/pcmk_output.c pcmk__formatted_printf(out, "%s\n", state_s); out 792 lib/pacemaker/pcmk_output.c pacemakerd_health_xml(pcmk__output_t *out, va_list args) out 821 lib/pacemaker/pcmk_output.c pcmk__output_create_xml_node(out, PCMK_XE_PACEMAKERD, out 832 lib/pacemaker/pcmk_output.c profile_default(pcmk__output_t *out, va_list args) { out 837 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Testing %s ... %.2f secs", xml_file, out 845 lib/pacemaker/pcmk_output.c profile_xml(pcmk__output_t *out, va_list args) { out 852 lib/pacemaker/pcmk_output.c pcmk__output_create_xml_node(out, PCMK_XE_TIMING, out 863 lib/pacemaker/pcmk_output.c dc(pcmk__output_t *out, va_list args) out 867 lib/pacemaker/pcmk_output.c return out->info(out, "Designated Controller is: %s", out 873 lib/pacemaker/pcmk_output.c dc_text(pcmk__output_t *out, va_list args) out 875 lib/pacemaker/pcmk_output.c if (!out->is_quiet(out)) { out 876 lib/pacemaker/pcmk_output.c return dc(out, args); out 881 lib/pacemaker/pcmk_output.c pcmk__formatted_printf(out, "%s\n", pcmk__s(dc, "")); out 891 lib/pacemaker/pcmk_output.c dc_xml(pcmk__output_t *out, va_list args) out 895 lib/pacemaker/pcmk_output.c pcmk__output_create_xml_node(out, PCMK_XE_DC, out 904 lib/pacemaker/pcmk_output.c crmadmin_node(pcmk__output_t *out, va_list args) out 912 lib/pacemaker/pcmk_output.c return out->info(out, "export %s=%s", out 915 lib/pacemaker/pcmk_output.c return out->info(out, "%s node: %s (%s)", type ? type : "cluster", out 923 lib/pacemaker/pcmk_output.c crmadmin_node_text(pcmk__output_t *out, va_list args) out 925 lib/pacemaker/pcmk_output.c if (!out->is_quiet(out)) { out 926 lib/pacemaker/pcmk_output.c return crmadmin_node(out, args); out 933 lib/pacemaker/pcmk_output.c pcmk__formatted_printf(out, "%s\n", pcmk__s(name, "<null>")); out 941 lib/pacemaker/pcmk_output.c crmadmin_node_xml(pcmk__output_t *out, va_list args) out 948 lib/pacemaker/pcmk_output.c pcmk__output_create_xml_node(out, PCMK_XE_NODE, out 959 lib/pacemaker/pcmk_output.c digests_text(pcmk__output_t *out, va_list args) out 986 lib/pacemaker/pcmk_output.c out->begin_list(out, NULL, NULL, "Digests for %s %s on %s", out 991 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "none"); out 992 lib/pacemaker/pcmk_output.c out->end_list(out); out 996 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%s (all parameters)", out 1000 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%s (non-private parameters)", out 1004 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%s (non-reloadable parameters)", out 1007 lib/pacemaker/pcmk_output.c out->end_list(out); out 1027 lib/pacemaker/pcmk_output.c digests_xml(pcmk__output_t *out, va_list args) out 1038 lib/pacemaker/pcmk_output.c xml = pcmk__output_create_xml_node(out, PCMK_XE_DIGESTS, out 1074 lib/pacemaker/pcmk_output.c rsc_action_default(pcmk__output_t *out, va_list args) out 1164 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Migrate", rsc, current, out 1168 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Reload", rsc, current, out 1176 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Re-promote", rsc, out 1190 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Stop", rsc, current, out 1197 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", out 1202 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Recover", rsc, current, out 1207 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Restart", rsc, current, out 1247 lib/pacemaker/pcmk_output.c if (out->message(out, "rsc-action-item", "Stop", rsc, node, NULL, out 1259 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Recover", rsc, current, out 1264 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Move", rsc, current, next, out 1269 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Reload", rsc, current, next, out 1274 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Restart", rsc, current, out 1280 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Demote", rsc, current, out 1285 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Promote", rsc, current, out 1290 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Start", rsc, current, next, out 1299 lib/pacemaker/pcmk_output.c node_action(pcmk__output_t *out, va_list args) out 1308 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%s %s '%s'", task, node_name, reason); out 1318 lib/pacemaker/pcmk_output.c node_action_xml(pcmk__output_t *out, va_list args) out 1327 lib/pacemaker/pcmk_output.c pcmk__output_create_xml_node(out, PCMK_XE_NODE_ACTION, out 1342 lib/pacemaker/pcmk_output.c node_info_default(pcmk__output_t *out, va_list args) out 1351 lib/pacemaker/pcmk_output.c return out->info(out, out 1362 lib/pacemaker/pcmk_output.c node_info_xml(pcmk__output_t *out, va_list args) out 1373 lib/pacemaker/pcmk_output.c pcmk__output_create_xml_node(out, PCMK_XE_NODE_INFO, out 1388 lib/pacemaker/pcmk_output.c inject_cluster_action(pcmk__output_t *out, va_list args) out 1394 lib/pacemaker/pcmk_output.c if (out->is_quiet(out)) { out 1399 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Cluster action: %s for %s on %s", out 1402 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Cluster action: %s on %s", task, node); out 1411 lib/pacemaker/pcmk_output.c inject_cluster_action_xml(pcmk__output_t *out, va_list args) out 1419 lib/pacemaker/pcmk_output.c if (out->is_quiet(out)) { out 1423 lib/pacemaker/pcmk_output.c xml_node = pcmk__output_create_xml_node(out, PCMK_XE_CLUSTER_ACTION, out 1437 lib/pacemaker/pcmk_output.c inject_fencing_action(pcmk__output_t *out, va_list args) out 1442 lib/pacemaker/pcmk_output.c if (out->is_quiet(out)) { out 1446 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Fencing %s (%s)", target, op); out 1452 lib/pacemaker/pcmk_output.c inject_fencing_action_xml(pcmk__output_t *out, va_list args) out 1457 lib/pacemaker/pcmk_output.c if (out->is_quiet(out)) { out 1461 lib/pacemaker/pcmk_output.c pcmk__output_create_xml_node(out, PCMK_XE_FENCING_ACTION, out 1470 lib/pacemaker/pcmk_output.c inject_attr(pcmk__output_t *out, va_list args) out 1478 lib/pacemaker/pcmk_output.c if (out->is_quiet(out)) { out 1484 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Injecting attribute %s=%s into %s '%s'", out 1493 lib/pacemaker/pcmk_output.c inject_attr_xml(pcmk__output_t *out, va_list args) out 1501 lib/pacemaker/pcmk_output.c if (out->is_quiet(out)) { out 1507 lib/pacemaker/pcmk_output.c pcmk__output_create_xml_node(out, PCMK_XE_INJECT_ATTR, out 1519 lib/pacemaker/pcmk_output.c inject_spec(pcmk__output_t *out, va_list args) out 1523 lib/pacemaker/pcmk_output.c if (out->is_quiet(out)) { out 1527 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Injecting %s into the configuration", spec); out 1533 lib/pacemaker/pcmk_output.c inject_spec_xml(pcmk__output_t *out, va_list args) out 1537 lib/pacemaker/pcmk_output.c if (out->is_quiet(out)) { out 1541 lib/pacemaker/pcmk_output.c pcmk__output_create_xml_node(out, PCMK_XE_INJECT_SPEC, out 1549 lib/pacemaker/pcmk_output.c inject_modify_config(pcmk__output_t *out, va_list args) out 1554 lib/pacemaker/pcmk_output.c if (out->is_quiet(out)) { out 1558 lib/pacemaker/pcmk_output.c out->begin_list(out, NULL, NULL, "Performing Requested Modifications"); out 1561 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Setting quorum: %s", quorum); out 1565 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Setting watchdog: %s", watchdog); out 1573 lib/pacemaker/pcmk_output.c inject_modify_config_xml(pcmk__output_t *out, va_list args) out 1580 lib/pacemaker/pcmk_output.c if (out->is_quiet(out)) { out 1584 lib/pacemaker/pcmk_output.c node = pcmk__output_xml_create_parent(out, PCMK_XE_MODIFICATIONS, NULL); out 1594 lib/pacemaker/pcmk_output.c pcmk__output_xml_pop_parent(out); out 1600 lib/pacemaker/pcmk_output.c inject_modify_node(pcmk__output_t *out, va_list args) out 1605 lib/pacemaker/pcmk_output.c if (out->is_quiet(out)) { out 1610 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Bringing node %s online", node); out 1613 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Taking node %s offline", node); out 1616 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Failing node %s", node); out 1625 lib/pacemaker/pcmk_output.c inject_modify_node_xml(pcmk__output_t *out, va_list args) out 1630 lib/pacemaker/pcmk_output.c if (out->is_quiet(out)) { out 1634 lib/pacemaker/pcmk_output.c pcmk__output_create_xml_node(out, PCMK_XE_MODIFY_NODE, out 1643 lib/pacemaker/pcmk_output.c inject_modify_ticket(pcmk__output_t *out, va_list args) out 1648 lib/pacemaker/pcmk_output.c if (out->is_quiet(out)) { out 1653 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Making ticket %s standby", ticket); out 1655 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%s ticket %s", action, ticket); out 1663 lib/pacemaker/pcmk_output.c inject_modify_ticket_xml(pcmk__output_t *out, va_list args) out 1668 lib/pacemaker/pcmk_output.c if (out->is_quiet(out)) { out 1672 lib/pacemaker/pcmk_output.c pcmk__output_create_xml_node(out, PCMK_XE_MODIFY_TICKET, out 1681 lib/pacemaker/pcmk_output.c inject_pseudo_action(pcmk__output_t *out, va_list args) out 1686 lib/pacemaker/pcmk_output.c if (out->is_quiet(out)) { out 1690 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Pseudo action: %s%s%s", out 1697 lib/pacemaker/pcmk_output.c inject_pseudo_action_xml(pcmk__output_t *out, va_list args) out 1704 lib/pacemaker/pcmk_output.c if (out->is_quiet(out)) { out 1708 lib/pacemaker/pcmk_output.c xml_node = pcmk__output_create_xml_node(out, PCMK_XE_PSEUDO_ACTION, out 1721 lib/pacemaker/pcmk_output.c inject_rsc_action(pcmk__output_t *out, va_list args) out 1728 lib/pacemaker/pcmk_output.c if (out->is_quiet(out)) { out 1733 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Resource action: %-15s %s=%u on %s", out 1736 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Resource action: %-15s %s on %s", out 1746 lib/pacemaker/pcmk_output.c inject_rsc_action_xml(pcmk__output_t *out, va_list args) out 1755 lib/pacemaker/pcmk_output.c if (out->is_quiet(out)) { out 1759 lib/pacemaker/pcmk_output.c xml_node = pcmk__output_create_xml_node(out, PCMK_XE_RSC_ACTION, out 1785 lib/pacemaker/pcmk_output.c pcmk__cluster_status_text(pcmk__output_t *out, va_list args) out 1802 lib/pacemaker/pcmk_output.c CHECK_RC(rc, out->message(out, "cluster-summary", scheduler, pcmkd_state, out 1806 lib/pacemaker/pcmk_output.c CHECK_RC(rc, out->message(out, "node-list", scheduler->nodes, unames, out 1812 lib/pacemaker/pcmk_output.c CHECK_RC(rc, out->message(out, "resource-list", scheduler, show_opts, out 1818 lib/pacemaker/pcmk_output.c CHECK_RC(rc, out->message(out, "node-attribute-list", scheduler, out 1828 lib/pacemaker/pcmk_output.c CHECK_RC(rc, out->message(out, "node-summary", scheduler, unames, out 1838 lib/pacemaker/pcmk_output.c CHECK_RC(rc, out->message(out, "failed-action-list", scheduler, unames, out 1852 lib/pacemaker/pcmk_output.c CHECK_RC(rc, out->message(out, "failed-fencing-list", out 1857 lib/pacemaker/pcmk_output.c PCMK__OUTPUT_SPACER_IF(out, rc == pcmk_rc_ok); out 1858 lib/pacemaker/pcmk_output.c out->begin_list(out, NULL, NULL, "Failed Fencing Actions"); out 1859 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Failed to get fencing history: %s", out 1861 lib/pacemaker/pcmk_output.c out->end_list(out); out 1869 lib/pacemaker/pcmk_output.c CHECK_RC(rc, out->message(out, "ticket-list", scheduler->tickets, out 1875 lib/pacemaker/pcmk_output.c CHECK_RC(rc, out->message(out, "ban-list", scheduler, prefix, resources, out 1884 lib/pacemaker/pcmk_output.c PCMK__OUTPUT_SPACER_IF(out, rc == pcmk_rc_ok); out 1885 lib/pacemaker/pcmk_output.c out->begin_list(out, NULL, NULL, "Failed Fencing Actions"); out 1886 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Failed to get fencing history: %s", out 1888 lib/pacemaker/pcmk_output.c out->end_list(out); out 1897 lib/pacemaker/pcmk_output.c CHECK_RC(rc, out->message(out, "fencing-list", hp, unames, out 1908 lib/pacemaker/pcmk_output.c CHECK_RC(rc, out->message(out, "pending-fencing-list", hp, out 1923 lib/pacemaker/pcmk_output.c cluster_status_xml(pcmk__output_t *out, va_list args) out 1937 lib/pacemaker/pcmk_output.c out->message(out, "cluster-summary", scheduler, pcmkd_state, section_opts, out 1942 lib/pacemaker/pcmk_output.c out->message(out, "node-list", scheduler->nodes, unames, resources, out 1951 lib/pacemaker/pcmk_output.c out->message(out, "resource-list", scheduler, full_show_opts, out 1957 lib/pacemaker/pcmk_output.c out->message(out, "node-attribute-list", scheduler, show_opts, false, out 1966 lib/pacemaker/pcmk_output.c out->message(out, "node-summary", scheduler, unames, out 1975 lib/pacemaker/pcmk_output.c out->message(out, "failed-action-list", scheduler, unames, resources, out 1982 lib/pacemaker/pcmk_output.c out->message(out, "full-fencing-list", history_rc, stonith_history, out 1988 lib/pacemaker/pcmk_output.c out->message(out, "ticket-list", scheduler->tickets, false, false, false); out 1993 lib/pacemaker/pcmk_output.c out->message(out, "ban-list", scheduler, prefix, resources, show_opts, out 2005 lib/pacemaker/pcmk_output.c cluster_status_html(pcmk__output_t *out, va_list args) out 2020 lib/pacemaker/pcmk_output.c out->message(out, "cluster-summary", scheduler, pcmkd_state, section_opts, out 2025 lib/pacemaker/pcmk_output.c out->message(out, "node-list", scheduler->nodes, unames, resources, out 2031 lib/pacemaker/pcmk_output.c out->message(out, "resource-list", scheduler, show_opts, true, unames, out 2037 lib/pacemaker/pcmk_output.c out->message(out, "node-attribute-list", scheduler, show_opts, false, out 2046 lib/pacemaker/pcmk_output.c out->message(out, "node-summary", scheduler, unames, out 2055 lib/pacemaker/pcmk_output.c out->message(out, "failed-action-list", scheduler, unames, resources, out 2069 lib/pacemaker/pcmk_output.c out->message(out, "failed-fencing-list", stonith_history, out 2073 lib/pacemaker/pcmk_output.c out->begin_list(out, NULL, NULL, "Failed Fencing Actions"); out 2074 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Failed to get fencing history: %s", out 2076 lib/pacemaker/pcmk_output.c out->end_list(out); out 2085 lib/pacemaker/pcmk_output.c out->begin_list(out, NULL, NULL, "Failed Fencing Actions"); out 2086 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Failed to get fencing history: %s", out 2088 lib/pacemaker/pcmk_output.c out->end_list(out); out 2097 lib/pacemaker/pcmk_output.c out->message(out, "fencing-list", hp, unames, section_opts, out 2107 lib/pacemaker/pcmk_output.c out->message(out, "pending-fencing-list", hp, unames, out 2115 lib/pacemaker/pcmk_output.c out->message(out, "ticket-list", scheduler->tickets, false, false, false); out 2120 lib/pacemaker/pcmk_output.c out->message(out, "ban-list", scheduler, prefix, resources, show_opts, out 2138 lib/pacemaker/pcmk_output.c attribute_default(pcmk__output_t *out, va_list args) out 2154 lib/pacemaker/pcmk_output.c bool was_quiet = out->is_quiet(out); out 2157 lib/pacemaker/pcmk_output.c out->quiet = false; out 2160 lib/pacemaker/pcmk_output.c out->info(out, "%s", value); out 2162 lib/pacemaker/pcmk_output.c out->quiet = was_quiet; out 2195 lib/pacemaker/pcmk_output.c out->info(out, "%s", s->str); out 2205 lib/pacemaker/pcmk_output.c attribute_xml(pcmk__output_t *out, va_list args) out 2217 lib/pacemaker/pcmk_output.c node = pcmk__output_create_xml_node(out, PCMK_XE_ATTRIBUTE, out 2239 lib/pacemaker/pcmk_output.c rule_check_default(pcmk__output_t *out, va_list args) out 2247 lib/pacemaker/pcmk_output.c return out->info(out, "Rule %s is still in effect", rule_id); out 2249 lib/pacemaker/pcmk_output.c return out->info(out, "Rule %s satisfies conditions", rule_id); out 2251 lib/pacemaker/pcmk_output.c return out->info(out, "Rule %s is expired", rule_id); out 2253 lib/pacemaker/pcmk_output.c return out->info(out, "Rule %s has not yet taken effect", rule_id); out 2255 lib/pacemaker/pcmk_output.c return out->info(out, "Rule %s does not satisfy conditions", out 2258 lib/pacemaker/pcmk_output.c out->err(out, out 2267 lib/pacemaker/pcmk_output.c rule_check_xml(pcmk__output_t *out, va_list args) out 2275 lib/pacemaker/pcmk_output.c pcmk__output_create_xml_node(out, PCMK_XE_RULE_CHECK, out 2289 lib/pacemaker/pcmk_output.c out->err(out, out 2298 lib/pacemaker/pcmk_output.c result_code_none(pcmk__output_t *out, va_list args) out 2305 lib/pacemaker/pcmk_output.c result_code_text(pcmk__output_t *out, va_list args) out 2313 lib/pacemaker/pcmk_output.c if (out->is_quiet(out)) { out 2319 lib/pacemaker/pcmk_output.c pcmk__formatted_printf(out, "%s - %s\n", name, desc); out 2322 lib/pacemaker/pcmk_output.c pcmk__formatted_printf(out, "%s\n", ((name != NULL)? name : desc)); out 2346 lib/pacemaker/pcmk_output.c return out->info(out, "% *d: %-*s %s", code_width, code, name_width, out 2351 lib/pacemaker/pcmk_output.c return out->info(out, "% *d: %s", code_width, code, out 2355 lib/pacemaker/pcmk_output.c return out->info(out, "% *d", code_width, code); out 2360 lib/pacemaker/pcmk_output.c result_code_xml(pcmk__output_t *out, va_list args) out 2368 lib/pacemaker/pcmk_output.c pcmk__output_create_xml_node(out, PCMK_XE_RESULT_CODE, out 2379 lib/pacemaker/pcmk_output.c ticket_attribute_default(pcmk__output_t *out, va_list args) out 2385 lib/pacemaker/pcmk_output.c out->info(out, "%s", value); out 2391 lib/pacemaker/pcmk_output.c ticket_attribute_xml(pcmk__output_t *out, va_list args) out 2404 lib/pacemaker/pcmk_output.c pcmk__output_xml_create_parent(out, PCMK_XE_TICKETS, NULL); out 2405 lib/pacemaker/pcmk_output.c pcmk__output_xml_create_parent(out, PCMK_XE_TICKET, out 2407 lib/pacemaker/pcmk_output.c pcmk__output_create_xml_node(out, PCMK_XA_ATTRIBUTE, out 2411 lib/pacemaker/pcmk_output.c pcmk__output_xml_pop_parent(out); out 2412 lib/pacemaker/pcmk_output.c pcmk__output_xml_pop_parent(out); out 2419 lib/pacemaker/pcmk_output.c ticket_constraints_default(pcmk__output_t *out, va_list args) out 2441 lib/pacemaker/pcmk_output.c out->info(out, "Constraints XML:\n"); out 2450 lib/pacemaker/pcmk_output.c out->output_xml(out, PCMK_XE_CONSTRAINT, buf->str); out 2459 lib/pacemaker/pcmk_output.c out->output_xml(out, PCMK_XE_CONSTRAINT, buf->str); out 2469 lib/pacemaker/pcmk_output.c pcmk__output_t *out = (pcmk__output_t *) userdata; out 2472 lib/pacemaker/pcmk_output.c pcmk__output_xml_create_parent(out, PCMK_XE_TICKET, out 2474 lib/pacemaker/pcmk_output.c pcmk__output_xml_create_parent(out, PCMK_XE_CONSTRAINTS, NULL); out 2475 lib/pacemaker/pcmk_output.c pcmk__output_xml_add_node_copy(out, node); out 2478 lib/pacemaker/pcmk_output.c pcmk__output_xml_pop_parent(out); out 2479 lib/pacemaker/pcmk_output.c pcmk__output_xml_pop_parent(out); out 2487 lib/pacemaker/pcmk_output.c pcmk__output_t *out = (pcmk__output_t *) userdata; out 2490 lib/pacemaker/pcmk_output.c pcmk__output_create_xml_node(out, PCMK_XE_RESOURCE, out 2497 lib/pacemaker/pcmk_output.c ticket_constraints_xml(pcmk__output_t *out, va_list args) out 2511 lib/pacemaker/pcmk_output.c pcmk__output_xml_create_parent(out, PCMK_XE_TICKETS, NULL); out 2517 lib/pacemaker/pcmk_output.c pcmk__xe_foreach_child(constraint_xml, NULL, add_ticket_element_with_constraints, out); out 2520 lib/pacemaker/pcmk_output.c pcmk__output_xml_pop_parent(out); out 2534 lib/pacemaker/pcmk_output.c pcmk__output_xml_create_parent(out, PCMK_XE_RESOURCES, NULL); out 2535 lib/pacemaker/pcmk_output.c pcmk__xe_foreach_child(constraint_xml, NULL, add_resource_element, out); out 2536 lib/pacemaker/pcmk_output.c pcmk__output_xml_pop_parent(out); out 2542 lib/pacemaker/pcmk_output.c add_ticket_element_with_constraints(constraint_xml, out); out 2543 lib/pacemaker/pcmk_output.c pcmk__output_xml_pop_parent(out); out 2545 lib/pacemaker/pcmk_output.c pcmk__output_xml_create_parent(out, PCMK_XE_RESOURCES, NULL); out 2546 lib/pacemaker/pcmk_output.c add_resource_element(constraint_xml, out); out 2547 lib/pacemaker/pcmk_output.c pcmk__output_xml_pop_parent(out); out 2555 lib/pacemaker/pcmk_output.c ticket_state_default(pcmk__output_t *out, va_list args) out 2561 lib/pacemaker/pcmk_output.c out->info(out, "State XML:\n"); out 2563 lib/pacemaker/pcmk_output.c out->output_xml(out, PCMK__XE_TICKET_STATE, buf->str); out 2572 lib/pacemaker/pcmk_output.c pcmk__output_t *out = (pcmk__output_t *) userdata; out 2575 lib/pacemaker/pcmk_output.c ticket_node = pcmk__output_create_xml_node(out, PCMK_XE_TICKET, NULL); out 2582 lib/pacemaker/pcmk_output.c ticket_state_xml(pcmk__output_t *out, va_list args) out 2592 lib/pacemaker/pcmk_output.c pcmk__output_xml_create_parent(out, PCMK_XE_TICKETS, NULL); out 2598 lib/pacemaker/pcmk_output.c pcmk__xe_foreach_child(state_xml, PCMK__XE_TICKET_STATE, add_ticket_element, out); out 2601 lib/pacemaker/pcmk_output.c add_ticket_element(state_xml, out); out 2604 lib/pacemaker/pcmk_output.c pcmk__output_xml_pop_parent(out); out 2680 lib/pacemaker/pcmk_output.c pcmk__register_lib_messages(pcmk__output_t *out) { out 2681 lib/pacemaker/pcmk_output.c pcmk__register_messages(out, fmt_functions); out 150 lib/pacemaker/pcmk_resource.c pcmk__output_t *out = NULL; out 155 lib/pacemaker/pcmk_resource.c rc = pcmk__xml_output_new(&out, xml); out 180 lib/pacemaker/pcmk_resource.c pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml); out 196 lib/pacemaker/pcmk_resource.c pcmk__resource_digests(pcmk__output_t *out, pcmk_resource_t *rsc, out 205 lib/pacemaker/pcmk_resource.c if ((out == NULL) || (rsc == NULL) || (node == NULL)) { out 229 lib/pacemaker/pcmk_resource.c rc = out->message(out, "digests", rsc, node, task, interval_ms, digests); out 239 lib/pacemaker/pcmk_resource.c pcmk__output_t *out = NULL; out 242 lib/pacemaker/pcmk_resource.c rc = pcmk__xml_output_new(&out, xml); out 246 lib/pacemaker/pcmk_resource.c pcmk__register_lib_messages(out); out 247 lib/pacemaker/pcmk_resource.c rc = pcmk__resource_digests(out, rsc, node, overrides); out 248 lib/pacemaker/pcmk_resource.c pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml); out 35 lib/pacemaker/pcmk_result_code.c pcmk__show_result_code(pcmk__output_t *out, int code, out 39 lib/pacemaker/pcmk_result_code.c bool quiet_orig = out->quiet; out 45 lib/pacemaker/pcmk_result_code.c out->err(out, "Error looking up result code %d", code); out 50 lib/pacemaker/pcmk_result_code.c out->quiet = !pcmk_is_set(flags, pcmk_rc_disp_code); out 52 lib/pacemaker/pcmk_result_code.c out->message(out, "result-code", code, out 55 lib/pacemaker/pcmk_result_code.c out->quiet = quiet_orig; out 65 lib/pacemaker/pcmk_result_code.c pcmk__output_t *out = NULL; out 68 lib/pacemaker/pcmk_result_code.c rc = pcmk__xml_output_new(&out, xml); out 73 lib/pacemaker/pcmk_result_code.c pcmk__register_lib_messages(out); out 75 lib/pacemaker/pcmk_result_code.c rc = pcmk__show_result_code(out, code, type, flags); out 76 lib/pacemaker/pcmk_result_code.c pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml); out 93 lib/pacemaker/pcmk_result_code.c pcmk__list_result_codes(pcmk__output_t *out, enum pcmk_result_type type, out 101 lib/pacemaker/pcmk_result_code.c bool quiet_orig = out->quiet; out 107 lib/pacemaker/pcmk_result_code.c out->err(out, out 136 lib/pacemaker/pcmk_result_code.c out->quiet = !pcmk_is_set(flags, pcmk_rc_disp_code); out 138 lib/pacemaker/pcmk_result_code.c out->message(out, "result-code", code, out 141 lib/pacemaker/pcmk_result_code.c out->quiet = quiet_orig; out 154 lib/pacemaker/pcmk_result_code.c pcmk__output_t *out = NULL; out 157 lib/pacemaker/pcmk_result_code.c rc = pcmk__xml_output_new(&out, xml); out 162 lib/pacemaker/pcmk_result_code.c pcmk__register_lib_messages(out); out 164 lib/pacemaker/pcmk_result_code.c rc = pcmk__list_result_codes(out, type, flags); out 165 lib/pacemaker/pcmk_result_code.c pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml); out 163 lib/pacemaker/pcmk_rule.c pcmk__check_rules(pcmk__output_t *out, xmlNodePtr input, const crm_time_t *date, out 169 lib/pacemaker/pcmk_rule.c pcmk__assert(out != NULL); out 176 lib/pacemaker/pcmk_rule.c rc = pcmk__init_scheduler(out, input, date, &scheduler); out 185 lib/pacemaker/pcmk_rule.c out->message(out, "rule-check", *rule_id, last_rc, error); out 201 lib/pacemaker/pcmk_rule.c pcmk__output_t *out = NULL; out 204 lib/pacemaker/pcmk_rule.c rc = pcmk__xml_output_new(&out, xml); out 209 lib/pacemaker/pcmk_rule.c pcmk__register_lib_messages(out); out 211 lib/pacemaker/pcmk_rule.c rc = pcmk__check_rules(out, input, date, rule_ids); out 212 lib/pacemaker/pcmk_rule.c pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml); out 1399 lib/pacemaker/pcmk_sched_actions.c pcmk__output_t *out = scheduler->priv; out 1439 lib/pacemaker/pcmk_sched_actions.c out->message(out, "node-action", task, node_name, action->reason); out 1652 lib/pacemaker/pcmk_sched_actions.c pcmk__output_t *out = rsc->cluster->priv; out 1654 lib/pacemaker/pcmk_sched_actions.c out->info(out, out 876 lib/pacemaker/pcmk_sched_promotable.c pcmk__output_t *out = instance->cluster->priv; out 878 lib/pacemaker/pcmk_sched_promotable.c out->message(out, "promotion-score", instance, chosen, out 321 lib/pacemaker/pcmk_sched_resource.c pcmk__output_t *out = NULL; out 325 lib/pacemaker/pcmk_sched_resource.c out = rsc->cluster->priv; out 351 lib/pacemaker/pcmk_sched_resource.c out->message(out, "rsc-action", rsc, current, next); out 506 lib/pacemaker/pcmk_sched_resource.c pcmk__output_t *out = rsc->cluster->priv; out 508 lib/pacemaker/pcmk_sched_resource.c out->message(out, "resource-util", rsc, node, __func__); out 468 lib/pacemaker/pcmk_sched_utilization.c pcmk__output_t *out = scheduler->priv; out 470 lib/pacemaker/pcmk_sched_utilization.c out->message(out, "node-capacity", node, desc); out 657 lib/pacemaker/pcmk_scheduler.c pcmk__output_t *out = scheduler->priv; out 672 lib/pacemaker/pcmk_scheduler.c out->message(out, pcmk__map_element_name(rsc->xml), 0UL, rsc, all, out 687 lib/pacemaker/pcmk_scheduler.c pcmk__output_t *out = NULL; out 689 lib/pacemaker/pcmk_scheduler.c if (pcmk__log_output_new(&out) != pcmk_rc_ok) { out 693 lib/pacemaker/pcmk_scheduler.c pe__register_messages(out); out 694 lib/pacemaker/pcmk_scheduler.c pcmk__register_lib_messages(out); out 695 lib/pacemaker/pcmk_scheduler.c pcmk__output_set_log_level(out, LOG_NOTICE); out 696 lib/pacemaker/pcmk_scheduler.c scheduler->priv = out; out 698 lib/pacemaker/pcmk_scheduler.c out->begin_list(out, NULL, NULL, "Actions"); out 700 lib/pacemaker/pcmk_scheduler.c out->end_list(out); out 701 lib/pacemaker/pcmk_scheduler.c out->finish(out, CRM_EX_OK, true, NULL); out 702 lib/pacemaker/pcmk_scheduler.c pcmk__output_free(out); out 847 lib/pacemaker/pcmk_scheduler.c pcmk__init_scheduler(pcmk__output_t *out, xmlNodePtr input, const crm_time_t *date, out 867 lib/pacemaker/pcmk_scheduler.c out->err(out, "Failed to copy input XML"); out 873 lib/pacemaker/pcmk_scheduler.c int rc = cib__signon_query(out, NULL, &(new_scheduler->input)); out 41 lib/pacemaker/pcmk_setup.c pcmk__setup_output_cib_sched(pcmk__output_t **out, cib_t **cib, out 46 lib/pacemaker/pcmk_setup.c rc = pcmk__xml_output_new(out, xml); out 67 lib/pacemaker/pcmk_setup.c rc = pcmk__init_scheduler(*out, NULL, NULL, scheduler); out 76 lib/pacemaker/pcmk_setup.c pcmk__register_lib_messages(*out); out 25 lib/pacemaker/pcmk_simulate.c static pcmk__output_t *out = NULL; out 142 lib/pacemaker/pcmk_simulate.c pcmk__output_t *out = scheduler->priv; out 152 lib/pacemaker/pcmk_simulate.c PCMK__OUTPUT_SPACER_IF(out, print_spacer); out 153 lib/pacemaker/pcmk_simulate.c out->begin_list(out, NULL, NULL, "%s", title); out 154 lib/pacemaker/pcmk_simulate.c out->message(out, "cluster-status", out 158 lib/pacemaker/pcmk_simulate.c out->end_list(out); out 173 lib/pacemaker/pcmk_simulate.c pcmk__output_t *out = scheduler->priv; out 175 lib/pacemaker/pcmk_simulate.c PCMK__OUTPUT_SPACER_IF(out, print_spacer); out 176 lib/pacemaker/pcmk_simulate.c out->begin_list(out, NULL, NULL, "Transition Summary"); out 178 lib/pacemaker/pcmk_simulate.c out->end_list(out); out 192 lib/pacemaker/pcmk_simulate.c reset(pcmk_scheduler_t *scheduler, xmlNodePtr input, pcmk__output_t *out, out 196 lib/pacemaker/pcmk_simulate.c scheduler->priv = out; out 333 lib/pacemaker/pcmk_simulate.c pcmk__output_t *out = scheduler->priv; out 339 lib/pacemaker/pcmk_simulate.c pcmk__assert(out != NULL); out 378 lib/pacemaker/pcmk_simulate.c out->message(out, "profile", xml_file, start, end); out 385 lib/pacemaker/pcmk_simulate.c pcmk__output_t *out = scheduler->priv; out 390 lib/pacemaker/pcmk_simulate.c pcmk__assert(out != NULL); out 396 lib/pacemaker/pcmk_simulate.c out->begin_list(out, NULL, NULL, "Timings"); out 417 lib/pacemaker/pcmk_simulate.c out->end_list(out); out 438 lib/pacemaker/pcmk_simulate.c pcmk__output_t *out = scheduler->priv; out 441 lib/pacemaker/pcmk_simulate.c pcmk__assert(out != NULL); out 448 lib/pacemaker/pcmk_simulate.c out->info(out, "Setting effective cluster time: %s", use_date); out 459 lib/pacemaker/pcmk_simulate.c out->info(out, "Using the original execution date of: %s", when); out 481 lib/pacemaker/pcmk_simulate.c out->message(out, "inject-pseudo-action", node, task); out 558 lib/pacemaker/pcmk_simulate.c out->message(out, "inject-rsc-action", resource, operation, node, out 580 lib/pacemaker/pcmk_simulate.c cib_resource = pcmk__inject_resource_history(out, cib_node, resource, out 594 lib/pacemaker/pcmk_simulate.c out->message(out, "inject-rsc-action", resource, op->op_type, node, out 631 lib/pacemaker/pcmk_simulate.c out->err(out, "Invalid failed operation '%s' " out 636 lib/pacemaker/pcmk_simulate.c out->info(out, "Pretending action %d failed with rc=%d", out 640 lib/pacemaker/pcmk_simulate.c pcmk__inject_failcount(out, fake_cib, cib_node, match_name, op->op_type, out 677 lib/pacemaker/pcmk_simulate.c out->message(out, "inject-cluster-action", node, task, rsc); out 697 lib/pacemaker/pcmk_simulate.c out->message(out, "inject-fencing-action", target, op); out 753 lib/pacemaker/pcmk_simulate.c out = scheduler->priv; out 758 lib/pacemaker/pcmk_simulate.c if (!out->is_quiet(out)) { out 759 lib/pacemaker/pcmk_simulate.c out->begin_list(out, NULL, NULL, "Executing Cluster Transition"); out 773 lib/pacemaker/pcmk_simulate.c out->err(out, "Transition failed: %s", out 776 lib/pacemaker/pcmk_simulate.c out->err(out, "An invalid transition was produced"); out 780 lib/pacemaker/pcmk_simulate.c if (!out->is_quiet(out)) { out 789 lib/pacemaker/pcmk_simulate.c out->end_list(out); out 795 lib/pacemaker/pcmk_simulate.c pcmk__simulate(pcmk_scheduler_t *scheduler, pcmk__output_t *out, out 806 lib/pacemaker/pcmk_simulate.c rc = cib__signon_query(out, &cib, &input); out 811 lib/pacemaker/pcmk_simulate.c reset(scheduler, input, out, use_date, flags); out 818 lib/pacemaker/pcmk_simulate.c pcmk__query_node_name(out, 0, &pcmk__our_nodename, 0); out 823 lib/pacemaker/pcmk_simulate.c if (!out->is_quiet(out)) { out 827 lib/pacemaker/pcmk_simulate.c printed = out->message(out, "maint-mode", scheduler->flags); out 831 lib/pacemaker/pcmk_simulate.c PCMK__OUTPUT_SPACER_IF(out, printed == pcmk_rc_ok); out 832 lib/pacemaker/pcmk_simulate.c printed = out->info(out, out 860 lib/pacemaker/pcmk_simulate.c PCMK__OUTPUT_SPACER_IF(out, printed == pcmk_rc_ok); out 871 lib/pacemaker/pcmk_simulate.c reset(scheduler, input, out, use_date, flags); out 896 lib/pacemaker/pcmk_simulate.c PCMK__OUTPUT_SPACER_IF(out, printed == pcmk_rc_ok); out 897 lib/pacemaker/pcmk_simulate.c out->begin_list(out, NULL, NULL, out 902 lib/pacemaker/pcmk_simulate.c PCMK__OUTPUT_SPACER_IF(out, printed == pcmk_rc_ok); out 903 lib/pacemaker/pcmk_simulate.c out->begin_list(out, NULL, NULL, "Assignment Scores"); out 907 lib/pacemaker/pcmk_simulate.c PCMK__OUTPUT_SPACER_IF(out, printed == pcmk_rc_ok); out 908 lib/pacemaker/pcmk_simulate.c out->begin_list(out, NULL, NULL, "Utilization Information"); out 924 lib/pacemaker/pcmk_simulate.c out->end_list(out); out 928 lib/pacemaker/pcmk_simulate.c scheduler->priv = out; out 952 lib/pacemaker/pcmk_simulate.c if (!out->is_quiet(out)) { out 963 lib/pacemaker/pcmk_simulate.c PCMK__OUTPUT_SPACER_IF(out, printed == pcmk_rc_ok); out 969 lib/pacemaker/pcmk_simulate.c if (out->is_quiet(out)) { out 998 lib/pacemaker/pcmk_simulate.c pcmk__output_t *out = NULL; out 1001 lib/pacemaker/pcmk_simulate.c rc = pcmk__xml_output_new(&out, xml); out 1006 lib/pacemaker/pcmk_simulate.c pe__register_messages(out); out 1007 lib/pacemaker/pcmk_simulate.c pcmk__register_lib_messages(out); out 1009 lib/pacemaker/pcmk_simulate.c rc = pcmk__simulate(scheduler, out, injections, flags, section_opts, out 1011 lib/pacemaker/pcmk_simulate.c pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml); out 72 lib/pacemaker/pcmk_status.c pcmk__output_cluster_status(pcmk__output_t *out, stonith_t *stonith, cib_t *cib, out 93 lib/pacemaker/pcmk_status.c out->err(out, "Upgrade failed: %s", pcmk_rc_str(rc)); out 108 lib/pacemaker/pcmk_status.c scheduler->priv = out; out 114 lib/pacemaker/pcmk_status.c pcmk__query_node_name(out, 0, &pcmk__our_nodename, 0); out 136 lib/pacemaker/pcmk_status.c rc = pcmk__output_simple_status(out, scheduler); out 138 lib/pacemaker/pcmk_status.c out->message(out, "cluster-status", out 157 lib/pacemaker/pcmk_status.c pcmk__output_t *out = NULL; out 170 lib/pacemaker/pcmk_status.c rc = pcmk__xml_output_new(&out, xml); out 176 lib/pacemaker/pcmk_status.c pcmk__register_lib_messages(out); out 177 lib/pacemaker/pcmk_status.c pe__register_messages(out); out 178 lib/pacemaker/pcmk_status.c stonith__register_messages(out); out 180 lib/pacemaker/pcmk_status.c rc = pcmk__status(out, cib, pcmk__fence_history_full, pcmk_section_all, out 182 lib/pacemaker/pcmk_status.c pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml); out 224 lib/pacemaker/pcmk_status.c pcmk__status(pcmk__output_t *out, cib_t *cib, out 241 lib/pacemaker/pcmk_status.c rc = pcmk__pacemakerd_status(out, crm_system_name, timeout_ms, false, out 259 lib/pacemaker/pcmk_status.c out->message(out, "pacemakerd-health", out 269 lib/pacemaker/pcmk_status.c rc = cib__signon_query(out, &cib, ¤t_cib); out 273 lib/pacemaker/pcmk_status.c out->message(out, "pacemakerd-health", out 279 lib/pacemaker/pcmk_status.c rc = pcmk__output_cluster_status(out, stonith, cib, current_cib, out 284 lib/pacemaker/pcmk_status.c out->err(out, "Error outputting status info from the fencer or CIB"); out 305 lib/pacemaker/pcmk_status.c pcmk__output_simple_status(pcmk__output_t *out, out 339 lib/pacemaker/pcmk_status.c out->info(out, "CLUSTER WARN: %s%s%s", out 364 lib/pacemaker/pcmk_status.c out->info(out, "CLUSTER OK: %d node%s online%s%s, " out 112 lib/pacemaker/pcmk_ticket.c pcmk__ticket_constraints(pcmk__output_t *out, cib_t *cib, const char *ticket_id) out 119 lib/pacemaker/pcmk_ticket.c pcmk__assert((out != NULL) && (cib != NULL)); out 136 lib/pacemaker/pcmk_ticket.c out->message(out, "ticket-constraints", result); out 147 lib/pacemaker/pcmk_ticket.c pcmk__output_t *out = NULL; out 151 lib/pacemaker/pcmk_ticket.c rc = pcmk__setup_output_cib_sched(&out, &cib, NULL, xml); out 156 lib/pacemaker/pcmk_ticket.c rc = pcmk__ticket_constraints(out, cib, ticket_id); out 163 lib/pacemaker/pcmk_ticket.c pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml); out 180 lib/pacemaker/pcmk_ticket.c pcmk__ticket_delete(pcmk__output_t *out, cib_t *cib, pcmk_scheduler_t *scheduler, out 207 lib/pacemaker/pcmk_ticket.c out->info(out, "Multiple " PCMK__XE_TICKET_STATE "s match ticket=%s", out 226 lib/pacemaker/pcmk_ticket.c out->info(out, "Cleaned up %s", ticket_id); out 237 lib/pacemaker/pcmk_ticket.c pcmk__output_t *out = NULL; out 241 lib/pacemaker/pcmk_ticket.c rc = pcmk__setup_output_cib_sched(&out, &cib, &scheduler, xml); out 246 lib/pacemaker/pcmk_ticket.c rc = pcmk__ticket_delete(out, cib, scheduler, ticket_id, force); out 253 lib/pacemaker/pcmk_ticket.c pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml); out 259 lib/pacemaker/pcmk_ticket.c pcmk__ticket_get_attr(pcmk__output_t *out, pcmk_scheduler_t *scheduler, out 267 lib/pacemaker/pcmk_ticket.c pcmk__assert(out != NULL && scheduler != NULL); out 280 lib/pacemaker/pcmk_ticket.c out->message(out, "ticket-attribute", ticket_id, attr_name, attr_value); out 282 lib/pacemaker/pcmk_ticket.c out->message(out, "ticket-attribute", ticket_id, attr_name, attr_default); out 295 lib/pacemaker/pcmk_ticket.c pcmk__output_t *out = NULL; out 298 lib/pacemaker/pcmk_ticket.c rc = pcmk__setup_output_cib_sched(&out, NULL, &scheduler, xml); out 303 lib/pacemaker/pcmk_ticket.c rc = pcmk__ticket_get_attr(out, scheduler, ticket_id, attr_name, attr_default); out 306 lib/pacemaker/pcmk_ticket.c pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml); out 312 lib/pacemaker/pcmk_ticket.c pcmk__ticket_info(pcmk__output_t *out, pcmk_scheduler_t *scheduler, out 317 lib/pacemaker/pcmk_ticket.c pcmk__assert((out != NULL) && (scheduler != NULL)); out 332 lib/pacemaker/pcmk_ticket.c out->message(out, "ticket-list", tickets, false, raw, details); out 336 lib/pacemaker/pcmk_ticket.c out->message(out, "ticket-list", scheduler->tickets, false, raw, details); out 346 lib/pacemaker/pcmk_ticket.c pcmk__output_t *out = NULL; out 349 lib/pacemaker/pcmk_ticket.c rc = pcmk__setup_output_cib_sched(&out, NULL, &scheduler, xml); out 354 lib/pacemaker/pcmk_ticket.c pe__register_messages(out); out 360 lib/pacemaker/pcmk_ticket.c rc = pcmk__ticket_info(out, scheduler, ticket_id, false, false); out 363 lib/pacemaker/pcmk_ticket.c pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml); out 369 lib/pacemaker/pcmk_ticket.c pcmk__ticket_remove_attr(pcmk__output_t *out, cib_t *cib, pcmk_scheduler_t *scheduler, out 376 lib/pacemaker/pcmk_ticket.c pcmk__assert((out != NULL) && (cib != NULL) && (scheduler != NULL)); out 390 lib/pacemaker/pcmk_ticket.c out->info(out, "Multiple " PCMK__XE_TICKET_STATE "s match ticket=%s", ticket_id); out 419 lib/pacemaker/pcmk_ticket.c pcmk__output_t *out = NULL; out 423 lib/pacemaker/pcmk_ticket.c rc = pcmk__setup_output_cib_sched(&out, &cib, &scheduler, xml); out 428 lib/pacemaker/pcmk_ticket.c rc = pcmk__ticket_remove_attr(out, cib, scheduler, ticket_id, attr_delete, force); out 435 lib/pacemaker/pcmk_ticket.c pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml); out 441 lib/pacemaker/pcmk_ticket.c pcmk__ticket_set_attr(pcmk__output_t *out, cib_t *cib, pcmk_scheduler_t *scheduler, out 448 lib/pacemaker/pcmk_ticket.c pcmk__assert((out != NULL) && (cib != NULL) && (scheduler != NULL)); out 462 lib/pacemaker/pcmk_ticket.c out->info(out, "Multiple " PCMK__XE_TICKET_STATE "s match ticket=%s", ticket_id); out 488 lib/pacemaker/pcmk_ticket.c pcmk__output_t *out = NULL; out 492 lib/pacemaker/pcmk_ticket.c rc = pcmk__setup_output_cib_sched(&out, &cib, &scheduler, xml); out 497 lib/pacemaker/pcmk_ticket.c rc = pcmk__ticket_set_attr(out, cib, scheduler, ticket_id, attr_set, force); out 504 lib/pacemaker/pcmk_ticket.c pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml); out 510 lib/pacemaker/pcmk_ticket.c pcmk__ticket_state(pcmk__output_t *out, cib_t *cib, const char *ticket_id) out 515 lib/pacemaker/pcmk_ticket.c pcmk__assert((out != NULL) && (cib != NULL)); out 520 lib/pacemaker/pcmk_ticket.c out->info(out, "Multiple " PCMK__XE_TICKET_STATE "s match ticket=%s", out 525 lib/pacemaker/pcmk_ticket.c out->message(out, "ticket-state", state_xml); out 535 lib/pacemaker/pcmk_ticket.c pcmk__output_t *out = NULL; out 539 lib/pacemaker/pcmk_ticket.c rc = pcmk__setup_output_cib_sched(&out, &cib, NULL, xml); out 544 lib/pacemaker/pcmk_ticket.c rc = pcmk__ticket_state(out, cib, ticket_id); out 551 lib/pacemaker/pcmk_ticket.c pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml); out 26 lib/pacemaker/pcmk_verify.c pcmk__parse_cib(pcmk__output_t *out, const char *cib_source, xmlNodePtr *cib_object) out 33 lib/pacemaker/pcmk_verify.c return cib__signon_query(out, NULL, cib_object); out 50 lib/pacemaker/pcmk_verify.c pcmk__verify(pcmk_scheduler_t *scheduler, pcmk__output_t *out, out 61 lib/pacemaker/pcmk_verify.c out->err(out, "This tool can only check complete configurations (i.e. those starting with <cib>)."); out 71 lib/pacemaker/pcmk_verify.c (xmlRelaxNGValidityErrorFunc) out->err, out)) { out 80 lib/pacemaker/pcmk_verify.c out->err(out, "The cluster will NOT be able to use this configuration.\n" out 122 lib/pacemaker/pcmk_verify.c pcmk__output_t *out = NULL; out 127 lib/pacemaker/pcmk_verify.c rc = pcmk__xml_output_new(&out, xml); out 132 lib/pacemaker/pcmk_verify.c pe__register_messages(out); out 133 lib/pacemaker/pcmk_verify.c pcmk__register_lib_messages(out); out 135 lib/pacemaker/pcmk_verify.c rc = pcmk__parse_cib(out, cib_source, &cib_object); out 137 lib/pacemaker/pcmk_verify.c out->err(out, "Couldn't parse input"); out 144 lib/pacemaker/pcmk_verify.c out->err(out, "Couldn't allocate scheduler data: %s", pcmk_rc_str(rc)); out 148 lib/pacemaker/pcmk_verify.c scheduler->priv = out; out 149 lib/pacemaker/pcmk_verify.c rc = pcmk__verify(scheduler, out, &cib_object); out 153 lib/pacemaker/pcmk_verify.c pcmk__xml_output_finish(out, pcmk_rc2exitc(rc), xml); out 1491 lib/pengine/bundle.c pe__bundle_xml(pcmk__output_t *out, va_list args) out 1551 lib/pengine/bundle.c rc = pe__name_and_nvpairs_xml(out, true, PCMK_XE_BUNDLE, out 1565 lib/pengine/bundle.c rc = pe__name_and_nvpairs_xml(out, true, PCMK_XE_REPLICA, out 1572 lib/pengine/bundle.c out->message(out, (const char *) replica->ip->xml->name, show_opts, out 1577 lib/pengine/bundle.c out->message(out, (const char *) replica->child->xml->name, out 1582 lib/pengine/bundle.c out->message(out, (const char *) replica->container->xml->name, out 1587 lib/pengine/bundle.c out->message(out, (const char *) replica->remote->xml->name, out 1591 lib/pengine/bundle.c pcmk__output_xml_pop_parent(out); // replica out 1595 lib/pengine/bundle.c pcmk__output_xml_pop_parent(out); // bundle out 1602 lib/pengine/bundle.c pe__bundle_replica_output_html(pcmk__output_t *out, out 1627 lib/pengine/bundle.c pe__common_output_html(out, rsc, buffer, node, show_opts); out 1654 lib/pengine/bundle.c pe__bundle_html(pcmk__output_t *out, va_list args) out 1704 lib/pengine/bundle.c PCMK__OUTPUT_LIST_HEADER(out, FALSE, rc, "Container bundle%s: %s [%s]%s%s%s%s%s", out 1712 lib/pengine/bundle.c out->begin_list(out, NULL, NULL, "Replica[%d]", replica->offset); out 1716 lib/pengine/bundle.c out->message(out, (const char *) replica->ip->xml->name, out 1721 lib/pengine/bundle.c out->message(out, (const char *) replica->child->xml->name, out 1727 lib/pengine/bundle.c out->message(out, (const char *) replica->container->xml->name, out 1733 lib/pengine/bundle.c out->message(out, (const char *) replica->remote->xml->name, out 1739 lib/pengine/bundle.c out->end_list(out); out 1744 lib/pengine/bundle.c PCMK__OUTPUT_LIST_HEADER(out, FALSE, rc, "Container bundle%s: %s [%s]%s%s%s%s%s", out 1751 lib/pengine/bundle.c pe__bundle_replica_output_html(out, replica, out 1757 lib/pengine/bundle.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 1762 lib/pengine/bundle.c pe__bundle_replica_output_text(pcmk__output_t *out, out 1787 lib/pengine/bundle.c pe__common_output_text(out, rsc, buffer, node, show_opts); out 1793 lib/pengine/bundle.c pe__bundle_text(pcmk__output_t *out, va_list args) out 1843 lib/pengine/bundle.c PCMK__OUTPUT_LIST_HEADER(out, FALSE, rc, "Container bundle%s: %s [%s]%s%s%s%s%s", out 1851 lib/pengine/bundle.c out->list_item(out, NULL, "Replica[%d]", replica->offset); out 1854 lib/pengine/bundle.c out->begin_list(out, NULL, NULL, NULL); out 1857 lib/pengine/bundle.c out->message(out, (const char *) replica->ip->xml->name, out 1862 lib/pengine/bundle.c out->message(out, (const char *) replica->child->xml->name, out 1868 lib/pengine/bundle.c out->message(out, (const char *) replica->container->xml->name, out 1874 lib/pengine/bundle.c out->message(out, (const char *) replica->remote->xml->name, out 1879 lib/pengine/bundle.c out->end_list(out); out 1883 lib/pengine/bundle.c PCMK__OUTPUT_LIST_HEADER(out, FALSE, rc, "Container bundle%s: %s [%s]%s%s%s%s%s", out 1890 lib/pengine/bundle.c pe__bundle_replica_output_text(out, replica, out 1896 lib/pengine/bundle.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 171 lib/pengine/clone.c clone_header(pcmk__output_t *out, int *rc, const pcmk_resource_t *rsc, out 196 lib/pengine/clone.c PCMK__OUTPUT_LIST_HEADER(out, FALSE, *rc, "Clone Set: %s [%s] (%s)%s%s%s", out 203 lib/pengine/clone.c PCMK__OUTPUT_LIST_HEADER(out, FALSE, *rc, "Clone Set: %s [%s]%s%s%s", out 853 lib/pengine/clone.c pe__clone_xml(pcmk__output_t *out, va_list args) out 902 lib/pengine/clone.c rc = pe__name_and_nvpairs_xml(out, true, PCMK_XE_CLONE, out 917 lib/pengine/clone.c out->message(out, (const char *) child_rsc->xml->name, show_opts, out 922 lib/pengine/clone.c pcmk__output_xml_pop_parent(out); out 932 lib/pengine/clone.c pe__clone_default(pcmk__output_t *out, va_list args) out 1049 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data, desc); out 1053 lib/pengine/clone.c out->message(out, (const char *) child_rsc->xml->name, show_opts, out 1060 lib/pengine/clone.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 1080 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data, desc); out 1082 lib/pengine/clone.c out->list_item(out, NULL, PROMOTED_INSTANCES ": [ %s ]", out 1103 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data, desc); out 1109 lib/pengine/clone.c out->list_item(out, NULL, out 1114 lib/pengine/clone.c out->list_item(out, NULL, UNPROMOTED_INSTANCES ": [ %s ]", out 1119 lib/pengine/clone.c out->list_item(out, NULL, "Started: [ %s ]", out 1186 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data, desc); out 1195 lib/pengine/clone.c out->list_item(out, NULL, "%s: [ %s ]", status, out 1212 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data, desc); out 1213 lib/pengine/clone.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 1218 lib/pengine/clone.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 116 lib/pengine/group.c group_header(pcmk__output_t *out, int *rc, const pcmk_resource_t *rsc, out 139 lib/pengine/group.c PCMK__OUTPUT_LIST_HEADER(out, FALSE, *rc, "Resource Group: %s (%s)%s%s%s", out 145 lib/pengine/group.c PCMK__OUTPUT_LIST_HEADER(out, FALSE, *rc, "Resource Group: %s%s%s%s", out 342 lib/pengine/group.c pe__group_xml(pcmk__output_t *out, va_list args) out 377 lib/pengine/group.c rc = pe__name_and_nvpairs_xml(out, true, PCMK_XE_GROUP, out 389 lib/pengine/group.c out->message(out, (const char *) child_rsc->xml->name, show_opts, out 394 lib/pengine/group.c pcmk__output_xml_pop_parent(out); out 403 lib/pengine/group.c pe__group_default(pcmk__output_t *out, va_list args) out 429 lib/pengine/group.c group_header(out, &rc, rsc, !active && partially_active ? inactive_resources(rsc) : 0, out 431 lib/pengine/group.c pe__rscs_brief_output(out, rscs, show_opts | pcmk_show_inactive_rscs); out 445 lib/pengine/group.c group_header(out, &rc, rsc, !active && partially_active ? inactive_resources(rsc) : 0, out 447 lib/pengine/group.c out->message(out, (const char *) child_rsc->xml->name, show_opts, out 452 lib/pengine/group.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 726 lib/pengine/native.c pe__common_output_html(pcmk__output_t *out, const pcmk_resource_t *rsc, out 771 lib/pengine/native.c child = pcmk__output_create_html_node(out, "li", NULL, NULL, NULL); out 782 lib/pengine/native.c pe__common_output_text(pcmk__output_t *out, const pcmk_resource_t *rsc, out 807 lib/pengine/native.c out->list_item(out, NULL, "%s", s); out 964 lib/pengine/native.c pe__resource_xml(pcmk__output_t *out, va_list args) out 1012 lib/pengine/native.c rc = pe__name_and_nvpairs_xml(out, true, PCMK_XE_RESOURCE, out 1040 lib/pengine/native.c rc = pe__name_and_nvpairs_xml(out, false, PCMK_XE_NODE, out 1049 lib/pengine/native.c pcmk__output_xml_pop_parent(out); out 1056 lib/pengine/native.c pe__resource_html(pcmk__output_t *out, va_list args) out 1075 lib/pengine/native.c return pe__common_output_html(out, rsc, rsc_printable_id(rsc), node, show_opts); out 1081 lib/pengine/native.c pe__resource_text(pcmk__output_t *out, va_list args) out 1100 lib/pengine/native.c return pe__common_output_text(out, rsc, rsc_printable_id(rsc), node, show_opts); out 1350 lib/pengine/native.c pe__rscs_brief_output(pcmk__output_t *out, GList *rsc_list, uint32_t show_opts) out 1402 lib/pengine/native.c out->list_item(out, NULL, "%d/%d\t(%s):\tActive %s", out 1407 lib/pengine/native.c out->list_item(out, NULL, "%d\t(%s):\tActive %s", out 1416 lib/pengine/native.c out->list_item(out, NULL, "%d/%d\t(%s):\tActive", out 1326 lib/pengine/pe_actions.c pcmk__output_t *out = scheduler->priv; out 1328 lib/pengine/pe_actions.c out->info(out, out 582 lib/pengine/pe_digest.c pcmk__output_t *out = scheduler->priv; out 583 lib/pengine/pe_digest.c out->info(out, "Only 'private' parameters to %s " out 596 lib/pengine/pe_digest.c pcmk__output_t *out = scheduler->priv; out 600 lib/pengine/pe_digest.c out->info(out, "Parameters to %s for unfencing " out 406 lib/pengine/pe_output.c cluster_summary(pcmk__output_t *out, va_list args) { out 417 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_HEADER(out, false, rc, "Cluster Summary"); out 418 lib/pengine/pe_output.c out->message(out, "cluster-stack", stack_s, pcmkd_state); out 432 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_HEADER(out, false, rc, "Cluster Summary"); out 433 lib/pengine/pe_output.c out->message(out, "cluster-dc", scheduler->dc_node, quorum, out 448 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_HEADER(out, false, rc, "Cluster Summary"); out 449 lib/pengine/pe_output.c out->message(out, "cluster-times", out 454 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_HEADER(out, false, rc, "Cluster Summary"); out 455 lib/pengine/pe_output.c out->message(out, "cluster-counts", g_list_length(scheduler->nodes), out 461 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_HEADER(out, false, rc, "Cluster Summary"); out 462 lib/pengine/pe_output.c out->message(out, "cluster-options", scheduler); out 465 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 468 lib/pengine/pe_output.c if (out->message(out, "maint-mode", scheduler->flags) == pcmk_rc_ok) { out 479 lib/pengine/pe_output.c cluster_summary_html(pcmk__output_t *out, va_list args) { out 490 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_HEADER(out, false, rc, "Cluster Summary"); out 491 lib/pengine/pe_output.c out->message(out, "cluster-stack", stack_s, pcmkd_state); out 507 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_HEADER(out, false, rc, "Cluster Summary"); out 508 lib/pengine/pe_output.c out->message(out, "cluster-dc", scheduler->dc_node, quorum, out 523 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_HEADER(out, false, rc, "Cluster Summary"); out 524 lib/pengine/pe_output.c out->message(out, "cluster-times", out 529 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_HEADER(out, false, rc, "Cluster Summary"); out 530 lib/pengine/pe_output.c out->message(out, "cluster-counts", g_list_length(scheduler->nodes), out 540 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 542 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "Config Options"); out 543 lib/pengine/pe_output.c out->message(out, "cluster-options", scheduler); out 546 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 549 lib/pengine/pe_output.c if (out->message(out, "maint-mode", scheduler->flags) == pcmk_rc_ok) { out 611 lib/pengine/pe_output.c pe__name_and_nvpairs_xml(pcmk__output_t *out, bool is_list, const char *tag_name, out 619 lib/pengine/pe_output.c xml_node = pcmk__output_xml_peek_parent(out); out 628 lib/pengine/pe_output.c pcmk__output_xml_push_parent(out, xml_node); out 648 lib/pengine/pe_output.c ban_html(pcmk__output_t *out, va_list args) { out 659 lib/pengine/pe_output.c pcmk__output_create_html_node(out, "li", NULL, NULL, buf); out 668 lib/pengine/pe_output.c ban_text(pcmk__output_t *out, va_list args) { out 675 lib/pengine/pe_output.c out->list_item(out, NULL, "%s\tprevents %s from running %son %s", out 685 lib/pengine/pe_output.c ban_xml(pcmk__output_t *out, va_list args) { out 693 lib/pengine/pe_output.c pcmk__output_create_xml_node(out, PCMK_XE_BAN, out 715 lib/pengine/pe_output.c ban_list(pcmk__output_t *out, va_list args) { out 746 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_HEADER(out, print_spacer, rc, "Negative Location Constraints"); out 747 lib/pengine/pe_output.c out->message(out, "ban", node, location, show_opts); out 752 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 758 lib/pengine/pe_output.c cluster_counts_html(pcmk__output_t *out, va_list args) { out 764 lib/pengine/pe_output.c xmlNodePtr nodes_node = pcmk__output_create_xml_node(out, "li", NULL); out 765 lib/pengine/pe_output.c xmlNodePtr resources_node = pcmk__output_create_xml_node(out, "li", NULL); out 828 lib/pengine/pe_output.c cluster_counts_text(pcmk__output_t *out, va_list args) { out 834 lib/pengine/pe_output.c out->list_item(out, NULL, "%d node%s configured", out 838 lib/pengine/pe_output.c out->list_item(out, NULL, "%d resource instance%s configured " out 844 lib/pengine/pe_output.c out->list_item(out, NULL, "%d resource instance%s configured " out 848 lib/pengine/pe_output.c out->list_item(out, NULL, "%d resource instance%s configured " out 853 lib/pengine/pe_output.c out->list_item(out, NULL, "%d resource instance%s configured", out 862 lib/pengine/pe_output.c cluster_counts_xml(pcmk__output_t *out, va_list args) { out 872 lib/pengine/pe_output.c nodes_node = pcmk__output_create_xml_node(out, PCMK_XE_NODES_CONFIGURED, out 874 lib/pengine/pe_output.c resources_node = pcmk__output_create_xml_node(out, out 900 lib/pengine/pe_output.c cluster_dc_html(pcmk__output_t *out, va_list args) { out 907 lib/pengine/pe_output.c xmlNodePtr node = pcmk__output_create_xml_node(out, "li", NULL); out 952 lib/pengine/pe_output.c cluster_dc_text(pcmk__output_t *out, va_list args) { out 960 lib/pengine/pe_output.c out->list_item(out, "Current DC", out 966 lib/pengine/pe_output.c out->list_item(out, "Current DC", "NONE"); out 975 lib/pengine/pe_output.c cluster_dc_xml(pcmk__output_t *out, va_list args) { out 986 lib/pengine/pe_output.c pcmk__output_create_xml_node(out, PCMK_XE_CURRENT_DC, out 995 lib/pengine/pe_output.c pcmk__output_create_xml_node(out, PCMK_XE_CURRENT_DC, out 1005 lib/pengine/pe_output.c cluster_maint_mode_text(pcmk__output_t *out, va_list args) { out 1009 lib/pengine/pe_output.c pcmk__formatted_printf(out, "\n *** Resource management is DISABLED ***\n"); out 1010 lib/pengine/pe_output.c pcmk__formatted_printf(out, " The cluster will not attempt to start, stop or recover services\n"); out 1013 lib/pengine/pe_output.c pcmk__formatted_printf(out, "\n *** Resource management is DISABLED ***\n"); out 1014 lib/pengine/pe_output.c pcmk__formatted_printf(out, " The cluster will keep all resources stopped\n"); out 1023 lib/pengine/pe_output.c cluster_options_html(pcmk__output_t *out, va_list args) { out 1027 lib/pengine/pe_output.c out->list_item(out, NULL, "STONITH of failed nodes enabled"); out 1029 lib/pengine/pe_output.c out->list_item(out, NULL, "STONITH of failed nodes disabled"); out 1033 lib/pengine/pe_output.c out->list_item(out, NULL, "Cluster is symmetric"); out 1035 lib/pengine/pe_output.c out->list_item(out, NULL, "Cluster is asymmetric"); out 1040 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Freeze resources"); out 1044 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Stop ALL resources"); out 1048 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Demote promotable " out 1053 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Ignore"); out 1057 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Suicide"); out 1062 lib/pengine/pe_output.c xmlNodePtr node = pcmk__output_create_xml_node(out, "li", NULL); out 1077 lib/pengine/pe_output.c xmlNodePtr node = pcmk__output_create_xml_node(out, "li", NULL); out 1091 lib/pengine/pe_output.c out->list_item(out, NULL, "Resource management: enabled"); out 1099 lib/pengine/pe_output.c cluster_options_log(pcmk__output_t *out, va_list args) { out 1103 lib/pengine/pe_output.c return out->info(out, "Resource management is DISABLED. The cluster will not attempt to start, stop or recover services."); out 1105 lib/pengine/pe_output.c return out->info(out, "Resource management is DISABLED. The cluster has stopped all resources."); out 1113 lib/pengine/pe_output.c cluster_options_text(pcmk__output_t *out, va_list args) { out 1117 lib/pengine/pe_output.c out->list_item(out, NULL, "STONITH of failed nodes enabled"); out 1119 lib/pengine/pe_output.c out->list_item(out, NULL, "STONITH of failed nodes disabled"); out 1123 lib/pengine/pe_output.c out->list_item(out, NULL, "Cluster is symmetric"); out 1125 lib/pengine/pe_output.c out->list_item(out, NULL, "Cluster is asymmetric"); out 1130 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Freeze resources"); out 1134 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Stop ALL resources"); out 1138 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Demote promotable " out 1143 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Ignore"); out 1147 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Suicide"); out 1188 lib/pengine/pe_output.c cluster_options_xml(pcmk__output_t *out, va_list args) { out 1205 lib/pengine/pe_output.c pcmk__output_create_xml_node(out, PCMK_XE_CLUSTER_OPTIONS, out 1224 lib/pengine/pe_output.c cluster_stack_html(pcmk__output_t *out, va_list args) { out 1229 lib/pengine/pe_output.c xmlNodePtr node = pcmk__output_create_xml_node(out, "li", NULL); out 1254 lib/pengine/pe_output.c cluster_stack_text(pcmk__output_t *out, va_list args) { out 1260 lib/pengine/pe_output.c out->list_item(out, "Stack", "%s (%s)", out 1263 lib/pengine/pe_output.c out->list_item(out, "Stack", "%s", stack_s); out 1271 lib/pengine/pe_output.c cluster_stack_xml(pcmk__output_t *out, va_list args) { out 1282 lib/pengine/pe_output.c pcmk__output_create_xml_node(out, PCMK_XE_STACK, out 1293 lib/pengine/pe_output.c cluster_times_html(pcmk__output_t *out, va_list args) { out 1300 lib/pengine/pe_output.c xmlNodePtr updated_node = pcmk__output_create_xml_node(out, "li", NULL); out 1301 lib/pengine/pe_output.c xmlNodePtr changed_node = pcmk__output_create_xml_node(out, "li", NULL); out 1338 lib/pengine/pe_output.c cluster_times_xml(pcmk__output_t *out, va_list args) { out 1347 lib/pengine/pe_output.c pcmk__output_create_xml_node(out, PCMK_XE_LAST_UPDATE, out 1352 lib/pengine/pe_output.c pcmk__output_create_xml_node(out, PCMK_XE_LAST_CHANGE, out 1366 lib/pengine/pe_output.c cluster_times_text(pcmk__output_t *out, va_list args) { out 1375 lib/pengine/pe_output.c out->list_item(out, "Last updated", "%s%s%s", out 1382 lib/pengine/pe_output.c out->list_item(out, "Last change", " %s", time_s); out 1402 lib/pengine/pe_output.c failed_action_friendly(pcmk__output_t *out, const xmlNode *xml_op, out 1468 lib/pengine/pe_output.c out->list_item(out, NULL, "%s", str->str); out 1488 lib/pengine/pe_output.c failed_action_technical(pcmk__output_t *out, const xmlNode *xml_op, out 1536 lib/pengine/pe_output.c out->list_item(out, NULL, "%s", str->str); out 1542 lib/pengine/pe_output.c failed_action_default(pcmk__output_t *out, va_list args) out 1565 lib/pengine/pe_output.c failed_action_technical(out, xml_op, op_key, node_name, rc, status, out 1568 lib/pengine/pe_output.c failed_action_friendly(out, xml_op, op_key, node_name, rc, status, out 1576 lib/pengine/pe_output.c failed_action_xml(pcmk__output_t *out, va_list args) { out 1611 lib/pengine/pe_output.c node = pcmk__output_create_xml_node(out, PCMK_XE_FAILURE, out 1657 lib/pengine/pe_output.c failed_action_list(pcmk__output_t *out, va_list args) { out 1697 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_HEADER(out, print_spacer, rc, "Failed Resource Actions"); out 1698 lib/pengine/pe_output.c out->message(out, "failed-action", xml_op, show_opts); out 1701 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 1781 lib/pengine/pe_output.c node_html(pcmk__output_t *out, va_list args) { out 1797 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "%s:", node_name); out 1798 lib/pengine/pe_output.c item_node = pcmk__output_xml_create_parent(out, "li", NULL); out 1805 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "Resources"); out 1806 lib/pengine/pe_output.c pe__rscs_brief_output(out, rscs, new_show_opts); out 1807 lib/pengine/pe_output.c out->end_list(out); out 1810 lib/pengine/pe_output.c pcmk__output_xml_pop_parent(out); out 1811 lib/pengine/pe_output.c out->end_list(out); out 1817 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "%s:", node_name); out 1818 lib/pengine/pe_output.c item_node = pcmk__output_xml_create_parent(out, "li", NULL); out 1825 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_HEADER(out, false, rc, "Resources"); out 1828 lib/pengine/pe_output.c out->message(out, pcmk__map_element_name(rsc->xml), show_opts, out 1832 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 1833 lib/pengine/pe_output.c pcmk__output_xml_pop_parent(out); out 1834 lib/pengine/pe_output.c out->end_list(out); out 1837 lib/pengine/pe_output.c item_node = pcmk__output_create_xml_node(out, "li", NULL); out 1844 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "%s:", node_name); out 1907 lib/pengine/pe_output.c node_text(pcmk__output_t *out, va_list args) { out 1948 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "%s", str->str); out 1949 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "Resources"); out 1951 lib/pengine/pe_output.c pe__rscs_brief_output(out, rscs, new_show_opts); out 1953 lib/pengine/pe_output.c out->end_list(out); out 1954 lib/pengine/pe_output.c out->end_list(out); out 1962 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "%s", str->str); out 1963 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "Resources"); out 1969 lib/pengine/pe_output.c out->message(out, pcmk__map_element_name(rsc->xml), out 1973 lib/pengine/pe_output.c out->end_list(out); out 1974 lib/pengine/pe_output.c out->end_list(out); out 1977 lib/pengine/pe_output.c out->list_item(out, NULL, "%s", str->str); out 1984 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "Node: %s", node_name); out 2042 lib/pengine/pe_output.c node_xml(pcmk__output_t *out, va_list args) { out 2067 lib/pengine/pe_output.c rc = pe__name_and_nvpairs_xml(out, true, PCMK_XE_NODE, out 2089 lib/pengine/pe_output.c xmlNodePtr xml_node = pcmk__output_xml_peek_parent(out); out 2101 lib/pengine/pe_output.c out->message(out, pcmk__map_element_name(rsc->xml), show_opts, out 2106 lib/pengine/pe_output.c out->end_list(out); out 2108 lib/pengine/pe_output.c pcmk__output_xml_create_parent(out, PCMK_XE_NODE, out 2118 lib/pengine/pe_output.c node_attribute_text(pcmk__output_t *out, va_list args) { out 2133 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s\t: Connectivity is lost", name, value); out 2135 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s\t: Connectivity is degraded (Expected=%d)", name, value, expected_score); out 2137 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s", name, value); out 2140 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s", name, value); out 2148 lib/pengine/pe_output.c node_attribute_html(pcmk__output_t *out, va_list args) { out 2156 lib/pengine/pe_output.c xmlNodePtr item_node = pcmk__output_create_xml_node(out, "li", NULL); out 2179 lib/pengine/pe_output.c out->list_item(out, NULL, "%s: %s", name, value); out 2187 lib/pengine/pe_output.c node_and_op(pcmk__output_t *out, va_list args) { out 2230 lib/pengine/pe_output.c out->list_item(out, NULL, "%s: %s (node=%s, call=%s, rc=%s%s): %s", out 2245 lib/pengine/pe_output.c node_and_op_xml(pcmk__output_t *out, va_list args) { out 2263 lib/pengine/pe_output.c node = pcmk__output_create_xml_node(out, PCMK_XE_OPERATION, out 2308 lib/pengine/pe_output.c node_attribute_xml(pcmk__output_t *out, va_list args) { out 2314 lib/pengine/pe_output.c xmlNodePtr node = pcmk__output_create_xml_node(out, PCMK_XE_ATTRIBUTE, out 2331 lib/pengine/pe_output.c node_attribute_list(pcmk__output_t *out, va_list args) { out 2366 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_HEADER(out, print_spacer, rc, "Node Attributes"); out 2368 lib/pengine/pe_output.c out->message(out, "node", node, show_opts, false, only_node, only_rsc); out 2382 lib/pengine/pe_output.c out->message(out, "node-attribute", name, value, add_extra, out 2387 lib/pengine/pe_output.c out->end_list(out); out 2390 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 2396 lib/pengine/pe_output.c node_capacity(pcmk__output_t *out, va_list args) out 2405 lib/pengine/pe_output.c out->list_item(out, NULL, "%s", dump_text); out 2413 lib/pengine/pe_output.c node_capacity_xml(pcmk__output_t *out, va_list args) out 2419 lib/pengine/pe_output.c xmlNodePtr xml_node = pcmk__output_create_xml_node(out, PCMK_XE_CAPACITY, out 2431 lib/pengine/pe_output.c node_history_list(pcmk__output_t *out, va_list args) { out 2498 lib/pengine/pe_output.c out->message(out, "node", node, show_opts, false, only_node, out 2502 lib/pengine/pe_output.c out->message(out, "resource-history", rsc, rsc_id, false, out 2517 lib/pengine/pe_output.c out->message(out, "node", node, show_opts, false, only_node, out 2521 lib/pengine/pe_output.c out->message(out, "resource-operation-list", scheduler, rsc, node, out 2526 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 2532 lib/pengine/pe_output.c node_list_html(pcmk__output_t *out, va_list args) { out 2549 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_HEADER(out, false, rc, "Node List"); out 2551 lib/pengine/pe_output.c out->message(out, "node", node, show_opts, true, only_node, only_rsc); out 2554 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 2560 lib/pengine/pe_output.c node_list_text(pcmk__output_t *out, va_list args) { out 2586 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_HEADER(out, print_spacer, rc, "Node List"); out 2627 lib/pengine/pe_output.c out->message(out, "node", node, show_opts, true, only_node, only_rsc); out 2633 lib/pengine/pe_output.c out->list_item(out, "Online", "[ %s ]", out 2638 lib/pengine/pe_output.c out->list_item(out, "OFFLINE", "[ %s ]", out 2643 lib/pengine/pe_output.c out->list_item(out, "RemoteOnline", "[ %s ]", out 2648 lib/pengine/pe_output.c out->list_item(out, "RemoteOFFLINE", "[ %s ]", out 2653 lib/pengine/pe_output.c out->list_item(out, "GuestOnline", "[ %s ]", out 2658 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 2664 lib/pengine/pe_output.c node_list_xml(pcmk__output_t *out, va_list args) { out 2675 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, PCMK_XE_NODES); out 2684 lib/pengine/pe_output.c out->message(out, "node", node, show_opts, true, only_node, only_rsc); out 2686 lib/pengine/pe_output.c out->end_list(out); out 2694 lib/pengine/pe_output.c node_summary(pcmk__output_t *out, va_list args) { out 2727 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_HEADER(out, print_spacer, rc, out 2730 lib/pengine/pe_output.c out->message(out, "node-history-list", scheduler, node, node_state, out 2734 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 2741 lib/pengine/pe_output.c node_weight(pcmk__output_t *out, va_list args) out 2749 lib/pengine/pe_output.c out->list_item(out, NULL, "%s: %s allocation score on %s: %s", out 2752 lib/pengine/pe_output.c out->list_item(out, NULL, "%s: %s = %s", prefix, uname, score); out 2761 lib/pengine/pe_output.c node_weight_xml(pcmk__output_t *out, va_list args) out 2768 lib/pengine/pe_output.c xmlNodePtr node = pcmk__output_create_xml_node(out, PCMK_XE_NODE_WEIGHT, out 2783 lib/pengine/pe_output.c op_history_text(pcmk__output_t *out, va_list args) { out 2793 lib/pengine/pe_output.c out->list_item(out, NULL, "%s", buf); out 2801 lib/pengine/pe_output.c op_history_xml(pcmk__output_t *out, va_list args) { out 2813 lib/pengine/pe_output.c node = pcmk__output_create_xml_node(out, PCMK_XE_OPERATION_HISTORY, out 2858 lib/pengine/pe_output.c promotion_score(pcmk__output_t *out, va_list args) out 2865 lib/pengine/pe_output.c out->list_item(out, NULL, "%s promotion score (inactive): %s", out 2868 lib/pengine/pe_output.c out->list_item(out, NULL, "%s promotion score on %s: %s", out 2877 lib/pengine/pe_output.c promotion_score_xml(pcmk__output_t *out, va_list args) out 2883 lib/pengine/pe_output.c xmlNodePtr node = pcmk__output_create_xml_node(out, PCMK_XE_PROMOTION_SCORE, out 2897 lib/pengine/pe_output.c resource_config(pcmk__output_t *out, va_list args) { out 2904 lib/pengine/pe_output.c out->output_xml(out, PCMK_XE_XML, xml_buf->str); out 2912 lib/pengine/pe_output.c resource_config_text(pcmk__output_t *out, va_list args) { out 2913 lib/pengine/pe_output.c pcmk__formatted_printf(out, "Resource XML:\n"); out 2914 lib/pengine/pe_output.c return resource_config(out, args); out 2920 lib/pengine/pe_output.c resource_history_text(pcmk__output_t *out, va_list args) { out 2931 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "%s", buf); out 2933 lib/pengine/pe_output.c out->list_item(out, NULL, "%s", buf); out 2943 lib/pengine/pe_output.c resource_history_xml(pcmk__output_t *out, va_list args) { out 2951 lib/pengine/pe_output.c xmlNodePtr node = pcmk__output_xml_create_parent(out, out 2983 lib/pengine/pe_output.c pcmk__output_xml_pop_parent(out); out 2990 lib/pengine/pe_output.c print_resource_header(pcmk__output_t *out, uint32_t show_opts) out 2994 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "Inactive Resources"); out 2996 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "Full List of Resources"); out 2998 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "Active Resources"); out 3006 lib/pengine/pe_output.c resource_list(pcmk__output_t *out, va_list args) out 3033 lib/pengine/pe_output.c PCMK__OUTPUT_SPACER_IF(out, print_spacer); out 3034 lib/pengine/pe_output.c print_resource_header(out, show_opts); out 3037 lib/pengine/pe_output.c rc = pe__rscs_brief_output(out, rscs, show_opts); out 3076 lib/pengine/pe_output.c PCMK__OUTPUT_SPACER_IF(out, print_spacer); out 3077 lib/pengine/pe_output.c print_resource_header(out, show_opts); out 3082 lib/pengine/pe_output.c x = out->message(out, pcmk__map_element_name(rsc->xml), show_opts, rsc, out 3091 lib/pengine/pe_output.c PCMK__OUTPUT_SPACER_IF(out, print_spacer); out 3092 lib/pengine/pe_output.c print_resource_header(out, show_opts); out 3097 lib/pengine/pe_output.c out->list_item(out, NULL, "No inactive resources"); out 3099 lib/pengine/pe_output.c out->list_item(out, NULL, "No resources"); out 3101 lib/pengine/pe_output.c out->list_item(out, NULL, "No active resources"); out 3106 lib/pengine/pe_output.c out->end_list(out); out 3115 lib/pengine/pe_output.c resource_operation_list(pcmk__output_t *out, va_list args) out 3150 lib/pengine/pe_output.c out->message(out, "resource-history", rsc, rsc_printable_id(rsc), true, out 3156 lib/pengine/pe_output.c out->message(out, "op-history", xml_op, task, interval_ms_s, out 3163 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 3170 lib/pengine/pe_output.c resource_util(pcmk__output_t *out, va_list args) out 3180 lib/pengine/pe_output.c out->list_item(out, NULL, "%s", dump_text); out 3189 lib/pengine/pe_output.c resource_util_xml(pcmk__output_t *out, va_list args) out 3198 lib/pengine/pe_output.c xml_node = pcmk__output_create_xml_node(out, PCMK_XE_UTILIZATION, out 3210 lib/pengine/pe_output.c ticket_default(pcmk__output_t *out, va_list args) { out 3218 lib/pengine/pe_output.c out->list_item(out, ticket->id, "%s", ticket->id); out 3271 lib/pengine/pe_output.c out->list_item(out, NULL, "%s\t%s%s last-granted=\"%s\"", out 3278 lib/pengine/pe_output.c out->list_item(out, NULL, "%s\t%s%s %s", out 3285 lib/pengine/pe_output.c out->list_item(out, NULL, "%s\t%s%s%s", ticket->id, out 3300 lib/pengine/pe_output.c ticket_xml(pcmk__output_t *out, va_list args) { out 3315 lib/pengine/pe_output.c node = pcmk__output_create_xml_node(out, PCMK_XE_TICKET, out 3346 lib/pengine/pe_output.c ticket_list(pcmk__output_t *out, va_list args) { out 3359 lib/pengine/pe_output.c PCMK__OUTPUT_SPACER_IF(out, print_spacer); out 3362 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "Tickets"); out 3368 lib/pengine/pe_output.c out->message(out, "ticket", ticket, raw, details); out 3372 lib/pengine/pe_output.c out->end_list(out); out 3451 lib/pengine/pe_output.c pe__register_messages(pcmk__output_t *out) { out 3452 lib/pengine/pe_output.c pcmk__register_messages(out, fmt_functions); out 179 lib/pengine/utils.c pcmk__output_t *out = scheduler->priv; out 188 lib/pengine/utils.c out->message(out, "node-weight", rsc, comment, node->details->uname, out 157 maint/gnulib/lib/argmatch.h void argmatch_##Name##_usage (FILE *out); \ out 216 maint/gnulib/lib/argmatch.h argmatch_##Name##_valid (FILE *out) \ out 223 maint/gnulib/lib/argmatch.h fputs (gettext ("Valid arguments are:"), out); \ out 227 maint/gnulib/lib/argmatch.h fprintf (out, "\n - %s", quote (g->args[i].arg)); \ out 229 maint/gnulib/lib/argmatch.h fprintf (out, ", %s", quote (g->args[i].arg)); \ out 230 maint/gnulib/lib/argmatch.h putc ('\n', out); \ out 274 maint/gnulib/lib/argmatch.h argmatch_##Name##_usage (FILE *out) \ out 283 maint/gnulib/lib/argmatch.h fprintf (out, "%s\n", gettext (g->doc_pre)); \ out 292 maint/gnulib/lib/argmatch.h col += fprintf (out, " %s", g->docs[i].arg); \ out 301 maint/gnulib/lib/argmatch.h fprintf (out, ",\n"); \ out 307 maint/gnulib/lib/argmatch.h col += fprintf (out, " "); \ out 311 maint/gnulib/lib/argmatch.h col += fprintf (out, ","); \ out 312 maint/gnulib/lib/argmatch.h col += fprintf (out, " %s", g->args[j].arg); \ out 317 maint/gnulib/lib/argmatch.h fprintf (out, "\n"); \ out 320 maint/gnulib/lib/argmatch.h fprintf (out, "%*s%s\n", \ out 324 maint/gnulib/lib/argmatch.h fprintf (out, "%s\n", gettext (g->doc_post)); \ out 403 maint/gnulib/lib/argp-fmtstream.c int out; out 416 maint/gnulib/lib/argp-fmtstream.c out = __vsnprintf (fs->p, avail, fmt, args); out 418 maint/gnulib/lib/argp-fmtstream.c if ((size_t) out >= avail) out 419 maint/gnulib/lib/argp-fmtstream.c size_guess = out + 1; out 421 maint/gnulib/lib/argp-fmtstream.c while ((size_t) out >= avail); out 423 maint/gnulib/lib/argp-fmtstream.c fs->p += out; out 425 maint/gnulib/lib/argp-fmtstream.c return out; out 68 maint/gnulib/lib/base32.c char *restrict out, idx_t outlen) out 75 maint/gnulib/lib/base32.c *out++ = b32str[(to_uchar (in[0]) >> 3) & 0x1f]; out 78 maint/gnulib/lib/base32.c *out++ = b32str[((to_uchar (in[0]) << 2) out 83 maint/gnulib/lib/base32.c *out++ = out 89 maint/gnulib/lib/base32.c *out++ = out 97 maint/gnulib/lib/base32.c *out++ = out 105 maint/gnulib/lib/base32.c *out++ = out 111 maint/gnulib/lib/base32.c *out++ = out 119 maint/gnulib/lib/base32.c *out++ = inlen ? b32str[to_uchar (in[4]) & 0x1f] : '='; out 129 maint/gnulib/lib/base32.c *out = '\0'; out 142 maint/gnulib/lib/base32.c base32_encode_alloc (const char *in, idx_t inlen, char **out) out 150 maint/gnulib/lib/base32.c *out = NULL; out 155 maint/gnulib/lib/base32.c *out = imalloc (outlen); out 156 maint/gnulib/lib/base32.c if (!*out) out 159 maint/gnulib/lib/base32.c base32_encode (in, inlen, *out, outlen); out 347 maint/gnulib/lib/base32.c *outp = out; \ out 362 maint/gnulib/lib/base32.c char *out = *outp; out 371 maint/gnulib/lib/base32.c *out++ = ((b32[to_uchar (in[0])] << 3) out 389 maint/gnulib/lib/base32.c *out++ = ((b32[to_uchar (in[1])] << 6) out 407 maint/gnulib/lib/base32.c *out++ = ((b32[to_uchar (in[3])] << 4) out 424 maint/gnulib/lib/base32.c *out++ = ((b32[to_uchar (in[4])] << 7) out 437 maint/gnulib/lib/base32.c *out++ = ((b32[to_uchar (in[6])] << 5) out 446 maint/gnulib/lib/base32.c *outp = out; out 471 maint/gnulib/lib/base32.c char *restrict out, idx_t *outlen) out 495 maint/gnulib/lib/base32.c if (!decode_8 (in, inlen, &out, &outleft)) out 516 maint/gnulib/lib/base32.c out -= outleft_save - outleft; out 536 maint/gnulib/lib/base32.c if (!decode_8 (non_nl, inlen, &out, &outleft)) out 561 maint/gnulib/lib/base32.c const char *in, idx_t inlen, char **out, out 571 maint/gnulib/lib/base32.c *out = imalloc (needlen); out 572 maint/gnulib/lib/base32.c if (!*out) out 575 maint/gnulib/lib/base32.c if (!base32_decode_ctx (ctx, in, inlen, *out, &needlen)) out 577 maint/gnulib/lib/base32.c free (*out); out 578 maint/gnulib/lib/base32.c *out = NULL; out 40 maint/gnulib/lib/base32.h char *restrict out, idx_t outlen); out 42 maint/gnulib/lib/base32.h extern idx_t base32_encode_alloc (const char *in, idx_t inlen, char **out); out 48 maint/gnulib/lib/base32.h char *restrict out, idx_t *outlen); out 52 maint/gnulib/lib/base32.h char **out, idx_t *outlen); out 54 maint/gnulib/lib/base32.h #define base32_decode(in, inlen, out, outlen) \ out 55 maint/gnulib/lib/base32.h base32_decode_ctx (NULL, in, inlen, out, outlen) out 57 maint/gnulib/lib/base32.h #define base32_decode_alloc(in, inlen, out, outlen) \ out 58 maint/gnulib/lib/base32.h base32_decode_alloc_ctx (NULL, in, inlen, out, outlen) out 71 maint/gnulib/lib/base64.c base64_encode_fast (const char *restrict in, idx_t inlen, char *restrict out) out 75 maint/gnulib/lib/base64.c *out++ = b64c[(to_uchar (in[0]) >> 2) & 0x3f]; out 76 maint/gnulib/lib/base64.c *out++ = b64c[((to_uchar (in[0]) << 4) + (to_uchar (in[1]) >> 4)) & 0x3f]; out 77 maint/gnulib/lib/base64.c *out++ = b64c[((to_uchar (in[1]) << 2) + (to_uchar (in[2]) >> 6)) & 0x3f]; out 78 maint/gnulib/lib/base64.c *out++ = b64c[to_uchar (in[2]) & 0x3f]; out 91 maint/gnulib/lib/base64.c char *restrict out, idx_t outlen) out 102 maint/gnulib/lib/base64.c base64_encode_fast (in, inlen, out); out 108 maint/gnulib/lib/base64.c *out++ = b64c[(to_uchar (in[0]) >> 2) & 0x3f]; out 111 maint/gnulib/lib/base64.c *out++ = b64c[((to_uchar (in[0]) << 4) out 116 maint/gnulib/lib/base64.c *out++ = out 124 maint/gnulib/lib/base64.c *out++ = inlen ? b64c[to_uchar (in[2]) & 0x3f] : '='; out 134 maint/gnulib/lib/base64.c *out = '\0'; out 147 maint/gnulib/lib/base64.c base64_encode_alloc (const char *in, idx_t inlen, char **out) out 155 maint/gnulib/lib/base64.c *out = NULL; out 160 maint/gnulib/lib/base64.c *out = imalloc (outlen); out 161 maint/gnulib/lib/base64.c if (!*out) out 164 maint/gnulib/lib/base64.c base64_encode (in, inlen, *out, outlen); out 384 maint/gnulib/lib/base64.c *outp = out; \ out 399 maint/gnulib/lib/base64.c char *out = *outp; out 408 maint/gnulib/lib/base64.c *out++ = ((b64[to_uchar (in[0])] << 2) out 431 maint/gnulib/lib/base64.c *out++ = (((b64[to_uchar (in[1])] << 4) & 0xf0) out 451 maint/gnulib/lib/base64.c *out++ = (((b64[to_uchar (in[2])] << 6) & 0xc0) out 458 maint/gnulib/lib/base64.c *outp = out; out 483 maint/gnulib/lib/base64.c char *restrict out, idx_t *outlen) out 507 maint/gnulib/lib/base64.c if (!decode_4 (in, inlen, &out, &outleft)) out 528 maint/gnulib/lib/base64.c out -= outleft_save - outleft; out 548 maint/gnulib/lib/base64.c if (!decode_4 (non_nl, inlen, &out, &outleft)) out 573 maint/gnulib/lib/base64.c const char *in, idx_t inlen, char **out, out 583 maint/gnulib/lib/base64.c *out = imalloc (needlen); out 584 maint/gnulib/lib/base64.c if (!*out) out 587 maint/gnulib/lib/base64.c if (!base64_decode_ctx (ctx, in, inlen, *out, &needlen)) out 589 maint/gnulib/lib/base64.c free (*out); out 590 maint/gnulib/lib/base64.c *out = NULL; out 44 maint/gnulib/lib/base64.h char *restrict out, idx_t outlen); out 46 maint/gnulib/lib/base64.h extern idx_t base64_encode_alloc (const char *in, idx_t inlen, char **out); out 52 maint/gnulib/lib/base64.h char *restrict out, idx_t *outlen); out 56 maint/gnulib/lib/base64.h char **out, idx_t *outlen); out 58 maint/gnulib/lib/base64.h #define base64_decode(in, inlen, out, outlen) \ out 59 maint/gnulib/lib/base64.h base64_decode_ctx (NULL, in, inlen, out, outlen) out 61 maint/gnulib/lib/base64.h #define base64_decode_alloc(in, inlen, out, outlen) \ out 62 maint/gnulib/lib/base64.h base64_decode_alloc_ctx (NULL, in, inlen, out, outlen) out 161 maint/gnulib/lib/bitsetv.c bitsetv_matrix_dump (FILE *out, const char *title, bitsetv bset) out 166 maint/gnulib/lib/bitsetv.c fprintf (out, "%s BEGIN\n", title); out 169 maint/gnulib/lib/bitsetv.c fputs (" ", out); out 171 maint/gnulib/lib/bitsetv.c putc (i / 10 ? '0' + i / 10 : ' ', out); out 172 maint/gnulib/lib/bitsetv.c putc ('\n', out); out 173 maint/gnulib/lib/bitsetv.c fputs (" ", out); out 175 maint/gnulib/lib/bitsetv.c fprintf (out, "%d", (int) (i % 10)); out 176 maint/gnulib/lib/bitsetv.c putc ('\n', out); out 179 maint/gnulib/lib/bitsetv.c fputs (" .", out); out 181 maint/gnulib/lib/bitsetv.c putc ('-', out); out 182 maint/gnulib/lib/bitsetv.c fputs (".\n", out); out 187 maint/gnulib/lib/bitsetv.c fprintf (out, "%2lu|", (unsigned long) i); out 189 maint/gnulib/lib/bitsetv.c fputs (bitset_test (bset[i], j) ? "1" : " ", out); out 190 maint/gnulib/lib/bitsetv.c fputs ("|\n", out); out 194 maint/gnulib/lib/bitsetv.c fputs (" `", out); out 196 maint/gnulib/lib/bitsetv.c putc ('-', out); out 197 maint/gnulib/lib/bitsetv.c fputs ("'\n", out); out 200 maint/gnulib/lib/bitsetv.c fprintf (out, "%s END\n\n", title); out 1002 maint/gnulib/lib/fnmatch_loop.c goto out; out 1023 maint/gnulib/lib/fnmatch_loop.c goto out; out 1046 maint/gnulib/lib/fnmatch_loop.c goto out; \ out 1056 maint/gnulib/lib/fnmatch_loop.c goto out; \ out 1182 maint/gnulib/lib/fnmatch_loop.c out: out 635 maint/gnulib/lib/gc-gnulib.c _gc_hash_ctx *out; out 637 maint/gnulib/lib/gc-gnulib.c *outhandle = out = calloc (sizeof (*out), 1); out 638 maint/gnulib/lib/gc-gnulib.c if (!out) out 641 maint/gnulib/lib/gc-gnulib.c memcpy (out, in, sizeof (*out)); out 372 maint/gnulib/lib/gc-libgcrypt.c _gc_hash_ctx *out; out 375 maint/gnulib/lib/gc-libgcrypt.c *outhandle = out = calloc (sizeof (*out), 1); out 376 maint/gnulib/lib/gc-libgcrypt.c if (!out) out 379 maint/gnulib/lib/gc-libgcrypt.c memcpy (out, in, sizeof (*out)); out 381 maint/gnulib/lib/gc-libgcrypt.c err = gcry_md_copy (&out->gch, in->gch); out 384 maint/gnulib/lib/gc-libgcrypt.c free (out); out 157 maint/gnulib/lib/gc.h gc_hash_buffer (Gc_hash hash, const void *in, size_t inlen, char *out); out 90 maint/gnulib/lib/getpass.c FILE *in, *out; out 106 maint/gnulib/lib/getpass.c out = stderr; out 113 maint/gnulib/lib/getpass.c out = in = tty; out 116 maint/gnulib/lib/getpass.c flockfile (out); out 133 maint/gnulib/lib/getpass.c fputs_unlocked (prompt, out); out 134 maint/gnulib/lib/getpass.c fflush_unlocked (out); out 149 maint/gnulib/lib/getpass.c fseeko (out, 0, SEEK_CUR); out 162 maint/gnulib/lib/getpass.c putc_unlocked ('\n', out); out 173 maint/gnulib/lib/getpass.c funlockfile (out); out 611 maint/gnulib/lib/glob.c goto out; out 672 maint/gnulib/lib/glob.c goto out; out 684 maint/gnulib/lib/glob.c goto out; out 695 maint/gnulib/lib/glob.c goto out; out 728 maint/gnulib/lib/glob.c goto out; out 781 maint/gnulib/lib/glob.c goto out; out 831 maint/gnulib/lib/glob.c goto out; out 864 maint/gnulib/lib/glob.c goto out; out 885 maint/gnulib/lib/glob.c goto out; out 903 maint/gnulib/lib/glob.c goto out; out 923 maint/gnulib/lib/glob.c goto out; out 1006 maint/gnulib/lib/glob.c goto out; out 1033 maint/gnulib/lib/glob.c goto out; out 1045 maint/gnulib/lib/glob.c goto out; out 1068 maint/gnulib/lib/glob.c goto out; out 1084 maint/gnulib/lib/glob.c goto out; out 1097 maint/gnulib/lib/glob.c goto out; out 1144 maint/gnulib/lib/glob.c goto out; out 1157 maint/gnulib/lib/glob.c goto out; out 1177 maint/gnulib/lib/glob.c goto out; out 1192 maint/gnulib/lib/glob.c out: out 29 maint/gnulib/lib/javaversion.java System.out.println(System.getProperty("java.specification.version")); out 194 maint/gnulib/lib/read-file.c char *out; out 202 maint/gnulib/lib/read-file.c out = fread_file (stream, flags, length); out 206 maint/gnulib/lib/read-file.c if (out) out 209 maint/gnulib/lib/read-file.c explicit_bzero (out, *length); out 210 maint/gnulib/lib/read-file.c free (out); out 215 maint/gnulib/lib/read-file.c return out; out 38 maint/gnulib/lib/readline.c char *out = NULL; out 47 maint/gnulib/lib/readline.c if (getline (&out, &size, stdin) < 0) out 50 maint/gnulib/lib/readline.c while (*out && (out[strlen (out) - 1] == '\r' out 51 maint/gnulib/lib/readline.c || out[strlen (out) - 1] == '\n')) out 52 maint/gnulib/lib/readline.c out[strlen (out) - 1] = '\0'; out 54 maint/gnulib/lib/readline.c return out; out 417 maint/gnulib/lib/regexec.c goto out; out 448 maint/gnulib/lib/regexec.c out: out 390 maint/gnulib/lib/rename.c goto out; out 396 maint/gnulib/lib/rename.c goto out; out 399 maint/gnulib/lib/rename.c goto out; out 407 maint/gnulib/lib/rename.c goto out; out 415 maint/gnulib/lib/rename.c goto out; out 419 maint/gnulib/lib/rename.c goto out; out 437 maint/gnulib/lib/rename.c goto out; out 448 maint/gnulib/lib/rename.c goto out; out 455 maint/gnulib/lib/rename.c goto out; out 460 maint/gnulib/lib/rename.c goto out; out 468 maint/gnulib/lib/rename.c out: _GL_UNUSED_LABEL; out 196 maint/gnulib/lib/renameatu.c goto out; out 202 maint/gnulib/lib/renameatu.c goto out; out 205 maint/gnulib/lib/renameatu.c goto out; out 213 maint/gnulib/lib/renameatu.c goto out; out 221 maint/gnulib/lib/renameatu.c goto out; out 225 maint/gnulib/lib/renameatu.c goto out; out 236 maint/gnulib/lib/renameatu.c goto out; out 237 maint/gnulib/lib/renameatu.c out: out 71 maint/gnulib/lib/select.c unsigned char out[FD_SETSIZE / CHAR_BIT]; out 247 maint/gnulib/lib/select.c rbits->out[fd / CHAR_BIT] |= (1 << (fd & (CHAR_BIT - 1))); out 253 maint/gnulib/lib/select.c wbits->out[fd / CHAR_BIT] |= (1 << (fd & (CHAR_BIT - 1))); out 259 maint/gnulib/lib/select.c xbits->out[fd / CHAR_BIT] |= (1 << (fd & (CHAR_BIT - 1))); out 489 maint/gnulib/lib/select.c if (rbits.out[i / CHAR_BIT] & (1 << (i & (CHAR_BIT - 1))) out 490 maint/gnulib/lib/select.c || wbits.out[i / CHAR_BIT] & (1 << (i & (CHAR_BIT - 1))) out 491 maint/gnulib/lib/select.c || xbits.out[i / CHAR_BIT] & (1 << (i & (CHAR_BIT - 1)))) out 546 maint/gnulib/lib/select.c if (rbits.out[i / CHAR_BIT] & (1 << (i & (CHAR_BIT - 1)))) out 548 maint/gnulib/lib/select.c if (wbits.out[i / CHAR_BIT] & (1 << (i & (CHAR_BIT - 1)))) out 550 maint/gnulib/lib/select.c if (xbits.out[i / CHAR_BIT] & (1 << (i & (CHAR_BIT - 1)))) out 36 maint/gnulib/tests/test-base32.c char out[255]; out 41 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 42 maint/gnulib/tests/test-base32.c base32_encode (in, 0, out, 0); out 43 maint/gnulib/tests/test-base32.c ASSERT (out[0] == '\x42'); out 45 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 46 maint/gnulib/tests/test-base32.c base32_encode (in, 1, out, 10); out 47 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "ME======", 1) == 0); out 49 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 50 maint/gnulib/tests/test-base32.c base32_encode (in, 1, out, 2); out 51 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "ME======", 2) == 0); out 53 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 54 maint/gnulib/tests/test-base32.c base32_encode (in, 1, out, 3); out 55 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "ME======", 3) == 0); out 57 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 58 maint/gnulib/tests/test-base32.c base32_encode (in, 1, out, 4); out 59 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "ME======", 4) == 0); out 61 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 62 maint/gnulib/tests/test-base32.c base32_encode (in, 1, out, 8); out 63 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "ME======", 8) == 0); out 65 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 66 maint/gnulib/tests/test-base32.c base32_encode (in, 2, out, 8); out 67 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "MFRA====", 8) == 0); out 69 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 70 maint/gnulib/tests/test-base32.c base32_encode (in, 3, out, 8); out 71 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "MFRGG===", 8) == 0); out 73 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 74 maint/gnulib/tests/test-base32.c base32_encode (in, 4, out, 8); out 75 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "MFRGGZA=", 8) == 0); out 77 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 78 maint/gnulib/tests/test-base32.c base32_encode (in, 5, out, 8); out 79 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "MFRGGZDF", 8) == 0); out 81 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 82 maint/gnulib/tests/test-base32.c base32_encode (in, 6, out, 16); out 83 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "MFRGGZDFMY======", 16) == 0); out 85 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 86 maint/gnulib/tests/test-base32.c base32_encode (in, 6, out, 100); out 87 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "MFRGGZDFMY======", 16) == 0); out 91 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 93 maint/gnulib/tests/test-base32.c ok = base32_decode (b32in, 8, out, &len); out 97 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 99 maint/gnulib/tests/test-base32.c ok = base32_decode (b32in, 8, out, &len); out 102 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "abcdefghijklmnop", 1) == 0); out 104 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 106 maint/gnulib/tests/test-base32.c ok = base32_decode (b32in, 8, out, &len); out 109 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "abcdefghijklmnop", 2) == 0); out 111 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 113 maint/gnulib/tests/test-base32.c ok = base32_decode (b32in, 8, out, &len); out 116 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "abcdefghijklmnop", 3) == 0); out 118 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 120 maint/gnulib/tests/test-base32.c ok = base32_decode (b32in, 8, out, &len); out 123 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "abcdefghijklmnop", 4) == 0); out 125 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 127 maint/gnulib/tests/test-base32.c ok = base32_decode (b32in, 8, out, &len); out 130 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "abcdefghijklmnop", 5) == 0); out 132 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 134 maint/gnulib/tests/test-base32.c ok = base32_decode (b32in, 8, out, &len); out 137 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "abcdefghijklmnop", 5) == 0); out 139 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 141 maint/gnulib/tests/test-base32.c ok = base32_decode (b32in, strlen (b32in), out, &len); out 144 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "abcdefghijklmnop", 16) == 0); out 162 maint/gnulib/tests/test-base32.c len = sizeof (out); out 163 maint/gnulib/tests/test-base32.c ok = base32_decode_ctx (&ctx, b32in, strlen (b32in), out, &len); out 166 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "abcdefghijklmnop", len) == 0); out 174 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "abcdefghijklmnop", len) == 0); out 35 maint/gnulib/tests/test-base64.c char out[255]; out 40 maint/gnulib/tests/test-base64.c memset (out, 0x42, sizeof (out)); out 41 maint/gnulib/tests/test-base64.c base64_encode (in, 0, out, 0); out 42 maint/gnulib/tests/test-base64.c ASSERT (out[0] == '\x42'); out 44 maint/gnulib/tests/test-base64.c memset (out, 0x42, sizeof (out)); out 45 maint/gnulib/tests/test-base64.c base64_encode (in, 1, out, 1); out 46 maint/gnulib/tests/test-base64.c ASSERT (memcmp (out, "YQ==", 1) == 0); out 48 maint/gnulib/tests/test-base64.c memset (out, 0x42, sizeof (out)); out 49 maint/gnulib/tests/test-base64.c base64_encode (in, 1, out, 2); out 50 maint/gnulib/tests/test-base64.c ASSERT (memcmp (out, "YQ==", 2) == 0); out 52 maint/gnulib/tests/test-base64.c memset (out, 0x42, sizeof (out)); out 53 maint/gnulib/tests/test-base64.c base64_encode (in, 1, out, 3); out 54 maint/gnulib/tests/test-base64.c ASSERT (memcmp (out, "YQ==", 3) == 0); out 56 maint/gnulib/tests/test-base64.c memset (out, 0x42, sizeof (out)); out 57 maint/gnulib/tests/test-base64.c base64_encode (in, 1, out, 4); out 58 maint/gnulib/tests/test-base64.c ASSERT (memcmp (out, "YQ==", 4) == 0); out 60 maint/gnulib/tests/test-base64.c memset (out, 0x42, sizeof (out)); out 61 maint/gnulib/tests/test-base64.c base64_encode (in, 1, out, 8); out 62 maint/gnulib/tests/test-base64.c ASSERT (memcmp (out, "YQ==", 4) == 0); out 64 maint/gnulib/tests/test-base64.c memset (out, 0x42, sizeof (out)); out 65 maint/gnulib/tests/test-base64.c base64_encode (in, 2, out, 4); out 66 maint/gnulib/tests/test-base64.c ASSERT (memcmp (out, "YWI=", 4) == 0); out 68 maint/gnulib/tests/test-base64.c memset (out, 0x42, sizeof (out)); out 69 maint/gnulib/tests/test-base64.c base64_encode (in, 3, out, 4); out 70 maint/gnulib/tests/test-base64.c ASSERT (memcmp (out, "YWJj", 4) == 0); out 72 maint/gnulib/tests/test-base64.c memset (out, 0x42, sizeof (out)); out 73 maint/gnulib/tests/test-base64.c base64_encode (in, 4, out, 5); out 74 maint/gnulib/tests/test-base64.c ASSERT (memcmp (out, "YWJjZA==", 5) == 0); out 76 maint/gnulib/tests/test-base64.c memset (out, 0x42, sizeof (out)); out 77 maint/gnulib/tests/test-base64.c base64_encode (in, 4, out, 100); out 78 maint/gnulib/tests/test-base64.c ASSERT (memcmp (out, "YWJjZA==", 6) == 0); out 82 maint/gnulib/tests/test-base64.c memset (out, 0x42, sizeof (out)); out 84 maint/gnulib/tests/test-base64.c ok = base64_decode (b64in, 4, out, &len); out 88 maint/gnulib/tests/test-base64.c memset (out, 0x42, sizeof (out)); out 90 maint/gnulib/tests/test-base64.c ok = base64_decode (b64in, 4, out, &len); out 93 maint/gnulib/tests/test-base64.c ASSERT (memcmp (out, "abcdefg", 1) == 0); out 95 maint/gnulib/tests/test-base64.c memset (out, 0x42, sizeof (out)); out 97 maint/gnulib/tests/test-base64.c ok = base64_decode (b64in, 4, out, &len); out 100 maint/gnulib/tests/test-base64.c ASSERT (memcmp (out, "abcdefg", 2) == 0); out 102 maint/gnulib/tests/test-base64.c memset (out, 0x42, sizeof (out)); out 104 maint/gnulib/tests/test-base64.c ok = base64_decode (b64in, 4, out, &len); out 107 maint/gnulib/tests/test-base64.c ASSERT (memcmp (out, "abcdefg", 3) == 0); out 109 maint/gnulib/tests/test-base64.c memset (out, 0x42, sizeof (out)); out 111 maint/gnulib/tests/test-base64.c ok = base64_decode (b64in, 4, out, &len); out 114 maint/gnulib/tests/test-base64.c ASSERT (memcmp (out, "abcdefg", 3) == 0); out 116 maint/gnulib/tests/test-base64.c memset (out, 0x42, sizeof (out)); out 118 maint/gnulib/tests/test-base64.c ok = base64_decode (b64in, strlen (b64in), out, &len); out 121 maint/gnulib/tests/test-base64.c ASSERT (memcmp (out, "abcdefg", 7) == 0); out 139 maint/gnulib/tests/test-base64.c len = sizeof (out); out 140 maint/gnulib/tests/test-base64.c ok = base64_decode_ctx (&ctx, b64in, strlen (b64in), out, &len); out 143 maint/gnulib/tests/test-base64.c ASSERT (memcmp (out, "abcdefg", len) == 0); out 151 maint/gnulib/tests/test-base64.c ASSERT (memcmp (out, "abcdefg", len) == 0); out 47 maint/gnulib/tests/test-gc-hmac-md5.c char out[16]; out 57 maint/gnulib/tests/test-gc-hmac-md5.c if (gc_hmac_md5 (key, key_len, data, data_len, out) != 0) out 63 maint/gnulib/tests/test-gc-hmac-md5.c if (memcmp (digest, out, 16) != 0) out 71 maint/gnulib/tests/test-gc-hmac-md5.c printf ("%02x ", out[i] & 0xFF); out 46 maint/gnulib/tests/test-gc-hmac-sha1.c char out[GC_SHA1_DIGEST_SIZE]; out 48 maint/gnulib/tests/test-gc-hmac-sha1.c if (gc_hmac_sha1 (key, key_len, data, data_len, out) != 0) out 54 maint/gnulib/tests/test-gc-hmac-sha1.c if (memcmp (digest, out, GC_SHA1_DIGEST_SIZE) != 0) out 62 maint/gnulib/tests/test-gc-hmac-sha1.c printf ("%02x ", out[i] & 0xFF); out 45 maint/gnulib/tests/test-gc-hmac-sha256.c char out[GC_SHA256_DIGEST_SIZE]; out 47 maint/gnulib/tests/test-gc-hmac-sha256.c if (gc_hmac_sha256 (key, key_len, data, data_len, out) != 0) out 53 maint/gnulib/tests/test-gc-hmac-sha256.c if (memcmp (digest, out, GC_SHA256_DIGEST_SIZE) != 0) out 61 maint/gnulib/tests/test-gc-hmac-sha256.c printf ("%02x ", out[i] & 0xFF); out 45 maint/gnulib/tests/test-gc-hmac-sha512.c char out[GC_SHA512_DIGEST_SIZE]; out 47 maint/gnulib/tests/test-gc-hmac-sha512.c if (gc_hmac_sha512 (key, key_len, data, data_len, out) != 0) out 53 maint/gnulib/tests/test-gc-hmac-sha512.c if (memcmp (digest, out, GC_SHA512_DIGEST_SIZE) != 0) out 61 maint/gnulib/tests/test-gc-hmac-sha512.c printf ("%02x ", out[i] & 0xFF); out 45 maint/gnulib/tests/test-gc-md2.c char out[16]; out 48 maint/gnulib/tests/test-gc-md2.c if (gc_md2 (in, inlen, out) != 0) out 54 maint/gnulib/tests/test-gc-md2.c if (memcmp (out, expect, 16) != 0) out 62 maint/gnulib/tests/test-gc-md2.c printf ("%02x ", out[i] & 0xFF); out 67 maint/gnulib/tests/test-gc-md2.c if (gc_hash_buffer (GC_MD2, in, inlen, out) != 0) out 73 maint/gnulib/tests/test-gc-md2.c if (memcmp (out, expect, 16) != 0) out 81 maint/gnulib/tests/test-gc-md2.c printf ("%02x ", out[i] & 0xFF); out 45 maint/gnulib/tests/test-gc-md4.c char out[16]; out 50 maint/gnulib/tests/test-gc-md4.c if (gc_md4 (in, inlen, out) != 0) out 56 maint/gnulib/tests/test-gc-md4.c if (memcmp (out, expect, 16) != 0) out 64 maint/gnulib/tests/test-gc-md4.c printf ("%02x ", out[i] & 0xFF); out 69 maint/gnulib/tests/test-gc-md4.c if (gc_hash_buffer (GC_MD4, in, inlen, out) != 0) out 75 maint/gnulib/tests/test-gc-md4.c if (memcmp (out, expect, 16) != 0) out 83 maint/gnulib/tests/test-gc-md4.c printf ("%02x ", out[i] & 0xFF); out 45 maint/gnulib/tests/test-gc-md5.c char out[16]; out 50 maint/gnulib/tests/test-gc-md5.c if (gc_md5 (in, inlen, out) != 0) out 56 maint/gnulib/tests/test-gc-md5.c if (memcmp (out, expect, 16) != 0) out 64 maint/gnulib/tests/test-gc-md5.c printf ("%02x ", out[i] & 0xFF); out 69 maint/gnulib/tests/test-gc-md5.c if (gc_hash_buffer (GC_MD5, in, inlen, out) != 0) out 75 maint/gnulib/tests/test-gc-md5.c if (memcmp (out, expect, 16) != 0) out 83 maint/gnulib/tests/test-gc-md5.c printf ("%02x ", out[i] & 0xFF); out 85 maint/gnulib/tests/test-gc-pbkdf2-sha1.c char out[BUFSIZ]; out 91 maint/gnulib/tests/test-gc-pbkdf2-sha1.c pkcs5[i].iterations, out, pkcs5[i].dklen); out 99 maint/gnulib/tests/test-gc-pbkdf2-sha1.c if (memcmp (pkcs5[i].expected, out, pkcs5[i].dklen) != 0) out 100 maint/gnulib/tests/test-gc-pbkdf2.c char out[BUFSIZ]; out 102 maint/gnulib/tests/test-gc-pbkdf2.c rc = gc_pbkdf2_hmac (GC_MD2, "p", 1, "s", 1, 42, out, 17); out 115 maint/gnulib/tests/test-gc-pbkdf2.c pkcs5[i].iterations, out, pkcs5[i].dklen); out 123 maint/gnulib/tests/test-gc-pbkdf2.c if (memcmp (pkcs5[i].expected, out, pkcs5[i].dklen) != 0) out 43 maint/gnulib/tests/test-gc-sha1.c char out[20]; out 46 maint/gnulib/tests/test-gc-sha1.c if (gc_sha1 (in, inlen, out) != 0) out 52 maint/gnulib/tests/test-gc-sha1.c if (memcmp (out, expect, 20) != 0) out 60 maint/gnulib/tests/test-gc-sha1.c printf ("%02x ", out[i] & 0xFF); out 65 maint/gnulib/tests/test-gc-sha1.c rc = gc_hash_buffer (GC_SHA1, "abcdefgh", 8, out); out 72 maint/gnulib/tests/test-gc-sha1.c if (memcmp (out, expect, 20) != 0) out 80 maint/gnulib/tests/test-gc-sha1.c printf ("%02x ", out[i] & 0xFF); out 44 maint/gnulib/tests/test-gc-sha256.c char out[32]; out 47 maint/gnulib/tests/test-gc-sha256.c if (gc_sha256 (in, inlen, out) != 0) out 53 maint/gnulib/tests/test-gc-sha256.c if (memcmp (out, expect, 32) != 0) out 61 maint/gnulib/tests/test-gc-sha256.c printf ("%02x ", out[i] & 0xFF); out 66 maint/gnulib/tests/test-gc-sha256.c rc = gc_hash_buffer (GC_SHA256, "abcdefghijklmnopqrstuvwxyz", 26, out); out 73 maint/gnulib/tests/test-gc-sha256.c if (memcmp (out, expect, 32) != 0) out 81 maint/gnulib/tests/test-gc-sha256.c printf ("%02x ", out[i] & 0xFF); out 46 maint/gnulib/tests/test-gc-sha512.c char out[64]; out 49 maint/gnulib/tests/test-gc-sha512.c if (gc_sha512 (in, inlen, out) != 0) out 55 maint/gnulib/tests/test-gc-sha512.c if (memcmp (out, expect, 64) != 0) out 63 maint/gnulib/tests/test-gc-sha512.c printf ("%02x ", out[i] & 0xFF); out 68 maint/gnulib/tests/test-gc-sha512.c rc = gc_hash_buffer (GC_SHA512, "abcdefghijklmnopqrstuvwxyz", 26, out); out 75 maint/gnulib/tests/test-gc-sha512.c if (memcmp (out, expect, 64) != 0) out 83 maint/gnulib/tests/test-gc-sha512.c printf ("%02x ", out[i] & 0xFF); out 46 maint/gnulib/tests/test-gc-sm3.c char out[32]; out 49 maint/gnulib/tests/test-gc-sm3.c if (gc_sm3 (in, inlen, out) != 0) out 55 maint/gnulib/tests/test-gc-sm3.c if (memcmp (out, expect, 32) != 0) out 63 maint/gnulib/tests/test-gc-sm3.c printf ("%02x ", (unsigned int) out[i] & 0xFF); out 68 maint/gnulib/tests/test-gc-sm3.c rc = gc_hash_buffer (GC_SM3, "abc", 3, out); out 75 maint/gnulib/tests/test-gc-sm3.c if (memcmp (out, expect, 32) != 0) out 83 maint/gnulib/tests/test-gc-sm3.c printf ("%02x ", (unsigned int) out[i] & 0xFF); out 33 maint/gnulib/tests/test-hmac-md5.c char out[16]; out 35 maint/gnulib/tests/test-hmac-md5.c if (hmac_md5 (key, key_len, data, data_len, out) != 0) out 41 maint/gnulib/tests/test-hmac-md5.c if (memcmp (digest, out, 16) != 0) out 49 maint/gnulib/tests/test-hmac-md5.c printf ("%02x ", out[i] & 0xFF); out 31 maint/gnulib/tests/test-hmac-sha1.c char out[20]; out 33 maint/gnulib/tests/test-hmac-sha1.c if (hmac_sha1 (key, key_len, data, data_len, out) != 0) out 39 maint/gnulib/tests/test-hmac-sha1.c if (memcmp (digest, out, 20) != 0) out 47 maint/gnulib/tests/test-hmac-sha1.c printf ("%02x ", out[i] & 0xFF); out 31 maint/gnulib/tests/test-hmac-sha256.c char out[32]; out 33 maint/gnulib/tests/test-hmac-sha256.c if (hmac_sha256 (key, key_len, data, data_len, out) != 0) out 39 maint/gnulib/tests/test-hmac-sha256.c if (memcmp (digest, out, 32) != 0) out 47 maint/gnulib/tests/test-hmac-sha256.c printf ("%02x ", out[i] & 0xFF); out 31 maint/gnulib/tests/test-hmac-sha512.c char out[64]; out 33 maint/gnulib/tests/test-hmac-sha512.c if (hmac_sha512 (key, key_len, data, data_len, out) != 0) out 39 maint/gnulib/tests/test-hmac-sha512.c if (memcmp (digest, out, 64) != 0) out 47 maint/gnulib/tests/test-hmac-sha512.c printf ("%02x ", out[i] & 0xFF); out 27 maint/gnulib/tests/test-iconvme.c char *in = NULL, *out = NULL; out 74 maint/gnulib/tests/test-iconvme.c out = iconv_string (in, from, to); out 76 maint/gnulib/tests/test-iconvme.c if (out == NULL) out 80 maint/gnulib/tests/test-iconvme.c printf ("\nOutput: '%s'\n", out); out 81 maint/gnulib/tests/test-iconvme.c free (out); out 228 maint/gnulib/tests/test-nstrftime.c char out[2]; out 233 maint/gnulib/tests/test-nstrftime.c size_t r = nstrftime (out, sizeof (out), fmt, &qtm, 0, 0); out 242 maint/gnulib/tests/test-nstrftime.c if (strcmp (out, exp) != 0) out 244 maint/gnulib/tests/test-nstrftime.c printf ("nstrftime %%q: expected \"%s\", got \"%s\"\n", exp, out); out 42 maint/gnulib/tests/test-read-file.c char *out = read_file (FILE1, flags, &len); out 44 maint/gnulib/tests/test-read-file.c if (!out) out 51 maint/gnulib/tests/test-read-file.c if (out[len] != '\0') out 76 maint/gnulib/tests/test-read-file.c free (out); out 85 maint/gnulib/tests/test-read-file.c char *out = read_file (FILE2, flags, &len); out 87 maint/gnulib/tests/test-read-file.c if (!out) out 94 maint/gnulib/tests/test-read-file.c if (out[len] != '\0') out 108 maint/gnulib/tests/test-read-file.c free (out); out 32 maint/gnulib/tests/test-rijndael.c char out[RIJNDAEL_BITSPERBLOCK / 8]; out 52 maint/gnulib/tests/test-rijndael.c rc = rijndaelBlockEncrypt (&cipher, &key, in, 128, out); out 56 maint/gnulib/tests/test-rijndael.c memcpy (in, out, RIJNDAEL_BITSPERBLOCK / 8); out 59 maint/gnulib/tests/test-rijndael.c if (memcmp (out, ct, RIJNDAEL_BITSPERBLOCK / 8) != 0) out 67 maint/gnulib/tests/test-rijndael.c printf ("%02x ", out[i] & 0xFF); out 83 maint/gnulib/tests/test-rijndael.c memcpy (in, out, RIJNDAEL_BITSPERBLOCK / 8); out 85 maint/gnulib/tests/test-rijndael.c rc = rijndaelBlockDecrypt (&cipher, &key, in, 128, out); out 90 maint/gnulib/tests/test-rijndael.c if (memcmp (out, pt, RIJNDAEL_BITSPERBLOCK / 8) != 0) out 98 maint/gnulib/tests/test-rijndael.c printf ("%02x ", out[i] & 0xFF); out 26 maint/gnulib/tests/test-sm3-buffer.c test (const char *in, const char *out) out 31 maint/gnulib/tests/test-sm3-buffer.c out, SM3_DIGEST_SIZE) != 0) out 36 maint/gnulib/tests/test-sm3-buffer.c printf ("%02x ", out[i] & 0xFFu); out 56 maint/gnulib/tests/test-sm3-buffer.c const char *out[] = out 67 maint/gnulib/tests/test-sm3-buffer.c if (test (in[i], out[i])) out 253 tools/attrd_updater.c static int send_attrd_query(pcmk__output_t *out, const char *attr_name, const char *attr_node, out 292 tools/attrd_updater.c pcmk__output_t *out = NULL; out 307 tools/attrd_updater.c rc = pcmk__output_new(&out, args->output_ty, args->output_dest, argv); out 316 tools/attrd_updater.c out->version(out, false); out 345 tools/attrd_updater.c out->info(out, "Warning: '%c' command given without required --delay", options.command); out 348 tools/attrd_updater.c pcmk__register_lib_messages(out); out 351 tools/attrd_updater.c int rc = send_attrd_query(out, options.attr_name, options.attr_node, options.query_all); out 375 tools/attrd_updater.c pcmk__output_and_clear_error(&error, out); out 377 tools/attrd_updater.c if (out != NULL) { out 378 tools/attrd_updater.c out->finish(out, exit_code, true, NULL); out 379 tools/attrd_updater.c pcmk__output_free(out); out 395 tools/attrd_updater.c print_attrd_values(pcmk__output_t *out, const GList *reply) out 400 tools/attrd_updater.c out->message(out, "attribute", NULL, NULL, pair->name, pair->value, out 410 tools/attrd_updater.c pcmk__output_t *out = (pcmk__output_t *) user_data; out 419 tools/attrd_updater.c print_attrd_values(out, reply->data.pairs); out 434 tools/attrd_updater.c send_attrd_query(pcmk__output_t *out, const char *attr_name, out 449 tools/attrd_updater.c pcmk_register_ipc_callback(attrd_api, attrd_event_cb, out); out 401 tools/crm_attribute.c pcmk__output_t *out; out 417 tools/crm_attribute.c rc = cib__delete_node_attr(dd->out, dd->cib, cib_opts, options.type, out 430 tools/crm_attribute.c command_list(pcmk__output_t *out) out 433 tools/crm_attribute.c exit_code = pcmk_rc2exitc(pcmk__list_cluster_options(out, options.all)); out 446 tools/crm_attribute.c command_delete(pcmk__output_t *out, cib_t *cib) out 455 tools/crm_attribute.c struct delete_data_s dd = { out, cib }; out 457 tools/crm_attribute.c rc = cib__get_node_attrs(out, cib, options.type, options.dest_node, out 468 tools/crm_attribute.c rc = cib__delete_node_attr(out, cib, cib_opts, options.type, options.dest_node, out 488 tools/crm_attribute.c pcmk__output_t *out; out 504 tools/crm_attribute.c return cib__update_node_attr(ud->out, ud->cib, cib_opts, options.type, out 512 tools/crm_attribute.c command_update(pcmk__output_t *out, cib_t *cib, int is_remote_node) out 526 tools/crm_attribute.c struct update_data_s ud = { out, cib, is_remote_node }; out 528 tools/crm_attribute.c rc = cib__get_node_attrs(out, cib, options.type, options.dest_node, out 539 tools/crm_attribute.c rc = cib__update_node_attr(out, cib, cib_opts, options.type, out 552 tools/crm_attribute.c pcmk__output_t *out; out 572 tools/crm_attribute.c od->out->message(od->out, "attribute", type, attr_id, name, value, NULL, out 573 tools/crm_attribute.c od->out->quiet, true); out 583 tools/crm_attribute.c command_query(pcmk__output_t *out, cib_t *cib) out 596 tools/crm_attribute.c rc = cib__get_node_attrs(out, cib, options.type, options.dest_node, out 600 tools/crm_attribute.c rc = cib__get_node_attrs(out, cib, options.type, options.dest_node, out 612 tools/crm_attribute.c out->message(out, "attribute", type, attr_id, attr_name, attr_default, out 613 tools/crm_attribute.c NULL, out->quiet, true); out 620 tools/crm_attribute.c struct output_data_s od = { out, use_pattern, false }; out 629 tools/crm_attribute.c struct output_data_s od = { out, use_pattern, false }; out 770 tools/crm_attribute.c pcmk__output_t *out = NULL; out 785 tools/crm_attribute.c rc = pcmk__output_new(&out, args->output_ty, args->output_dest, argv); out 793 tools/crm_attribute.c pcmk__register_lib_messages(out); out 796 tools/crm_attribute.c out->version(out, false); out 800 tools/crm_attribute.c out->quiet = args->quiet; out 803 tools/crm_attribute.c command_list(out); out 867 tools/crm_attribute.c rc = pcmk__query_node_name(out, 0, &node_name, 0); out 944 tools/crm_attribute.c rc = command_delete(out, the_cib); out 947 tools/crm_attribute.c rc = command_update(out, the_cib, is_remote_node); out 950 tools/crm_attribute.c rc = command_query(out, the_cib); out 980 tools/crm_attribute.c pcmk__output_and_clear_error(&error, out); out 982 tools/crm_attribute.c if (out != NULL) { out 983 tools/crm_attribute.c out->finish(out, exit_code, true, NULL); out 984 tools/crm_attribute.c pcmk__output_free(out); out 84 tools/crm_error.c pcmk__output_t *out = NULL; out 101 tools/crm_error.c rc = pcmk__output_new(&out, args->output_ty, args->output_dest, argv); out 116 tools/crm_error.c out->version(out, false); out 120 tools/crm_error.c pcmk__register_lib_messages(out); out 131 tools/crm_error.c pcmk__list_result_codes(out, options.result_type, flags); out 159 tools/crm_error.c pcmk__show_result_code(out, code, options.result_type, flags); out 167 tools/crm_error.c pcmk__output_and_clear_error(&error, out); out 169 tools/crm_error.c if (out != NULL) { out 170 tools/crm_error.c out->finish(out, exit_code, true, NULL); out 171 tools/crm_error.c pcmk__output_free(out); out 80 tools/crm_mon.c static pcmk__output_t *out = NULL; out 105 tools/crm_mon.c crm_mon_disconnected_default(pcmk__output_t *out, va_list args) out 113 tools/crm_mon.c crm_mon_disconnected_html(pcmk__output_t *out, va_list args) out 119 tools/crm_mon.c if (out->dest != stdout) { out 120 tools/crm_mon.c out->reset(out); out 123 tools/crm_mon.c pcmk__output_create_xml_text_node(out, PCMK__XE_SPAN, out 127 tools/crm_mon.c pcmk__output_create_xml_text_node(out, PCMK__XE_SPAN, ": "); out 128 tools/crm_mon.c pcmk__output_create_xml_text_node(out, PCMK__XE_SPAN, desc); out 134 tools/crm_mon.c pcmk__output_create_xml_text_node(out, PCMK__XE_SPAN, " ("); out 135 tools/crm_mon.c pcmk__output_create_xml_text_node(out, PCMK__XE_SPAN, state_s); out 136 tools/crm_mon.c pcmk__output_create_xml_text_node(out, PCMK__XE_SPAN, ")"); out 139 tools/crm_mon.c out->finish(out, CRM_EX_DISCONNECT, true, NULL); out 146 tools/crm_mon.c crm_mon_disconnected_text(pcmk__output_t *out, va_list args) out 153 tools/crm_mon.c if (out->dest != stdout) { out 154 tools/crm_mon.c out->reset(out); out 158 tools/crm_mon.c rc = out->info(out, "Not connected to CIB%s%s (%s)", out 162 tools/crm_mon.c rc = out->info(out, "Not connected to CIB%s%s", out 166 tools/crm_mon.c out->finish(out, CRM_EX_DISCONNECT, true, NULL); out 173 tools/crm_mon.c crm_mon_disconnected_xml(pcmk__output_t *out, va_list args) out 180 tools/crm_mon.c if (out->dest != stdout) { out 181 tools/crm_mon.c out->reset(out); out 188 tools/crm_mon.c pcmk__output_create_xml_node(out, PCMK_XE_CRM_MON_DISCONNECTED, out 193 tools/crm_mon.c out->finish(out, CRM_EX_DISCONNECT, true, NULL); out 810 tools/crm_mon.c out->transient(out, "Reconnecting..."); out 818 tools/crm_mon.c out->message(out, "crm-mon-disconnected", out 840 tools/crm_mon.c out->transient(out, "%s", msg); out 842 tools/crm_mon.c out->message(out, "crm-mon-disconnected", msg, pcmkd_state); out 957 tools/crm_mon.c rc = cib__signon_query(out, &cib, ¤t_cib); out 963 tools/crm_mon.c out->err(out, out 980 tools/crm_mon.c out->err(out, out 984 tools/crm_mon.c out->err(out, "CIB diff notification setup failed"); out 987 tools/crm_mon.c out->err(out, "Cannot monitor CIB changes; exiting"); out 1044 tools/crm_mon.c rc = pcmk__pacemakerd_status(out, crm_system_name, out 1086 tools/crm_mon.c #define print_option_help(out, option, condition) \ out 1087 tools/crm_mon.c curses_formatted_printf(out, "%c %c: \t%s\n", ((condition)? '*': ' '), option, get_option_desc(option)); out 1204 tools/crm_mon.c curses_formatted_printf(out, "%s", "Display option change mode\n"); out 1205 tools/crm_mon.c print_option_help(out, 'c', pcmk_is_set(show, pcmk_section_tickets)); out 1206 tools/crm_mon.c print_option_help(out, 'f', pcmk_is_set(show, pcmk_section_failcounts)); out 1207 tools/crm_mon.c print_option_help(out, 'n', pcmk_is_set(show_opts, pcmk_show_rscs_by_node)); out 1208 tools/crm_mon.c print_option_help(out, 'o', pcmk_is_set(show, pcmk_section_operations)); out 1209 tools/crm_mon.c print_option_help(out, 'r', pcmk_is_set(show_opts, pcmk_show_inactive_rscs)); out 1210 tools/crm_mon.c print_option_help(out, 't', pcmk_is_set(show_opts, pcmk_show_timing)); out 1211 tools/crm_mon.c print_option_help(out, 'A', pcmk_is_set(show, pcmk_section_attributes)); out 1212 tools/crm_mon.c print_option_help(out, 'L', pcmk_is_set(show, pcmk_section_bans)); out 1213 tools/crm_mon.c print_option_help(out, 'D', !pcmk_is_set(show, pcmk_section_summary)); out 1215 tools/crm_mon.c print_option_help(out, 'R', pcmk_any_flags_set(show_opts, pcmk_show_details & ~pcmk_show_failed_detail)); out 1217 tools/crm_mon.c print_option_help(out, 'R', pcmk_any_flags_set(show_opts, pcmk_show_details)); out 1219 tools/crm_mon.c print_option_help(out, 'b', pcmk_is_set(show_opts, pcmk_show_brief)); out 1220 tools/crm_mon.c print_option_help(out, 'j', pcmk_is_set(show_opts, pcmk_show_pending)); out 1221 tools/crm_mon.c curses_formatted_printf(out, "%d m: \t%s\n", interactive_fence_level, get_option_desc('m')); out 1222 tools/crm_mon.c curses_formatted_printf(out, "%s", "\nToggle fields via field letter, type any other key to return\n"); out 1474 tools/crm_mon.c int rc = pcmk__status(out, cib, fence_history, show, show_opts, out 1600 tools/crm_mon.c rc = pcmk__output_new(&out, args->output_ty, args->output_dest, argv); out 1609 tools/crm_mon.c pcmk__output_set_legacy_xml(out); out 1620 tools/crm_mon.c pcmk__output_text_set_fancy(out, true); out 1666 tools/crm_mon.c pcmk__register_lib_messages(out); out 1667 tools/crm_mon.c crm_mon_register_messages(out); out 1668 tools/crm_mon.c pe__register_messages(out); out 1669 tools/crm_mon.c stonith__register_messages(out); out 1672 tools/crm_mon.c pcmk__register_messages(out, fmt_functions); out 1675 tools/crm_mon.c out->version(out, false); out 1698 tools/crm_mon.c && (out->dest != stdout)) { out 1716 tools/crm_mon.c cib__set_output(cib, out); out 1722 tools/crm_mon.c out->message(out, "crm-mon-disconnected", out 1725 tools/crm_mon.c out->transient(out, "Connecting to cluster..."); out 1730 tools/crm_mon.c out->transient(out, "Connection failed. Retrying in %ums...", out 1810 tools/crm_mon.c out->err(out, "notification fork() failed: %s", strerror(errno)); out 2063 tools/crm_mon.c out->progress(out, false); out 2105 tools/crm_mon.c out->info(out, "--- Stale data ---"); out 2134 tools/crm_mon.c pcmk__pacemakerd_status(out, crm_system_name, options.reconnect_ms / 2, out 2138 tools/crm_mon.c if (out->dest != stdout) { out 2139 tools/crm_mon.c out->reset(out); out 2142 tools/crm_mon.c rc = pcmk__output_cluster_status(out, st, cib, current_cib, pcmkd_state, out 2156 tools/crm_mon.c if (out->dest != stdout) { out 2157 tools/crm_mon.c out->finish(out, CRM_EX_OK, true, NULL); out 2238 tools/crm_mon.c out->progress(out, false); out 2278 tools/crm_mon.c && (out != NULL)) { out 2280 tools/crm_mon.c out->finish(out, exit_code, false, NULL); out 2281 tools/crm_mon.c pcmk__output_free(out); out 2282 tools/crm_mon.c out = NULL; out 2302 tools/crm_mon.c if (out != NULL) { out 2303 tools/crm_mon.c out->err(out, "%s: %s", g_get_prgname(), error->message); out 2304 tools/crm_mon.c out->finish(out, exit_code, true, NULL); out 2305 tools/crm_mon.c pcmk__output_free(out); out 2317 tools/crm_mon.c if (out != NULL) { out 2319 tools/crm_mon.c out->finish(out, exit_code, true, NULL); out 2322 tools/crm_mon.c pcmk__output_free(out); out 65 tools/crm_mon.h void crm_mon_register_messages(pcmk__output_t *out); out 69 tools/crm_mon.h void curses_formatted_printf(pcmk__output_t *out, const char *format, ...) G_GNUC_PRINTF(2, 3); out 70 tools/crm_mon.h void curses_formatted_vprintf(pcmk__output_t *out, const char *format, va_list args) G_GNUC_PRINTF(2, 0); out 71 tools/crm_mon.h void curses_indented_printf(pcmk__output_t *out, const char *format, ...) G_GNUC_PRINTF(2, 3); out 72 tools/crm_mon.h void curses_indented_vprintf(pcmk__output_t *out, const char *format, va_list args) G_GNUC_PRINTF(2, 0); out 46 tools/crm_mon_curses.c curses_free_priv(pcmk__output_t *out) { out 49 tools/crm_mon_curses.c if (out == NULL || out->priv == NULL) { out 53 tools/crm_mon_curses.c priv = out->priv; out 57 tools/crm_mon_curses.c out->priv = NULL; out 61 tools/crm_mon_curses.c curses_init(pcmk__output_t *out) { out 64 tools/crm_mon_curses.c pcmk__assert(out != NULL); out 67 tools/crm_mon_curses.c if (out->priv != NULL) { out 70 tools/crm_mon_curses.c out->priv = calloc(1, sizeof(private_data_t)); out 71 tools/crm_mon_curses.c if (out->priv == NULL) { out 75 tools/crm_mon_curses.c priv = out->priv; out 88 tools/crm_mon_curses.c curses_finish(pcmk__output_t *out, crm_exit_t exit_status, bool print, void **copy_dest) { out 89 tools/crm_mon_curses.c pcmk__assert(out != NULL); out 97 tools/crm_mon_curses.c curses_reset(pcmk__output_t *out) { out 98 tools/crm_mon_curses.c pcmk__assert(out != NULL); out 100 tools/crm_mon_curses.c curses_free_priv(out); out 101 tools/crm_mon_curses.c curses_init(out); out 105 tools/crm_mon_curses.c curses_subprocess_output(pcmk__output_t *out, int exit_status, out 107 tools/crm_mon_curses.c pcmk__assert(out != NULL); out 126 tools/crm_mon_curses.c curses_ver(pcmk__output_t *out, bool extended) { out 127 tools/crm_mon_curses.c pcmk__assert(out != NULL); out 132 tools/crm_mon_curses.c curses_error(pcmk__output_t *out, const char *format, ...) { out 135 tools/crm_mon_curses.c pcmk__assert(out != NULL); out 154 tools/crm_mon_curses.c curses_info(pcmk__output_t *out, const char *format, ...) { out 157 tools/crm_mon_curses.c pcmk__assert(out != NULL); out 159 tools/crm_mon_curses.c if (out->is_quiet(out)) { out 179 tools/crm_mon_curses.c curses_output_xml(pcmk__output_t *out, const char *name, const char *buf) { out 180 tools/crm_mon_curses.c pcmk__assert(out != NULL); out 181 tools/crm_mon_curses.c curses_indented_printf(out, "%s", buf); out 186 tools/crm_mon_curses.c curses_begin_list(pcmk__output_t *out, const char *singular_noun, const char *plural_noun, out 192 tools/crm_mon_curses.c pcmk__assert((out != NULL) && (out->priv != NULL)); out 193 tools/crm_mon_curses.c priv = out->priv; out 202 tools/crm_mon_curses.c curses_indented_vprintf(out, format, ap); out 218 tools/crm_mon_curses.c curses_list_item(pcmk__output_t *out, const char *id, const char *format, ...) { out 221 tools/crm_mon_curses.c pcmk__assert(out != NULL); out 226 tools/crm_mon_curses.c curses_indented_printf(out, "%s: ", id); out 229 tools/crm_mon_curses.c curses_indented_vprintf(out, format, ap); out 235 tools/crm_mon_curses.c out->increment_list(out); out 239 tools/crm_mon_curses.c curses_increment_list(pcmk__output_t *out) { out 243 tools/crm_mon_curses.c pcmk__assert((out != NULL) && (out->priv != NULL)); out 244 tools/crm_mon_curses.c priv = out->priv; out 252 tools/crm_mon_curses.c curses_end_list(pcmk__output_t *out) { out 256 tools/crm_mon_curses.c pcmk__assert((out != NULL) && (out->priv != NULL)); out 257 tools/crm_mon_curses.c priv = out->priv; out 263 tools/crm_mon_curses.c curses_indented_printf(out, "%d %s found\n", node->len, node->singular_noun); out 265 tools/crm_mon_curses.c curses_indented_printf(out, "%d %s found\n", node->len, node->plural_noun); out 273 tools/crm_mon_curses.c curses_is_quiet(pcmk__output_t *out) { out 274 tools/crm_mon_curses.c pcmk__assert(out != NULL); out 275 tools/crm_mon_curses.c return out->quiet; out 279 tools/crm_mon_curses.c curses_spacer(pcmk__output_t *out) { out 280 tools/crm_mon_curses.c pcmk__assert(out != NULL); out 285 tools/crm_mon_curses.c curses_progress(pcmk__output_t *out, bool end) { out 286 tools/crm_mon_curses.c pcmk__assert(out != NULL); out 377 tools/crm_mon_curses.c curses_formatted_vprintf(pcmk__output_t *out, const char *format, va_list args) { out 386 tools/crm_mon_curses.c curses_formatted_printf(pcmk__output_t *out, const char *format, ...) { out 390 tools/crm_mon_curses.c curses_formatted_vprintf(out, format, ap); out 396 tools/crm_mon_curses.c curses_indented_vprintf(pcmk__output_t *out, const char *format, va_list args) { out 400 tools/crm_mon_curses.c pcmk__assert((out != NULL) && (out->priv != NULL)); out 402 tools/crm_mon_curses.c priv = out->priv; out 414 tools/crm_mon_curses.c curses_formatted_vprintf(out, format, args); out 419 tools/crm_mon_curses.c curses_indented_printf(pcmk__output_t *out, const char *format, ...) { out 423 tools/crm_mon_curses.c curses_indented_vprintf(out, format, ap); out 429 tools/crm_mon_curses.c cluster_maint_mode_console(pcmk__output_t *out, va_list args) { out 433 tools/crm_mon_curses.c curses_formatted_printf(out, "\n *** Resource management is DISABLED ***\n"); out 434 tools/crm_mon_curses.c curses_formatted_printf(out, " The cluster will not attempt to start, stop or recover services\n"); out 437 tools/crm_mon_curses.c curses_formatted_printf(out, "\n *** Resource management is DISABLED ***\n"); out 438 tools/crm_mon_curses.c curses_formatted_printf(out, " The cluster will keep all resources stopped\n"); out 450 tools/crm_mon_curses.c cluster_status_console(pcmk__output_t *out, va_list args) { out 454 tools/crm_mon_curses.c rc = pcmk__cluster_status_text(out, args); out 462 tools/crm_mon_curses.c stonith_event_console(pcmk__output_t *out, va_list args) out 474 tools/crm_mon_curses.c curses_indented_printf(out, "%s\n", desc); out 490 tools/crm_mon_curses.c crm_mon_register_messages(pcmk__output_t *out) { out 492 tools/crm_mon_curses.c pcmk__register_messages(out, fmt_functions); out 51 tools/crm_node.c static pcmk__output_t *out = NULL; out 148 tools/crm_node.c node_id_default(pcmk__output_t *out, va_list args) { out 151 tools/crm_node.c out->info(out, "%" PRIu32, node_id); out 157 tools/crm_node.c node_id_xml(pcmk__output_t *out, va_list args) { out 162 tools/crm_node.c pcmk__output_create_xml_node(out, PCMK_XE_NODE_INFO, out 172 tools/crm_node.c simple_node_list_default(pcmk__output_t *out, va_list args) out 178 tools/crm_node.c out->info(out, "%" PRIu32 " %s %s", node->id, pcmk__s(node->uname, ""), out 187 tools/crm_node.c simple_node_list_xml(pcmk__output_t *out, va_list args) out 191 tools/crm_node.c out->begin_list(out, NULL, NULL, PCMK_XE_NODES); out 197 tools/crm_node.c pcmk__output_create_xml_node(out, PCMK_XE_NODE, out 206 tools/crm_node.c out->end_list(out); out 213 tools/crm_node.c node_name_default(pcmk__output_t *out, va_list args) { out 217 tools/crm_node.c out->info(out, "%s", node_name); out 223 tools/crm_node.c node_name_xml(pcmk__output_t *out, va_list args) { out 229 tools/crm_node.c pcmk__output_create_xml_node(out, PCMK_XE_NODE_INFO, out 240 tools/crm_node.c partition_list_default(pcmk__output_t *out, va_list args) out 254 tools/crm_node.c out->info(out, "%s", buffer->str); out 264 tools/crm_node.c partition_list_xml(pcmk__output_t *out, va_list args) out 268 tools/crm_node.c out->begin_list(out, NULL, NULL, PCMK_XE_NODES); out 276 tools/crm_node.c pcmk__output_create_xml_node(out, PCMK_XE_NODE, out 285 tools/crm_node.c out->end_list(out); out 291 tools/crm_node.c quorum_default(pcmk__output_t *out, va_list args) { out 294 tools/crm_node.c out->info(out, "%d", have_quorum); out 300 tools/crm_node.c quorum_xml(pcmk__output_t *out, va_list args) { out 303 tools/crm_node.c pcmk__output_create_xml_node(out, PCMK_XE_CLUSTER_INFO, out 375 tools/crm_node.c out->message(out, "partition-list", reply->data.nodes); out 377 tools/crm_node.c out->message(out, "simple-node-list", reply->data.nodes); out 438 tools/crm_node.c int rc = pcmk__query_node_info(out, &nodeid, NULL, NULL, NULL, NULL, NULL, out 450 tools/crm_node.c rc = out->message(out, "node-id", nodeid); out 472 tools/crm_node.c rc = out->message(out, "node-name", 0UL, name); out 483 tools/crm_node.c rc = pcmk__query_node_name(out, nodeid, &node_name, 0); out 489 tools/crm_node.c rc = out->message(out, "node-name", 0UL, node_name); out 508 tools/crm_node.c int rc = pcmk__query_node_info(out, NULL, NULL, NULL, NULL, &quorum, NULL, out 520 tools/crm_node.c rc = out->message(out, "quorum", quorum); out 798 tools/crm_node.c rc = pcmk__output_new(&out, args->output_ty, args->output_dest, argv); out 808 tools/crm_node.c out->version(out, false); out 815 tools/crm_node.c out->err(out, "%s", help); out 830 tools/crm_node.c pcmk__register_lib_messages(out); out 831 tools/crm_node.c pcmk__register_messages(out, fmt_functions); out 867 tools/crm_node.c pcmk__output_and_clear_error(&error, out); out 869 tools/crm_node.c if (out != NULL) { out 870 tools/crm_node.c out->finish(out, exit_code, true, NULL); out 871 tools/crm_node.c pcmk__output_free(out); out 124 tools/crm_resource.c static pcmk__output_t *out = NULL; out 149 tools/crm_resource.c pcmk__output_and_clear_error(&error, out); out 151 tools/crm_resource.c if (out != NULL) { out 152 tools/crm_resource.c out->finish(out, ec, true, NULL); out 153 tools/crm_resource.c pcmk__output_free(out); out 224 tools/crm_resource.c out->err(out, "Error: bad reply from controller: %s", out 231 tools/crm_resource.c out->info(out, "... got reply (done)"); out 236 tools/crm_resource.c out->info(out, "... got reply"); out 252 tools/crm_resource.c out->info(out, "Waiting for %u %s from the controller", out 851 tools/crm_resource.c ban_or_move(pcmk__output_t *out, pcmk_resource_t *rsc, out 863 tools/crm_resource.c rc = cli_resource_ban(out, options.rsc_id, current->details->uname, move_lifetime, out 883 tools/crm_resource.c rc = cli_resource_ban(out, options.rsc_id, current->details->uname, move_lifetime, out 912 tools/crm_resource.c cleanup(pcmk__output_t *out, pcmk_resource_t *rsc, pcmk_node_t *node) out 926 tools/crm_resource.c if ((rc == pcmk_rc_ok) && !out->is_quiet(out)) { out 928 tools/crm_resource.c cli_resource_check(out, rsc, node); out 937 tools/crm_resource.c clear_constraints(pcmk__output_t *out, xmlNodePtr *cib_xml_copy) out 946 tools/crm_resource.c if (!out->is_quiet(out)) { out 960 tools/crm_resource.c if (!out->is_quiet(out)) { out 973 tools/crm_resource.c if (!out->is_quiet(out)) { out 993 tools/crm_resource.c out->info(out, "Removing constraint: %s", (char *) ele->data); out 1027 tools/crm_resource.c scheduler->priv = out; out 1047 tools/crm_resource.c exit_code = pcmk_rc2exitc(pcmk__list_fencing_params(out, out 1051 tools/crm_resource.c exit_code = pcmk_rc2exitc(pcmk__list_primitive_meta(out, out 1063 tools/crm_resource.c refresh(pcmk__output_t *out) out 1087 tools/crm_resource.c out->info(out, "Dry run: skipping clean-up of %s due to CIB_file", out 1107 tools/crm_resource.c refresh_resource(pcmk__output_t *out, pcmk_resource_t *rsc, pcmk_node_t *node) out 1120 tools/crm_resource.c if ((rc == pcmk_rc_ok) && !out->is_quiet(out)) { out 1122 tools/crm_resource.c cli_resource_check(out, rsc, node); out 1164 tools/crm_resource.c show_metadata(pcmk__output_t *out, const char *agent_spec) out 1191 tools/crm_resource.c out->output_xml(out, PCMK_XE_METADATA, metadata); out 1548 tools/crm_resource.c rc = pcmk__output_new(&out, args->output_ty, args->output_dest, argv); out 1556 tools/crm_resource.c pe__register_messages(out); out 1557 tools/crm_resource.c crm_resource_register_messages(out); out 1558 tools/crm_resource.c lrmd__register_messages(out); out 1559 tools/crm_resource.c pcmk__register_lib_messages(out); out 1561 tools/crm_resource.c out->quiet = args->quiet; out 1646 tools/crm_resource.c pcmk__output_enable_list_element(out); out 1657 tools/crm_resource.c pcmk__output_text_set_fancy(out, true); out 1665 tools/crm_resource.c out->version(out, false); out 1799 tools/crm_resource.c rc = out->message(out, "resource-list", scheduler, out 1810 tools/crm_resource.c rc = out->message(out, "resource-names-list", scheduler->resources); out 1823 tools/crm_resource.c rc = pcmk__list_alternatives(out, options.agent_spec); out 1827 tools/crm_resource.c rc = pcmk__list_agents(out, options.agent_spec); out 1831 tools/crm_resource.c rc = pcmk__list_standards(out); out 1835 tools/crm_resource.c rc = pcmk__list_providers(out, options.agent_spec); out 1839 tools/crm_resource.c rc = show_metadata(out, options.agent_spec); out 1848 tools/crm_resource.c rc = cli_resource_restart(out, rsc, node, options.move_lifetime, out 1855 tools/crm_resource.c rc = wait_till_stable(out, options.timeout_ms, cib_conn); out 1860 tools/crm_resource.c exit_code = cli_resource_execute_from_params(out, NULL, out 1878 tools/crm_resource.c rc = pcmk__resource_digests(out, rsc, node, out 1884 tools/crm_resource.c rc = out->message(out, "locations-and-colocations", rsc, out 1891 tools/crm_resource.c out); out 1917 tools/crm_resource.c rc = out->message(out, "resource-search-list", nodes, options.rsc_id); out 1934 tools/crm_resource.c rc = out->message(out, "resource-reasons-list", out 1940 tools/crm_resource.c rc = clear_constraints(out, &cib_xml_copy); out 1945 tools/crm_resource.c rc = ban_or_move(out, rsc, options.move_lifetime); out 1963 tools/crm_resource.c rc = ban_or_move(out, rsc, options.move_lifetime); out 1967 tools/crm_resource.c rc = cli_resource_ban(out, options.rsc_id, node->details->uname, out 1981 tools/crm_resource.c rc = out->message(out, "property-list", rsc, options.prop_name); out 2000 tools/crm_resource.c out->err(out, "%s is active on more than one node," out 2040 tools/crm_resource.c rc = out->message(out, "attribute-list", rsc, options.prop_name, value); out 2086 tools/crm_resource.c cleanup(out, rsc, node); out 2092 tools/crm_resource.c rc = refresh(out); out 2094 tools/crm_resource.c refresh_resource(out, rsc, node); out 65 tools/crm_resource.h int cli_resource_prefer(pcmk__output_t *out, const char *rsc_id, const char *host, out 68 tools/crm_resource.h int cli_resource_ban(pcmk__output_t *out, const char *rsc_id, const char *host, out 77 tools/crm_resource.h void cli_resource_print_cts(pcmk_resource_t *rsc, pcmk__output_t *out); out 86 tools/crm_resource.h int cli_resource_check(pcmk__output_t *out, pcmk_resource_t *rsc, out 99 tools/crm_resource.h int cli_resource_restart(pcmk__output_t *out, pcmk_resource_t *rsc, out 107 tools/crm_resource.h crm_exit_t cli_resource_execute_from_params(pcmk__output_t *out, const char *rsc_name, out 134 tools/crm_resource.h int wait_till_stable(pcmk__output_t *out, guint timeout_ms, cib_t * cib); out 138 tools/crm_resource.h void crm_resource_register_messages(pcmk__output_t *out); out 15 tools/crm_resource_ban.c parse_cli_lifetime(pcmk__output_t *out, const char *move_lifetime) out 28 tools/crm_resource_ban.c out->err(out, "Invalid duration specified: %s\n" out 37 tools/crm_resource_ban.c out->err(out, "Unable to add %s to current time\n" out 51 tools/crm_resource_ban.c out->info(out, "Migration will take effect until: %s", later_s); out 61 tools/crm_resource_ban.c cli_resource_ban(pcmk__output_t *out, const char *rsc_id, const char *host, out 70 tools/crm_resource_ban.c later_s = parse_cli_lifetime(out, move_lifetime); out 80 tools/crm_resource_ban.c out->info(out, out 135 tools/crm_resource_ban.c int banrc = cli_resource_ban(out, rsc_id, host, move_lifetime, out 148 tools/crm_resource_ban.c cli_resource_prefer(pcmk__output_t *out,const char *rsc_id, const char *host, out 152 tools/crm_resource_ban.c char *later_s = parse_cli_lifetime(out, move_lifetime); out 215 tools/crm_resource_ban.c int preferrc = cli_resource_prefer(out, rsc_id, host, move_lifetime, out 24 tools/crm_resource_print.c pcmk__output_t *out = scheduler->priv; out 45 tools/crm_resource_print.c out->info(out, "Constraint %s %s %s %s %s %s %s", out 66 tools/crm_resource_print.c cli_resource_print_cts(pcmk_resource_t *rsc, pcmk__output_t *out) out 85 tools/crm_resource_print.c out->info(out, "Resource: %s %s %s %s %s %s %s %s %d %lld %#.16llx", out 91 tools/crm_resource_print.c g_list_foreach(rsc->children, (GFunc) cli_resource_print_cts, out); out 99 tools/crm_resource_print.c pcmk__output_t *out = scheduler->priv; out 107 tools/crm_resource_print.c out->begin_list(out, NULL, NULL, "Resource Operations"); out 112 tools/crm_resource_print.c out->message(out, "node-and-op", scheduler, xml_op); out 115 tools/crm_resource_print.c out->end_list(out); out 124 tools/crm_resource_print.c pcmk__output_t *out = scheduler->priv; out 130 tools/crm_resource_print.c out->begin_list(out, NULL, NULL, "Resource Config"); out 131 tools/crm_resource_print.c out->message(out, pcmk__map_element_name(rsc->xml), show_opts, rsc, all, out 133 tools/crm_resource_print.c out->message(out, "resource-config", rsc, !expanded); out 134 tools/crm_resource_print.c out->end_list(out); out 142 tools/crm_resource_print.c attribute_changed_default(pcmk__output_t *out, va_list args) out 146 tools/crm_resource_print.c out->info(out, "Set '%s' option: " out 159 tools/crm_resource_print.c attribute_changed_xml(pcmk__output_t *out, va_list args) out 163 tools/crm_resource_print.c pcmk__output_xml_create_parent(out, (const char *) ud->rsc->xml->name, out 167 tools/crm_resource_print.c pcmk__output_xml_create_parent(out, ud->attr_set_type, out 171 tools/crm_resource_print.c pcmk__output_create_xml_node(out, PCMK_XE_NVPAIR, out 177 tools/crm_resource_print.c pcmk__output_xml_pop_parent(out); out 178 tools/crm_resource_print.c pcmk__output_xml_pop_parent(out); out 185 tools/crm_resource_print.c attribute_changed_list_default(pcmk__output_t *out, va_list args) out 195 tools/crm_resource_print.c out->message(out, "attribute-changed", ud); out 203 tools/crm_resource_print.c attribute_changed_list_xml(pcmk__output_t *out, va_list args) out 211 tools/crm_resource_print.c pcmk__output_xml_create_parent(out, PCMK__XE_RESOURCE_SETTINGS, NULL); out 215 tools/crm_resource_print.c out->message(out, "attribute-changed", ud); out 218 tools/crm_resource_print.c pcmk__output_xml_pop_parent(out); out 225 tools/crm_resource_print.c attribute_list_default(pcmk__output_t *out, va_list args) { out 231 tools/crm_resource_print.c out->begin_list(out, NULL, NULL, "Attributes"); out 232 tools/crm_resource_print.c out->list_item(out, attr, "%s", value); out 233 tools/crm_resource_print.c out->end_list(out); out 236 tools/crm_resource_print.c out->err(out, "Attribute '%s' not found for '%s'", attr, rsc->id); out 244 tools/crm_resource_print.c agent_status_default(pcmk__output_t *out, va_list args) { out 258 tools/crm_resource_print.c out->info(out, "Operation %s%s%s (%s%s%s:%s) returned %d (%s%s%s)", out 271 tools/crm_resource_print.c out->err(out, out 289 tools/crm_resource_print.c agent_status_xml(pcmk__output_t *out, va_list args) { out 304 tools/crm_resource_print.c pcmk__output_create_xml_node(out, PCMK_XE_AGENT_STATUS, out 321 tools/crm_resource_print.c attribute_list_text(pcmk__output_t *out, va_list args) { out 327 tools/crm_resource_print.c pcmk__formatted_printf(out, "%s\n", value); out 330 tools/crm_resource_print.c out->err(out, "Attribute '%s' not found for '%s'", attr, rsc->id); out 336 tools/crm_resource_print.c override_default(pcmk__output_t *out, va_list args) { out 342 tools/crm_resource_print.c out->list_item(out, NULL, "Overriding the cluster configuration with '%s' = '%s'", out 345 tools/crm_resource_print.c out->list_item(out, NULL, "Overriding the cluster configuration for '%s' with '%s' = '%s'", out 354 tools/crm_resource_print.c override_xml(pcmk__output_t *out, va_list args) { out 359 tools/crm_resource_print.c xmlNodePtr node = pcmk__output_create_xml_node(out, PCMK_XE_OVERRIDE, out 373 tools/crm_resource_print.c property_list_default(pcmk__output_t *out, va_list args) { out 380 tools/crm_resource_print.c out->begin_list(out, NULL, NULL, "Properties"); out 381 tools/crm_resource_print.c out->list_item(out, attr, "%s", value); out 382 tools/crm_resource_print.c out->end_list(out); out 390 tools/crm_resource_print.c property_list_text(pcmk__output_t *out, va_list args) { out 397 tools/crm_resource_print.c pcmk__formatted_printf(out, "%s\n", value); out 407 tools/crm_resource_print.c resource_agent_action_default(pcmk__output_t *out, va_list args) { out 427 tools/crm_resource_print.c out->begin_list(out, NULL, NULL, PCMK_XE_OVERRIDES); out 431 tools/crm_resource_print.c out->message(out, "override", rsc_name, name, value); out 434 tools/crm_resource_print.c out->end_list(out); out 437 tools/crm_resource_print.c out->message(out, "agent-status", status, action, rsc_name, class, provider, out 453 tools/crm_resource_print.c out->output_xml(out, PCMK_XE_COMMAND, stdout_data); out 456 tools/crm_resource_print.c out->subprocess_output(out, rc, stdout_data, stderr_data); out 467 tools/crm_resource_print.c resource_agent_action_xml(pcmk__output_t *out, va_list args) { out 484 tools/crm_resource_print.c node = pcmk__output_xml_create_parent(out, PCMK_XE_RESOURCE_AGENT_ACTION, out 501 tools/crm_resource_print.c out->begin_list(out, NULL, NULL, PCMK_XE_OVERRIDES); out 505 tools/crm_resource_print.c out->message(out, "override", rsc_name, name, value); out 508 tools/crm_resource_print.c out->end_list(out); out 511 tools/crm_resource_print.c out->message(out, "agent-status", status, action, rsc_name, class, provider, out 521 tools/crm_resource_print.c out->output_xml(out, PCMK_XE_COMMAND, stdout_data); out 524 tools/crm_resource_print.c out->subprocess_output(out, rc, stdout_data, stderr_data); out 528 tools/crm_resource_print.c pcmk__output_xml_pop_parent(out); out 534 tools/crm_resource_print.c resource_check_list_default(pcmk__output_t *out, va_list args) { out 543 tools/crm_resource_print.c out->begin_list(out, NULL, NULL, "Resource Checks"); out 546 tools/crm_resource_print.c out->list_item(out, "check", "Configuration specifies '%s' should remain stopped", out 551 tools/crm_resource_print.c out->list_item(out, "check", "Configuration specifies '%s' should not be promoted", out 556 tools/crm_resource_print.c out->list_item(out, "check", "Configuration prevents cluster from stopping or starting unmanaged '%s'", out 561 tools/crm_resource_print.c out->list_item(out, "check", "'%s' is locked to node %s due to shutdown", out 566 tools/crm_resource_print.c out->list_item(out, "check", out 574 tools/crm_resource_print.c out->end_list(out); out 580 tools/crm_resource_print.c resource_check_list_xml(pcmk__output_t *out, va_list args) { out 585 tools/crm_resource_print.c xmlNodePtr node = pcmk__output_create_xml_node(out, PCMK_XE_CHECK, out 614 tools/crm_resource_print.c resource_search_list_default(pcmk__output_t *out, va_list args) out 622 tools/crm_resource_print.c if (!out->is_quiet(out) && nodes == NULL) { out 623 tools/crm_resource_print.c out->err(out, "resource %s is NOT running", requested_name); out 631 tools/crm_resource_print.c out->begin_list(out, NULL, NULL, "Nodes"); out 636 tools/crm_resource_print.c if (out->is_quiet(out)) { out 637 tools/crm_resource_print.c out->list_item(out, "node", "%s", ni->node_name); out 648 tools/crm_resource_print.c out->list_item(out, "node", "resource %s is running on: %s%s", out 654 tools/crm_resource_print.c out->end_list(out); out 662 tools/crm_resource_print.c resource_search_list_xml(pcmk__output_t *out, va_list args) out 667 tools/crm_resource_print.c pcmk__output_xml_create_parent(out, PCMK_XE_NODES, out 673 tools/crm_resource_print.c xmlNodePtr sub_node = pcmk__output_create_xml_text_node(out, out 682 tools/crm_resource_print.c pcmk__output_xml_pop_parent(out); out 689 tools/crm_resource_print.c resource_reasons_list_default(pcmk__output_t *out, va_list args) out 697 tools/crm_resource_print.c out->begin_list(out, NULL, NULL, "Resource Reasons"); out 708 tools/crm_resource_print.c out->list_item(out, "reason", "Resource %s is not running", rsc->id); out 710 tools/crm_resource_print.c out->list_item(out, "reason", "Resource %s is running", rsc->id); out 713 tools/crm_resource_print.c cli_resource_check(out, rsc, NULL); out 720 tools/crm_resource_print.c out->list_item(out, "reason", "Resource %s is running on host %s", out 723 tools/crm_resource_print.c out->list_item(out, "reason", "Resource %s is not running on host %s", out 727 tools/crm_resource_print.c cli_resource_check(out, rsc, node); out 738 tools/crm_resource_print.c out->list_item(out, "reason", "Resource %s is running on host %s", out 740 tools/crm_resource_print.c cli_resource_check(out, rsc, node); out 745 tools/crm_resource_print.c out->list_item(out, "reason", "Resource %s is assigned to host %s but not running", out 747 tools/crm_resource_print.c cli_resource_check(out, rsc, node); out 758 tools/crm_resource_print.c out->list_item(out, "reason", "Resource %s is %srunning", out 760 tools/crm_resource_print.c cli_resource_check(out, rsc, NULL); out 764 tools/crm_resource_print.c out->end_list(out); out 771 tools/crm_resource_print.c resource_reasons_list_xml(pcmk__output_t *out, va_list args) out 779 tools/crm_resource_print.c xmlNodePtr xml_node = pcmk__output_xml_create_parent(out, PCMK_XE_REASON, out 786 tools/crm_resource_print.c pcmk__output_xml_create_parent(out, PCMK_XE_RESOURCES, NULL); out 795 tools/crm_resource_print.c pcmk__output_xml_create_parent(out, PCMK_XE_RESOURCE, out 800 tools/crm_resource_print.c cli_resource_check(out, rsc, NULL); out 801 tools/crm_resource_print.c pcmk__output_xml_pop_parent(out); out 806 tools/crm_resource_print.c pcmk__output_xml_pop_parent(out); out 813 tools/crm_resource_print.c cli_resource_check(out, rsc, node); out 822 tools/crm_resource_print.c pcmk__output_xml_create_parent(out, PCMK_XE_RESOURCES, NULL); out 827 tools/crm_resource_print.c pcmk__output_xml_create_parent(out, PCMK_XE_RESOURCE, out 833 tools/crm_resource_print.c cli_resource_check(out, rsc, node); out 834 tools/crm_resource_print.c pcmk__output_xml_pop_parent(out); out 840 tools/crm_resource_print.c pcmk__output_xml_create_parent(out, PCMK_XE_RESOURCE, out 846 tools/crm_resource_print.c cli_resource_check(out, rsc, node); out 847 tools/crm_resource_print.c pcmk__output_xml_pop_parent(out); out 850 tools/crm_resource_print.c pcmk__output_xml_pop_parent(out); out 860 tools/crm_resource_print.c cli_resource_check(out, rsc, NULL); out 864 tools/crm_resource_print.c pcmk__output_xml_pop_parent(out); out 869 tools/crm_resource_print.c add_resource_name(pcmk_resource_t *rsc, pcmk__output_t *out) out 876 tools/crm_resource_print.c out->list_item(out, PCMK_XE_RESOURCE, "%s", rsc->id); out 878 tools/crm_resource_print.c g_list_foreach(rsc->children, (GFunc) add_resource_name, out); out 884 tools/crm_resource_print.c resource_names(pcmk__output_t *out, va_list args) { out 888 tools/crm_resource_print.c out->err(out, "NO resources configured\n"); out 892 tools/crm_resource_print.c out->begin_list(out, NULL, NULL, "Resource Names"); out 893 tools/crm_resource_print.c g_list_foreach(resources, (GFunc) add_resource_name, out); out 894 tools/crm_resource_print.c out->end_list(out); out 925 tools/crm_resource_print.c crm_resource_register_messages(pcmk__output_t *out) { out 926 tools/crm_resource_print.c pcmk__register_messages(out, fmt_functions); out 85 tools/crm_resource_runtime.c find_resource_attr(pcmk__output_t *out, cib_t * the_cib, const char *attr, out 142 tools/crm_resource_runtime.c pcmk__warn_multiple_name_matches(out, xml_search, attr_name); out 143 tools/crm_resource_runtime.c out->spacer(out); out 159 tools/crm_resource_runtime.c find_matching_attr_resources_recursive(pcmk__output_t *out, out 170 tools/crm_resource_runtime.c find_matching_attr_resources_recursive(out, result, out 180 tools/crm_resource_runtime.c rc = find_resource_attr(out, cib, PCMK_XA_ID, lookup_id, attr_set_type, out 195 tools/crm_resource_runtime.c find_matching_attr_resources(pcmk__output_t *out, pcmk_resource_t *rsc, out 211 tools/crm_resource_runtime.c int rc = find_resource_attr(out, cib, PCMK_XA_ID, rsc_id, attr_set_type, out 216 tools/crm_resource_runtime.c out->info(out, "Performing %s of '%s' on '%s', the parent of '%s'", out 227 tools/crm_resource_runtime.c rc = find_resource_attr(out, cib, PCMK_XA_ID, lookup_id, out 232 tools/crm_resource_runtime.c out->info(out, "A value for '%s' already exists in child '%s', performing %s on that instead of '%s'", out 241 tools/crm_resource_runtime.c find_matching_attr_resources_recursive(out, &result, rsc, attr_set, out 248 tools/crm_resource_runtime.c update_element_attribute(pcmk__output_t *out, pcmk_resource_t *rsc, out 262 tools/crm_resource_runtime.c out->info(out, "Set attribute: " PCMK_XA_NAME "=%s value=%s", out 270 tools/crm_resource_runtime.c resources_with_attr(pcmk__output_t *out, cib_t *cib, pcmk_resource_t *rsc, out 282 tools/crm_resource_runtime.c rc = find_resource_attr(out, cib, PCMK_XA_ID, top_id, out 291 tools/crm_resource_runtime.c if (!out->is_quiet(out)) { out 292 tools/crm_resource_runtime.c out->err(out, out 296 tools/crm_resource_runtime.c out->err(out, out 312 tools/crm_resource_runtime.c *resources = find_matching_attr_resources(out, rsc, requested_name, out 357 tools/crm_resource_runtime.c pcmk__output_t *out = rsc->cluster->priv; out 364 tools/crm_resource_runtime.c find_resource_attr(out, cib, PCMK_XA_ID, top_id, NULL, NULL, NULL, out 368 tools/crm_resource_runtime.c rc = resources_with_attr(out, cib, rsc, requested_name, attr_set, attr_set_type, out 389 tools/crm_resource_runtime.c rc = find_resource_attr(out, cib, PCMK_XA_ID, lookup_id, attr_set_type, out 509 tools/crm_resource_runtime.c pcmk__output_t *out = rsc->cluster->priv; out 515 tools/crm_resource_runtime.c return update_element_attribute(out, rsc, cib, attr_name, attr_value); out 534 tools/crm_resource_runtime.c out->message(out, "attribute-changed-list", results); out 548 tools/crm_resource_runtime.c pcmk__output_t *out = rsc->cluster->priv; out 553 tools/crm_resource_runtime.c find_resource_attr(out, cib, PCMK_XA_ID, out 559 tools/crm_resource_runtime.c resources = find_matching_attr_resources(out, rsc, requested_name, out 570 tools/crm_resource_runtime.c out->info(out, "Deleted attribute: %s", attr_name); out 588 tools/crm_resource_runtime.c rc = find_resource_attr(out, cib, PCMK_XA_ID, lookup_id, attr_set_type, out 620 tools/crm_resource_runtime.c out->info(out, "Deleted '%s' option: " PCMK_XA_ID "=%s%s%s%s%s", out 642 tools/crm_resource_runtime.c pcmk__output_t *out = scheduler->priv; out 653 tools/crm_resource_runtime.c out->err(out, "Resource %s not found", rsc_id); out 657 tools/crm_resource_runtime.c out->err(out, "We can only process primitive resources, not %s", rsc_id); out 665 tools/crm_resource_runtime.c out->err(out, "Resource %s does not have a class and type", rsc_id); out 673 tools/crm_resource_runtime.c out->err(out, "Node %s not found", host_uname); out 679 tools/crm_resource_runtime.c out->err(out, "Node %s is not online", host_uname); out 688 tools/crm_resource_runtime.c out->err(out, "No cluster connection to Pacemaker Remote node %s detected", out 761 tools/crm_resource_runtime.c clear_rsc_failures(pcmk__output_t *out, pcmk_ipc_api_t *controld_api, out 873 tools/crm_resource_runtime.c pcmk__output_t *out = scheduler->priv; out 937 tools/crm_resource_runtime.c out->err(out, "Unable to clean up %s because node %s not found", out 943 tools/crm_resource_runtime.c out->err(out, "Unable to clean up %s because resource discovery disabled on %s", out 949 tools/crm_resource_runtime.c out->err(out, "Dry run: skipping clean-up of %s on %s due to CIB_file", out 956 tools/crm_resource_runtime.c out->err(out, "Unable to clean up %s failures on %s: %s", out 962 tools/crm_resource_runtime.c rc = clear_rsc_failures(out, controld_api, host_uname, rsc->id, operation, out 968 tools/crm_resource_runtime.c out->err(out, "Cleaned %s failures on %s, but unable to clean history: %s", out 971 tools/crm_resource_runtime.c out->info(out, "Cleaned up %s on %s", rsc->id, host_uname); out 982 tools/crm_resource_runtime.c pcmk__output_t *out = scheduler->priv; out 988 tools/crm_resource_runtime.c out->info(out, "Dry run: skipping clean-up of %s due to CIB_file", out 997 tools/crm_resource_runtime.c out->err(out, "Unknown node: %s", node_name); out 1008 tools/crm_resource_runtime.c out->err(out, "Unable to clean up all failures on %s: %s", out 1014 tools/crm_resource_runtime.c rc = clear_rsc_failures(out, controld_api, node_name, NULL, out 1017 tools/crm_resource_runtime.c out->err(out, "Cleaned all resource failures on %s, but unable to clean history: %s", out 1025 tools/crm_resource_runtime.c rc = clear_rsc_failures(out, controld_api, node->details->uname, NULL, out 1028 tools/crm_resource_runtime.c out->err(out, "Cleaned all resource failures on all nodes, but unable to clean history: %s", out 1035 tools/crm_resource_runtime.c out->info(out, "Cleaned up all resources on %s", display_name); out 1141 tools/crm_resource_runtime.c cli_resource_check(pcmk__output_t *out, pcmk_resource_t *rsc, pcmk_node_t *node) out 1150 tools/crm_resource_runtime.c return out->message(out, "resource-check-list", &checks); out 1275 tools/crm_resource_runtime.c static void display_list(pcmk__output_t *out, GList *items, const char *tag) out 1280 tools/crm_resource_runtime.c out->info(out, "%s%s", tag, (const char *)item->data); out 1321 tools/crm_resource_runtime.c update_scheduler_input_to_cib(pcmk__output_t *out, pcmk_scheduler_t *scheduler, out 1331 tools/crm_resource_runtime.c out->err(out, "Could not obtain the current CIB: %s (%d)", pcmk_rc_str(rc), rc); out 1336 tools/crm_resource_runtime.c out->err(out, "Could not upgrade the current CIB XML"); out 1353 tools/crm_resource_runtime.c pcmk__output_t *out = scheduler->priv; out 1358 tools/crm_resource_runtime.c rc = update_scheduler_input_to_cib(out, scheduler, cib); out 1371 tools/crm_resource_runtime.c out->err(out, "Could not create shadow cib: '%s'", pid); out 1378 tools/crm_resource_runtime.c out->err(out, "Could not populate shadow cib: %s", pcmk_rc_str(rc)); out 1386 tools/crm_resource_runtime.c out->err(out, "Could not connect to shadow cib: %s", out 1395 tools/crm_resource_runtime.c prev_quiet = out->is_quiet(out); out 1396 tools/crm_resource_runtime.c out->quiet = true; out 1398 tools/crm_resource_runtime.c out->quiet = prev_quiet; out 1538 tools/crm_resource_runtime.c cli_resource_restart(pcmk__output_t *out, pcmk_resource_t *rsc, out 1592 tools/crm_resource_runtime.c out->err(out, "%s is not running on %s and so cannot be restarted", id, host); out 1594 tools/crm_resource_runtime.c out->err(out, "%s is not running anywhere and so cannot be restarted", id); out 1600 tools/crm_resource_runtime.c out->err(out, "Unmanaged resources cannot be restarted."); out 1643 tools/crm_resource_runtime.c out->err(out, "Could not allocate scheduler data: %s", pcmk_rc_str(rc)); out 1647 tools/crm_resource_runtime.c scheduler->priv = out; out 1651 tools/crm_resource_runtime.c out->err(out, "Could not get new resource list: %s (%d)", pcmk_rc_str(rc), rc); out 1662 tools/crm_resource_runtime.c out->quiet = true; out 1663 tools/crm_resource_runtime.c rc = cli_resource_ban(out, lookup_id, host, move_lifetime, cib, out 1674 tools/crm_resource_runtime.c rc = find_resource_attr(out, cib, PCMK_XA_VALUE, lookup_id, NULL, NULL, NULL, out 1690 tools/crm_resource_runtime.c out->err(out, "Could not set " PCMK_META_TARGET_ROLE " for %s: %s (%d)", out 1705 tools/crm_resource_runtime.c out->err(out, "Could not determine which resources would be stopped"); out 1713 tools/crm_resource_runtime.c out->info(out, "Waiting for %d resources to stop:", g_list_length(list_delta)); out 1714 tools/crm_resource_runtime.c display_list(out, list_delta, " * "); out 1733 tools/crm_resource_runtime.c out->err(out, "Could not determine which resources were stopped"); out 1752 tools/crm_resource_runtime.c out->err(out, "Could not complete shutdown of %s, %d resources remaining", rsc_id, g_list_length(list_delta)); out 1753 tools/crm_resource_runtime.c display_list(out, list_delta, " * "); out 1778 tools/crm_resource_runtime.c out->err(out, out 1790 tools/crm_resource_runtime.c out->info(out, "Waiting for %d resources to start again:", g_list_length(list_delta)); out 1791 tools/crm_resource_runtime.c display_list(out, list_delta, " * "); out 1812 tools/crm_resource_runtime.c out->err(out, "Could not determine which resources were started"); out 1832 tools/crm_resource_runtime.c out->err(out, "Could not complete restart of %s, %d resources remaining", rsc_id, g_list_length(list_delta)); out 1833 tools/crm_resource_runtime.c display_list(out, list_delta, " * "); out 1913 tools/crm_resource_runtime.c print_pending_actions(pcmk__output_t *out, GList *actions) out 1917 tools/crm_resource_runtime.c out->info(out, "Pending actions:"); out 1926 tools/crm_resource_runtime.c out->info(out, "\tAction %d: %s\ton %s", out 1929 tools/crm_resource_runtime.c out->info(out, "\tAction %d: %s", a->id, a->uuid); out 1957 tools/crm_resource_runtime.c wait_till_stable(pcmk__output_t *out, guint timeout_ms, cib_t * cib) out 1965 tools/crm_resource_runtime.c bool printed_version_warning = out->is_quiet(out); // i.e. don't print if quiet out 1990 tools/crm_resource_runtime.c print_pending_actions(out, scheduler->actions); out 2004 tools/crm_resource_runtime.c rc = update_scheduler_input_to_cib(out, scheduler, cib); out 2025 tools/crm_resource_runtime.c out->info(out, "warning: wait option may not work properly in " out 2126 tools/crm_resource_runtime.c cli_resource_execute_from_params(pcmk__output_t *out, const char *rsc_name, out 2151 tools/crm_resource_runtime.c out->err(out, "Could not execute %s using %s%s%s:%s: %s", out 2186 tools/crm_resource_runtime.c out->message(out, "resource-agent-action", resource_verbose, rsc_class, out 2223 tools/crm_resource_runtime.c pcmk__output_t *out = scheduler->priv; out 2236 tools/crm_resource_runtime.c out->err(out, "It is not safe to %s %s here: the cluster claims it is already active", out 2238 tools/crm_resource_runtime.c out->err(out, out 2255 tools/crm_resource_runtime.c out->err(out, "Sorry, the %s option doesn't support group resources", rsc_action); out 2258 tools/crm_resource_runtime.c out->err(out, "Sorry, the %s option doesn't support bundled resources", rsc_action); out 2275 tools/crm_resource_runtime.c exit_code = cli_resource_execute_from_params(out, rid, rclass, rprov, rtype, rsc_action, out 2288 tools/crm_resource_runtime.c pcmk__output_t *out = scheduler->priv; out 2305 tools/crm_resource_runtime.c out->info(out, "Using parent '%s' for move instead of '%s'.", rsc->id, rsc_id); out 2310 tools/crm_resource_runtime.c out->info(out, "Ignoring --promoted option: %s is not promotable", out 2367 tools/crm_resource_runtime.c rc = cli_resource_prefer(out, rsc_id, dest->details->uname, move_lifetime, out 2381 tools/crm_resource_runtime.c (void)cli_resource_ban(out, rsc_id, current->details->uname, move_lifetime, out 2385 tools/crm_resource_runtime.c out->info(out, "Resource '%s' is currently %s in %d locations. " out 2389 tools/crm_resource_runtime.c out->info(out, "To prevent '%s' from being %s at a specific location, " out 109 tools/crm_rule.c pcmk__output_t *out = NULL; out 124 tools/crm_rule.c rc = pcmk__output_new(&out, args->output_ty, args->output_dest, argv); out 132 tools/crm_rule.c pcmk__register_lib_messages(out); out 135 tools/crm_rule.c out->version(out, false); out 203 tools/crm_rule.c rc = pcmk__check_rules(out, input, rule_date, out 219 tools/crm_rule.c pcmk__output_and_clear_error(&error, out); out 221 tools/crm_rule.c if (out != NULL) { out 222 tools/crm_rule.c out->finish(out, exit_code, true, NULL); out 223 tools/crm_rule.c pcmk__output_free(out); out 98 tools/crm_shadow.c instruction_default(pcmk__output_t *out, va_list args) out 105 tools/crm_shadow.c return out->info(out, "%s", msg); out 122 tools/crm_shadow.c instruction_xml(pcmk__output_t *out, va_list args) out 129 tools/crm_shadow.c pcmk__output_create_xml_text_node(out, "instruction", msg); out 152 tools/crm_shadow.c shadow_default(pcmk__output_t *out, va_list args) out 163 tools/crm_shadow.c rc = out->info(out, "Instance: %s", pcmk__s(instance, "<unknown>")); out 166 tools/crm_shadow.c rc = out->info(out, "File name: %s", pcmk__s(filename, "<unknown>")); out 169 tools/crm_shadow.c rc = out->info(out, "Content:"); out 181 tools/crm_shadow.c out->info(out, "%s", str); out 186 tools/crm_shadow.c out->info(out, "<unknown>"); out 190 tools/crm_shadow.c rc = out->info(out, "Diff:"); out 193 tools/crm_shadow.c out->message(out, "xml-patchset", diff); out 195 tools/crm_shadow.c out->info(out, "<empty>"); out 221 tools/crm_shadow.c shadow_text(pcmk__output_t *out, va_list args) out 223 tools/crm_shadow.c if (!out->is_quiet(out)) { out 224 tools/crm_shadow.c return shadow_default(out, args); out 234 tools/crm_shadow.c bool quiet_orig = out->quiet; out 239 tools/crm_shadow.c out->quiet = false; out 242 tools/crm_shadow.c rc = out->info(out, "%s", instance); out 245 tools/crm_shadow.c rc = out->info(out, "%s", filename); out 256 tools/crm_shadow.c rc = out->info(out, "%s", str); out 260 tools/crm_shadow.c rc = out->message(out, "xml-patchset", diff); out 263 tools/crm_shadow.c out->quiet = quiet_orig; out 288 tools/crm_shadow.c shadow_xml(pcmk__output_t *out, va_list args) out 297 tools/crm_shadow.c pcmk__output_xml_create_parent(out, PCMK_XE_SHADOW, out 308 tools/crm_shadow.c out->output_xml(out, PCMK_XE_CONTENT, buf->str); out 313 tools/crm_shadow.c out->message(out, "xml-patchset", diff); out 316 tools/crm_shadow.c pcmk__output_xml_pop_parent(out); out 574 tools/crm_shadow.c shadow_setup(pcmk__output_t *out, bool do_switch, GError **error) out 588 tools/crm_shadow.c out->info(out, "Setting up shadow instance"); out 592 tools/crm_shadow.c out->message(out, PCMK_XE_INSTRUCTION, out 618 tools/crm_shadow.c out->message(out, "instruction", msg); out 633 tools/crm_shadow.c shadow_teardown(pcmk__output_t *out) out 642 tools/crm_shadow.c out->message(out, "instruction", out 646 tools/crm_shadow.c out->message(out, "instruction", out 730 tools/crm_shadow.c create_shadow_empty(pcmk__output_t *out, GError **error) out 742 tools/crm_shadow.c out->info(out, "Created new %s configuration", out 748 tools/crm_shadow.c shadow_setup(out, false, error); out 769 tools/crm_shadow.c create_shadow_from_cib(pcmk__output_t *out, bool reset, GError **error) out 808 tools/crm_shadow.c shadow_setup(out, false, error); out 823 tools/crm_shadow.c delete_shadow_file(pcmk__output_t *out, GError **error) out 844 tools/crm_shadow.c shadow_teardown(out); out 898 tools/crm_shadow.c show_shadow_contents(pcmk__output_t *out, GError **error) out 910 tools/crm_shadow.c bool quiet_orig = out->quiet; out 916 tools/crm_shadow.c out->quiet = true; out 917 tools/crm_shadow.c out->message(out, "shadow", out 919 tools/crm_shadow.c out->quiet = quiet_orig; out 936 tools/crm_shadow.c show_shadow_diff(pcmk__output_t *out, GError **error) out 942 tools/crm_shadow.c bool quiet_orig = out->quiet; out 967 tools/crm_shadow.c out->quiet = true; out 968 tools/crm_shadow.c out->message(out, "shadow", out 970 tools/crm_shadow.c out->quiet = quiet_orig; out 995 tools/crm_shadow.c show_shadow_filename(pcmk__output_t *out, GError **error) out 999 tools/crm_shadow.c bool quiet_orig = out->quiet; out 1001 tools/crm_shadow.c out->quiet = true; out 1002 tools/crm_shadow.c out->message(out, "shadow", out 1004 tools/crm_shadow.c out->quiet = quiet_orig; out 1018 tools/crm_shadow.c show_shadow_instance(pcmk__output_t *out, GError **error) out 1021 tools/crm_shadow.c bool quiet_orig = out->quiet; out 1023 tools/crm_shadow.c out->quiet = true; out 1024 tools/crm_shadow.c out->message(out, "shadow", out 1026 tools/crm_shadow.c out->quiet = quiet_orig; out 1038 tools/crm_shadow.c switch_shadow_instance(pcmk__output_t *out, GError **error) out 1044 tools/crm_shadow.c shadow_setup(out, true, error); out 1195 tools/crm_shadow.c pcmk__output_t *out = NULL; out 1213 tools/crm_shadow.c rc = pcmk__output_new(&out, args->output_ty, args->output_dest, argv); out 1242 tools/crm_shadow.c out->version(out, false); out 1246 tools/crm_shadow.c pcmk__register_messages(out, fmt_functions); out 1272 tools/crm_shadow.c create_shadow_from_cib(out, false, &error); out 1275 tools/crm_shadow.c create_shadow_empty(out, &error); out 1278 tools/crm_shadow.c create_shadow_from_cib(out, true, &error); out 1281 tools/crm_shadow.c delete_shadow_file(out, &error); out 1284 tools/crm_shadow.c show_shadow_diff(out, &error); out 1287 tools/crm_shadow.c show_shadow_contents(out, &error); out 1293 tools/crm_shadow.c show_shadow_filename(out, &error); out 1296 tools/crm_shadow.c switch_shadow_instance(out, &error); out 1299 tools/crm_shadow.c show_shadow_instance(out, &error); out 1310 tools/crm_shadow.c pcmk__output_and_clear_error(&error, out); out 1315 tools/crm_shadow.c if (out != NULL) { out 1316 tools/crm_shadow.c out->finish(out, exit_code, true, NULL); out 1317 tools/crm_shadow.c pcmk__output_free(out); out 346 tools/crm_simulate.c setup_input(pcmk__output_t *out, const char *input, const char *output, out 355 tools/crm_simulate.c rc = cib__signon_query(out, NULL, &cib_object); out 460 tools/crm_simulate.c pcmk__output_t *out = NULL; out 486 tools/crm_simulate.c rc = pcmk__output_new(&out, args->output_ty, args->output_dest, argv); out 496 tools/crm_simulate.c pcmk__output_text_set_fancy(out, true); out 499 tools/crm_simulate.c pe__register_messages(out); out 500 tools/crm_simulate.c pcmk__register_lib_messages(out); out 502 tools/crm_simulate.c out->quiet = args->quiet; out 505 tools/crm_simulate.c out->version(out, false); out 536 tools/crm_simulate.c scheduler->priv = out; out 543 tools/crm_simulate.c rc = setup_input(out, options.xml_file, out 550 tools/crm_simulate.c rc = pcmk__simulate(scheduler, out, options.injections, options.flags, out 585 tools/crm_simulate.c if (out != NULL) { out 586 tools/crm_simulate.c out->finish(out, exit_code, true, NULL); out 587 tools/crm_simulate.c pcmk__output_free(out); out 62 tools/crm_ticket.c static pcmk__output_t *out = NULL; out 267 tools/crm_ticket.c out->err(out, "This command cannot help you verify whether '%s' has " out 278 tools/crm_ticket.c out->err(out, "Revoking '%s' can trigger the specified '" PCMK_XA_LOSS_POLICY out 373 tools/crm_ticket.c rc = pcmk__output_new(&out, args->output_ty, args->output_dest, argv); out 382 tools/crm_ticket.c pe__register_messages(out); out 383 tools/crm_ticket.c pcmk__register_lib_messages(out); out 386 tools/crm_ticket.c out->version(out, false); out 461 tools/crm_ticket.c rc = pcmk__ticket_info(out, scheduler, options.ticket_id, details, raw); out 473 tools/crm_ticket.c rc = pcmk__ticket_state(out, cib_conn, options.ticket_id); out 484 tools/crm_ticket.c rc = pcmk__ticket_constraints(out, cib_conn, options.ticket_id); out 500 tools/crm_ticket.c rc = pcmk__ticket_get_attr(out, scheduler, options.ticket_id, out 512 tools/crm_ticket.c rc = pcmk__ticket_delete(out, cib_conn, scheduler, options.ticket_id, out 561 tools/crm_ticket.c rc = pcmk__ticket_remove_attr(out, cib_conn, scheduler, options.ticket_id, out 571 tools/crm_ticket.c rc = pcmk__ticket_set_attr(out, cib_conn, scheduler, options.ticket_id, out 656 tools/crm_ticket.c pcmk__output_and_clear_error(&error, out); out 658 tools/crm_ticket.c if (out != NULL) { out 659 tools/crm_ticket.c out->finish(out, exit_code, true, NULL); out 660 tools/crm_ticket.c pcmk__output_free(out); out 129 tools/crm_verify.c pcmk__output_t *out = ctx; out 134 tools/crm_verify.c out->err(out, "error: %s", buf); out 153 tools/crm_verify.c pcmk__output_t *out = ctx; out 158 tools/crm_verify.c out->err(out, "warning: %s", buf); out 174 tools/crm_verify.c pcmk__output_t *out = NULL; out 199 tools/crm_verify.c rc = pcmk__output_new(&out, args->output_ty, args->output_dest, argv); out 208 tools/crm_verify.c out->version(out, false); out 212 tools/crm_verify.c pcmk__register_lib_messages(out); out 214 tools/crm_verify.c pcmk__set_config_error_handler(output_config_error, out); out 215 tools/crm_verify.c pcmk__set_config_warning_handler(output_config_warning, out); out 236 tools/crm_verify.c rc = pcmk__parse_cib(out, cib_source, &cib_object); out 256 tools/crm_verify.c scheduler->priv = out; out 258 tools/crm_verify.c rc = pcmk__verify(scheduler, out, &cib_object); out 273 tools/crm_verify.c out->err(out, "%sconfig not valid", failure_type); out 276 tools/crm_verify.c out->err(out, "%sconfig not valid\n-V may provide more details", failure_type); out 297 tools/crm_verify.c pcmk__output_and_clear_error(&error, out); out 299 tools/crm_verify.c if (out != NULL) { out 300 tools/crm_verify.c out->finish(out, exit_code, true, NULL); out 301 tools/crm_verify.c pcmk__output_free(out); out 180 tools/crmadmin.c pcmk__output_t *out = NULL; out 195 tools/crmadmin.c rc = pcmk__output_new(&out, args->output_ty, args->output_dest, argv); out 203 tools/crmadmin.c pcmk__register_lib_messages(out); out 205 tools/crmadmin.c out->quiet = args->quiet; out 208 tools/crmadmin.c out->version(out, false); out 213 tools/crmadmin.c out->err(out, "Cluster-wide health option not supported"); out 218 tools/crmadmin.c out->err(out, "error: Must specify a command option"); out 225 tools/crmadmin.c out->err(out, "%s", help); out 233 tools/crmadmin.c rc = pcmk__controller_status(out, options.optarg, out 237 tools/crmadmin.c rc = pcmk__pacemakerd_status(out, options.ipc_name, out 242 tools/crmadmin.c rc = pcmk__list_nodes(out, options.optarg, options.bash_export); out 245 tools/crmadmin.c rc = pcmk__designated_controller(out, out 254 tools/crmadmin.c out->err(out, "error: Command failed: %s", pcmk_rc_str(rc)); out 262 tools/crmadmin.c pcmk__output_and_clear_error(&error, out); out 264 tools/crmadmin.c if (out != NULL) { out 265 tools/crmadmin.c out->finish(out, exit_code, true, NULL); out 266 tools/crmadmin.c pcmk__output_free(out); out 117 tools/iso8601.c date_default(pcmk__output_t *out, va_list args) out 128 tools/iso8601.c out->info(out, "%s: %s", prefix, date_s); out 136 tools/iso8601.c date_xml(pcmk__output_t *out, va_list args) out 147 tools/iso8601.c pcmk__output_create_xml_text_node(out, PCMK_XE_DATE, date_s); out 154 tools/iso8601.c duration_default(pcmk__output_t *out, va_list args) out 161 tools/iso8601.c out->info(out, "Duration: %s", date_s); out 169 tools/iso8601.c duration_xml(pcmk__output_t *out, va_list args) out 176 tools/iso8601.c pcmk__output_create_xml_text_node(out, PCMK_XE_DURATION, date_s); out 183 tools/iso8601.c duration_ends_default(pcmk__output_t *out, va_list args) out 193 tools/iso8601.c out->info(out, "Duration ends at: %s", date_s); out 201 tools/iso8601.c duration_ends_xml(pcmk__output_t *out, va_list args) out 211 tools/iso8601.c pcmk__output_create_xml_text_node(out, PCMK_XE_DURATION_ENDS, date_s); out 218 tools/iso8601.c period_default(pcmk__output_t *out, va_list args) out 239 tools/iso8601.c out->info(out, "Period: %s to %s", start, end); out 248 tools/iso8601.c period_xml(pcmk__output_t *out, va_list args) out 269 tools/iso8601.c pcmk__output_xml_create_parent(out, PCMK_XE_PERIOD, NULL); out 270 tools/iso8601.c pcmk__output_create_xml_text_node(out, PCMK_XE_START, start); out 271 tools/iso8601.c pcmk__output_create_xml_text_node(out, PCMK_XE_END, end); out 319 tools/iso8601.c pcmk__output_t *out = NULL; out 334 tools/iso8601.c rc = pcmk__output_new(&out, args->output_ty, args->output_dest, argv); out 344 tools/iso8601.c out->version(out, false); out 348 tools/iso8601.c pcmk__register_messages(out, fmt_functions); out 360 tools/iso8601.c out->message(out, "date", "Current date/time", date_time, out 373 tools/iso8601.c out->message(out, "date", "Date", date_time, options.print_options); out 386 tools/iso8601.c out->message(out, "duration", duration, options.print_options); out 399 tools/iso8601.c out->message(out, "period", period, options.print_options); out 414 tools/iso8601.c out->message(out, "duration_ends", later, options.print_options); out 451 tools/iso8601.c pcmk__output_and_clear_error(&error, out); out 453 tools/iso8601.c if (out != NULL) { out 454 tools/iso8601.c out->finish(out, exit_code, true, NULL); out 455 tools/iso8601.c pcmk__output_free(out); out 391 tools/stonith_admin.c pcmk__output_t *out = NULL; out 410 tools/stonith_admin.c rc = pcmk__output_new(&out, args->output_ty, args->output_dest, argv); out 418 tools/stonith_admin.c pcmk__output_enable_list_element(out); out 420 tools/stonith_admin.c stonith__register_messages(out); out 423 tools/stonith_admin.c out->version(out, false); out 524 tools/stonith_admin.c out->err(out, "%s", help); out 533 tools/stonith_admin.c out->err(out, "Please specify an agent to query using -a,--agent [value]"); out 534 tools/stonith_admin.c out->err(out, "%s", help); out 540 tools/stonith_admin.c out->quiet = args->quiet; out 549 tools/stonith_admin.c out->err(out, "Could not connect to fencer: %s", pcmk_strerror(rc)); out 556 tools/stonith_admin.c rc = pcmk__fence_installed(out, st, options.timeout*1000); out 558 tools/stonith_admin.c out->err(out, "Failed to list installed devices: %s", pcmk_rc_str(rc)); out 564 tools/stonith_admin.c rc = pcmk__fence_registered(out, st, target, options.timeout*1000); out 566 tools/stonith_admin.c out->err(out, "Failed to list registered devices: %s", pcmk_rc_str(rc)); out 580 tools/stonith_admin.c rc = pcmk__fence_list_targets(out, st, device, options.timeout*1000); out 582 tools/stonith_admin.c out->err(out, "Couldn't list targets: %s", pcmk_rc_str(rc)); out 592 tools/stonith_admin.c out->err(out, "Can't register device %s using agent %s: %s", out 601 tools/stonith_admin.c out->err(out, "Can't unregister device %s: %s", out 609 tools/stonith_admin.c out->err(out, "Can't unregister topology level %d for %s: %s", out 617 tools/stonith_admin.c out->err(out, "Can't register topology level %d for %s: %s", out 623 tools/stonith_admin.c rc = pcmk__fence_metadata(out, st, options.agent, options.timeout*1000); out 625 tools/stonith_admin.c out->err(out, "Can't get fence agent meta-data: %s", out 649 tools/stonith_admin.c rc = pcmk__fence_last(out, target, options.as_nodeid); out 653 tools/stonith_admin.c rc = pcmk__fence_history(out, st, target, options.timeout*1000, args->verbosity, out 659 tools/stonith_admin.c rc = pcmk__fence_validate(out, st, options.agent, device, options.params, out 671 tools/stonith_admin.c pcmk__output_and_clear_error(&error, out); out 673 tools/stonith_admin.c if (out != NULL) { out 674 tools/stonith_admin.c out->finish(out, exit_code, true, NULL); out 675 tools/stonith_admin.c pcmk__output_free(out);