buffer 281 daemons/based/based_callbacks.c char buffer[32]; buffer 288 daemons/based/based_callbacks.c snprintf(buffer, 32, "%" U64T, ping_seq); buffer 289 daemons/based/based_callbacks.c crm_trace("Requesting peer digests (%s)", buffer); buffer 293 daemons/based/based_callbacks.c crm_xml_add(ping, F_CIB_PING_ID, buffer); buffer 93 daemons/based/pacemaker-based.h xmlNode *readCibXml(char *buffer); buffer 129 daemons/controld/controld_schedulerd.c pe_ipc_dispatch(const char *buffer, ssize_t length, gpointer userdata) buffer 131 daemons/controld/controld_schedulerd.c xmlNode *msg = string2xml(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 265 daemons/execd/remoted_tls.c char buffer[INET6_ADDRSTRLEN] = { 0, }; buffer 267 daemons/execd/remoted_tls.c pcmk__sockaddr2str(addr->ai_addr, buffer); buffer 268 daemons/execd/remoted_tls.c crm_trace("Attempting to bind to address %s", buffer); buffer 280 daemons/execd/remoted_tls.c crm_perror(LOG_ERR, "Local address reuse not allowed on %s", buffer); buffer 289 daemons/execd/remoted_tls.c crm_perror(LOG_INFO, "Couldn't disable IPV6-only on %s", buffer); buffer 296 daemons/execd/remoted_tls.c crm_perror(LOG_ERR, "Cannot bind to %s", buffer); buffer 302 daemons/execd/remoted_tls.c crm_perror(LOG_ERR, "Cannot listen on %s", buffer); buffer 181 daemons/fenced/fenced_commands.c char buffer[64] = { 0, }; buffer 195 daemons/fenced/fenced_commands.c snprintf(buffer, sizeof(buffer), "pcmk_%s_timeout", action); buffer 196 daemons/fenced/fenced_commands.c value = g_hash_table_lookup(device->params, buffer); buffer 681 daemons/fenced/fenced_commands.c char *buffer = NULL; buffer 684 daemons/fenced/fenced_commands.c buffer = g_hash_table_lookup(metadata_cache, agent); buffer 688 daemons/fenced/fenced_commands.c } else if(buffer == NULL) { buffer 697 daemons/fenced/fenced_commands.c rc = st->cmds->metadata(st, st_opt_sync_call, agent, NULL, &buffer, 10); buffer 699 daemons/fenced/fenced_commands.c if (rc || !buffer) { buffer 703 daemons/fenced/fenced_commands.c g_hash_table_replace(metadata_cache, strdup(agent), buffer); buffer 706 daemons/fenced/fenced_commands.c xml = string2xml(buffer); buffer 97 include/crm/common/ipc_internal.h char *buffer; buffer 74 include/crm/common/mainloop.h int (*dispatch) (const char *buffer, ssize_t length, gpointer userdata); buffer 210 include/crm/common/util.h char *crm_md5sum(const char *buffer); buffer 60 include/crm/lrmd_internal.h int remote_proxy_dispatch(const char *buffer, ssize_t length, buffer 90 lib/cib/cib_native.c cib_native_dispatch_internal(const char *buffer, ssize_t length, gpointer userdata) buffer 104 lib/cib/cib_native.c msg = string2xml(buffer); buffer 185 lib/cib/cib_remote.c free(private->command.buffer); buffer 186 lib/cib/cib_remote.c free(private->callback.buffer); buffer 187 lib/cib/cib_remote.c private->command.buffer = NULL; buffer 188 lib/cib/cib_remote.c private->callback.buffer = NULL; buffer 334 lib/cib/cib_remote.c free(private->command.buffer); buffer 335 lib/cib/cib_remote.c private->command.buffer = NULL; buffer 89 lib/common/acl.c char buffer[MAX_XPATH_LEN]; buffer 92 lib/common/acl.c offset += snprintf(buffer + offset, MAX_XPATH_LEN - offset, buffer 95 lib/common/acl.c offset += snprintf(buffer + offset, MAX_XPATH_LEN - offset, buffer 100 lib/common/acl.c offset += snprintf(buffer + offset, MAX_XPATH_LEN - offset, buffer 105 lib/common/acl.c offset += snprintf(buffer + offset, MAX_XPATH_LEN - offset, buffer 111 lib/common/acl.c offset += snprintf(buffer + offset, MAX_XPATH_LEN - offset, buffer 116 lib/common/acl.c offset += snprintf(buffer + offset, MAX_XPATH_LEN - offset, buffer 121 lib/common/acl.c offset += snprintf(buffer + offset, MAX_XPATH_LEN - offset, buffer 126 lib/common/acl.c acl->xpath = strdup(buffer); buffer 625 lib/common/acl.c char buffer[MAX_XPATH_LEN]; buffer 628 lib/common/acl.c offset = pcmk__element_xpath(NULL, xml, buffer, offset, buffer 629 lib/common/acl.c sizeof(buffer)); buffer 631 lib/common/acl.c offset += snprintf(buffer + offset, MAX_XPATH_LEN - offset, buffer 638 lib/common/acl.c docp->user, acl_to_text(mode), buffer); buffer 664 lib/common/acl.c acl_to_text(mode), buffer); buffer 672 lib/common/acl.c docp->user, acl_to_text(mode), buffer); buffer 82 lib/common/crmcommon_private.h void pcmk__xml2text(xmlNode *data, int options, char **buffer, int *offset, buffer 86 lib/common/crmcommon_private.h void pcmk__buffer_add_char(char **buffer, int *offset, int *max, char c); buffer 95 lib/common/crmcommon_private.h int pcmk__element_xpath(const char *prefix, xmlNode *xml, char *buffer, buffer 35 lib/common/digest.c char *buffer = NULL; buffer 39 lib/common/digest.c pcmk__buffer_add_char(&buffer, &offset, &max, ' '); buffer 40 lib/common/digest.c pcmk__xml2text(an_xml_node, 0, &buffer, &offset, &max, 0); buffer 41 lib/common/digest.c pcmk__buffer_add_char(&buffer, &offset, &max, '\n'); buffer 43 lib/common/digest.c return buffer; buffer 60 lib/common/digest.c char *buffer = NULL; buffer 70 lib/common/digest.c buffer = dump_xml_for_digest(input); buffer 71 lib/common/digest.c CRM_CHECK(buffer != NULL && strlen(buffer) > 0, free_xml(copy); buffer 72 lib/common/digest.c free(buffer); buffer 75 lib/common/digest.c digest = crm_md5sum(buffer); buffer 78 lib/common/digest.c free(buffer); buffer 95 lib/common/digest.c char *buffer = NULL; buffer 116 lib/common/digest.c &buffer, &offset, &max, 0); buffer 119 lib/common/digest.c CRM_ASSERT(buffer != NULL); buffer 120 lib/common/digest.c digest = crm_md5sum(buffer); buffer 138 lib/common/digest.c free(buffer); buffer 271 lib/common/digest.c crm_md5sum(const char *buffer) buffer 277 lib/common/digest.c if (buffer == NULL) { buffer 278 lib/common/digest.c buffer = ""; buffer 280 lib/common/digest.c len = strlen(buffer); buffer 285 lib/common/digest.c md5_buffer(buffer, len, raw_digest); buffer 318 lib/common/ipc_client.c dispatch_ipc_data(const char *buffer, ssize_t length, gpointer user_data) buffer 325 lib/common/ipc_client.c if (buffer == NULL) { buffer 331 lib/common/ipc_client.c msg = string2xml(buffer); buffer 726 lib/common/ipc_client.c char *buffer; buffer 762 lib/common/ipc_client.c client->buffer = malloc(client->buf_size); buffer 763 lib/common/ipc_client.c if (client->buffer == NULL) { buffer 847 lib/common/ipc_client.c free(client->buffer); buffer 848 lib/common/ipc_client.c client->buffer = calloc(1, client->max_buf_size); buffer 886 lib/common/ipc_client.c free(client->buffer); buffer 958 lib/common/ipc_client.c pcmk__ipc_header_t *header = (pcmk__ipc_header_t *)(void*)client->buffer; buffer 971 lib/common/ipc_client.c client->buffer + sizeof(pcmk__ipc_header_t), header->size_compressed, 1, 0); buffer 990 lib/common/ipc_client.c memcpy(uncompressed, client->buffer, sizeof(pcmk__ipc_header_t)); /* Preserve the header */ buffer 993 lib/common/ipc_client.c free(client->buffer); buffer 995 lib/common/ipc_client.c client->buffer = uncompressed; buffer 998 lib/common/ipc_client.c CRM_ASSERT(client->buffer[sizeof(pcmk__ipc_header_t) + header->size_uncompressed - 1] == 0); buffer 1009 lib/common/ipc_client.c CRM_ASSERT(client->buffer != NULL); buffer 1011 lib/common/ipc_client.c client->buffer[0] = 0; buffer 1012 lib/common/ipc_client.c client->msg_size = qb_ipcc_event_recv(client->ipc, client->buffer, buffer 1021 lib/common/ipc_client.c header = (pcmk__ipc_header_t *)(void*)client->buffer; buffer 1028 lib/common/ipc_client.c client->buffer + sizeof(pcmk__ipc_header_t)); buffer 1049 lib/common/ipc_client.c return client->buffer + sizeof(pcmk__ipc_header_t); buffer 1058 lib/common/ipc_client.c if (client->buffer == NULL) { buffer 1062 lib/common/ipc_client.c header = (pcmk__ipc_header_t *)(void*)client->buffer; buffer 1085 lib/common/ipc_client.c *bytes = qb_ipcc_recv(client->ipc, client->buffer, client->buf_size, 1000); buffer 1094 lib/common/ipc_client.c hdr = (pcmk__ipc_header_t *)(void*)client->buffer; buffer 1167 lib/common/ipc_client.c qb_rc = qb_ipcc_recv(client->ipc, client->buffer, client->buf_size, ms_timeout); buffer 1250 lib/common/ipc_client.c qb_rc = qb_ipcc_sendv_recv(client->ipc, iov, 2, client->buffer, buffer 1257 lib/common/ipc_client.c pcmk__ipc_header_t *hdr = (pcmk__ipc_header_t *)(void*)client->buffer; buffer 330 lib/common/ipc_server.c free(c->remote->buffer); buffer 585 lib/common/ipc_server.c char *buffer = NULL; buffer 597 lib/common/ipc_server.c buffer = dump_xml_unformatted(message); buffer 610 lib/common/ipc_server.c header->size_uncompressed = 1 + strlen(buffer); buffer 614 lib/common/ipc_server.c iov[1].iov_base = buffer; buffer 620 lib/common/ipc_server.c if (pcmk__compress(buffer, (unsigned int) header->size_uncompressed, buffer 630 lib/common/ipc_server.c free(buffer); buffer 644 lib/common/ipc_server.c free(buffer); buffer 415 lib/common/logging.c char buffer[NAME_MAX]; buffer 432 lib/common/logging.c snprintf(buffer, NAME_MAX, "%s.%d", blackbox_file_prefix, counter++); buffer 434 lib/common/logging.c crm_notice("Blackbox dump requested, please see %s for contents", buffer); buffer 439 lib/common/logging.c cs->function, cs->lineno, cs->filename, buffer); buffer 441 lib/common/logging.c crm_notice("Problem detected, please see %s for additional details", buffer); buffer 445 lib/common/logging.c qb_log_blackbox_write_to_file(buffer); buffer 705 lib/common/mainloop.c int (*dispatch_fn_ipc) (const char *buffer, ssize_t length, gpointer userdata); buffer 731 lib/common/mainloop.c const char *buffer = crm_ipc_buffer(client->ipc); buffer 734 lib/common/mainloop.c if (client->dispatch_fn_ipc(buffer, 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 98 lib/common/output_log.c char* buffer = NULL; buffer 105 lib/common/output_log.c len = vasprintf(&buffer, format, ap); buffer 109 lib/common/output_log.c crm_err("%s", buffer); buffer 111 lib/common/output_log.c free(buffer); buffer 132 lib/common/output_log.c char* buffer = NULL; buffer 137 lib/common/output_log.c len = vasprintf(&buffer, format, ap); buffer 144 lib/common/output_log.c if(strcmp(buffer, "") == 0) { buffer 148 lib/common/output_log.c g_queue_push_tail(priv->prefixes, buffer); buffer 159 lib/common/output_log.c char* buffer = NULL; buffer 172 lib/common/output_log.c len = vasprintf(&buffer, format, ap); buffer 176 lib/common/output_log.c if (strcmp(buffer, "") != 0) { /* We don't want empty messages */ buffer 179 lib/common/output_log.c crm_info("%s: %s: %s", prefix, name, buffer); buffer 181 lib/common/output_log.c crm_info("%s: %s", name, buffer); buffer 185 lib/common/output_log.c crm_info("%s: %s", prefix, buffer); buffer 187 lib/common/output_log.c crm_info("%s", buffer); buffer 191 lib/common/output_log.c free(buffer); buffer 212 lib/common/output_log.c char* buffer = NULL; buffer 215 lib/common/output_log.c len = vasprintf(&buffer, format, ap); buffer 219 lib/common/output_log.c crm_info("%s", buffer); buffer 221 lib/common/output_log.c free(buffer); buffer 97 lib/common/patchset.c char buffer[PCMK__BUFFER_SIZE]; buffer 99 lib/common/patchset.c if (pcmk__element_xpath(NULL, xml->parent, buffer, offset, buffer 100 lib/common/patchset.c sizeof(buffer)) > 0) { buffer 106 lib/common/patchset.c crm_xml_add(change, XML_DIFF_PATH, buffer); buffer 126 lib/common/patchset.c char buffer[PCMK__BUFFER_SIZE]; buffer 128 lib/common/patchset.c if (pcmk__element_xpath(NULL, xml, buffer, offset, buffer 129 lib/common/patchset.c sizeof(buffer)) > 0) { buffer 133 lib/common/patchset.c crm_xml_add(change, XML_DIFF_PATH, buffer); buffer 178 lib/common/patchset.c char buffer[PCMK__BUFFER_SIZE]; buffer 182 lib/common/patchset.c if (pcmk__element_xpath(NULL, xml, buffer, offset, buffer 183 lib/common/patchset.c sizeof(buffer)) > 0) { buffer 187 lib/common/patchset.c crm_xml_add(change, XML_DIFF_PATH, buffer); buffer 155 lib/common/procfs.c char buffer[2048]; buffer 157 lib/common/procfs.c while (fgets(buffer, sizeof(buffer), stream)) { buffer 158 lib/common/procfs.c if (pcmk__starts_with(buffer, "cpu") && isdigit(buffer[3])) { buffer 100 lib/common/remote.c struct remote_header_v0 *header = (struct remote_header_v0 *)remote->buffer; buffer 572 lib/common/remote.c remote->buffer + header->payload_offset, buffer 590 lib/common/remote.c memcpy(uncompressed, remote->buffer, header->payload_offset); /* Preserve the header */ buffer 593 lib/common/remote.c free(remote->buffer); buffer 594 lib/common/remote.c remote->buffer = uncompressed; buffer 601 lib/common/remote.c CRM_LOG_ASSERT(remote->buffer[sizeof(struct remote_header_v0) + header->payload_uncompressed - 1] == 0); buffer 603 lib/common/remote.c xml = string2xml(remote->buffer + header->payload_offset); buffer 609 lib/common/remote.c crm_err("Couldn't parse: '%.120s'", remote->buffer + header->payload_offset); buffer 716 lib/common/remote.c remote->buffer = pcmk__realloc(remote->buffer, remote->buffer_size + 1); buffer 722 lib/common/remote.c remote->buffer + remote->buffer_offset, buffer 739 lib/common/remote.c remote->buffer + remote->buffer_offset, buffer 756 lib/common/remote.c remote->buffer[remote->buffer_offset] = '\0'; buffer 1080 lib/common/remote.c char buffer[INET6_ADDRSTRLEN]; buffer 1137 lib/common/remote.c memset(buffer, 0, DIMOF(buffer)); buffer 1138 lib/common/remote.c pcmk__sockaddr2str(addr, buffer); buffer 1139 lib/common/remote.c crm_info("Attempting remote connection to %s:%d", buffer, port); buffer 28 lib/common/strings.c crm_itoa_stack(int an_int, char *buffer, size_t len) buffer 30 lib/common/strings.c if (buffer != NULL) { buffer 31 lib/common/strings.c snprintf(buffer, len, "%d", an_int); buffer 34 lib/common/strings.c return buffer; buffer 125 lib/common/utils.c char *buffer = NULL; buffer 129 lib/common/utils.c buffer = calloc(1, PW_BUFFER_LEN); buffer 130 lib/common/utils.c if (buffer == NULL) { buffer 134 lib/common/utils.c rc = getpwnam_r(name, &pwd, buffer, PW_BUFFER_LEN, &pwentry); buffer 149 lib/common/utils.c free(buffer); buffer 501 lib/common/utils.c char *buffer = malloc(37); /* Including NUL byte */ buffer 504 lib/common/utils.c uuid_unparse(uuid, buffer); buffer 505 lib/common/utils.c return buffer; buffer 66 lib/common/xml.c #define buffer_print(buffer, max, offset, fmt, args...) do { \ buffer 68 lib/common/xml.c if(buffer) { \ buffer 69 lib/common/xml.c rc = snprintf((buffer) + (offset), (max) - (offset), fmt, ##args); \ buffer 71 lib/common/xml.c if(buffer && rc < 0) { \ buffer 73 lib/common/xml.c (buffer)[(offset)] = 0; \ buffer 78 lib/common/xml.c tmp = pcmk__realloc((buffer), (max)); \ buffer 80 lib/common/xml.c (buffer) = tmp; \ buffer 88 lib/common/xml.c insert_prefix(int options, char **buffer, int *offset, int *max, int depth) buffer 93 lib/common/xml.c if ((*buffer) == NULL || spaces >= ((*max) - (*offset))) { buffer 95 lib/common/xml.c (*buffer) = pcmk__realloc((*buffer), (*max)); buffer 97 lib/common/xml.c memset((*buffer) + (*offset), ' ', spaces); buffer 746 lib/common/xml.c char buffer[PCMK__BUFFER_SIZE]; buffer 748 lib/common/xml.c pcmk__element_xpath(NULL, child, buffer, offset, sizeof(buffer)); buffer 749 lib/common/xml.c crm_trace("Cannot remove %s %x", buffer, p->flags); buffer 756 lib/common/xml.c char buffer[PCMK__BUFFER_SIZE]; buffer 758 lib/common/xml.c if (pcmk__element_xpath(NULL, child, buffer, offset, buffer 759 lib/common/xml.c sizeof(buffer)) > 0) { buffer 762 lib/common/xml.c crm_trace("Deleting %s %p from %p", buffer, child, doc); buffer 765 lib/common/xml.c deleted_obj->path = strdup(buffer); buffer 928 lib/common/xml.c char *buffer = NULL; buffer 954 lib/common/xml.c buffer = pcmk__realloc(buffer, PCMK__BUFFER_SIZE + length + 1); buffer 955 lib/common/xml.c read_len = BZ2_bzRead(&rc, bz_file, buffer + length, PCMK__BUFFER_SIZE); buffer 964 lib/common/xml.c buffer[length] = '\0'; buffer 969 lib/common/xml.c free(buffer); buffer 970 lib/common/xml.c buffer = NULL; buffer 980 lib/common/xml.c return buffer; buffer 1158 lib/common/xml.c char *buffer = NULL; buffer 1163 lib/common/xml.c buffer = dump_xml_formatted(xml_node); buffer 1164 lib/common/xml.c CRM_CHECK(buffer && strlen(buffer), buffer 1180 lib/common/xml.c BZ2_bzWrite(&rc, bz_file, buffer, strlen(buffer)); buffer 1207 lib/common/xml.c rc = fprintf(stream, "%s", buffer); buffer 1233 lib/common/xml.c free(buffer); buffer 1399 lib/common/xml.c dump_xml_attr(xmlAttrPtr attr, int options, char **buffer, int *offset, int *max) buffer 1405 lib/common/xml.c CRM_ASSERT(buffer != NULL); buffer 1417 lib/common/xml.c buffer_print(*buffer, *max, *offset, " %s=\"%s\"", p_name, p_value); buffer 1441 lib/common/xml.c char *buffer = NULL; buffer 1443 lib/common/xml.c insert_prefix(options, &buffer, &offset, &max, depth); buffer 1446 lib/common/xml.c buffer_print(buffer, max, offset, "<!--%s-->", data->content); buffer 1449 lib/common/xml.c buffer_print(buffer, max, offset, "<%s", name); buffer 1473 lib/common/xml.c buffer_print(buffer, max, offset, " %s=\"%s\"", p_name, p_copy); buffer 1478 lib/common/xml.c buffer_print(buffer, max, offset, "/>"); buffer 1481 lib/common/xml.c buffer_print(buffer, max, offset, ">"); buffer 1484 lib/common/xml.c buffer_print(buffer, max, offset, "/>"); buffer 1488 lib/common/xml.c do_crm_log_alias(log_level, file, function, line, "%s %s", prefix, buffer); buffer 1489 lib/common/xml.c free(buffer); buffer 1511 lib/common/xml.c char *buffer = NULL; buffer 1513 lib/common/xml.c insert_prefix(options, &buffer, &offset, &max, depth); buffer 1514 lib/common/xml.c buffer_print(buffer, max, offset, "</%s>", name); buffer 1516 lib/common/xml.c do_crm_log_alias(log_level, file, function, line, "%s %s", prefix, buffer); buffer 1517 lib/common/xml.c free(buffer); buffer 1685 lib/common/xml.c dump_filtered_xml(xmlNode * data, int options, char **buffer, int *offset, int *max) buffer 1691 lib/common/xml.c dump_xml_attr(xIter, options, buffer, offset, max); buffer 1697 lib/common/xml.c dump_xml_element(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) buffer 1703 lib/common/xml.c CRM_ASSERT(buffer != NULL); buffer 1710 lib/common/xml.c if (*buffer == NULL) { buffer 1718 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); buffer 1719 lib/common/xml.c buffer_print(*buffer, *max, *offset, "<%s", name); buffer 1722 lib/common/xml.c dump_filtered_xml(data, options, buffer, offset, max); buffer 1728 lib/common/xml.c dump_xml_attr(xIter, options, buffer, offset, max); buffer 1733 lib/common/xml.c buffer_print(*buffer, *max, *offset, "/>"); buffer 1736 lib/common/xml.c buffer_print(*buffer, *max, *offset, ">"); buffer 1740 lib/common/xml.c buffer_print(*buffer, *max, *offset, "\n"); buffer 1746 lib/common/xml.c pcmk__xml2text(xChild, options, buffer, offset, max, depth + 1); buffer 1749 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); buffer 1750 lib/common/xml.c buffer_print(*buffer, *max, *offset, "</%s>", name); buffer 1753 lib/common/xml.c buffer_print(*buffer, *max, *offset, "\n"); buffer 1759 lib/common/xml.c dump_xml_text(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) buffer 1763 lib/common/xml.c CRM_ASSERT(buffer != NULL); buffer 1770 lib/common/xml.c if (*buffer == NULL) { buffer 1775 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); buffer 1777 lib/common/xml.c buffer_print(*buffer, *max, *offset, "%s", data->content); buffer 1780 lib/common/xml.c buffer_print(*buffer, *max, *offset, "\n"); buffer 1785 lib/common/xml.c dump_xml_cdata(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) buffer 1789 lib/common/xml.c CRM_ASSERT(buffer != NULL); buffer 1796 lib/common/xml.c if (*buffer == NULL) { buffer 1801 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); buffer 1803 lib/common/xml.c buffer_print(*buffer, *max, *offset, "<![CDATA["); buffer 1804 lib/common/xml.c buffer_print(*buffer, *max, *offset, "%s", data->content); buffer 1805 lib/common/xml.c buffer_print(*buffer, *max, *offset, "]]>"); buffer 1808 lib/common/xml.c buffer_print(*buffer, *max, *offset, "\n"); buffer 1813 lib/common/xml.c dump_xml_comment(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) buffer 1817 lib/common/xml.c CRM_ASSERT(buffer != NULL); buffer 1824 lib/common/xml.c if (*buffer == NULL) { buffer 1829 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); buffer 1831 lib/common/xml.c buffer_print(*buffer, *max, *offset, "<!--"); buffer 1832 lib/common/xml.c buffer_print(*buffer, *max, *offset, "%s", data->content); buffer 1833 lib/common/xml.c buffer_print(*buffer, *max, *offset, "-->"); buffer 1836 lib/common/xml.c buffer_print(*buffer, *max, *offset, "\n"); buffer 1854 lib/common/xml.c pcmk__xml2text(xmlNode *data, int options, char **buffer, int *offset, buffer 1899 lib/common/xml.c if (xml_buffer->buffer != NULL) { buffer 1900 lib/common/xml.c buffer_print(*buffer, *max, *offset, "%s", buffer 1901 lib/common/xml.c (char *) xmlBufContent(xml_buffer->buffer)); buffer 1920 lib/common/xml.c dump_xml_element(data, options, buffer, offset, max, depth); buffer 1925 lib/common/xml.c dump_xml_text(data, options, buffer, offset, max, depth); buffer 1929 lib/common/xml.c dump_xml_comment(data, options, buffer, offset, max, depth); buffer 1932 lib/common/xml.c dump_xml_cdata(data, options, buffer, offset, max, depth); buffer 1971 lib/common/xml.c pcmk__buffer_add_char(char **buffer, int *offset, int *max, char c) buffer 1973 lib/common/xml.c buffer_print(*buffer, *max, *offset, "%c", c); buffer 1979 lib/common/xml.c char *buffer = NULL; buffer 1984 lib/common/xml.c &buffer, &offset, &max, 0); buffer 1985 lib/common/xml.c return buffer; buffer 1991 lib/common/xml.c char *buffer = NULL; buffer 1994 lib/common/xml.c pcmk__xml2text(an_xml_node, xml_log_option_formatted, &buffer, &offset, buffer 1996 lib/common/xml.c return buffer; buffer 2002 lib/common/xml.c char *buffer = NULL; buffer 2005 lib/common/xml.c pcmk__xml2text(an_xml_node, 0, &buffer, &offset, &max, 0); buffer 2006 lib/common/xml.c return buffer; buffer 268 lib/common/xpath.c pcmk__element_xpath(const char *prefix, xmlNode *xml, char *buffer, buffer 274 lib/common/xpath.c offset = pcmk__element_xpath(NULL, xml->parent, buffer, offset, buffer 279 lib/common/xpath.c offset += snprintf(buffer + offset, buffer_size - offset, buffer 282 lib/common/xpath.c offset += snprintf(buffer + offset, buffer_size - offset, buffer 293 lib/common/xpath.c char buffer[PCMK__BUFFER_SIZE]; buffer 295 lib/common/xpath.c if (pcmk__element_xpath(NULL, xml, buffer, offset, sizeof(buffer)) > 0) { buffer 296 lib/common/xpath.c return strdup(buffer); buffer 501 lib/fencing/st_client.c char buffer[512]; buffer 507 lib/fencing/st_client.c snprintf(buffer, sizeof(buffer), "pcmk_%s_action", action); buffer 509 lib/fencing/st_client.c value = g_hash_table_lookup(device_args, buffer); buffer 665 lib/fencing/st_client.c char buffer[512]; buffer 668 lib/fencing/st_client.c snprintf(buffer, sizeof(buffer), "pcmk_%s_retries", _action); buffer 669 lib/fencing/st_client.c value = g_hash_table_lookup(device_args, buffer); buffer 782 lib/fencing/st_client.c char *buffer = NULL; buffer 798 lib/fencing/st_client.c buffer = crm_strdup_printf(PCMK__FENCE_BINDIR "/%s", buffer 800 lib/fencing/st_client.c svc_action = services_action_create_generic(buffer, NULL); buffer 801 lib/fencing/st_client.c free(buffer); buffer 1417 lib/fencing/st_client.c stonith_dispatch_internal(const char *buffer, ssize_t length, gpointer userdata) buffer 1429 lib/fencing/st_client.c blob.xml = string2xml(buffer); buffer 1431 lib/fencing/st_client.c crm_warn("Received malformed message from fencer: %s", buffer); buffer 178 lib/fencing/st_lha.c char *buffer = NULL; buffer 241 lib/fencing/st_lha.c buffer = crm_strdup_printf(META_TEMPLATE, agent, xml_meta_longdesc, buffer 252 lib/fencing/st_lha.c *output = buffer; buffer 254 lib/fencing/st_lha.c free(buffer); buffer 42 lib/fencing/st_rhcs.c char buffer[FILENAME_MAX + 1]; buffer 54 lib/fencing/st_rhcs.c snprintf(buffer, sizeof(buffer), "%s/%s", PCMK__FENCE_BINDIR, buffer 56 lib/fencing/st_rhcs.c if (stat(buffer, &prop) == 0 && S_ISREG(prop.st_mode)) { buffer 124 lib/fencing/st_rhcs.c char *buffer = NULL; buffer 139 lib/fencing/st_rhcs.c stonith__action_result(action, &rc, &buffer, NULL); buffer 144 lib/fencing/st_rhcs.c free(buffer); buffer 148 lib/fencing/st_rhcs.c if (buffer == NULL) { buffer 153 lib/fencing/st_rhcs.c xml = string2xml(buffer); buffer 154 lib/fencing/st_rhcs.c free(buffer); buffer 155 lib/fencing/st_rhcs.c buffer = NULL; buffer 209 lib/fencing/st_rhcs.c char *buffer = NULL; buffer 219 lib/fencing/st_rhcs.c buffer = dump_xml_formatted_with_text(xml); buffer 221 lib/fencing/st_rhcs.c if (buffer == NULL) { buffer 225 lib/fencing/st_rhcs.c *output = buffer; buffer 227 lib/fencing/st_rhcs.c free(buffer); buffer 236 lib/fencing/st_rhcs.c char *buffer = crm_strdup_printf(PCMK__FENCE_BINDIR "/%s", agent); buffer 237 lib/fencing/st_rhcs.c int rc = stat(buffer, &prop); buffer 239 lib/fencing/st_rhcs.c free(buffer); buffer 125 lib/gnu/md5.c ctx->buffer[size - 2] = SWAP (ctx->total[0] << 3); buffer 126 lib/gnu/md5.c ctx->buffer[size - 1] = SWAP ((ctx->total[1] << 3) | (ctx->total[0] >> 29)); buffer 128 lib/gnu/md5.c memcpy (&((char *) ctx->buffer)[bytes], fillbuf, (size - 2) * 4 - bytes); buffer 131 lib/gnu/md5.c md5_process_block (ctx->buffer, size * 4, ctx); buffer 153 lib/gnu/md5.c char *buffer = malloc (BLOCKSIZE + 72); buffer 154 lib/gnu/md5.c if (!buffer) buffer 181 lib/gnu/md5.c n = fread (buffer + sum, 1, BLOCKSIZE - sum, stream); buffer 195 lib/gnu/md5.c free (buffer); buffer 205 lib/gnu/md5.c md5_process_block (buffer, BLOCKSIZE, &ctx); buffer 212 lib/gnu/md5.c md5_process_bytes (buffer, sum, &ctx); buffer 216 lib/gnu/md5.c free (buffer); buffer 227 lib/gnu/md5.c md5_buffer (const char *buffer, size_t len, void *resblock) buffer 235 lib/gnu/md5.c md5_process_bytes (buffer, len, &ctx); buffer 243 lib/gnu/md5.c md5_process_bytes (const void *buffer, size_t len, struct md5_ctx *ctx) buffer 252 lib/gnu/md5.c memcpy (&((char *) ctx->buffer)[left_over], buffer, add); buffer 257 lib/gnu/md5.c md5_process_block (ctx->buffer, ctx->buflen & ~63, ctx); buffer 262 lib/gnu/md5.c memcpy (ctx->buffer, buffer 263 lib/gnu/md5.c &((char *) ctx->buffer)[(left_over + add) & ~63], buffer 267 lib/gnu/md5.c buffer = (const char *) buffer + add; buffer 276 lib/gnu/md5.c if (UNALIGNED_P (buffer)) buffer 279 lib/gnu/md5.c md5_process_block (memcpy (ctx->buffer, buffer, 64), 64, ctx); buffer 280 lib/gnu/md5.c buffer = (const char *) buffer + 64; buffer 286 lib/gnu/md5.c md5_process_block (buffer, len & ~63, ctx); buffer 287 lib/gnu/md5.c buffer = (const char *) buffer + (len & ~63); buffer 297 lib/gnu/md5.c memcpy (&((char *) ctx->buffer)[left_over], buffer, len); buffer 301 lib/gnu/md5.c md5_process_block (ctx->buffer, 64, ctx); buffer 307 lib/gnu/md5.c memcpy (ctx->buffer, &(((char *) ctx->buffer)[64]), left_over); buffer 328 lib/gnu/md5.c md5_process_block (const void *buffer, size_t len, struct md5_ctx *ctx) buffer 331 lib/gnu/md5.c const uint32_t *words = buffer; buffer 78 lib/gnu/md5.h uint32_t buffer[32]; /* 128 bytes; the first buflen bytes are in use */ buffer 94 lib/gnu/md5.h extern void __md5_process_block (const void *buffer, size_t len, buffer 101 lib/gnu/md5.h extern void __md5_process_bytes (const void *buffer, size_t len, buffer 123 lib/gnu/md5.h extern void *__md5_buffer (const char *buffer, size_t len, buffer 325 lib/lrmd/lrmd_client.c lrmd_ipc_dispatch(const char *buffer, ssize_t length, gpointer userdata) buffer 337 lib/lrmd/lrmd_client.c msg = string2xml(buffer); buffer 576 lib/lrmd/lrmd_client.c free(native->remote->buffer); buffer 577 lib/lrmd/lrmd_client.c native->remote->buffer = NULL; buffer 685 lib/lrmd/lrmd_client.c if (native->remote->buffer && native->process_notify) { buffer 119 lib/lrmd/proxy_common.c remote_proxy_dispatch(const char *buffer, ssize_t length, gpointer userdata) buffer 126 lib/lrmd/proxy_common.c xml = string2xml(buffer); buffer 134 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 139 lib/lrmd/proxy_common.c crm_trace("Passing event back to %.8s on %s: %.200s", proxy->session_id, proxy->node_name, buffer); buffer 376 lib/pacemaker/pcmk_fence.c char *buffer = NULL; buffer 377 lib/pacemaker/pcmk_fence.c int rc = st->cmds->metadata(st, st_opt_sync_call, agent, NULL, &buffer, buffer 384 lib/pacemaker/pcmk_fence.c out->output_xml(out, "metadata", buffer); buffer 385 lib/pacemaker/pcmk_fence.c free(buffer); buffer 53 lib/pengine/bundle.c char *buffer, int max) buffer 70 lib/pengine/bundle.c return snprintf(buffer, max, " --add-host=%s-%d:%s", buffer 75 lib/pengine/bundle.c return snprintf(buffer, max, " --hosts-entry=%s=%s-%d", buffer 176 lib/pengine/bundle.c char *buffer = calloc(1, max+1); buffer 200 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --restart=no"); buffer 208 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -h %s-%d", buffer 212 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_stderr=1"); buffer 216 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --link-local-ip=%s", buffer 219 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --net=%s", buffer 224 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_remote_port=%s", data->control_port); buffer 226 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_remote_port=%d", DEFAULT_REMOTE_PORT); buffer 240 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", source, mount->target); buffer 244 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", mount->source, mount->target); buffer 247 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, ":%s", mount->options); buffer 255 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -p %s:%s:%s", buffer 260 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -p %s:%s", port->source, port->target); buffer 265 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " %s", buffer 270 lib/pengine/bundle.c offset += snprintf(buffer + offset, max - offset, " %s", buffer 274 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "run_opts", buffer); buffer 275 lib/pengine/bundle.c free(buffer); buffer 342 lib/pengine/bundle.c char *buffer = calloc(1, max+1); buffer 375 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -h %s-%d", buffer 379 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_stderr=1"); buffer 384 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --link-local-ip=%s", buffer 387 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --net=%s", buffer 392 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_remote_port=%s", data->control_port); buffer 394 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_remote_port=%d", DEFAULT_REMOTE_PORT); buffer 408 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", source, mount->target); buffer 412 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", mount->source, mount->target); buffer 415 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, ":%s", mount->options); buffer 423 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -p %s:%s:%s", buffer 428 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -p %s:%s", port->source, port->target); buffer 433 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " %s", buffer 438 lib/pengine/bundle.c offset += snprintf(buffer + offset, max - offset, " %s", buffer 442 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "run_opts", buffer); buffer 443 lib/pengine/bundle.c free(buffer); buffer 510 lib/pengine/bundle.c char *buffer = calloc(1, max+1); buffer 542 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --hostname=%s-%d", buffer 546 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --environment=PCMK_stderr=1"); buffer 550 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --link-local-ip=%s", buffer 553 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --net=%s", buffer 558 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --environment=PCMK_remote_port=%s", data->control_port); buffer 560 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --environment=PCMK_remote_port=%d", DEFAULT_REMOTE_PORT); buffer 574 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --volume vol%d,kind=host,source=%s", volid, source); buffer 576 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, ",%s", mount->options); buffer 578 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --mount volume=vol%d,target=%s", volid, mount->target); buffer 582 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --volume vol%d,kind=host,source=%s", volid, mount->source); buffer 584 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, ",%s", mount->options); buffer 586 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --mount volume=vol%d,target=%s", volid, mount->target); buffer 595 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, buffer 599 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --port=%s:%s", port->target, port->source); buffer 604 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " %s", buffer 609 lib/pengine/bundle.c offset += snprintf(buffer + offset, max - offset, " %s", buffer 613 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "run_opts", buffer); buffer 614 lib/pengine/bundle.c free(buffer); buffer 1230 lib/pengine/bundle.c char *buffer = NULL; buffer 1288 lib/pengine/bundle.c buffer = calloc(1, max+1); buffer 1303 lib/pengine/bundle.c offset += allocate_ip(bundle_data, replica, buffer+offset, buffer 1310 lib/pengine/bundle.c bundle_data->container_host_options = buffer; buffer 1322 lib/pengine/bundle.c char *buffer = calloc(1, max+1); buffer 1328 lib/pengine/bundle.c offset += allocate_ip(bundle_data, replica, buffer+offset, buffer 1333 lib/pengine/bundle.c bundle_data->container_host_options = buffer; buffer 1605 lib/pengine/bundle.c char buffer[LINE_MAX]; buffer 1612 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", buffer 1615 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", buffer 1619 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, " (%s)", buffer 1623 lib/pengine/bundle.c pe__common_output_html(out, rsc, buffer, node, options); buffer 1636 lib/pengine/bundle.c char buffer[LINE_MAX]; buffer 1693 lib/pengine/bundle.c snprintf(buffer, LINE_MAX, " Replica[%d]", replica->offset); buffer 1694 lib/pengine/bundle.c xmlNodeSetContent(pcmk__output_xml_peek_parent(out), (pcmkXmlStr) buffer); buffer 1747 lib/pengine/bundle.c char buffer[LINE_MAX]; buffer 1754 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", buffer 1757 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", buffer 1761 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, " (%s)", buffer 1765 lib/pengine/bundle.c pe__common_output_text(out, rsc, buffer, node, options); buffer 1879 lib/pengine/bundle.c char buffer[LINE_MAX]; buffer 1886 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", buffer 1889 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", buffer 1893 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, " (%s)", buffer 1898 lib/pengine/bundle.c common_print(rsc, pre_text, buffer, node, options, print_data); buffer 1267 lib/pengine/native.c char buffer[LINE_MAX]; buffer 1276 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", class); buffer 1279 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, "::%s", prov); buffer 1281 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, ":%s", kind); buffer 1285 lib/pengine/native.c rsc_counter = g_hash_table_lookup(rsc_table, buffer); buffer 1289 lib/pengine/native.c g_hash_table_insert(rsc_table, strdup(buffer), rsc_counter); buffer 1311 lib/pengine/native.c active_counter = g_hash_table_lookup(node_table, buffer); buffer 1315 lib/pengine/native.c g_hash_table_insert(node_table, strdup(buffer), active_counter); buffer 373 lib/services/services_linux.c char buffer[500]; buffer 375 lib/services/services_linux.c snprintf(buffer, sizeof(buffer), strcmp(key, "OCF_CHECK_LEVEL") != 0 ? "OCF_RESKEY_%s" : "%s", (char *)key); buffer 376 lib/services/services_linux.c set_ocf_env(buffer, value, user_data); buffer 446 lib/services/services_linux.c char *buffer = crm_strdup_printf("%s=%s\n", (char *)key, (char *) value); buffer 447 lib/services/services_linux.c int ret, total = 0, len = strlen(buffer); buffer 451 lib/services/services_linux.c ret = write(op->opaque->stdin_fd, buffer + total, len - total); buffer 457 lib/services/services_linux.c free(buffer); buffer 1086 lib/services/services_linux.c char buffer[PATH_MAX]; buffer 1101 lib/services/services_linux.c snprintf(buffer, sizeof(buffer), "%s/%s", root, namelist[lpc]->d_name); buffer 1103 lib/services/services_linux.c if (stat(buffer, &sb)) { buffer 1149 lib/services/services_linux.c char buffer[500]; buffer 1151 lib/services/services_linux.c snprintf(buffer, sizeof(buffer), "%s/resource.d/%s", OCF_ROOT_DIR, provider); buffer 1152 lib/services/services_linux.c return get_directory_list(buffer, TRUE, TRUE); buffer 106 lib/services/services_lsb.c char buffer[1024] = { 0, }; buffer 134 lib/services/services_lsb.c while (fgets(buffer, sizeof(buffer), fp)) { buffer 137 lib/services/services_lsb.c if (pcmk__starts_with(buffer, LSB_INITSCRIPT_INFOBEGIN_TAG)) { buffer 146 lib/services/services_lsb.c if (lsb_meta_helper_get_value(buffer, &provides, PROVIDES)) { buffer 149 lib/services/services_lsb.c if (lsb_meta_helper_get_value(buffer, &req_start, REQ_START)) { buffer 152 lib/services/services_lsb.c if (lsb_meta_helper_get_value(buffer, &req_stop, REQ_STOP)) { buffer 155 lib/services/services_lsb.c if (lsb_meta_helper_get_value(buffer, &shld_start, SHLD_START)) { buffer 158 lib/services/services_lsb.c if (lsb_meta_helper_get_value(buffer, &shld_stop, SHLD_STOP)) { buffer 161 lib/services/services_lsb.c if (lsb_meta_helper_get_value(buffer, &dflt_start, DFLT_START)) { buffer 164 lib/services/services_lsb.c if (lsb_meta_helper_get_value(buffer, &dflt_stop, DFLT_STOP)) { buffer 167 lib/services/services_lsb.c if (lsb_meta_helper_get_value(buffer, &s_dscrpt, SHORT_DSCR)) { buffer 173 lib/services/services_lsb.c && pcmk__starts_with(buffer, DESCRIPTION)) { buffer 178 lib/services/services_lsb.c buffer + strlen(DESCRIPTION)); 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 189 lib/services/services_lsb.c "%s", 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 354 tools/cibadmin.c char *buffer; buffer 377 tools/cibadmin.c buffer = dump_xml_formatted(xml); buffer 378 tools/cibadmin.c fprintf(stdout, "%s", crm_str(buffer)); buffer 379 tools/cibadmin.c free(buffer); buffer 123 tools/crm_diff.c char *buffer = dump_xml_formatted(patch); buffer 125 tools/crm_diff.c printf("%s\n", crm_str(buffer)); buffer 126 tools/crm_diff.c free(buffer); buffer 145 tools/crm_diff.c char *buffer; buffer 150 tools/crm_diff.c buffer = calculate_xml_versioned_digest(output, FALSE, TRUE, version); buffer 151 tools/crm_diff.c crm_trace("Digest: %s\n", crm_str(buffer)); buffer 152 tools/crm_diff.c free(buffer); buffer 832 tools/crm_simulate.c char buffer[FILENAME_MAX]; buffer 844 tools/crm_simulate.c snprintf(buffer, sizeof(buffer), "%s/%s", dir, namelist[file_num]->d_name); buffer 845 tools/crm_simulate.c if (stat(buffer, &prop) == 0 && S_ISREG(prop.st_mode)) { buffer 846 tools/crm_simulate.c profile_one(buffer, repeat, data_set, use_date);