fmt 32 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 172 include/crm/common/logging.h # define do_crm_log(level, fmt, args...) do { \ fmt 177 include/crm/common/logging.h printf(fmt "\n" , ##args); \ fmt 182 include/crm/common/logging.h qb_log_from_external_source(__func__, __FILE__, fmt, \ fmt 197 include/crm/common/logging.h # define do_crm_log_unlikely(level, fmt, args...) do { \ fmt 206 include/crm/common/logging.h trace_cs = qb_log_callsite_get(__func__, __FILE__, fmt, \ fmt 210 include/crm/common/logging.h qb_log_from_external_source(__func__, __FILE__, fmt, \ fmt 289 include/crm/common/logging.h # define do_crm_log_alias(level, file, function, line, fmt, args...) do { \ fmt 294 include/crm/common/logging.h printf(fmt "\n" , ##args); \ fmt 299 include/crm/common/logging.h qb_log_from_external_source(function, file, fmt, _level, \ fmt 319 include/crm/common/logging.h # define crm_perror(level, fmt, args...) do { \ fmt 328 include/crm/common/logging.h fprintf(stderr, fmt ": %s (%d)\n" , ##args, err, \ fmt 334 include/crm/common/logging.h do_crm_log((level), fmt ": %s (%d)" , ##args, err, errno); \ fmt 350 include/crm/common/logging.h # define crm_log_tag(level, tag, fmt, args...) do { \ fmt 361 include/crm/common/logging.h fmt, _level, \ fmt 367 include/crm/common/logging.h qb_log_from_external_source(__func__, __FILE__, fmt, \ fmt 375 include/crm/common/logging.h # define crm_emerg(fmt, args...) qb_log(LOG_EMERG, fmt , ##args) fmt 376 include/crm/common/logging.h # define crm_crit(fmt, args...) qb_logt(LOG_CRIT, 0, fmt , ##args) fmt 377 include/crm/common/logging.h # define crm_err(fmt, args...) qb_logt(LOG_ERR, 0, fmt , ##args) fmt 378 include/crm/common/logging.h # define crm_warn(fmt, args...) qb_logt(LOG_WARNING, 0, fmt , ##args) fmt 379 include/crm/common/logging.h # define crm_notice(fmt, args...) qb_logt(LOG_NOTICE, 0, fmt , ##args) fmt 380 include/crm/common/logging.h # define crm_info(fmt, args...) qb_logt(LOG_INFO, 0, fmt , ##args) fmt 382 include/crm/common/logging.h # define crm_debug(fmt, args...) do_crm_log_unlikely(LOG_DEBUG, fmt , ##args) fmt 383 include/crm/common/logging.h # define crm_trace(fmt, args...) do_crm_log_unlikely(LOG_TRACE, fmt , ##args) fmt 57 include/crm/common/logging_compat.h # define do_crm_log_always(level, fmt, args...) do { \ fmt 62 include/crm/common/logging_compat.h qb_log((level), fmt , ##args); \ fmt 29 include/crm/common/logging_internal.h # define pcmk__config_err(fmt...) do { \ fmt 31 include/crm/common/logging_internal.h crm_err(fmt); \ fmt 41 include/crm/common/logging_internal.h # define pcmk__config_warn(fmt...) do { \ fmt 43 include/crm/common/logging_internal.h crm_warn(fmt); \ fmt 68 include/crm/common/xml_internal.h #define PCMK__XML_LOG_BASE(priority, dechunk, postemit, prefix, fmt, ap) \ fmt 71 include/crm/common/xml_internal.h qb_log_from_external_source_va(__func__, __FILE__, (fmt), \ fmt 81 include/crm/common/xml_internal.h CXLB_len = vasprintf(&CXLB_buf, (fmt), (ap)); \ fmt 48 include/crm/pengine/internal.h # define pe_rsc_info(rsc, fmt, args...) crm_log_tag(LOG_INFO, rsc ? rsc->id : "<NULL>", fmt, ##args) fmt 49 include/crm/pengine/internal.h # define pe_rsc_debug(rsc, fmt, args...) crm_log_tag(LOG_DEBUG, rsc ? rsc->id : "<NULL>", fmt, ##args) fmt 50 include/crm/pengine/internal.h # define pe_rsc_trace(rsc, fmt, args...) crm_log_tag(LOG_TRACE, rsc ? rsc->id : "<NULL>", fmt, ##args) fmt 52 include/crm/pengine/internal.h # define pe_err(fmt...) do { \ fmt 54 include/crm/pengine/internal.h pcmk__config_err(fmt); \ fmt 57 include/crm/pengine/internal.h # define pe_warn(fmt...) do { \ fmt 59 include/crm/pengine/internal.h pcmk__config_warn(fmt); \ fmt 62 include/crm/pengine/internal.h # define pe_proc_err(fmt...) { was_processing_error = TRUE; crm_err(fmt); } fmt 63 include/crm/pengine/internal.h # define pe_proc_warn(fmt...) { was_processing_warning = TRUE; crm_warn(fmt); } fmt 177 include/crm/pengine/internal.h #define pe_warn_once(pe_wo_bit, fmt...) do { \ fmt 180 include/crm/pengine/internal.h crm_warn(fmt); \ fmt 182 include/crm/pengine/internal.h pe_warn(fmt); \ fmt 736 lib/cib/cib_utils.c #define log_signon_query_err(out, fmt, args...) do { \ fmt 738 lib/cib/cib_utils.c out->err(out, fmt, ##args); \ fmt 740 lib/cib/cib_utils.c crm_err(fmt, ##args); \ fmt 116 lib/common/crmcommon_private.h void pcmk__log_xmllib_err(void *ctx, const char *fmt, ...) fmt 160 lib/common/logging.c char fmt[FMT_MAX]; fmt 164 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, fmt 170 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, "(%%n"); fmt 173 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, "@%%f:%%l"); fmt 175 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, ")"); fmt 178 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, " %%g\t%%p: %%b"); fmt 181 lib/common/logging.c qb_log_format_set(method, fmt); fmt 50 lib/common/patchset_display.c const char *fmt = crm_element_value(patchset, "format"); fmt 53 lib/common/patchset_display.c out->info(out, "Diff: --- %d.%d.%d %s", del[0], del[1], del[2], fmt); fmt 68 lib/common/schemas.c xml_log(int priority, const char *fmt, ...) fmt 72 lib/common/schemas.c xml_log(int priority, const char *fmt, ...) fmt 76 lib/common/schemas.c va_start(ap, fmt); fmt 79 lib/common/schemas.c PCMK__XML_LOG_BASE(priority, FALSE, 0, NULL, fmt, ap); fmt 746 lib/common/schemas.c cib_upgrade_err(void *ctx, const char *fmt, ...) fmt 773 lib/common/schemas.c cib_upgrade_err(void *ctx, const char *fmt, ...) fmt 779 lib/common/schemas.c const char *fmt_iter = fmt; fmt 787 lib/common/schemas.c va_start(ap, fmt); fmt 877 lib/common/schemas.c vfprintf(stderr, fmt, ap); fmt 880 lib/common/schemas.c PCMK__XML_LOG_BASE(msg_log_level, TRUE, 0, "CIB upgrade: ", fmt, ap); fmt 26 lib/common/xml_display.c pcmk__log_xmllib_err(void *ctx, const char *fmt, ...) fmt 30 lib/common/xml_display.c va_start(ap, fmt); fmt 37 lib/common/xml_display.c "XML Error: ", fmt, ap); fmt 40 lib/common/xml_display.c PCMK__XML_LOG_BASE(LOG_ERR, TRUE, 0, "XML Error: ", fmt, ap); fmt 1957 lib/fencing/st_client.c #define api_log(level, fmt, args...) syslog(level, "%s: "fmt, __func__, args) fmt 146 lib/fencing/st_lha.c stonith_plugin(int priority, const char *fmt, ...) G_GNUC_PRINTF(2, 3); fmt 26 lib/pengine/pe_status_private.h # define status_print(fmt, args...) \ fmt 29 lib/pengine/pe_status_private.h fprintf(stream, fmt, ##args); \ fmt 32 lib/pengine/pe_status_private.h fprintf(stream, fmt, ##args); \ fmt 35 lib/pengine/pe_status_private.h fprintf(stream, fmt, ##args); \ fmt 38 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 151 tools/crm_diff.c const char *fmt = NULL; fmt 155 tools/crm_diff.c fmt = crm_element_value(patch, "format"); fmt 159 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);