fmt 47 daemons/controld/controld_fsa.c #define do_dot_log(fmt, args...) crm_trace( fmt, ##args) fmt 167 include/crm/common/logging.h # define do_crm_log(level, fmt, args...) do { \ fmt 170 include/crm/common/logging.h printf(fmt "\n" , ##args); \ fmt 175 include/crm/common/logging.h qb_log_from_external_source(__func__, __FILE__, fmt, \ fmt 191 include/crm/common/logging.h # define do_crm_log_unlikely(level, fmt, args...) do { \ fmt 198 include/crm/common/logging.h trace_cs = qb_log_callsite_get(__func__, __FILE__, fmt, \ fmt 202 include/crm/common/logging.h qb_log_from_external_source(__func__, __FILE__, fmt, \ fmt 281 include/crm/common/logging.h # define do_crm_log_alias(level, file, function, line, fmt, args...) do { \ fmt 284 include/crm/common/logging.h printf(fmt "\n" , ##args); \ fmt 289 include/crm/common/logging.h qb_log_from_external_source(function, file, fmt, (level), \ fmt 309 include/crm/common/logging.h # define crm_perror(level, fmt, args...) do { \ fmt 317 include/crm/common/logging.h fprintf(stderr, fmt ": %s (%d)\n" , ##args, err, errno);\ fmt 319 include/crm/common/logging.h do_crm_log((level), fmt ": %s (%d)" , ##args, err, errno); \ fmt 336 include/crm/common/logging.h # define crm_log_tag(level, tag, fmt, args...) do { \ fmt 345 include/crm/common/logging.h fmt, (level), __LINE__, converted_tag); \ fmt 349 include/crm/common/logging.h qb_log_from_external_source(__func__, __FILE__, fmt, \ fmt 356 include/crm/common/logging.h # define crm_emerg(fmt, args...) qb_log(LOG_EMERG, fmt , ##args) fmt 357 include/crm/common/logging.h # define crm_crit(fmt, args...) qb_logt(LOG_CRIT, 0, fmt , ##args) fmt 358 include/crm/common/logging.h # define crm_err(fmt, args...) qb_logt(LOG_ERR, 0, fmt , ##args) fmt 359 include/crm/common/logging.h # define crm_warn(fmt, args...) qb_logt(LOG_WARNING, 0, fmt , ##args) fmt 360 include/crm/common/logging.h # define crm_notice(fmt, args...) qb_logt(LOG_NOTICE, 0, fmt , ##args) fmt 361 include/crm/common/logging.h # define crm_info(fmt, args...) qb_logt(LOG_INFO, 0, fmt , ##args) fmt 363 include/crm/common/logging.h # define crm_debug(fmt, args...) do_crm_log_unlikely(LOG_DEBUG, fmt , ##args) fmt 364 include/crm/common/logging.h # define crm_trace(fmt, args...) do_crm_log_unlikely(LOG_TRACE, fmt , ##args) fmt 40 include/crm/common/logging_compat.h # define do_crm_log_always(level, fmt, args...) do { \ fmt 45 include/crm/common/logging_compat.h qb_log((level), fmt , ##args); \ fmt 24 include/crm/common/logging_internal.h # define pcmk__config_err(fmt...) do { \ fmt 26 include/crm/common/logging_internal.h crm_err(fmt); \ fmt 36 include/crm/common/logging_internal.h # define pcmk__config_warn(fmt...) do { \ fmt 38 include/crm/common/logging_internal.h crm_warn(fmt); \ fmt 67 include/crm/common/xml_internal.h #define PCMK__XML_LOG_BASE(priority, dechunk, postemit, prefix, fmt, ap) \ fmt 70 include/crm/common/xml_internal.h qb_log_from_external_source_va(__func__, __FILE__, (fmt), \ fmt 80 include/crm/common/xml_internal.h CXLB_len = vasprintf(&CXLB_buf, (fmt), (ap)); \ fmt 20 include/crm/pengine/internal.h # define pe_rsc_info(rsc, fmt, args...) crm_log_tag(LOG_INFO, rsc ? rsc->id : "<NULL>", fmt, ##args) fmt 21 include/crm/pengine/internal.h # define pe_rsc_debug(rsc, fmt, args...) crm_log_tag(LOG_DEBUG, rsc ? rsc->id : "<NULL>", fmt, ##args) fmt 22 include/crm/pengine/internal.h # define pe_rsc_trace(rsc, fmt, args...) crm_log_tag(LOG_TRACE, rsc ? rsc->id : "<NULL>", fmt, ##args) fmt 24 include/crm/pengine/internal.h # define pe_err(fmt...) do { \ fmt 26 include/crm/pengine/internal.h pcmk__config_err(fmt); \ fmt 29 include/crm/pengine/internal.h # define pe_warn(fmt...) do { \ fmt 31 include/crm/pengine/internal.h pcmk__config_warn(fmt); \ fmt 34 include/crm/pengine/internal.h # define pe_proc_err(fmt...) { was_processing_error = TRUE; crm_err(fmt); } fmt 35 include/crm/pengine/internal.h # define pe_proc_warn(fmt...) { was_processing_warning = TRUE; crm_warn(fmt); } fmt 157 include/crm/pengine/internal.h #define pe_warn_once(pe_wo_bit, fmt...) do { \ fmt 160 include/crm/pengine/internal.h crm_warn(fmt); \ fmt 162 include/crm/pengine/internal.h pe_warn(fmt); \ fmt 159 lib/common/logging.c char fmt[FMT_MAX]; fmt 163 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, fmt 169 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, "(%%n"); fmt 172 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, "@%%f:%%l"); fmt 174 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, ")"); fmt 177 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, " %%g\t%%p: %%b"); fmt 180 lib/common/logging.c qb_log_format_set(method, fmt); fmt 468 lib/common/patchset.c const char *fmt = NULL; fmt 492 lib/common/patchset.c fmt = crm_element_value(patchset, "format"); fmt 497 lib/common/patchset.c "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 737 lib/common/schemas.c cib_upgrade_err(void *ctx, const char *fmt, ...) fmt 764 lib/common/schemas.c cib_upgrade_err(void *ctx, const char *fmt, ...) fmt 770 lib/common/schemas.c const char *fmt_iter = fmt; fmt 778 lib/common/schemas.c va_start(ap, fmt); fmt 868 lib/common/schemas.c vfprintf(stderr, fmt, ap); fmt 871 lib/common/schemas.c PCMK__XML_LOG_BASE(msg_log_level, TRUE, 0, "CIB upgrade: ", fmt, ap); fmt 65 lib/common/xml.c #define buffer_print(buffer, max, offset, fmt, args...) do { \ fmt 68 lib/common/xml.c rc = snprintf((buffer) + (offset), (max) - (offset), fmt, ##args); \ fmt 841 lib/common/xml.c log_xmllib_err(void *ctx, const char *fmt, ...) fmt 846 lib/common/xml.c log_xmllib_err(void *ctx, const char *fmt, ...) fmt 856 lib/common/xml.c va_start(ap, fmt); fmt 861 lib/common/xml.c "XML Error: ", fmt, ap); fmt 863 lib/common/xml.c PCMK__XML_LOG_BASE(LOG_ERR, TRUE, 0, "XML Error: ", fmt, ap); fmt 1906 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 17 lib/pengine/pe_status_private.h # define status_print(fmt, args...) \ fmt 20 lib/pengine/pe_status_private.h fprintf(stream, fmt, ##args); \ fmt 23 lib/pengine/pe_status_private.h fprintf(stream, fmt, ##args); \ fmt 26 lib/pengine/pe_status_private.h fprintf(stream, fmt, ##args); \ fmt 29 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 150 tools/crm_diff.c const char *fmt = NULL; fmt 154 tools/crm_diff.c fmt = crm_element_value(patch, "format"); fmt 158 tools/crm_diff.c crm_info("Patch: --- %d.%d.%d %s", del[0], del[1], del[2], fmt); fmt 148 tools/crm_mon.c all_includes(mon_output_format_t fmt) { fmt 149 tools/crm_mon.c if (fmt == mon_output_monitor || fmt == mon_output_plain || fmt == mon_output_console) { fmt 157 tools/crm_mon.c default_includes(mon_output_format_t fmt) { fmt 158 tools/crm_mon.c switch (fmt) { fmt 167 tools/crm_mon.c return all_includes(fmt);