format 155 src/dps8/dps8_simh.h void sim_printf( const char * format, ... ); // not really simh, by my impl format 50 src/dps8/hdbg.h __attribute__ ((format (printf, 2, 3))) format 98 src/dps8/libtelnet.h # define TELNET_GNU_PRINTF(f,a) __attribute__((format(printf, f, a))) /* internal helper */ format 189 src/libsir/include/sir.h bool sir_debug(PRINTF_FORMAT const char* format, ...); format 215 src/libsir/include/sir.h bool sir_info(PRINTF_FORMAT const char* format, ...); format 241 src/libsir/include/sir.h bool sir_notice(PRINTF_FORMAT const char* format, ...); format 267 src/libsir/include/sir.h bool sir_warn(PRINTF_FORMAT const char* format, ...); format 293 src/libsir/include/sir.h bool sir_error(PRINTF_FORMAT const char* format, ...); format 319 src/libsir/include/sir.h bool sir_crit(PRINTF_FORMAT const char* format, ...); format 345 src/libsir/include/sir.h bool sir_alert(PRINTF_FORMAT const char* format, ...); format 371 src/libsir/include/sir.h bool sir_emerg(PRINTF_FORMAT const char* format, ...); format 151 src/libsir/include/sir/errors.h void __sir_selflog(const char* func, const char* file, uint32_t line, PRINTF_FORMAT const char* format, ...); format 155 src/libsir/include/sir/errors.h void __sir_fakefunc(const char* format, ...) { (void)format; } format 47 src/libsir/include/sir/helpers.h # define _SIR_L_START(format) \ format 51 src/libsir/include/sir/helpers.h if (!_sir_validptr(format)) \ format 53 src/libsir/include/sir/helpers.h va_start(args, format); \ format 413 src/libsir/include/sir/helpers.h __attribute__ ((format (strftime, 3, 0))) format 416 src/libsir/include/sir/helpers.h bool _sir_formattime(time_t now, char* buffer, const char* format) { format 417 src/libsir/include/sir/helpers.h if (!buffer || !format) format 426 src/libsir/include/sir/helpers.h return NULL != ptb && 0 != strftime(buffer, SIR_MAXTIME, format, ptb); format 126 src/libsir/include/sir/internal.h bool _sir_logv(sir_level level, PRINTF_FORMAT const char* format, va_list args); format 51 src/libsir/include/sir/platform.h __attribute__((format (gnu_printf, fmt_p, va_p))) format 56 src/libsir/include/sir/platform.h __attribute__((format (printf, fmt_p, va_p))) format 69 src/libsir/src/sir.c bool sir_debug(PRINTF_FORMAT const char* format, ...) { format 70 src/libsir/src/sir.c _SIR_L_START(format); format 71 src/libsir/src/sir.c ret = _sir_logv(SIRL_DEBUG, format, args); format 77 src/libsir/src/sir.c bool sir_info(PRINTF_FORMAT const char* format, ...) { format 78 src/libsir/src/sir.c _SIR_L_START(format); format 79 src/libsir/src/sir.c ret = _sir_logv(SIRL_INFO, format, args); format 85 src/libsir/src/sir.c bool sir_notice(PRINTF_FORMAT const char* format, ...) { format 86 src/libsir/src/sir.c _SIR_L_START(format); format 87 src/libsir/src/sir.c ret = _sir_logv(SIRL_NOTICE, format, args); format 93 src/libsir/src/sir.c bool sir_warn(PRINTF_FORMAT const char* format, ...) { format 94 src/libsir/src/sir.c _SIR_L_START(format); format 95 src/libsir/src/sir.c ret = _sir_logv(SIRL_WARN, format, args); format 101 src/libsir/src/sir.c bool sir_error(PRINTF_FORMAT const char* format, ...) { format 102 src/libsir/src/sir.c _SIR_L_START(format); format 103 src/libsir/src/sir.c ret = _sir_logv(SIRL_ERROR, format, args); format 109 src/libsir/src/sir.c bool sir_crit(PRINTF_FORMAT const char* format, ...) { format 110 src/libsir/src/sir.c _SIR_L_START(format); format 111 src/libsir/src/sir.c ret = _sir_logv(SIRL_CRIT, format, args); format 117 src/libsir/src/sir.c bool sir_alert(PRINTF_FORMAT const char* format, ...) { format 118 src/libsir/src/sir.c _SIR_L_START(format); format 119 src/libsir/src/sir.c ret = _sir_logv(SIRL_ALERT, format, args); format 125 src/libsir/src/sir.c bool sir_emerg(PRINTF_FORMAT const char* format, ...) { format 126 src/libsir/src/sir.c _SIR_L_START(format); format 127 src/libsir/src/sir.c ret = _sir_logv(SIRL_EMERG, format, args); format 282 src/libsir/src/sirerrors.c PRINTF_FORMAT const char* format, ...) { format 292 src/libsir/src/sirerrors.c va_start(args, format); format 295 src/libsir/src/sirerrors.c int write2 = vsnprintf(NULL, 0, format, args); format 304 src/libsir/src/sirerrors.c write2 = vsnprintf(buf, write2 + 1, format, args2); format 554 src/libsir/src/sirinternal.c bool _sir_logv(sir_level level, PRINTF_FORMAT const char* format, va_list args) { format 555 src/libsir/src/sirinternal.c if (!_sir_sanity() || !_sir_validlevel(level) || !_sir_validstr(format)) format 643 src/libsir/src/sirinternal.c (void)vsnprintf(buf.message, SIR_MAXMESSAGE, format, args); format 8584 src/simh/scp.c size_t width, uint32 format) format 8595 src/simh/scp.c dbuf[d] = (format == PV_RZRO)? '0': ' '; format 8605 src/simh/scp.c switch (format) { format 8630 src/simh/scp.c uint32 width, uint32 format) format 8635 src/simh/scp.c return sprint_val (NULL, val, radix, width, format); format 8638 src/simh/scp.c sprint_val (dbuf, val, radix, width, format); format 10279 src/simh/scp.c if (bitdefs[i].format) { format 10281 src/simh/scp.c (void)Fprintf(stream, bitdefs[i].format, value); format 110 src/simh/scp.h # define GCC_FMT_ATTR(n, m) __attribute__ ((format (__printf__, n, m))) format 492 src/simh/sim_defs.h const char *format; /* value format string */ format 1173 src/simh/sim_tape.c const uint32 format = MT_GET_FMT (uptr); /* tape format */ format 1191 src/simh/sim_tape.c if (format != MTUF_F_STD) /* if erase gaps aren't supported by the format */