buffer 379 daemons/based/based_callbacks.c char buffer[32]; buffer 386 daemons/based/based_callbacks.c snprintf(buffer, 32, "%" PRIu64, ping_seq); buffer 387 daemons/based/based_callbacks.c crm_trace("Requesting peer digests (%s)", buffer); buffer 391 daemons/based/based_callbacks.c crm_xml_add(ping, PCMK__XA_CIB_PING_ID, buffer); buffer 130 daemons/controld/controld_throttle.c char buffer[64*1024]; buffer 162 daemons/controld/controld_throttle.c if(fgets(buffer, sizeof(buffer), stream)) { buffer 168 daemons/controld/controld_throttle.c rc = sscanf(buffer, "%d %[^ ] %c %d %d %d %d %d %lu %lu %lu %lu %lu %lu %lu", buffer 212 daemons/controld/controld_throttle.c char buffer[256]; buffer 227 daemons/controld/controld_throttle.c if(fgets(buffer, sizeof(buffer), stream)) { buffer 228 daemons/controld/controld_throttle.c char *nl = strstr(buffer, "\n"); buffer 231 daemons/controld/controld_throttle.c *load = strtof(buffer, NULL); buffer 274 daemons/execd/remoted_tls.c char buffer[INET6_ADDRSTRLEN] = { 0, }; buffer 276 daemons/execd/remoted_tls.c pcmk__sockaddr2str(addr->ai_addr, buffer); buffer 277 daemons/execd/remoted_tls.c crm_trace("Attempting to bind to address %s", buffer); buffer 291 daemons/execd/remoted_tls.c crm_err("Local address reuse not allowed on %s: %s", buffer, pcmk_rc_str(rc)); buffer 301 daemons/execd/remoted_tls.c crm_err("Couldn't disable IPV6-only on %s: %s", buffer, pcmk_rc_str(rc)); buffer 309 daemons/execd/remoted_tls.c crm_err("Cannot bind to %s: %s", buffer, pcmk_rc_str(rc)); buffer 316 daemons/execd/remoted_tls.c crm_err("Cannot listen on %s: %s", buffer, pcmk_rc_str(rc)); buffer 217 daemons/fenced/fenced_commands.c char buffer[64] = { 0, }; buffer 231 daemons/fenced/fenced_commands.c snprintf(buffer, sizeof(buffer), "pcmk_%s_timeout", action); buffer 232 daemons/fenced/fenced_commands.c value = g_hash_table_lookup(device->params, buffer); buffer 871 daemons/fenced/fenced_commands.c char *buffer = NULL; buffer 881 daemons/fenced/fenced_commands.c buffer = g_hash_table_lookup(metadata_cache, agent); buffer 882 daemons/fenced/fenced_commands.c if (buffer == NULL) { buffer 892 daemons/fenced/fenced_commands.c NULL, &buffer, 10); buffer 894 daemons/fenced/fenced_commands.c if (rc || !buffer) { buffer 898 daemons/fenced/fenced_commands.c g_hash_table_replace(metadata_cache, pcmk__str_copy(agent), buffer); buffer 901 daemons/fenced/fenced_commands.c *metadata = pcmk__xml_parse(buffer); buffer 104 include/crm/common/ipc_internal.h char *buffer; buffer 96 include/crm/common/mainloop.h int (*dispatch) (const char *buffer, ssize_t length, gpointer userdata); buffer 171 include/crm/common/strings_internal.h void pcmk__g_strcat(GString *buffer, ...) G_GNUC_NULL_TERMINATED; buffer 83 include/crm/common/util.h char *crm_md5sum(const char *buffer); buffer 30 include/crm/common/xml_io_internal.h void pcmk__xml_string(const xmlNode *data, uint32_t options, GString *buffer, buffer 82 include/crm/lrmd_internal.h int remote_proxy_dispatch(const char *buffer, ssize_t length, buffer 174 lib/cib/cib_native.c cib_native_dispatch_internal(const char *buffer, ssize_t length, buffer 189 lib/cib/cib_native.c msg = pcmk__xml_parse(buffer); buffer 290 lib/cib/cib_remote.c free(private->command.buffer); buffer 291 lib/cib/cib_remote.c private->command.buffer = NULL; buffer 337 lib/cib/cib_remote.c free(private->command.buffer); buffer 338 lib/cib/cib_remote.c free(private->callback.buffer); buffer 339 lib/cib/cib_remote.c private->command.buffer = NULL; buffer 340 lib/cib/cib_remote.c private->callback.buffer = NULL; buffer 161 lib/common/crmcommon_private.h void pcmk__dump_xml_attr(const xmlAttr *attr, GString *buffer); buffer 63 lib/common/digest.c GString *buffer = g_string_sized_new(1024); buffer 66 lib/common/digest.c g_string_append_c(buffer, ' '); buffer 67 lib/common/digest.c pcmk__xml_string(xml, 0, buffer, 0); buffer 68 lib/common/digest.c g_string_append_c(buffer, '\n'); buffer 70 lib/common/digest.c return buffer; buffer 86 lib/common/digest.c GString *buffer = dump_xml_for_digest(input); buffer 90 lib/common/digest.c CRM_CHECK(buffer->len > 2, buffer 91 lib/common/digest.c g_string_free(buffer, TRUE); buffer 94 lib/common/digest.c digest = crm_md5sum((const char *) buffer->str); buffer 97 lib/common/digest.c g_string_free(buffer, TRUE); buffer 251 lib/common/digest.c crm_md5sum(const char *buffer) buffer 256 lib/common/digest.c if (buffer == NULL) { buffer 260 lib/common/digest.c raw_digest = g_compute_checksum_for_string(G_CHECKSUM_MD5, buffer, -1); buffer 320 lib/common/ipc_client.c dispatch_ipc_data(const char *buffer, pcmk_ipc_api_t *api) buffer 325 lib/common/ipc_client.c if (buffer == NULL) { buffer 331 lib/common/ipc_client.c msg = pcmk__xml_parse(buffer); buffer 361 lib/common/ipc_client.c dispatch_ipc_source_data(const char *buffer, ssize_t length, gpointer user_data) buffer 366 lib/common/ipc_client.c dispatch_ipc_data(buffer, api); buffer 825 lib/common/ipc_client.c char *buffer; buffer 862 lib/common/ipc_client.c client->buffer = malloc(client->buf_size); buffer 863 lib/common/ipc_client.c if (client->buffer == NULL) { buffer 939 lib/common/ipc_client.c free(ipc->buffer); buffer 940 lib/common/ipc_client.c ipc->buffer = calloc(ipc->max_buf_size, sizeof(char)); buffer 941 lib/common/ipc_client.c if (ipc->buffer == NULL) { buffer 985 lib/common/ipc_client.c free(client->buffer); buffer 1079 lib/common/ipc_client.c pcmk__ipc_header_t *header = (pcmk__ipc_header_t *)(void*)client->buffer; buffer 1092 lib/common/ipc_client.c client->buffer + sizeof(pcmk__ipc_header_t), header->size_compressed, 1, 0); buffer 1104 lib/common/ipc_client.c memcpy(uncompressed, client->buffer, sizeof(pcmk__ipc_header_t)); /* Preserve the header */ buffer 1107 lib/common/ipc_client.c free(client->buffer); buffer 1109 lib/common/ipc_client.c client->buffer = uncompressed; buffer 1112 lib/common/ipc_client.c pcmk__assert(client->buffer[sizeof(pcmk__ipc_header_t) buffer 1123 lib/common/ipc_client.c && (client->buffer != NULL)); buffer 1125 lib/common/ipc_client.c client->buffer[0] = 0; buffer 1126 lib/common/ipc_client.c client->msg_size = qb_ipcc_event_recv(client->ipc, client->buffer, buffer 1135 lib/common/ipc_client.c header = (pcmk__ipc_header_t *)(void*)client->buffer; buffer 1143 lib/common/ipc_client.c client->buffer + sizeof(pcmk__ipc_header_t)); buffer 1169 lib/common/ipc_client.c return client->buffer + sizeof(pcmk__ipc_header_t); buffer 1178 lib/common/ipc_client.c if (client->buffer == NULL) { buffer 1182 lib/common/ipc_client.c header = (pcmk__ipc_header_t *)(void*)client->buffer; buffer 1206 lib/common/ipc_client.c *bytes = qb_ipcc_recv(client->ipc, client->buffer, client->buf_size, 1000); buffer 1215 lib/common/ipc_client.c hdr = (pcmk__ipc_header_t *)(void*)client->buffer; buffer 1288 lib/common/ipc_client.c qb_rc = qb_ipcc_recv(client->ipc, client->buffer, client->buf_size, ms_timeout); buffer 1371 lib/common/ipc_client.c qb_rc = qb_ipcc_sendv_recv(client->ipc, iov, 2, client->buffer, buffer 1378 lib/common/ipc_client.c pcmk__ipc_header_t *hdr = (pcmk__ipc_header_t *)(void*)client->buffer; buffer 325 lib/common/ipc_server.c free(c->remote->buffer); buffer 598 lib/common/ipc_server.c GString *buffer = NULL; buffer 613 lib/common/ipc_server.c buffer = g_string_sized_new(1024); buffer 614 lib/common/ipc_server.c pcmk__xml_string(message, 0, buffer, 0); buffer 627 lib/common/ipc_server.c header->size_uncompressed = 1 + buffer->len; buffer 631 lib/common/ipc_server.c iov[1].iov_base = pcmk__str_copy(buffer->str); buffer 640 lib/common/ipc_server.c if (pcmk__compress(buffer->str, buffer 679 lib/common/ipc_server.c if (buffer != NULL) { buffer 680 lib/common/ipc_server.c g_string_free(buffer, TRUE); buffer 524 lib/common/logging.c char buffer[NAME_MAX]; buffer 541 lib/common/logging.c snprintf(buffer, NAME_MAX, "%s.%d", blackbox_file_prefix, counter++); buffer 543 lib/common/logging.c crm_notice("Blackbox dump requested, please see %s for contents", buffer); buffer 548 lib/common/logging.c cs->function, cs->lineno, cs->filename, buffer); buffer 550 lib/common/logging.c crm_notice("Problem detected, please see %s for additional details", buffer); buffer 554 lib/common/logging.c qb_log_blackbox_write_to_file(buffer); buffer 697 lib/common/mainloop.c int (*dispatch_fn_ipc) (const char *buffer, ssize_t length, gpointer userdata); buffer 733 lib/common/mainloop.c const char *buffer = crm_ipc_buffer(client->ipc); buffer 738 lib/common/mainloop.c if (client->dispatch_fn_ipc(buffer, read_rc, client->userdata) < 0) { buffer 125 lib/common/md5.c ctx->buffer[size - 2] = SWAP (ctx->total[0] << 3); buffer 126 lib/common/md5.c ctx->buffer[size - 1] = SWAP ((ctx->total[1] << 3) | (ctx->total[0] >> 29)); buffer 128 lib/common/md5.c memcpy (&((char *) ctx->buffer)[bytes], fillbuf, (size - 2) * 4 - bytes); buffer 131 lib/common/md5.c md5_process_block (ctx->buffer, size * 4, ctx); buffer 153 lib/common/md5.c char *buffer = malloc (BLOCKSIZE + 72); buffer 154 lib/common/md5.c if (!buffer) buffer 181 lib/common/md5.c n = fread (buffer + sum, 1, BLOCKSIZE - sum, stream); buffer 195 lib/common/md5.c free (buffer); buffer 205 lib/common/md5.c md5_process_block (buffer, BLOCKSIZE, &ctx); buffer 212 lib/common/md5.c md5_process_bytes (buffer, sum, &ctx); buffer 216 lib/common/md5.c free (buffer); buffer 227 lib/common/md5.c md5_buffer (const char *buffer, size_t len, void *resblock) buffer 235 lib/common/md5.c md5_process_bytes (buffer, len, &ctx); buffer 243 lib/common/md5.c md5_process_bytes (const void *buffer, size_t len, struct md5_ctx *ctx) buffer 252 lib/common/md5.c memcpy (&((char *) ctx->buffer)[left_over], buffer, add); buffer 257 lib/common/md5.c md5_process_block (ctx->buffer, ctx->buflen & ~63, ctx); buffer 262 lib/common/md5.c memcpy (ctx->buffer, buffer 263 lib/common/md5.c &((char *) ctx->buffer)[(left_over + add) & ~63], buffer 267 lib/common/md5.c buffer = (const char *) buffer + add; buffer 276 lib/common/md5.c if (UNALIGNED_P (buffer)) buffer 279 lib/common/md5.c md5_process_block (memcpy (ctx->buffer, buffer, 64), 64, ctx); buffer 280 lib/common/md5.c buffer = (const char *) buffer + 64; buffer 286 lib/common/md5.c md5_process_block (buffer, len & ~63, ctx); buffer 287 lib/common/md5.c buffer = (const char *) buffer + (len & ~63); buffer 297 lib/common/md5.c memcpy (&((char *) ctx->buffer)[left_over], buffer, len); buffer 301 lib/common/md5.c md5_process_block (ctx->buffer, 64, ctx); buffer 307 lib/common/md5.c memcpy (ctx->buffer, &(((char *) ctx->buffer)[64]), left_over); buffer 328 lib/common/md5.c md5_process_block (const void *buffer, size_t len, struct md5_ctx *ctx) buffer 331 lib/common/md5.c const uint32_t *words = buffer; buffer 176 lib/common/output_log.c char* buffer = NULL; buffer 183 lib/common/output_log.c len = vasprintf(&buffer, format, ap); buffer 190 lib/common/output_log.c if(strcmp(buffer, "") == 0) { buffer 194 lib/common/output_log.c g_queue_push_tail(priv->prefixes, buffer); buffer 205 lib/common/output_log.c char* buffer = NULL; buffer 219 lib/common/output_log.c len = vasprintf(&buffer, format, ap); buffer 223 lib/common/output_log.c if (strcmp(buffer, "") != 0) { /* We don't want empty messages */ buffer 226 lib/common/output_log.c logger(priv, "%s: %s: %s", prefix, name, buffer); buffer 228 lib/common/output_log.c logger(priv, "%s: %s", name, buffer); buffer 232 lib/common/output_log.c logger(priv, "%s: %s", prefix, buffer); buffer 234 lib/common/output_log.c logger(priv, "%s", buffer); buffer 238 lib/common/output_log.c free(buffer); buffer 151 lib/common/procfs.c char buffer[2048]; buffer 153 lib/common/procfs.c while (fgets(buffer, sizeof(buffer), stream)) { buffer 154 lib/common/procfs.c if (pcmk__starts_with(buffer, "cpu") && isdigit(buffer[3])) { buffer 99 lib/common/remote.c struct remote_header_v0 *header = (struct remote_header_v0 *)remote->buffer; buffer 318 lib/common/remote.c remote->buffer + header->payload_offset, buffer 337 lib/common/remote.c memcpy(uncompressed, remote->buffer, header->payload_offset); /* Preserve the header */ buffer 340 lib/common/remote.c free(remote->buffer); buffer 341 lib/common/remote.c remote->buffer = uncompressed; buffer 348 lib/common/remote.c CRM_LOG_ASSERT(remote->buffer[sizeof(struct remote_header_v0) + header->payload_uncompressed - 1] == 0); buffer 350 lib/common/remote.c xml = pcmk__xml_parse(remote->buffer + header->payload_offset); buffer 356 lib/common/remote.c crm_err("Couldn't parse: '%.120s'", remote->buffer + header->payload_offset); buffer 461 lib/common/remote.c remote->buffer = pcmk__realloc(remote->buffer, remote->buffer_size + 1); buffer 466 lib/common/remote.c remote->buffer + remote->buffer_offset, buffer 479 lib/common/remote.c remote->buffer + remote->buffer_offset, buffer 493 lib/common/remote.c remote->buffer[remote->buffer_offset] = '\0'; buffer 817 lib/common/remote.c char buffer[INET6_ADDRSTRLEN]; buffer 877 lib/common/remote.c memset(buffer, 0, PCMK__NELEM(buffer)); buffer 878 lib/common/remote.c pcmk__sockaddr2str(addr, buffer); buffer 879 lib/common/remote.c crm_info("Attempting remote connection to %s:%d", buffer, port); buffer 1297 lib/common/strings.c pcmk__g_strcat(GString *buffer, ...) buffer 1301 lib/common/strings.c pcmk__assert(buffer != NULL); buffer 1302 lib/common/strings.c va_start(ap, buffer); buffer 1310 lib/common/strings.c g_string_append(buffer, ele); buffer 102 lib/common/utils.c char *buffer = NULL; buffer 106 lib/common/utils.c buffer = calloc(1, PCMK__PW_BUFFER_LEN); buffer 107 lib/common/utils.c if (buffer == NULL) { buffer 111 lib/common/utils.c rc = getpwnam_r(name, &pwd, buffer, PCMK__PW_BUFFER_LEN, &pwentry); buffer 126 lib/common/utils.c free(buffer); buffer 338 lib/common/utils.c char *buffer = malloc(37); /* Including NUL byte */ buffer 340 lib/common/utils.c pcmk__mem_assert(buffer); buffer 342 lib/common/utils.c uuid_unparse(uuid, buffer); buffer 343 lib/common/utils.c return buffer; buffer 106 lib/common/xml_attr.c pcmk__dump_xml_attr(const xmlAttr *attr, GString *buffer) buffer 137 lib/common/xml_attr.c pcmk__g_strcat(buffer, " ", name, "=\"", value, "\"", NULL); buffer 19 lib/common/xml_display.c static int show_xml_node(pcmk__output_t *out, GString *buffer, buffer 91 lib/common/xml_display.c show_xml_element(pcmk__output_t *out, GString *buffer, const char *prefix, buffer 100 lib/common/xml_display.c g_string_truncate(buffer, 0); buffer 103 lib/common/xml_display.c g_string_append_c(buffer, ' '); buffer 105 lib/common/xml_display.c pcmk__g_strcat(buffer, "<", data->name, NULL); buffer 128 lib/common/xml_display.c pcmk__g_strcat(buffer, " ", p_name, "=\"", buffer 135 lib/common/xml_display.c g_string_append_c(buffer, '>'); buffer 138 lib/common/xml_display.c g_string_append(buffer, "/>"); buffer 143 lib/common/xml_display.c buffer->str); buffer 154 lib/common/xml_display.c int temp_rc = show_xml_node(out, buffer, prefix, child, depth + 1, buffer 193 lib/common/xml_display.c show_xml_node(pcmk__output_t *out, GString *buffer, const char *prefix, buffer 200 lib/common/xml_display.c return show_xml_element(out, buffer, prefix, data, depth, options); buffer 225 lib/common/xml_display.c GString *buffer = NULL; buffer 237 lib/common/xml_display.c buffer = g_string_sized_new(1024); buffer 238 lib/common/xml_display.c rc = show_xml_node(out, buffer, prefix, data, depth, options); buffer 239 lib/common/xml_display.c g_string_free(buffer, TRUE); buffer 41 lib/common/xml_io.c char *buffer = NULL; buffer 65 lib/common/xml_io.c buffer = pcmk__realloc(buffer, length + PCMK__BUFFER_SIZE + 1); buffer 66 lib/common/xml_io.c read_len = BZ2_bzRead(&rc, bz_file, buffer + length, PCMK__BUFFER_SIZE); buffer 79 lib/common/xml_io.c free(buffer); buffer 80 lib/common/xml_io.c buffer = NULL; buffer 82 lib/common/xml_io.c buffer[length] = '\0'; buffer 88 lib/common/xml_io.c return buffer; buffer 215 lib/common/xml_io.c dump_xml_element(const xmlNode *data, uint32_t options, GString *buffer, buffer 223 lib/common/xml_io.c g_string_append_c(buffer, ' '); buffer 226 lib/common/xml_io.c pcmk__g_strcat(buffer, "<", data->name, NULL); buffer 232 lib/common/xml_io.c pcmk__dump_xml_attr(attr, buffer); buffer 237 lib/common/xml_io.c g_string_append(buffer, "/>"); buffer 240 lib/common/xml_io.c g_string_append_c(buffer, '>'); buffer 244 lib/common/xml_io.c g_string_append_c(buffer, '\n'); buffer 250 lib/common/xml_io.c pcmk__xml_string(child, options, buffer, depth + 1); buffer 254 lib/common/xml_io.c g_string_append_c(buffer, ' '); buffer 257 lib/common/xml_io.c pcmk__g_strcat(buffer, "</", data->name, ">", NULL); buffer 260 lib/common/xml_io.c g_string_append_c(buffer, '\n'); buffer 275 lib/common/xml_io.c dump_xml_text(const xmlNode *data, uint32_t options, GString *buffer, buffer 289 lib/common/xml_io.c g_string_append_c(buffer, ' '); buffer 292 lib/common/xml_io.c g_string_append(buffer, content); buffer 295 lib/common/xml_io.c g_string_append_c(buffer, '\n'); buffer 310 lib/common/xml_io.c dump_xml_cdata(const xmlNode *data, uint32_t options, GString *buffer, buffer 317 lib/common/xml_io.c g_string_append_c(buffer, ' '); buffer 320 lib/common/xml_io.c pcmk__g_strcat(buffer, "<![CDATA[", (const char *) data->content, "]]>", buffer 324 lib/common/xml_io.c g_string_append_c(buffer, '\n'); buffer 338 lib/common/xml_io.c dump_xml_comment(const xmlNode *data, uint32_t options, GString *buffer, buffer 345 lib/common/xml_io.c g_string_append_c(buffer, ' '); buffer 348 lib/common/xml_io.c pcmk__g_strcat(buffer, "<!--", (const char *) data->content, "-->", NULL); buffer 351 lib/common/xml_io.c g_string_append_c(buffer, '\n'); buffer 411 lib/common/xml_io.c pcmk__xml_string(const xmlNode *data, uint32_t options, GString *buffer, buffer 419 lib/common/xml_io.c pcmk__assert(buffer != NULL); buffer 425 lib/common/xml_io.c dump_xml_element(data, options, buffer, depth); buffer 429 lib/common/xml_io.c dump_xml_text(data, options, buffer, depth); buffer 433 lib/common/xml_io.c dump_xml_comment(data, options, buffer, depth); buffer 436 lib/common/xml_io.c dump_xml_cdata(data, options, buffer, depth); buffer 519 lib/common/xml_io.c GString *buffer = g_string_sized_new(1024); buffer 523 lib/common/xml_io.c pcmk__xml_string(xml, pcmk__xml_fmt_pretty, buffer, 0); buffer 524 lib/common/xml_io.c CRM_CHECK(!pcmk__str_empty(buffer->str), buffer 532 lib/common/xml_io.c && (write_compressed_stream(buffer->str, filename, stream, buffer 537 lib/common/xml_io.c rc = fprintf(stream, "%s", buffer->str); buffer 561 lib/common/xml_io.c g_string_free(buffer, TRUE); buffer 136 lib/fencing/st_actions.c char buffer[512]; buffer 138 lib/fencing/st_actions.c snprintf(buffer, sizeof(buffer), "pcmk_%s_action", action); buffer 139 lib/fencing/st_actions.c value = g_hash_table_lookup(device_args, buffer); buffer 284 lib/fencing/st_actions.c char buffer[512]; buffer 287 lib/fencing/st_actions.c snprintf(buffer, sizeof(buffer), "pcmk_%s_retries", action_name); buffer 288 lib/fencing/st_actions.c value = g_hash_table_lookup(device_args, buffer); buffer 582 lib/fencing/st_actions.c char *buffer = NULL; buffer 604 lib/fencing/st_actions.c buffer = crm_strdup_printf(PCMK__FENCE_BINDIR "/%s", buffer 606 lib/fencing/st_actions.c svc_action = services_action_create_generic(buffer, NULL); buffer 607 lib/fencing/st_actions.c free(buffer); buffer 1046 lib/fencing/st_client.c stonith_dispatch_internal(const char *buffer, ssize_t length, gpointer userdata) buffer 1058 lib/fencing/st_client.c blob.xml = pcmk__xml_parse(buffer); buffer 1060 lib/fencing/st_client.c crm_warn("Received malformed message from fencer: %s", buffer); buffer 182 lib/fencing/st_lha.c char *buffer = NULL; buffer 264 lib/fencing/st_lha.c buffer = crm_strdup_printf(META_TEMPLATE, agent, buffer 280 lib/fencing/st_lha.c *output = buffer; buffer 282 lib/fencing/st_lha.c free(buffer); buffer 45 lib/fencing/st_rhcs.c char buffer[FILENAME_MAX + 1]; buffer 57 lib/fencing/st_rhcs.c snprintf(buffer, sizeof(buffer), "%s/%s", PCMK__FENCE_BINDIR, buffer 59 lib/fencing/st_rhcs.c if (stat(buffer, &prop) == 0 && S_ISREG(prop.st_mode)) { buffer 227 lib/fencing/st_rhcs.c GString *buffer = NULL; buffer 236 lib/fencing/st_rhcs.c buffer = g_string_sized_new(1024); buffer 237 lib/fencing/st_rhcs.c pcmk__xml_string(xml, pcmk__xml_fmt_pretty|pcmk__xml_fmt_text, buffer, 0); buffer 239 lib/fencing/st_rhcs.c if (pcmk__str_empty(buffer->str)) { buffer 245 lib/fencing/st_rhcs.c pcmk__str_update(output, buffer->str); buffer 249 lib/fencing/st_rhcs.c if (buffer != NULL) { buffer 250 lib/fencing/st_rhcs.c g_string_free(buffer, TRUE); buffer 260 lib/fencing/st_rhcs.c char *buffer = crm_strdup_printf(PCMK__FENCE_BINDIR "/%s", agent); buffer 261 lib/fencing/st_rhcs.c int rc = stat(buffer, &prop); buffer 263 lib/fencing/st_rhcs.c free(buffer); buffer 358 lib/lrmd/lrmd_client.c lrmd_ipc_dispatch(const char *buffer, ssize_t length, gpointer userdata) buffer 364 lib/lrmd/lrmd_client.c xmlNode *msg = pcmk__xml_parse(buffer); buffer 649 lib/lrmd/lrmd_client.c free(native->remote->buffer); buffer 651 lib/lrmd/lrmd_client.c native->remote->buffer = NULL; buffer 750 lib/lrmd/lrmd_client.c if (native->remote->buffer && native->process_notify) { buffer 130 lib/lrmd/proxy_common.c remote_proxy_dispatch(const char *buffer, ssize_t length, gpointer userdata) buffer 137 lib/lrmd/proxy_common.c xml = pcmk__xml_parse(buffer); buffer 145 lib/lrmd/proxy_common.c crm_trace("Passing response back to %.8s on %s: %.200s - request id: %d", proxy->session_id, proxy->node_name, buffer, proxy->last_request_id); buffer 150 lib/lrmd/proxy_common.c crm_trace("Passing event back to %.8s on %s: %.200s", proxy->session_id, proxy->node_name, buffer); buffer 483 lib/pacemaker/pcmk_fence.c char *buffer = NULL; buffer 484 lib/pacemaker/pcmk_fence.c int rc = st->cmds->metadata(st, st_opt_sync_call, agent, NULL, &buffer, buffer 491 lib/pacemaker/pcmk_fence.c out->output_xml(out, PCMK_XE_METADATA, buffer); buffer 492 lib/pacemaker/pcmk_fence.c free(buffer); buffer 393 lib/pacemaker/pcmk_simulate.c char buffer[FILENAME_MAX]; buffer 407 lib/pacemaker/pcmk_simulate.c snprintf(buffer, sizeof(buffer), "%s/%s", buffer 409 lib/pacemaker/pcmk_simulate.c if (stat(buffer, &prop) == 0 && S_ISREG(prop.st_mode)) { buffer 410 lib/pacemaker/pcmk_simulate.c profile_file(buffer, repeat, scheduler, use_date); buffer 277 lib/pengine/bundle.c GString *buffer) buffer 294 lib/pengine/bundle.c g_string_append_printf(buffer, " --add-host=%s-%d:%s", buffer 298 lib/pengine/bundle.c g_string_append_printf(buffer, " --hosts-entry=%s=%s-%d", buffer 428 lib/pengine/bundle.c GString *buffer = NULL; buffer 443 lib/pengine/bundle.c buffer = g_string_sized_new(4096); buffer 460 lib/pengine/bundle.c g_string_append(buffer, " --restart=no"); buffer 469 lib/pengine/bundle.c g_string_append_printf(buffer, " %s%s-%d", hostname_opt, data->prefix, buffer 472 lib/pengine/bundle.c pcmk__g_strcat(buffer, " ", env_opt, "PCMK_stderr=1", NULL); buffer 475 lib/pengine/bundle.c pcmk__g_strcat(buffer, " --net=", data->container_network, NULL); buffer 479 lib/pengine/bundle.c pcmk__g_strcat(buffer, " ", env_opt, "PCMK_" PCMK__ENV_REMOTE_PORT "=", buffer 482 lib/pengine/bundle.c g_string_append_printf(buffer, " %sPCMK_" PCMK__ENV_REMOTE_PORT "=%d", buffer 499 lib/pengine/bundle.c pcmk__g_strcat(buffer, buffer 504 lib/pengine/bundle.c pcmk__g_strcat(buffer, ":", mount->options, NULL); buffer 520 lib/pengine/bundle.c pcmk__g_strcat(buffer, buffer 527 lib/pengine/bundle.c pcmk__g_strcat(buffer, buffer 550 lib/pengine/bundle.c pcmk__g_strcat(buffer, " ", data->launcher_options, NULL); buffer 554 lib/pengine/bundle.c pcmk__g_strcat(buffer, " ", data->container_host_options, NULL); buffer 558 lib/pengine/bundle.c (const char *) buffer->str); buffer 559 lib/pengine/bundle.c g_string_free(buffer, TRUE); buffer 1158 lib/pengine/bundle.c GString *buffer = NULL; buffer 1212 lib/pengine/bundle.c buffer = g_string_sized_new(1024); buffer 1228 lib/pengine/bundle.c allocate_ip(bundle_data, replica, buffer); buffer 1235 lib/pengine/bundle.c bundle_data->container_host_options = g_string_free(buffer, FALSE); buffer 1248 lib/pengine/bundle.c GString *buffer = g_string_sized_new(1024); buffer 1255 lib/pengine/bundle.c allocate_ip(bundle_data, replica, buffer); buffer 1259 lib/pengine/bundle.c bundle_data->container_host_options = g_string_free(buffer, FALSE); buffer 1517 lib/pengine/bundle.c char buffer[LINE_MAX]; buffer 1524 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", buffer 1527 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", buffer 1531 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, " (%s)", buffer 1535 lib/pengine/bundle.c pe__common_output_html(out, rsc, buffer, node, show_opts); buffer 1681 lib/pengine/bundle.c char buffer[LINE_MAX]; buffer 1688 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", buffer 1691 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", buffer 1695 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, " (%s)", buffer 1699 lib/pengine/bundle.c pe__common_output_text(out, rsc, buffer, node, show_opts); buffer 981 lib/pengine/native.c char buffer[LINE_MAX]; buffer 990 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", class); buffer 996 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, buffer 1000 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, ":%s", kind); buffer 1004 lib/pengine/native.c rsc_counter = g_hash_table_lookup(rsc_table, buffer); buffer 1008 lib/pengine/native.c g_hash_table_insert(rsc_table, strdup(buffer), rsc_counter); buffer 1034 lib/pengine/native.c active_counter = g_hash_table_lookup(node_table, buffer); buffer 1038 lib/pengine/native.c g_hash_table_insert(node_table, strdup(buffer), active_counter); buffer 417 lib/services/services_linux.c char buffer[500]; buffer 419 lib/services/services_linux.c snprintf(buffer, sizeof(buffer), strcmp(key, "OCF_CHECK_LEVEL") != 0 ? "OCF_RESKEY_%s" : "%s", (char *)key); buffer 420 lib/services/services_linux.c set_ocf_env(buffer, value, user_data); buffer 490 lib/services/services_linux.c char *buffer = crm_strdup_printf("%s=%s\n", (char *)key, (char *) value); buffer 491 lib/services/services_linux.c size_t len = strlen(buffer); buffer 497 lib/services/services_linux.c ret = write(op->opaque->stdin_fd, buffer + total, len - total); buffer 502 lib/services/services_linux.c free(buffer); buffer 1406 lib/services/services_linux.c char buffer[PATH_MAX]; buffer 1421 lib/services/services_linux.c snprintf(buffer, sizeof(buffer), "%s/%s", root, namelist[lpc]->d_name); buffer 1423 lib/services/services_linux.c if (stat(buffer, &sb)) { buffer 107 lib/services/services_lsb.c char buffer[1024] = { 0, }; buffer 133 lib/services/services_lsb.c while (fgets(buffer, sizeof(buffer), fp)) { buffer 136 lib/services/services_lsb.c if (pcmk__starts_with(buffer, LSB_INITSCRIPT_INFOBEGIN_TAG)) { buffer 145 lib/services/services_lsb.c if (lsb_meta_helper_get_value(buffer, &provides, PROVIDES)) { buffer 148 lib/services/services_lsb.c if (lsb_meta_helper_get_value(buffer, &required_start, buffer 152 lib/services/services_lsb.c if (lsb_meta_helper_get_value(buffer, &required_stop, REQUIRED_STOP)) { buffer 155 lib/services/services_lsb.c if (lsb_meta_helper_get_value(buffer, &should_start, SHOULD_START)) { buffer 158 lib/services/services_lsb.c if (lsb_meta_helper_get_value(buffer, &should_stop, SHOULD_STOP)) { buffer 161 lib/services/services_lsb.c if (lsb_meta_helper_get_value(buffer, &default_start, DEFAULT_START)) { buffer 164 lib/services/services_lsb.c if (lsb_meta_helper_get_value(buffer, &default_stop, DEFAULT_STOP)) { buffer 167 lib/services/services_lsb.c if (lsb_meta_helper_get_value(buffer, &short_desc, SHORT_DESC)) { buffer 173 lib/services/services_lsb.c && pcmk__starts_with(buffer, DESCRIPTION)) { buffer 178 lib/services/services_lsb.c g_string_append(desc, buffer + sizeof(DESCRIPTION) - 1); buffer 181 lib/services/services_lsb.c buffer[0] = '\0'; buffer 182 lib/services/services_lsb.c while (fgets(buffer, sizeof(buffer), fp)) { buffer 183 lib/services/services_lsb.c if (pcmk__starts_with(buffer, "# ") buffer 184 lib/services/services_lsb.c || pcmk__starts_with(buffer, "#\t")) { buffer 188 lib/services/services_lsb.c g_string_append(desc, buffer + 1); buffer 209 lib/services/services_lsb.c if (pcmk__starts_with(buffer, LSB_INITSCRIPT_INFOEND_TAG)) { buffer 212 lib/services/services_lsb.c if (buffer[0] != '#') { buffer 36 lib/services/services_ocf.c char buffer[PATH_MAX]; buffer 46 lib/services/services_ocf.c sprintf(buffer, "%s/%s", dir, provider); buffer 47 lib/services/services_ocf.c tmp = services_os_get_single_directory_list(buffer, files, executable); buffer 108 tools/crm_diff.c GString *buffer = g_string_sized_new(1024); buffer 110 tools/crm_diff.c pcmk__xml_string(patch, pcmk__xml_fmt_pretty, buffer, 0); buffer 112 tools/crm_diff.c printf("%s", buffer->str); buffer 113 tools/crm_diff.c g_string_free(buffer, TRUE); buffer 132 tools/crm_diff.c char *buffer; buffer 136 tools/crm_diff.c buffer = pcmk__digest_xml(output, true); buffer 137 tools/crm_diff.c crm_trace("Digest: %s", pcmk__s(buffer, "<null>\n")); buffer 138 tools/crm_diff.c free(buffer); buffer 244 tools/crm_node.c GString *buffer = NULL; buffer 249 tools/crm_node.c pcmk__add_separated_word(&buffer, 128, pcmk__s(node->uname, ""), " "); buffer 253 tools/crm_node.c if (buffer != NULL) { buffer 254 tools/crm_node.c out->info(out, "%s", buffer->str); buffer 255 tools/crm_node.c g_string_free(buffer, TRUE);