fmt 31 daemons/controld/controld_fsa.c #define do_dot_log(fmt, args...) crm_trace( fmt, ##args) fmt 172 daemons/execd/cts-exec-helper.c #define print_result(fmt, args...) \ fmt 174 daemons/execd/cts-exec-helper.c printf(fmt "\n" , ##args); \ fmt 181 include/crm/common/logging.h #define do_crm_log(level, fmt, args...) do { \ fmt 186 include/crm/common/logging.h printf(fmt "\n" , ##args); \ fmt 191 include/crm/common/logging.h qb_log_from_external_source(__func__, __FILE__, fmt, \ fmt 206 include/crm/common/logging.h #define do_crm_log_unlikely(level, fmt, args...) do { \ fmt 215 include/crm/common/logging.h trace_cs = qb_log_callsite_get(__func__, __FILE__, fmt, \ fmt 219 include/crm/common/logging.h qb_log_from_external_source(__func__, __FILE__, fmt, \ fmt 300 include/crm/common/logging.h #define do_crm_log_alias(level, file, function, line, fmt, args...) do { \ fmt 305 include/crm/common/logging.h printf(fmt "\n" , ##args); \ fmt 310 include/crm/common/logging.h qb_log_from_external_source(function, file, fmt, _level, \ fmt 331 include/crm/common/logging.h #define crm_perror(level, fmt, args...) do { \ fmt 340 include/crm/common/logging.h fprintf(stderr, fmt ": %s (%d)\n" , ##args, err, \ fmt 346 include/crm/common/logging.h do_crm_log((level), fmt ": %s (%d)" , ##args, err, errno); \ fmt 362 include/crm/common/logging.h #define crm_log_tag(level, tag, fmt, args...) do { \ fmt 373 include/crm/common/logging.h fmt, _level, \ fmt 379 include/crm/common/logging.h qb_log_from_external_source(__func__, __FILE__, fmt, \ fmt 387 include/crm/common/logging.h #define crm_emerg(fmt, args...) qb_log(LOG_EMERG, fmt , ##args) fmt 388 include/crm/common/logging.h #define crm_crit(fmt, args...) qb_logt(LOG_CRIT, 0, fmt , ##args) fmt 391 include/crm/common/logging.h #define crm_err(fmt, args...) qb_logt(LOG_ERR, 0, fmt , ##args) fmt 394 include/crm/common/logging.h #define crm_warn(fmt, args...) qb_logt(LOG_WARNING, 0, fmt , ##args) fmt 397 include/crm/common/logging.h #define crm_notice(fmt, args...) qb_logt(LOG_NOTICE, 0, fmt , ##args) fmt 399 include/crm/common/logging.h #define crm_info(fmt, args...) qb_logt(LOG_INFO, 0, fmt , ##args) fmt 402 include/crm/common/logging.h #define crm_debug(fmt, args...) do_crm_log_unlikely(LOG_DEBUG, fmt , ##args) fmt 404 include/crm/common/logging.h #define crm_trace(fmt, args...) do_crm_log_unlikely(LOG_TRACE, fmt , ##args) fmt 58 include/crm/common/logging_compat.h #define do_crm_log_always(level, fmt, args...) do { \ fmt 63 include/crm/common/logging_compat.h qb_log((level), fmt , ##args); \ fmt 65 include/crm/common/logging_internal.h #define pcmk__warn_once(wo_flag, fmt...) do { \ fmt 68 include/crm/common/logging_internal.h crm_warn(fmt); \ fmt 70 include/crm/common/logging_internal.h pcmk__config_warn(fmt); \ fmt 100 include/crm/common/logging_internal.h #define pcmk__config_err(fmt...) do { \ fmt 103 include/crm/common/logging_internal.h crm_err(fmt); \ fmt 105 include/crm/common/logging_internal.h pcmk__config_error_handler(pcmk__config_error_context, fmt); \ fmt 115 include/crm/common/logging_internal.h #define pcmk__config_warn(fmt...) do { \ fmt 118 include/crm/common/logging_internal.h crm_warn(fmt); \ fmt 120 include/crm/common/logging_internal.h pcmk__config_warning_handler(pcmk__config_warning_context, fmt);\ fmt 56 include/crm/common/scheduler_internal.h #define pcmk__rsc_info(rsc, fmt, args...) \ fmt 57 include/crm/common/scheduler_internal.h crm_log_tag(LOG_INFO, ((rsc) == NULL)? "<NULL>" : (rsc)->id, (fmt), ##args) fmt 66 include/crm/common/scheduler_internal.h #define pcmk__rsc_debug(rsc, fmt, args...) \ fmt 67 include/crm/common/scheduler_internal.h crm_log_tag(LOG_DEBUG, ((rsc) == NULL)? "<NULL>" : (rsc)->id, (fmt), ##args) fmt 76 include/crm/common/scheduler_internal.h #define pcmk__rsc_trace(rsc, fmt, args...) \ fmt 77 include/crm/common/scheduler_internal.h crm_log_tag(LOG_TRACE, ((rsc) == NULL)? "<NULL>" : (rsc)->id, (fmt), ##args) fmt 85 include/crm/common/scheduler_internal.h #define pcmk__sched_err(fmt...) do { \ fmt 87 include/crm/common/scheduler_internal.h crm_err(fmt); \ fmt 96 include/crm/common/scheduler_internal.h #define pcmk__sched_warn(fmt...) do { \ fmt 98 include/crm/common/scheduler_internal.h crm_warn(fmt); \ fmt 72 include/crm/common/xml_internal.h #define PCMK__XML_LOG_BASE(priority, dechunk, postemit, prefix, fmt, ap) \ fmt 75 include/crm/common/xml_internal.h qb_log_from_external_source_va(__func__, __FILE__, (fmt), \ fmt 85 include/crm/common/xml_internal.h CXLB_len = vasprintf(&CXLB_buf, (fmt), (ap)); \ fmt 956 lib/cib/cib_utils.c #define log_signon_query_err(out, fmt, args...) do { \ fmt 958 lib/cib/cib_utils.c out->err(out, fmt, ##args); \ fmt 960 lib/cib/cib_utils.c crm_err(fmt, ##args); \ fmt 122 lib/common/crmcommon_private.h void pcmk__log_xmllib_err(void *ctx, const char *fmt, ...) fmt 165 lib/common/logging.c char fmt[FMT_MAX]; fmt 169 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, fmt 175 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, "(%%n"); fmt 178 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, "@%%f:%%l"); fmt 180 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, ")"); fmt 183 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, " %%g\t%%p: %%b"); fmt 186 lib/common/logging.c qb_log_format_set(method, fmt); fmt 37 lib/common/output_log.c #define logger(priv, fmt, args...) do { \ fmt 39 lib/common/output_log.c pcmk__s((priv)->file, __FILE__), fmt, (priv)->log_level, \ fmt 53 lib/common/output_log.c #define logger_va(priv, level, fmt, ap) do { \ fmt 55 lib/common/output_log.c pcmk__s((priv)->file, __FILE__), fmt, level, \ fmt 50 lib/common/patchset_display.c const char *fmt = crm_element_value(patchset, PCMK_XA_FORMAT); fmt 53 lib/common/patchset_display.c out->info(out, "Diff: --- %d.%d.%d %s", del[0], del[1], del[2], fmt); fmt 46 lib/common/schemas.c xml_log(int priority, const char *fmt, ...) fmt 50 lib/common/schemas.c va_start(ap, fmt); fmt 53 lib/common/schemas.c PCMK__XML_LOG_BASE(priority, FALSE, 0, NULL, fmt, ap); fmt 840 lib/common/schemas.c cib_upgrade_err(void *ctx, const char *fmt, ...) fmt 846 lib/common/schemas.c const char *fmt_iter = fmt; fmt 854 lib/common/schemas.c va_start(ap, fmt); fmt 944 lib/common/schemas.c vfprintf(stderr, fmt, ap); fmt 947 lib/common/schemas.c PCMK__XML_LOG_BASE(msg_log_level, TRUE, 0, "CIB upgrade: ", fmt, ap); fmt 25 lib/common/xml_display.c pcmk__log_xmllib_err(void *ctx, const char *fmt, ...) fmt 29 lib/common/xml_display.c va_start(ap, fmt); fmt 36 lib/common/xml_display.c "XML Error: ", fmt, ap); fmt 39 lib/common/xml_display.c PCMK__XML_LOG_BASE(LOG_ERR, TRUE, 0, "XML Error: ", fmt, ap); fmt 1973 lib/fencing/st_client.c #define api_log(level, fmt, args...) syslog(level, "%s: "fmt, __func__, args) fmt 155 lib/fencing/st_lha.c stonith_plugin(int priority, const char *fmt, ...) G_GNUC_PRINTF(2, 3); fmt 31 lib/pengine/pe_status_private.h # define status_print(fmt, args...) \ fmt 34 lib/pengine/pe_status_private.h fprintf(stream, fmt, ##args); \ fmt 37 lib/pengine/pe_status_private.h fprintf(stream, fmt, ##args); \ fmt 40 lib/pengine/pe_status_private.h fprintf(stream, fmt, ##args); \ fmt 43 lib/pengine/pe_status_private.h do_crm_log(log_level, fmt, ##args); \ fmt 401 maint/gnulib/lib/argp-fmtstream.c __argp_fmtstream_printf (struct argp_fmtstream *fs, const char *fmt, ...) fmt 414 maint/gnulib/lib/argp-fmtstream.c va_start (args, fmt); fmt 416 maint/gnulib/lib/argp-fmtstream.c out = __vsnprintf (fs->p, avail, fmt, args); fmt 1876 maint/gnulib/lib/argp-help.c __argp_error (const struct argp_state *state, const char *fmt, ...) fmt 1890 maint/gnulib/lib/argp-help.c va_start (ap, fmt); fmt 1895 maint/gnulib/lib/argp-help.c if (_IO_vasprintf (&buf, fmt, ap) < 0) fmt 1908 maint/gnulib/lib/argp-help.c vfprintf (stream, fmt, ap); fmt 1937 maint/gnulib/lib/argp-help.c const char *fmt, ...) fmt 1957 maint/gnulib/lib/argp-help.c if (fmt) fmt 1961 maint/gnulib/lib/argp-help.c va_start (ap, fmt); fmt 1965 maint/gnulib/lib/argp-help.c if (_IO_vasprintf (&buf, fmt, ap) < 0) fmt 1975 maint/gnulib/lib/argp-help.c vfprintf (stream, fmt, ap); fmt 119 maint/gnulib/lib/fchmodat.c static char const fmt[] = "/proc/self/fd/%d"; fmt 120 maint/gnulib/lib/fchmodat.c char buf[sizeof fmt - sizeof "%d" + INT_BUFSIZE_BOUND (int)]; fmt 121 maint/gnulib/lib/fchmodat.c sprintf (buf, fmt, fd); fmt 28 maint/gnulib/lib/fprintftime.h size_t fprintftime (FILE *fp, char const *fmt, struct tm const *tm, fmt 80 maint/gnulib/lib/lchmod.c static char const fmt[] = "/proc/self/fd/%d"; fmt 81 maint/gnulib/lib/lchmod.c char buf[sizeof fmt - sizeof "%d" + INT_BUFSIZE_BOUND (int)]; fmt 82 maint/gnulib/lib/lchmod.c sprintf (buf, fmt, fd); fmt 50 maint/gnulib/lib/sm3.c # define dbg_printf(fmt, ...) do { } while (0) fmt 57 maint/gnulib/lib/strerror.c static char const fmt[] = "Unknown error %d"; fmt 58 maint/gnulib/lib/strerror.c verify (sizeof buf >= sizeof (fmt) + INT_STRLEN_BOUND (n)); fmt 59 maint/gnulib/lib/strerror.c sprintf (buf, fmt, n); fmt 232 maint/gnulib/lib/strptime.c __strptime_internal (rp, fmt, tm, decided, era_cnt LOCALE_PARAM) fmt 234 maint/gnulib/lib/strptime.c const char *fmt; fmt 269 maint/gnulib/lib/strptime.c while (*fmt != '\0') fmt 273 maint/gnulib/lib/strptime.c if (ISSPACE (*fmt)) fmt 277 maint/gnulib/lib/strptime.c ++fmt; fmt 283 maint/gnulib/lib/strptime.c if (*fmt != '%') fmt 285 maint/gnulib/lib/strptime.c match_char (*fmt++, *rp++); fmt 289 maint/gnulib/lib/strptime.c ++fmt; fmt 298 maint/gnulib/lib/strptime.c switch (*fmt++) fmt 725 maint/gnulib/lib/strptime.c switch (*fmt++) fmt 731 maint/gnulib/lib/strptime.c const char *fmt = _NL_CURRENT (LC_TIME, ERA_D_T_FMT); fmt 733 maint/gnulib/lib/strptime.c if (*fmt == '\0') fmt 734 maint/gnulib/lib/strptime.c fmt = _NL_CURRENT (LC_TIME, D_T_FMT); fmt 736 maint/gnulib/lib/strptime.c if (!recursive (fmt)) fmt 745 maint/gnulib/lib/strptime.c if (strcmp (fmt, HERE_D_T_FMT)) fmt 896 maint/gnulib/lib/strptime.c const char *fmt = _NL_CURRENT (LC_TIME, ERA_D_FMT); fmt 898 maint/gnulib/lib/strptime.c if (*fmt == '\0') fmt 899 maint/gnulib/lib/strptime.c fmt = _NL_CURRENT (LC_TIME, D_FMT); fmt 901 maint/gnulib/lib/strptime.c if (!recursive (fmt)) fmt 910 maint/gnulib/lib/strptime.c if (strcmp (fmt, HERE_D_FMT)) fmt 922 maint/gnulib/lib/strptime.c const char *fmt = _NL_CURRENT (LC_TIME, ERA_T_FMT); fmt 924 maint/gnulib/lib/strptime.c if (*fmt == '\0') fmt 925 maint/gnulib/lib/strptime.c fmt = _NL_CURRENT (LC_TIME, T_FMT); fmt 927 maint/gnulib/lib/strptime.c if (!recursive (fmt)) fmt 936 maint/gnulib/lib/strptime.c if (strcmp (fmt, HERE_T_FMT)) fmt 952 maint/gnulib/lib/strptime.c if (*fmt != 'c' && *fmt != 'C' && *fmt != 'y' && *fmt != 'Y' fmt 953 maint/gnulib/lib/strptime.c && *fmt != 'x' && *fmt != 'X') fmt 960 maint/gnulib/lib/strptime.c switch (*fmt++) fmt 42 maint/gnulib/tests/test-nstrftime.c char const *fmt; fmt 60 maint/gnulib/tests/test-nstrftime.c for (i = 0; T[i].fmt; i++) fmt 69 maint/gnulib/tests/test-nstrftime.c n = nstrftime (buf, sizeof buf, T[i].fmt, tm, 0, T[i].in_ns); fmt 73 maint/gnulib/tests/test-nstrftime.c printf ("nstrftime failed with format %s\n", T[i].fmt); fmt 80 maint/gnulib/tests/test-nstrftime.c T[i].fmt, buf, T[i].exp); fmt 231 maint/gnulib/tests/test-nstrftime.c char fmt[3] = {'%','q','\0'}; fmt 233 maint/gnulib/tests/test-nstrftime.c size_t r = nstrftime (out, sizeof (out), fmt, &qtm, 0, 0); fmt 152 tools/crm_diff.c const char *fmt = NULL; fmt 156 tools/crm_diff.c fmt = crm_element_value(patch, PCMK_XA_FORMAT); fmt 160 tools/crm_diff.c crm_info("Patch: --- %d.%d.%d %s", del[0], del[1], del[2], fmt); fmt 248 tools/crm_mon.c all_includes(mon_output_format_t fmt) { fmt 249 tools/crm_mon.c if (fmt == mon_output_monitor || fmt == mon_output_plain || fmt == mon_output_console) { fmt 257 tools/crm_mon.c default_includes(mon_output_format_t fmt) { fmt 258 tools/crm_mon.c switch (fmt) { fmt 270 tools/crm_mon.c return all_includes(fmt);