snprintf 407 daemons/based/based_callbacks.c snprintf(buffer, 32, "%" PRIu64, ping_seq); snprintf 178 daemons/execd/cts-exec-helper.c snprintf(event_buf_v0, sizeof(event_buf_v0), "NEW_EVENT event_type:%s rsc_id:%s action:%s rc:%s op_status:%s", \ snprintf 279 daemons/execd/remoted_pidone.c snprintf(argv[0], maxlen, "%s", name); snprintf 327 daemons/execd/remoted_tls.c snprintf(port_str, sizeof(port_str), "%d", port); snprintf 549 daemons/fenced/cts-fence-helper.c snprintf(buf, sizeof(buf) - 1, "%d", MAINLOOP_DEFAULT_TIMEOUT + CUSTOM_TIMEOUT_ADDITION); snprintf 231 daemons/fenced/fenced_commands.c snprintf(buffer, sizeof(buffer), "pcmk_%s_timeout", action); snprintf 366 daemons/pacemakerd/pcmkd_corosync.c snprintf(key, PATH_MAX, "uidgid.gid.%u", gid); snprintf 52 lib/common/attrs.c snprintf(buf + offset, sizeof(buf) - offset, "%s", target_var); snprintf 55 lib/common/attrs.c snprintf(buf + offset, sizeof(buf) - offset, "%s", phys_var); snprintf 119 lib/common/cib_secrets.c if (snprintf(local_file, FILENAME_MAX, LRM_CIBSECRETS_DIR "/%s/", rsc_id) snprintf 491 lib/common/iso8601.c *offset += snprintf(buf + *offset, DATE_MAX - *offset, "%s%lld.%06d", snprintf 514 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, "%4d year%s ", snprintf 518 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, "%2d month%s ", snprintf 522 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, "%2d day%s ", snprintf 531 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, "%d", snprintf 534 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, " second%s", snprintf 549 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, " ("); snprintf 552 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, snprintf 558 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, snprintf 567 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, snprintf 570 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, " second%s", snprintf 574 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, ")"); snprintf 625 lib/common/iso8601.c snprintf(result, DATE_MAX, "%lld", seconds); snprintf 646 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, snprintf 656 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, snprintf 666 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, snprintf 677 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, " "); snprintf 681 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, snprintf 686 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, snprintf 694 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, snprintf 698 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, "Z"); snprintf 2120 lib/common/iso8601.c nc = snprintf(&date_s[date_len], sizeof(date_s) - date_len, snprintf 2218 lib/common/iso8601.c offset += snprintf(str + offset, MAXSTR - offset, "%ud", snprintf 2223 lib/common/iso8601.c offset += snprintf(str + offset, MAXSTR - offset, "%uh", snprintf 2228 lib/common/iso8601.c offset += snprintf(str + offset, MAXSTR - offset, "%um", snprintf 2235 lib/common/iso8601.c offset += snprintf(str + offset, MAXSTR - offset, "%u", snprintf 2239 lib/common/iso8601.c offset += snprintf(str + offset, MAXSTR - offset, ".%03u", snprintf 2242 lib/common/iso8601.c (void) snprintf(str + offset, MAXSTR - offset, "s"); snprintf 2245 lib/common/iso8601.c (void) snprintf(str + offset, MAXSTR - offset, "%ums", interval_ms); snprintf 169 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, snprintf 175 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, "(%%n"); snprintf 178 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, "@%%f:%%l"); snprintf 180 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, ")"); snprintf 183 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, " %%g\t%%p: %%b"); snprintf 527 lib/common/logging.c snprintf(buffer, NAME_MAX, "%s.%d", blackbox_file_prefix, counter++); snprintf 659 lib/common/logging.c snprintf(token, sizeof(token), "%.*s", (int)(next - offset), offset); snprintf 414 lib/common/nvpair.c if (snprintf(s, LLSTRSIZE, "%lld", (long long) value) == LLSTRSIZE) { snprintf 1103 lib/common/options.c int rv = snprintf(env_name, NAME_MAX, "%s%s", prefixes[i], option); snprintf 1154 lib/common/options.c int rv = snprintf(env_name, NAME_MAX, "%s%s", prefixes[i], option); snprintf 212 lib/common/output_log.c offset += snprintf(prefix + offset, LINE_MAX - offset, ": %s", (char *)gIter->data); snprintf 214 lib/common/output_log.c offset = snprintf(prefix, LINE_MAX, "%s", (char *)gIter->data); snprintf 85 lib/common/pid.c rc = snprintf(myexe_path, sizeof(myexe_path), CRM_DAEMON_DIR"/%s", snprintf 88 lib/common/pid.c rc = snprintf(myexe_path, sizeof(myexe_path), "%s", daemon); snprintf 232 lib/common/pid.c snprintf(buf, sizeof(buf), "%*lld\n", LOCKSTRLEN - 1, (long long) mypid); snprintf 185 lib/common/procfs.c if (snprintf(procfs_exe_path, PATH_MAX, "/proc/%lld/exe", snprintf 150 lib/common/scores.c snprintf(score_s, sizeof(score_s), "%d", score); snprintf 1370 lib/common/strings.c snprintf(buffer, len, "%d", an_int); snprintf 73 lib/common/tests/options/pcmk__env_option_test.c snprintf(buf, NAME_MAX, "HA_%s", long_opt); snprintf 81 lib/common/tests/options/pcmk__set_env_option_test.c snprintf(buf, NAME_MAX, "HA_%s", long_opt); snprintf 26 lib/common/tests/procfs/pcmk__procfs_has_pids_false_test.c snprintf(path, PATH_MAX, "/proc/%u/exe", getpid()); snprintf 25 lib/common/tests/procfs/pcmk__procfs_has_pids_true_test.c snprintf(path, PATH_MAX, "/proc/%u/exe", getpid()); snprintf 100 lib/common/tests/strings/pcmk__scan_double_test.c snprintf(str, LOCAL_BUF_SIZE, "%f", DBL_MAX); snprintf 104 lib/common/tests/strings/pcmk__scan_double_test.c snprintf(str, LOCAL_BUF_SIZE, "%f", -DBL_MAX); snprintf 119 lib/common/tests/strings/pcmk__scan_double_test.c snprintf(str, LOCAL_BUF_SIZE, "1e%d", DBL_MAX_10_EXP + 1); snprintf 123 lib/common/tests/strings/pcmk__scan_double_test.c snprintf(str, LOCAL_BUF_SIZE, "-1e%d", DBL_MAX_10_EXP + 1); snprintf 140 lib/common/tests/strings/pcmk__scan_double_test.c snprintf(str, LOCAL_BUF_SIZE, "1e%d", DBL_MIN_10_EXP - 1); snprintf 145 lib/common/tests/strings/pcmk__scan_double_test.c snprintf(str, LOCAL_BUF_SIZE, "-1e%d", DBL_MIN_10_EXP - 1); snprintf 137 lib/fencing/st_actions.c snprintf(buffer, sizeof(buffer), "pcmk_%s_action", action); snprintf 286 lib/fencing/st_actions.c snprintf(buffer, sizeof(buffer), "pcmk_%s_retries", action_name); snprintf 57 lib/fencing/st_rhcs.c snprintf(buffer, sizeof(buffer), "%s/%s", PCMK__FENCE_BINDIR, snprintf 187 lib/lrmd/lrmd_alerts.c snprintf(timestamp_epoch, sizeof(timestamp_epoch), "%lld", snprintf 192 lib/lrmd/lrmd_alerts.c snprintf(timestamp_usec, sizeof(timestamp_usec), "%06d", now->useconds); snprintf 2333 lib/pacemaker/pcmk_output.c code_width = (int) snprintf(NULL, 0, "%lld", most_negative); snprintf 408 lib/pacemaker/pcmk_simulate.c snprintf(buffer, sizeof(buffer), "%s/%s", snprintf 1616 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", snprintf 1619 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", snprintf 1623 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, " (%s)", snprintf 1776 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", snprintf 1779 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", snprintf 1783 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, " (%s)", snprintf 1919 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", snprintf 1922 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", snprintf 1926 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, " (%s)", snprintf 998 lib/pengine/native.c snprintf(ra_name, LINE_MAX, "%s%s%s:%s", class, snprintf 1204 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", class); snprintf 1209 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, snprintf 1213 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, ":%s", kind); snprintf 423 lib/services/services_linux.c snprintf(buffer, sizeof(buffer), strcmp(key, "OCF_CHECK_LEVEL") != 0 ? "OCF_RESKEY_%s" : "%s", (char *)key); snprintf 1449 lib/services/services_linux.c snprintf(buffer, sizeof(buffer), "%s/%s", root, namelist[lpc]->d_name); snprintf 124 lib/services/services_lsb.c snprintf(ra_pathname, sizeof(ra_pathname), "%s", type); snprintf 126 lib/services/services_lsb.c snprintf(ra_pathname, sizeof(ra_pathname), "%s/%s", snprintf 145 maint/gnulib/lib/ftoastr.c int n = snprintf (buf, bufsize, format, width, prec, promoted_x); snprintf 496 maint/gnulib/lib/getaddrinfo.c if (servicelen <= snprintf (service, servicelen, "%u", port)) snprintf 378 maint/gnulib/lib/parse-datetime.y ? snprintf (buffer, n, "%s", ordinal_values[pc->day_ordinal + 1]) snprintf 379 maint/gnulib/lib/parse-datetime.y : snprintf (buffer, n, "%"PRIdMAX, pc->day_ordinal)); snprintf 389 maint/gnulib/lib/parse-datetime.y snprintf (buffer + len, n - len, &" %s"[len == 0], snprintf 1615 maint/gnulib/lib/parse-datetime.y snprintf (&buf[m], n - m, " TZ=%s", time_zone_str (tz, time_zone_buf)); snprintf 1624 maint/gnulib/lib/parse-datetime.y snprintf (buf, n, "(Y-M-D) %s-%02d-%02d", snprintf 1633 maint/gnulib/lib/parse-datetime.y snprintf (buf, n, "%02d:%02d:%02d", tm->tm_hour, tm->tm_min, tm->tm_sec); snprintf 1676 maint/gnulib/lib/parse-datetime.y i = snprintf (tmp, sizeof tmp, snprintf 1311 maint/gnulib/lib/stdio.in.h _GL_FUNCDECL_RPL (snprintf, int, snprintf 1316 maint/gnulib/lib/stdio.in.h _GL_CXXALIAS_RPL (snprintf, int, snprintf 1321 maint/gnulib/lib/stdio.in.h _GL_FUNCDECL_SYS (snprintf, int, snprintf 1327 maint/gnulib/lib/stdio.in.h _GL_CXXALIAS_SYS (snprintf, int, snprintf 1332 maint/gnulib/lib/stdio.in.h _GL_CXXALIASWARN (snprintf); snprintf 1337 maint/gnulib/lib/stdio.in.h _GL_WARN_ON_USE (snprintf, "snprintf is unportable - " snprintf 442 maint/gnulib/lib/strerror_r.c snprintf (buf, buflen, "Unknown Application Error (%d)", errnum); snprintf 444 maint/gnulib/lib/strerror_r.c snprintf (buf, buflen, "Unknown error %d", errnum); snprintf 47 maint/gnulib/lib/strsignal.c # define __snprintf snprintf snprintf 195 maint/gnulib/lib/vasnprintf.c # define SNPRINTF snprintf snprintf 205 maint/gnulib/lib/vasnprintf.c # define SNPRINTF snprintf snprintf 39 maint/gnulib/tests/test-c-dtoastr.c snprintf (s, sizeof s, "%#.0f", 1.0); snprintf 39 maint/gnulib/tests/test-c-ldtoastr.c snprintf (s, sizeof s, "%#.0f", 1.0); snprintf 39 maint/gnulib/tests/test-c-snprintf.c snprintf (s, sizeof s, "%#.0f", 1.0); snprintf 51 maint/gnulib/tests/test-c-vasprintf.c snprintf (s, sizeof s, "%#.0f", 1.0); snprintf 54 maint/gnulib/tests/test-c-vsnprintf.c snprintf (s, sizeof s, "%#.0f", 1.0); snprintf 52 maint/gnulib/tests/test-c-xvasprintf.c snprintf (s, sizeof s, "%#.0f", 1.0); snprintf 54 maint/gnulib/tests/test-duplocale.c snprintf (result->numeric, sizeof (result->numeric), snprintf 50 maint/gnulib/tests/test-inttostr.c ? snprintf (ref, sizeof ref, "%jd", (intmax_t) TYPE_MINIMUM (T)) \ snprintf 51 maint/gnulib/tests/test-inttostr.c : snprintf (ref, sizeof ref, "%ju", (uintmax_t) TYPE_MINIMUM (T))) \ snprintf 58 maint/gnulib/tests/test-inttostr.c ? snprintf (ref, sizeof ref, "%jd", (intmax_t) TYPE_MAXIMUM (T)) \ snprintf 59 maint/gnulib/tests/test-inttostr.c : snprintf (ref, sizeof ref, "%ju", (uintmax_t) TYPE_MAXIMUM (T))) \ snprintf 79 maint/gnulib/tests/test-inttostr.c if (snprintf (b, b_size, "%ju", (uintmax_t) 3) == 1 snprintf 58 maint/gnulib/tests/test-nonblocking-misc.h ret = snprintf (line, sizeof (line), "%.6f ", snprintf 36 maint/gnulib/tests/test-snprintf-posix.c test_function (snprintf); snprintf 24 maint/gnulib/tests/test-snprintf.c SIGNATURE_CHECK (snprintf, int, (char *, size_t, char const *, ...)); snprintf 37 maint/gnulib/tests/test-snprintf.c retval = snprintf (NULL, 0, "%d", 12345); snprintf 43 maint/gnulib/tests/test-snprintf.c retval = snprintf (buf, size, "%d", 12345); snprintf 66 maint/gnulib/tests/test-snprintf.c retval = snprintf (result, sizeof (result), "%2$d %1$d", 33, 55); snprintf 183 maint/gnulib/tests/test-stdio-c++.cc SIGNATURE_CHECK (GNULIB_NAMESPACE::snprintf, int,