snprintf 332 cib/callbacks.c snprintf(buffer, 32, U64T, ping_seq); snprintf 89 crmd/lrm.c snprintf(op_id, strlen(rsc) + 34, "%s:%d", rsc, call_id); snprintf 962 crmd/lrm.c snprintf(rsc_xpath, max, rsc_template, lrm_state->node_name, rsc_id); snprintf 353 crmd/membership.c snprintf(xpath, NODE_PATH_MAX, snprintf 236 crmd/pengine.c lpc = snprintf(xpath_string, xpath_max, "%.128s//%s//nvpair[@name='%.128s']", snprintf 214 crmd/te_callbacks.c snprintf(rsc_op_xpath, path_max, rsc_op_template, op_id); snprintf 206 fencing/commands.c snprintf(buffer, sizeof(buffer), "pcmk_%s_timeout", action); snprintf 672 fencing/commands.c snprintf(line, 1 + len, "%s", hosts + last); snprintf 756 fencing/commands.c offset += snprintf(actions+offset, MAX_ACTION_LEN - offset, " "); snprintf 758 fencing/commands.c offset += snprintf(actions+offset, MAX_ACTION_LEN - offset, "%s", action); snprintf 1333 fencing/commands.c snprintf(line, 1 + lpc - last, "%s", devices + last); snprintf 916 fencing/main.c n = snprintf(xpath, XPATH_MAX, "//" XML_CIB_TAG_NODES snprintf 508 fencing/test.c snprintf(buf, sizeof(buf) - 1, "%d", MAINLOOP_DEFAULT_TIMEOUT + CUSTOM_TIMEOUT_ADDITION); snprintf 539 lib/ais/plugin.c snprintf(last_s, 31, "%u", last); snprintf 1194 lib/ais/plugin.c snprintf(data.string, size, snprintf 1252 lib/ais/plugin.c snprintf(data, size, "<quorum id=\"" U64T "\" quorate=\"%s\" expected=\"%u\" actual=\"%u\"/>", snprintf 1723 lib/ais/plugin.c snprintf(node_id_s, 31, "%u", node_id); snprintf 414 lib/ais/utils.c offset += snprintf(data + offset, size - offset, "<node id=\"%u\" ", node->id); snprintf 416 lib/ais/utils.c offset += snprintf(data + offset, size - offset, "uname=\"%s\" ", node->uname); snprintf 418 lib/ais/utils.c offset += snprintf(data + offset, size - offset, "state=\"%s\" ", node->state); snprintf 419 lib/ais/utils.c offset += snprintf(data + offset, size - offset, "born=\"" U64T "\" ", node->born); snprintf 420 lib/ais/utils.c offset += snprintf(data + offset, size - offset, "seen=\"" U64T "\" ", node->last_seen); snprintf 421 lib/ais/utils.c offset += snprintf(data + offset, size - offset, "votes=\"%d\" ", node->votes); snprintf 422 lib/ais/utils.c offset += snprintf(data + offset, size - offset, "processes=\"%u\" ", node->processes); snprintf 424 lib/ais/utils.c offset += snprintf(data + offset, size - offset, "addr=\"%s\" ", node->addr); snprintf 427 lib/ais/utils.c offset += snprintf(data + offset, size - offset, "version=\"%s\" ", node->version); snprintf 429 lib/ais/utils.c offset += snprintf(data + offset, size - offset, "/>"); snprintf 48 lib/cib/cib_attrs.c _offset += snprintf(_str + _offset, \ snprintf 788 lib/cib/cib_ops.c snprintf(new_path, path_len + 1, "/%s[@id='%s']%s", parent->name, id, snprintf 791 lib/cib/cib_ops.c snprintf(new_path, path_len + 1, "/%s%s", parent->name, path ? path : ""); snprintf 118 lib/cluster/cluster.c snprintf(buffer, len, "%u", node->id); snprintf 131 lib/common/cib_secrets.c if (snprintf(local_file, FILENAME_MAX, snprintf 441 lib/common/iso8601.c offset += snprintf(date_s+offset, DATE_MAX - offset, "%4d year%s ", dt->years, dt->years>1?"s":""); snprintf 444 lib/common/iso8601.c offset += snprintf(date_s+offset, DATE_MAX - offset, "%2d month%s ", dt->months, dt->months>1?"s":""); snprintf 447 lib/common/iso8601.c offset += snprintf(date_s+offset, DATE_MAX - offset, "%2d day%s ", dt->days, dt->days>1?"s":""); snprintf 450 lib/common/iso8601.c offset += snprintf(date_s+offset, DATE_MAX - offset, "%d seconds ( ", dt->seconds); snprintf 452 lib/common/iso8601.c offset += snprintf(date_s+offset, DATE_MAX - offset, "%u hour%s ", h, h>1?"s":""); snprintf 455 lib/common/iso8601.c offset += snprintf(date_s+offset, DATE_MAX - offset, "%u minute%s ", m, m>1?"s":""); snprintf 458 lib/common/iso8601.c offset += snprintf(date_s+offset, DATE_MAX - offset, "%u second%s ", s, s>1?"s":""); snprintf 460 lib/common/iso8601.c offset += snprintf(date_s+offset, DATE_MAX - offset, ")"); snprintf 473 lib/common/iso8601.c snprintf(date_s, 32, "%lld", s); /* Durations may not be +ve */ snprintf 479 lib/common/iso8601.c snprintf(date_s, 32, "%lld", s); /* Durations may not be +ve */ snprintf 487 lib/common/iso8601.c snprintf(date_s, 34, "%u-W%.2u-%u", y, w, d); snprintf 495 lib/common/iso8601.c snprintf(date_s, 22, "%u-%.3u", y, d); snprintf 503 lib/common/iso8601.c snprintf(date_s, 33, "%.4u-%.2u-%.2u", y, m, d); snprintf 517 lib/common/iso8601.c snprintf(time_s, 33, "%.2u:%.2u:%.2u", h, m, s); snprintf 527 lib/common/iso8601.c snprintf(offset_s, 31, "Z"); snprintf 530 lib/common/iso8601.c snprintf(offset_s, 24, " %c%.2u:%.2u", dt->offset < 0 ? '-' : '+', h, m); snprintf 537 lib/common/iso8601.c snprintf(result_s, 100, "%s%s%s%s", snprintf 1442 lib/common/iso8601.c date_len += snprintf(&date_s[date_len], max-date_len, snprintf 122 lib/common/logging.c snprintf(env_name, NAME_MAX, "PCMK_%s", option); snprintf 129 lib/common/logging.c snprintf(env_name, NAME_MAX, "HA_%s", option); snprintf 145 lib/common/logging.c snprintf(env_name, NAME_MAX, "PCMK_%s", option); snprintf 154 lib/common/logging.c snprintf(env_name, NAME_MAX, "HA_%s", option); snprintf 200 lib/common/logging.c snprintf(fmt + offset, FMT_MAX - offset, "%%t [%lu] %s %10s: ", snprintf 203 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, "%%t [%lu] %10s: ", snprintf 209 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, "%%g %%-7p: %%b"); snprintf 212 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, "(%%-12f:%%5l %%g) %%-7p: %%n:\t%%b"); snprintf 214 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, "%%g %%-7p: %%n:\t%%b"); snprintf 372 lib/common/logging.c snprintf(blackbox_file_prefix, NAME_MAX, "%s/%s-%lu", snprintf 448 lib/common/logging.c snprintf(buffer, NAME_MAX, "%s.%d", blackbox_file_prefix, counter++); snprintf 572 lib/common/logging.c snprintf(token, sizeof(token), "%.*s", (int)(next - offset), offset); snprintf 874 lib/common/logging.c snprintf(path, 512, "%s-%lu", crm_system_name, (unsigned long) getpid()); snprintf 151 lib/common/operations.c snprintf(fail_state, len, "%d:%s", op_status, transition_key); snprintf 168 lib/common/operations.c snprintf(fail_state, len, "%d:%d;%s", op_status, op_rc, transition_key); snprintf 211 lib/common/operations.c snprintf(fail_state, len, "%d:%d:%d:%-*s", action_id, transition_id, target_rc, 36, node); snprintf 53 lib/common/strings.c snprintf(buffer, len, "%d", an_int); snprintf 67 lib/common/strings.c snprintf(buffer, len, "%d", an_int); snprintf 726 lib/common/utils.c snprintf(proc_path, sizeof(proc_path), "/proc/%lu/exe", (long unsigned int)getpid()); snprintf 748 lib/common/utils.c snprintf(proc_path, sizeof(proc_path), "/proc/%lu/exe", pid); snprintf 763 lib/common/utils.c rc = snprintf(myexe_path, sizeof(proc_path), CRM_DAEMON_DIR"/%s", daemon); snprintf 766 lib/common/utils.c rc = snprintf(myexe_path, sizeof(proc_path), "%s", daemon); snprintf 867 lib/common/utils.c snprintf(buf, sizeof(buf), "%*lu\n", LOCKSTRLEN - 1, mypid); snprintf 127 lib/common/xml.c rc = snprintf((buffer) + (offset), (max) - (offset), fmt, ##args); \ snprintf 412 lib/common/xml.c offset += snprintf(buffer + offset, XML_BUFFER_SIZE - offset, "//%s", tag); snprintf 414 lib/common/xml.c offset += snprintf(buffer + offset, XML_BUFFER_SIZE - offset, "//*"); snprintf 418 lib/common/xml.c offset += snprintf(buffer + offset, XML_BUFFER_SIZE - offset, "["); snprintf 422 lib/common/xml.c offset += snprintf(buffer + offset, XML_BUFFER_SIZE - offset, "@id='%s'", ref); snprintf 426 lib/common/xml.c offset += snprintf(buffer + offset, XML_BUFFER_SIZE - offset, " and "); snprintf 430 lib/common/xml.c offset += snprintf(buffer + offset, XML_BUFFER_SIZE - offset, "@%s", attr); snprintf 434 lib/common/xml.c offset += snprintf(buffer + offset, XML_BUFFER_SIZE - offset, "]"); snprintf 1480 lib/common/xml.c o_set += snprintf(buffer_set + o_set, XML_BUFFER_SIZE - o_set, ", "); snprintf 1482 lib/common/xml.c o_set += snprintf(buffer_set + o_set, XML_BUFFER_SIZE - o_set, "@%s=%s", name, value); snprintf 1486 lib/common/xml.c o_unset += snprintf(buffer_unset + o_unset, XML_BUFFER_SIZE - o_unset, ", "); snprintf 1488 lib/common/xml.c o_unset += snprintf(buffer_unset + o_unset, XML_BUFFER_SIZE - o_unset, "@%s", name); snprintf 2449 lib/common/xml.c offset += snprintf(buffer + offset, XML_BUFFER_SIZE - offset, "[@%s]", name); snprintf 2622 lib/common/xml.c offset += snprintf(buffer + offset, XML_BUFFER_SIZE - offset, "/%s[@id='%s']", (const char *)xml->name, id); snprintf 2624 lib/common/xml.c offset += snprintf(buffer + offset, XML_BUFFER_SIZE - offset, "/%s", (const char *)xml->name); snprintf 5147 lib/common/xml.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "//%s[@id='%s']", tag, ref); snprintf 519 lib/fencing/st_client.c snprintf(buffer, sizeof(buffer), "pcmk_%s_action", action); snprintf 526 lib/fencing/st_client.c snprintf(buffer, sizeof(buffer), "pcmk_%s_cmd", action); snprintf 555 lib/fencing/st_client.c if (snprintf(nodeid_str, 33, "%u", (unsigned int)victim_nodeid)) { snprintf 698 lib/fencing/st_client.c snprintf(buffer, sizeof(buffer), "pcmk_%s_retries", _action); snprintf 732 lib/fencing/st_client.c snprintf(output + len, more + 1, "%s", buffer); snprintf 1183 lib/fencing/st_client.c snprintf(buffer, FILENAME_MAX, "%s/%s", RH_STONITH_DIR, namelist[file_num]->d_name); snprintf 1381 lib/fencing/st_client.c snprintf(buffer, bufferlen - 1, META_TEMPLATE, snprintf 1590 lib/fencing/st_client.c snprintf(buffer, FILENAME_MAX, "%s/%s", RH_STONITH_DIR, agent); snprintf 76 lib/pengine/container.c return snprintf(buffer, max, " --add-host=%s-%d:%s --link %s-docker-%d:%s-link-%d", snprintf 81 lib/pengine/container.c return snprintf(buffer, max, " --add-host=%s-%d:%s", snprintf 84 lib/pengine/container.c return snprintf(buffer, max, " --hosts-entry=%s=%s-%d", snprintf 208 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " --restart=no"); snprintf 216 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " -h %s-%d", snprintf 220 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_stderr=1"); snprintf 224 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " --net=%s", data->docker_network); snprintf 228 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_remote_port=%s", data->control_port); snprintf 230 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_remote_port=%d", DEFAULT_REMOTE_PORT); snprintf 241 lib/pengine/container.c doffset += snprintf(dbuffer+doffset, dmax-doffset, ","); snprintf 243 lib/pengine/container.c doffset += snprintf(dbuffer+doffset, dmax-doffset, "%s", source); snprintf 244 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", source, mount->target); snprintf 248 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", mount->source, mount->target); snprintf 251 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, ":%s", mount->options); snprintf 259 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " -p %s:%s:%s", snprintf 263 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " -p %s:%s", port->source, port->target); snprintf 268 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " %s", data->docker_run_options); snprintf 272 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " %s", data->docker_host_options); snprintf 373 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " --hostname=%s-%d", snprintf 377 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " --environment=PCMK_stderr=1"); snprintf 381 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " --net=%s", data->docker_network); snprintf 385 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " --environment=PCMK_remote_port=%s", data->control_port); snprintf 387 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " --environment=PCMK_remote_port=%d", DEFAULT_REMOTE_PORT); snprintf 398 lib/pengine/container.c doffset += snprintf(dbuffer+doffset, dmax-doffset, ","); snprintf 400 lib/pengine/container.c doffset += snprintf(dbuffer+doffset, dmax-doffset, "%s", source); snprintf 401 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " --volume vol%d,kind=host,source=%s", volid, source); snprintf 403 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, ",%s", mount->options); snprintf 405 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " --mount volume=vol%d,target=%s", volid, mount->target); snprintf 409 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " --volume vol%d,kind=host,source=%s", volid, mount->source); snprintf 411 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, ",%s", mount->options); snprintf 413 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " --mount volume=vol%d,target=%s", volid, mount->target); snprintf 422 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " --port=%s:%s:%s", snprintf 425 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " --port=%s:%s", port->target, port->source); snprintf 430 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " %s", data->docker_run_options); snprintf 434 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " %s", data->docker_host_options); snprintf 1284 lib/pengine/container.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", rsc_printable_id(tuple->remote)); snprintf 1286 lib/pengine/container.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", rsc_printable_id(tuple->docker)); snprintf 1289 lib/pengine/container.c offset += snprintf(buffer + offset, LINE_MAX - offset, " (%s)", tuple->ipaddr); snprintf 539 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", pre_text); snprintf 541 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", name); snprintf 542 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, "\t(%s", class); snprintf 545 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, "::%s", prov); snprintf 547 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, ":%s):\t", kind); snprintf 549 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, " ORPHANED "); snprintf 552 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, "FAILED %s", role2text(role)); snprintf 554 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, "FAILED"); snprintf 558 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", rsc_state); snprintf 562 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, " %s", node->details->uname); snprintf 565 lib/pengine/native.c flagOffset += snprintf(flagBuffer + flagOffset, LINE_MAX - flagOffset, snprintf 574 lib/pengine/native.c flagOffset += snprintf(flagBuffer + flagOffset, LINE_MAX - flagOffset, snprintf 586 lib/pengine/native.c flagOffset += snprintf(flagBuffer + flagOffset, LINE_MAX - flagOffset, snprintf 592 lib/pengine/native.c flagOffset += snprintf(flagBuffer + flagOffset, LINE_MAX - flagOffset, snprintf 599 lib/pengine/native.c flagOffset += snprintf(flagBuffer + flagOffset, LINE_MAX - flagOffset, snprintf 604 lib/pengine/native.c flagOffset += snprintf(flagBuffer + flagOffset, LINE_MAX - flagOffset, snprintf 609 lib/pengine/native.c flagOffset += snprintf(flagBuffer + flagOffset, LINE_MAX - flagOffset, snprintf 825 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", class); snprintf 828 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, "::%s", prov); snprintf 830 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, ":%s", kind); snprintf 2383 lib/pengine/unpack.c offset += snprintf(xpath + offset, STATUS_PATH_MAX - offset, "//node_state[@uname='%s']", node); snprintf 2385 lib/pengine/unpack.c snprintf(xpath + offset, STATUS_PATH_MAX - offset, "//" XML_LRM_TAG_RESOURCE "[@id='%s']", snprintf 2391 lib/pengine/unpack.c snprintf(xpath + offset, STATUS_PATH_MAX - offset, snprintf 2396 lib/pengine/unpack.c snprintf(xpath + offset, STATUS_PATH_MAX - offset, snprintf 2401 lib/pengine/unpack.c snprintf(xpath + offset, STATUS_PATH_MAX - offset, snprintf 2191 lib/pengine/utils.c digests_all_offset += snprintf( snprintf 2195 lib/pengine/utils.c digests_secure_offset += snprintf( snprintf 271 lib/services/services.c snprintf(buf_tmp, sizeof(buf_tmp), "%d", index); snprintf 1008 lib/services/services.c snprintf(ra_pathname, sizeof(ra_pathname), "%s", type); snprintf 1010 lib/services/services.c snprintf(ra_pathname, sizeof(ra_pathname), "%s/%s", snprintf 1064 lib/services/services.c offset += snprintf(description, DESC_MAX, "%s", snprintf 1075 lib/services/services.c offset += snprintf(description + offset, DESC_MAX - offset, snprintf 158 lib/services/services_linux.c snprintf(buffer, sizeof(buffer), "OCF_RESKEY_%s", (char *)key); snprintf 829 lib/services/services_linux.c snprintf(buffer, sizeof(buffer), "%s/%s", root, namelist[lpc]->d_name); snprintf 885 lib/services/services_linux.c snprintf(buffer, sizeof(buffer), "%s/resource.d/%s", OCF_ROOT_DIR, provider); snprintf 103 lrmd/lrmd.c snprintf(pid_str, 32, "%d", cmd->last_pid); snprintf 487 lrmd/main.c snprintf(argv[0], maxlen, "%s", name); snprintf 109 lrmd/test.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 337 lrmd/tls_backend.c snprintf(port_str, sizeof(port_str), "%d", port); snprintf 478 mcp/corosync.c snprintf(key, PATH_MAX, "uidgid.gid.%u", gid); snprintf 610 mcp/pacemaker.c rc = snprintf(buffer, SIZEOF(buffer), "<node uname=\"%s\" proclist=\"%u\"/>", snprintf 613 mcp/pacemaker.c rc = snprintf(buffer, SIZEOF(buffer), "<node proclist=\"%u\"/>", get_process_list()); snprintf 33 replace/strerror.c snprintf(whaterr, sizeof(whaterr), "error %d", errnum); snprintf 3380 tools/crm_mon.c snprintf(target53, sizeof(target53), "%s:162", target); snprintf 3692 tools/crm_mon.c snprintf(crm_mail_subject, len, "%s - %s event for %s on %s: %s\r\n", crm_mail_prefix, task, snprintf 3696 tools/crm_mon.c len += snprintf(crm_mail_body + len, BODY_MAX - len, "\r\n%s\r\n", crm_mail_prefix); snprintf 3697 tools/crm_mon.c len += snprintf(crm_mail_body + len, BODY_MAX - len, "====\r\n\r\n"); snprintf 3699 tools/crm_mon.c len += snprintf(crm_mail_body + len, BODY_MAX - len, snprintf 3702 tools/crm_mon.c len += snprintf(crm_mail_body + len, BODY_MAX - len, snprintf 3706 tools/crm_mon.c len += snprintf(crm_mail_body + len, BODY_MAX - len, "\r\nDetails:\r\n"); snprintf 3707 tools/crm_mon.c len += snprintf(crm_mail_body + len, BODY_MAX - len, snprintf 3710 tools/crm_mon.c len += snprintf(crm_mail_body + len, BODY_MAX - len, snprintf 3712 tools/crm_mon.c len += snprintf(crm_mail_body + len, BODY_MAX - len, snprintf 3747 tools/crm_mon.c snprintf(auto_from, BODY_MAX, "crm_mon@%s", us.nodename); snprintf 189 tools/crm_node.c if(snprintf(buffer, 63, "%u", n) > 0) { snprintf 109 tools/crm_resource_runtime.c snprintf(xpath_string + offset, XPATH_MAX - offset, "%s", get_object_path("resources")); snprintf 111 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "//*[@id=\"%s\"]", rsc); snprintf 114 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "/%s", set_type); snprintf 116 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "[@id=\"%s\"]", set_name); snprintf 120 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "//nvpair["); snprintf 122 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "@id=\"%s\"", attr_id); snprintf 127 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, " and "); snprintf 129 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "@name=\"%s\"", attr_name); snprintf 131 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "]"); snprintf 574 tools/crm_simulate.c snprintf(buffer, sizeof(buffer), "%s/%s", dir, namelist[file_num]->d_name); snprintf 168 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "%s", "/cib/status/tickets"); snprintf 171 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "/%s[@id=\"%s\"]", snprintf 212 tools/crm_ticket.c snprintf(xpath_string + offset, XPATH_MAX - offset, "%s/%s", snprintf 216 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "[@ticket=\"%s\"]", snprintf 297 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "%s", "/cib/status/tickets"); snprintf 300 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "/%s", set_type); snprintf 302 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "[@id=\"%s\"]", set_name); snprintf 306 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "//nvpair["); snprintf 308 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "@id=\"%s\"", attr_id); snprintf 323 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, " and "); snprintf 325 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "@name=\"%s\"", long_key); snprintf 329 tools/crm_ticket.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "]"); snprintf 438 tools/crm_ticket.c offset += snprintf(warning + offset, text_max - offset, snprintf 444 tools/crm_ticket.c offset += snprintf(warning + offset, text_max - offset, snprintf 448 tools/crm_ticket.c offset += snprintf(warning + offset, text_max - offset, snprintf 452 tools/crm_ticket.c offset += snprintf(warning + offset, text_max - offset, snprintf 458 tools/crm_ticket.c offset += snprintf(warning + offset, text_max - offset, snprintf 462 tools/crm_ticket.c offset += snprintf(warning + offset, text_max - offset, snprintf 124 tools/fake_transition.c snprintf(xpath, max, new_node_template, node); snprintf 264 tools/fake_transition.c snprintf(xpath, max, rsc_template, node, resource); snprintf 350 tools/fake_transition.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "%s", "/cib/status/tickets"); snprintf 353 tools/fake_transition.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "/%s[@id=\"%s\"]", snprintf 477 tools/fake_transition.c snprintf(xpath, STATUS_PATH_MAX, "//node_state[@uname='%s']/%s", node, XML_CIB_TAG_LRM); snprintf 481 tools/fake_transition.c snprintf(xpath, STATUS_PATH_MAX, "//node_state[@uname='%s']/%s", node, snprintf 708 tools/fake_transition.c snprintf(key, strlen(spec), "%s_%s_%d@%s=", resource, op->op_type, op->interval, node); snprintf 783 tools/fake_transition.c snprintf(xpath, STATUS_PATH_MAX, "//node_state[@uname='%s']/%s", target, XML_CIB_TAG_LRM); snprintf 787 tools/fake_transition.c snprintf(xpath, STATUS_PATH_MAX, "//node_state[@uname='%s']/%s", target,