snprintf 7094 coverity-615a9a4209343c7a632302635bcaf5555208cdd5/emit/p1.localdomain/config/204bf3f8db9ff8db53f6f0a163803c5e/g++-config-0/coverity-compiler-compat.h #define __builtin_snprintf(dst, len, ...) snprintf (dst, len, __VA_ARGS__) snprintf 7094 coverity-615a9a4209343c7a632302635bcaf5555208cdd5/emit/p1.localdomain/config/204bf3f8db9ff8db53f6f0a163803c5e/g++-config-1/coverity-compiler-compat.h #define __builtin_snprintf(dst, len, ...) snprintf (dst, len, __VA_ARGS__) snprintf 7083 coverity-615a9a4209343c7a632302635bcaf5555208cdd5/emit/p1.localdomain/config/204bf3f8db9ff8db53f6f0a163803c5e/g++cc-config-0/coverity-compiler-compat.h #define __builtin_snprintf(dst, len, ...) snprintf (dst, len, __VA_ARGS__) snprintf 7083 coverity-615a9a4209343c7a632302635bcaf5555208cdd5/emit/p1.localdomain/config/204bf3f8db9ff8db53f6f0a163803c5e/g++cc-config-1/coverity-compiler-compat.h #define __builtin_snprintf(dst, len, ...) snprintf (dst, len, __VA_ARGS__) snprintf 7142 coverity-615a9a4209343c7a632302635bcaf5555208cdd5/emit/p1.localdomain/config/204bf3f8db9ff8db53f6f0a163803c5e/gcc-config-0/coverity-compiler-compat.h #define __builtin_snprintf(dst, len, ...) snprintf (dst, len, __VA_ARGS__) snprintf 7094 coverity-615a9a4209343c7a632302635bcaf5555208cdd5/emit/p1.localdomain/config/29c76b413fced3b4cefcc2a7bb9f0c40/g++-config-0/coverity-compiler-compat.h #define __builtin_snprintf(dst, len, ...) snprintf (dst, len, __VA_ARGS__) snprintf 7094 coverity-615a9a4209343c7a632302635bcaf5555208cdd5/emit/p1.localdomain/config/29c76b413fced3b4cefcc2a7bb9f0c40/g++-config-1/coverity-compiler-compat.h #define __builtin_snprintf(dst, len, ...) snprintf (dst, len, __VA_ARGS__) snprintf 7083 coverity-615a9a4209343c7a632302635bcaf5555208cdd5/emit/p1.localdomain/config/29c76b413fced3b4cefcc2a7bb9f0c40/g++cc-config-0/coverity-compiler-compat.h #define __builtin_snprintf(dst, len, ...) snprintf (dst, len, __VA_ARGS__) snprintf 7083 coverity-615a9a4209343c7a632302635bcaf5555208cdd5/emit/p1.localdomain/config/29c76b413fced3b4cefcc2a7bb9f0c40/g++cc-config-1/coverity-compiler-compat.h #define __builtin_snprintf(dst, len, ...) snprintf (dst, len, __VA_ARGS__) snprintf 7142 coverity-615a9a4209343c7a632302635bcaf5555208cdd5/emit/p1.localdomain/config/29c76b413fced3b4cefcc2a7bb9f0c40/gcc-config-0/coverity-compiler-compat.h #define __builtin_snprintf(dst, len, ...) snprintf (dst, len, __VA_ARGS__) snprintf 7094 coverity-615a9a4209343c7a632302635bcaf5555208cdd5/emit/p1.localdomain/config/ad0ad9579ffd70ada1beafcdf66f264d/g++-config-0/coverity-compiler-compat.h #define __builtin_snprintf(dst, len, ...) snprintf (dst, len, __VA_ARGS__) snprintf 7094 coverity-615a9a4209343c7a632302635bcaf5555208cdd5/emit/p1.localdomain/config/ad0ad9579ffd70ada1beafcdf66f264d/g++-config-1/coverity-compiler-compat.h #define __builtin_snprintf(dst, len, ...) snprintf (dst, len, __VA_ARGS__) snprintf 7083 coverity-615a9a4209343c7a632302635bcaf5555208cdd5/emit/p1.localdomain/config/ad0ad9579ffd70ada1beafcdf66f264d/g++cc-config-0/coverity-compiler-compat.h #define __builtin_snprintf(dst, len, ...) snprintf (dst, len, __VA_ARGS__) snprintf 7083 coverity-615a9a4209343c7a632302635bcaf5555208cdd5/emit/p1.localdomain/config/ad0ad9579ffd70ada1beafcdf66f264d/g++cc-config-1/coverity-compiler-compat.h #define __builtin_snprintf(dst, len, ...) snprintf (dst, len, __VA_ARGS__) snprintf 7142 coverity-615a9a4209343c7a632302635bcaf5555208cdd5/emit/p1.localdomain/config/ad0ad9579ffd70ada1beafcdf66f264d/gcc-config-0/coverity-compiler-compat.h #define __builtin_snprintf(dst, len, ...) snprintf (dst, len, __VA_ARGS__) snprintf 7094 coverity-615a9a4209343c7a632302635bcaf5555208cdd5/emit/p1.localdomain/config/afbb2caabfa82d93ef433835a2f6834f/g++-config-0/coverity-compiler-compat.h #define __builtin_snprintf(dst, len, ...) snprintf (dst, len, __VA_ARGS__) snprintf 7094 coverity-615a9a4209343c7a632302635bcaf5555208cdd5/emit/p1.localdomain/config/afbb2caabfa82d93ef433835a2f6834f/g++-config-1/coverity-compiler-compat.h #define __builtin_snprintf(dst, len, ...) snprintf (dst, len, __VA_ARGS__) snprintf 7083 coverity-615a9a4209343c7a632302635bcaf5555208cdd5/emit/p1.localdomain/config/afbb2caabfa82d93ef433835a2f6834f/g++cc-config-0/coverity-compiler-compat.h #define __builtin_snprintf(dst, len, ...) snprintf (dst, len, __VA_ARGS__) snprintf 7083 coverity-615a9a4209343c7a632302635bcaf5555208cdd5/emit/p1.localdomain/config/afbb2caabfa82d93ef433835a2f6834f/g++cc-config-1/coverity-compiler-compat.h #define __builtin_snprintf(dst, len, ...) snprintf (dst, len, __VA_ARGS__) snprintf 7142 coverity-615a9a4209343c7a632302635bcaf5555208cdd5/emit/p1.localdomain/config/afbb2caabfa82d93ef433835a2f6834f/gcc-config-0/coverity-compiler-compat.h #define __builtin_snprintf(dst, len, ...) snprintf (dst, len, __VA_ARGS__) snprintf 287 daemons/based/based_callbacks.c snprintf(buffer, 32, "%" U64T, ping_seq); snprintf 329 daemons/controld/controld_membership.c snprintf(xpath, NODE_PATH_MAX, snprintf 192 daemons/controld/controld_te_callbacks.c snprintf(rsc_op_xpath, path_max, RSC_OP_TEMPLATE, op_id); snprintf 168 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 275 daemons/execd/remoted_pidone.c snprintf(argv[0], maxlen, "%s", name); snprintf 320 daemons/execd/remoted_tls.c snprintf(port_str, sizeof(port_str), "%d", port); snprintf 525 daemons/fenced/cts-fence-helper.c snprintf(buf, sizeof(buf) - 1, "%d", MAINLOOP_DEFAULT_TIMEOUT + CUSTOM_TIMEOUT_ADDITION); snprintf 224 daemons/fenced/fenced_commands.c snprintf(buffer, sizeof(buffer), "pcmk_%s_timeout", action); snprintf 836 daemons/fenced/fenced_commands.c offset += snprintf(actions+offset, MAX_ACTION_LEN - offset, " "); snprintf 838 daemons/fenced/fenced_commands.c offset += snprintf(actions+offset, MAX_ACTION_LEN - offset, "%s", action); snprintf 987 daemons/fenced/pacemaker-fenced.c n = snprintf(xpath, XPATH_MAX, "//" XML_CIB_TAG_NODES snprintf 363 daemons/pacemakerd/pcmkd_corosync.c snprintf(key, PATH_MAX, "uidgid.gid.%u", gid); snprintf 40 lib/cib/cib_attrs.c _offset += snprintf(_str + _offset, \ snprintf 92 lib/common/acl.c offset += snprintf(buffer + offset, MAX_XPATH_LEN - offset, snprintf 95 lib/common/acl.c offset += snprintf(buffer + offset, MAX_XPATH_LEN - offset, snprintf 100 lib/common/acl.c offset += snprintf(buffer + offset, MAX_XPATH_LEN - offset, snprintf 105 lib/common/acl.c offset += snprintf(buffer + offset, MAX_XPATH_LEN - offset, snprintf 111 lib/common/acl.c offset += snprintf(buffer + offset, MAX_XPATH_LEN - offset, snprintf 116 lib/common/acl.c offset += snprintf(buffer + offset, MAX_XPATH_LEN - offset, snprintf 121 lib/common/acl.c offset += snprintf(buffer + offset, MAX_XPATH_LEN - offset, snprintf 614 lib/common/acl.c offset += snprintf(buffer + offset, MAX_XPATH_LEN - offset, snprintf 119 lib/common/cib_secrets.c if (snprintf(local_file, FILENAME_MAX, LRM_CIBSECRETS_DIR "/%s/", rsc_id) snprintf 457 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, "%4d year%s ", snprintf 461 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, "%2d month%s ", snprintf 465 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, "%2d day%s ", snprintf 471 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, "%d second%s", snprintf 476 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, "%d seconds (", snprintf 480 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, "%u hour%s%s", snprintf 484 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, "%u minute%s%s", snprintf 488 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, "%u second%s", snprintf 491 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, ")"); snprintf 527 lib/common/iso8601.c snprintf(result, DATE_MAX, "%lld", crm_time_get_seconds(date_time)); snprintf 532 lib/common/iso8601.c snprintf(result, DATE_MAX, "%lld", snprintf 544 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 560 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, snprintf 570 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, " "); snprintf 574 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, snprintf 580 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, snprintf 584 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, "Z"); snprintf 1689 lib/common/iso8601.c date_len += snprintf(&date_s[date_len], max-date_len, snprintf 1760 lib/common/iso8601.c offset += snprintf(str + offset, MAXSTR - offset, "%ud", snprintf 1765 lib/common/iso8601.c offset += snprintf(str + offset, MAXSTR - offset, "%uh", snprintf 1770 lib/common/iso8601.c offset += snprintf(str + offset, MAXSTR - offset, "%um", snprintf 1777 lib/common/iso8601.c offset += snprintf(str + offset, MAXSTR - offset, "%u", snprintf 1781 lib/common/iso8601.c offset += snprintf(str + offset, MAXSTR - offset, ".%03u", snprintf 1784 lib/common/iso8601.c (void) snprintf(str + offset, MAXSTR - offset, "s"); snprintf 1787 lib/common/iso8601.c (void) snprintf(str + offset, MAXSTR - offset, "%ums", interval_ms); snprintf 163 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, snprintf 169 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, "(%%n"); snprintf 172 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, "@%%f:%%l"); snprintf 174 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, ")"); snprintf 177 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, " %%g\t%%p: %%b"); snprintf 496 lib/common/logging.c snprintf(buffer, NAME_MAX, "%s.%d", blackbox_file_prefix, counter++); snprintf 614 lib/common/logging.c snprintf(token, sizeof(token), "%.*s", (int)(next - offset), offset); snprintf 943 lib/common/logging.c snprintf(path, 512, "%s-%lu", crm_system_name, (unsigned long) getpid()); snprintf 485 lib/common/nvpair.c if (snprintf(s, LLSTRSIZE, "%lld", (long long) value) == LLSTRSIZE) { snprintf 290 lib/common/options.c snprintf(env_name, NAME_MAX, "PCMK_%s", option); snprintf 297 lib/common/options.c snprintf(env_name, NAME_MAX, "HA_%s", option); snprintf 322 lib/common/options.c snprintf(env_name, NAME_MAX, "PCMK_%s", option); snprintf 331 lib/common/options.c snprintf(env_name, NAME_MAX, "HA_%s", option); snprintf 178 lib/common/output_log.c offset += snprintf(prefix + offset, LINE_MAX - offset, ": %s", (char *)gIter->data); snprintf 180 lib/common/output_log.c offset = snprintf(prefix, LINE_MAX, "%s", (char *)gIter->data); snprintf 561 lib/common/patchset.c o_set += snprintf(buffer_set + o_set, snprintf 564 lib/common/patchset.c o_set += snprintf(buffer_set + o_set, snprintf 570 lib/common/patchset.c o_unset += snprintf(buffer_unset + o_unset, snprintf 574 lib/common/patchset.c o_unset += snprintf(buffer_unset + o_unset, snprintf 37 lib/common/pid.c snprintf(proc_path, sizeof(proc_path), "/proc/%lld/exe", snprintf 70 lib/common/pid.c snprintf(proc_path, sizeof(proc_path), "/proc/%lld/exe", snprintf 97 lib/common/pid.c rc = snprintf(myexe_path, sizeof(myexe_path), CRM_DAEMON_DIR"/%s", snprintf 100 lib/common/pid.c rc = snprintf(myexe_path, sizeof(myexe_path), "%s", daemon); snprintf 237 lib/common/pid.c snprintf(buf, sizeof(buf), "%*lld\n", LOCKSTRLEN - 1, (long long) mypid); snprintf 1220 lib/common/strings.c snprintf(buffer, len, "%d", an_int); snprintf 96 lib/common/tests/strings/pcmk__scan_double_test.c snprintf(str, LOCAL_BUF_SIZE, "%f", DBL_MAX); snprintf 100 lib/common/tests/strings/pcmk__scan_double_test.c snprintf(str, LOCAL_BUF_SIZE, "%f", -DBL_MAX); snprintf 115 lib/common/tests/strings/pcmk__scan_double_test.c snprintf(str, LOCAL_BUF_SIZE, "1e%d", DBL_MAX_10_EXP + 1); snprintf 119 lib/common/tests/strings/pcmk__scan_double_test.c snprintf(str, LOCAL_BUF_SIZE, "-1e%d", DBL_MAX_10_EXP + 1); snprintf 136 lib/common/tests/strings/pcmk__scan_double_test.c snprintf(str, LOCAL_BUF_SIZE, "1e%d", DBL_MIN_10_EXP - 1); snprintf 141 lib/common/tests/strings/pcmk__scan_double_test.c snprintf(str, LOCAL_BUF_SIZE, "-1e%d", DBL_MIN_10_EXP - 1); snprintf 111 lib/common/utils.c snprintf(buf, len, "%d", score); snprintf 68 lib/common/xml.c rc = snprintf((buffer) + (offset), (max) - (offset), fmt, ##args); \ snprintf 280 lib/common/xpath.c offset += snprintf(buffer + offset, buffer_size - offset, snprintf 283 lib/common/xpath.c offset += snprintf(buffer + offset, buffer_size - offset, snprintf 557 lib/fencing/st_client.c snprintf(buffer, sizeof(buffer), "pcmk_%s_action", action); snprintf 722 lib/fencing/st_client.c snprintf(buffer, sizeof(buffer), "pcmk_%s_retries", _action); snprintf 56 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 326 lib/pacemaker/pcmk_sched_transition.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "%s", "/cib/status/tickets"); snprintf 329 lib/pacemaker/pcmk_sched_transition.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "/%s[@id=\"%s\"]", snprintf 453 lib/pacemaker/pcmk_sched_transition.c snprintf(xpath, STATUS_PATH_MAX, "//node_state[@uname='%s']/%s", node, XML_CIB_TAG_LRM); snprintf 457 lib/pacemaker/pcmk_sched_transition.c snprintf(xpath, STATUS_PATH_MAX, "//node_state[@uname='%s']/%s", node, snprintf 777 lib/pacemaker/pcmk_sched_transition.c snprintf(xpath, STATUS_PATH_MAX, "//node_state[@uname='%s']/%s", target, XML_CIB_TAG_LRM); snprintf 781 lib/pacemaker/pcmk_sched_transition.c snprintf(xpath, STATUS_PATH_MAX, "//node_state[@uname='%s']/%s", target, snprintf 314 lib/pacemaker/pcmk_simulate.c snprintf(buffer, sizeof(buffer), "%s/%s", dir, namelist[file_num]->d_name); snprintf 71 lib/pengine/bundle.c return snprintf(buffer, max, " --add-host=%s-%d:%s", snprintf 76 lib/pengine/bundle.c return snprintf(buffer, max, " --hosts-entry=%s=%s-%d", snprintf 201 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --restart=no"); snprintf 209 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -h %s-%d", snprintf 213 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_stderr=1"); snprintf 217 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --link-local-ip=%s", snprintf 220 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --net=%s", snprintf 225 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_remote_port=%s", data->control_port); snprintf 227 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_remote_port=%d", DEFAULT_REMOTE_PORT); snprintf 238 lib/pengine/bundle.c doffset += snprintf(dbuffer+doffset, dmax-doffset, ","); snprintf 240 lib/pengine/bundle.c doffset += snprintf(dbuffer+doffset, dmax-doffset, "%s", source); snprintf 241 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", source, mount->target); snprintf 245 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", mount->source, mount->target); snprintf 248 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, ":%s", mount->options); snprintf 256 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -p %s:%s:%s", snprintf 261 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -p %s:%s", port->source, port->target); snprintf 266 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " %s", snprintf 271 lib/pengine/bundle.c offset += snprintf(buffer + offset, max - offset, " %s", snprintf 374 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -h %s-%d", snprintf 378 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_stderr=1"); snprintf 383 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --link-local-ip=%s", snprintf 386 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --net=%s", snprintf 391 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_remote_port=%s", data->control_port); snprintf 393 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_remote_port=%d", DEFAULT_REMOTE_PORT); snprintf 404 lib/pengine/bundle.c doffset += snprintf(dbuffer+doffset, dmax-doffset, ","); snprintf 406 lib/pengine/bundle.c doffset += snprintf(dbuffer+doffset, dmax-doffset, "%s", source); snprintf 407 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", source, mount->target); snprintf 411 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", mount->source, mount->target); snprintf 414 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, ":%s", mount->options); snprintf 422 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -p %s:%s:%s", snprintf 427 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -p %s:%s", port->source, port->target); snprintf 432 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " %s", snprintf 437 lib/pengine/bundle.c offset += snprintf(buffer + offset, max - offset, " %s", snprintf 539 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --hostname=%s-%d", snprintf 543 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --environment=PCMK_stderr=1"); snprintf 547 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --link-local-ip=%s", snprintf 550 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --net=%s", snprintf 555 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --environment=PCMK_remote_port=%s", data->control_port); snprintf 557 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --environment=PCMK_remote_port=%d", DEFAULT_REMOTE_PORT); snprintf 568 lib/pengine/bundle.c doffset += snprintf(dbuffer+doffset, dmax-doffset, ","); snprintf 570 lib/pengine/bundle.c doffset += snprintf(dbuffer+doffset, dmax-doffset, "%s", source); snprintf 571 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --volume vol%d,kind=host,source=%s", volid, source); snprintf 573 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, ",%s", mount->options); snprintf 575 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --mount volume=vol%d,target=%s", volid, mount->target); snprintf 579 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --volume vol%d,kind=host,source=%s", volid, mount->source); snprintf 581 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, ",%s", mount->options); snprintf 583 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --mount volume=vol%d,target=%s", volid, mount->target); snprintf 592 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, snprintf 596 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --port=%s:%s", port->target, port->source); snprintf 601 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " %s", snprintf 606 lib/pengine/bundle.c offset += snprintf(buffer + offset, max - offset, " %s", snprintf 1576 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", snprintf 1579 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", snprintf 1583 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, " (%s)", snprintf 1704 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", snprintf 1707 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", snprintf 1711 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, " (%s)", snprintf 1833 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", snprintf 1836 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", snprintf 1840 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, " (%s)", snprintf 927 lib/pengine/native.c snprintf(ra_name, LINE_MAX, "%s%s%s:%s", class, snprintf 1118 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", class); snprintf 1123 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, snprintf 1127 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, ":%s", kind); snprintf 2549 lib/pengine/unpack.c offset += snprintf(xpath + offset, STATUS_PATH_MAX - offset, "//node_state[@uname='%s']", node); snprintf 2551 lib/pengine/unpack.c snprintf(xpath + offset, STATUS_PATH_MAX - offset, "//" XML_LRM_TAG_RESOURCE "[@id='%s']", snprintf 2557 lib/pengine/unpack.c snprintf(xpath + offset, STATUS_PATH_MAX - offset, snprintf 2562 lib/pengine/unpack.c snprintf(xpath + offset, STATUS_PATH_MAX - offset, snprintf 2567 lib/pengine/unpack.c snprintf(xpath + offset, STATUS_PATH_MAX - offset, snprintf 2187 lib/pengine/utils.c digests_all_offset += snprintf( snprintf 2191 lib/pengine/utils.c digests_secure_offset += snprintf( snprintf 376 lib/services/services_linux.c snprintf(buffer, sizeof(buffer), strcmp(key, "OCF_CHECK_LEVEL") != 0 ? "OCF_RESKEY_%s" : "%s", (char *)key); snprintf 1359 lib/services/services_linux.c snprintf(buffer, sizeof(buffer), "%s/%s", root, namelist[lpc]->d_name); snprintf 121 lib/services/services_lsb.c snprintf(ra_pathname, sizeof(ra_pathname), "%s", type); snprintf 123 lib/services/services_lsb.c snprintf(ra_pathname, sizeof(ra_pathname), "%s/%s", snprintf 177 lib/services/services_lsb.c offset += snprintf(description, DESC_MAX, "%s", snprintf 188 lib/services/services_lsb.c offset += snprintf(description + offset, DESC_MAX - offset, 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, snprintf 33 replace/strerror.c snprintf(whaterr, sizeof(whaterr), "error %d", errnum); snprintf 365 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "//rsc_location"); snprintf 368 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "["); snprintf 372 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "@node='%s' and ", node); snprintf 374 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "@node='%s'", node); snprintf 381 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, snprintf 386 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "@rsc='%s']", rsc); snprintf 390 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, snprintf 393 tools/crm_resource_ban.c offset += snprintf(first_half + offset, XPATH_MAX - offset, "]"); snprintf 124 tools/crm_resource_runtime.c snprintf(xpath_string + offset, XPATH_MAX - offset, "%s", get_object_path("resources")); snprintf 126 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "//*[@id=\"%s\"]", rsc); snprintf 129 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "/%s", attr_set_type); snprintf 131 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "[@id=\"%s\"]", set_name); snprintf 135 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "//nvpair["); snprintf 137 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "@id=\"%s\"", attr_id); snprintf 142 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, " and "); snprintf 144 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "@name=\"%s\"", attr_name); snprintf 146 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "]"); snprintf 153 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "%s", "/cib/status/tickets"); snprintf 156 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "/%s[@id=\"%s\"]", snprintf 197 tools/crm_ticket.c snprintf(xpath_string + offset, XPATH_MAX - offset, "%s/%s", snprintf 201 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "[@ticket=\"%s\"]", snprintf 301 tools/crm_ticket.c offset += snprintf(warning + offset, text_max - offset, snprintf 307 tools/crm_ticket.c offset += snprintf(warning + offset, text_max - offset, snprintf 311 tools/crm_ticket.c offset += snprintf(warning + offset, text_max - offset, snprintf 315 tools/crm_ticket.c offset += snprintf(warning + offset, text_max - offset, snprintf 321 tools/crm_ticket.c offset += snprintf(warning + offset, text_max - offset, snprintf 325 tools/crm_ticket.c offset += snprintf(warning + offset, text_max - offset,