buffer 280 daemons/based/based_callbacks.c char buffer[32]; buffer 287 daemons/based/based_callbacks.c snprintf(buffer, 32, "%" U64T, ping_seq); buffer 288 daemons/based/based_callbacks.c crm_trace("Requesting peer digests (%s)", buffer); buffer 292 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 263 daemons/execd/remoted_tls.c char buffer[INET6_ADDRSTRLEN] = { 0, }; buffer 265 daemons/execd/remoted_tls.c pcmk__sockaddr2str(addr->ai_addr, buffer); buffer 266 daemons/execd/remoted_tls.c crm_trace("Attempting to bind to address %s", buffer); buffer 278 daemons/execd/remoted_tls.c crm_perror(LOG_ERR, "Local address reuse not allowed on %s", buffer); buffer 287 daemons/execd/remoted_tls.c crm_perror(LOG_INFO, "Couldn't disable IPV6-only on %s", buffer); buffer 294 daemons/execd/remoted_tls.c crm_perror(LOG_ERR, "Cannot bind to %s", buffer); buffer 300 daemons/execd/remoted_tls.c crm_perror(LOG_ERR, "Cannot listen on %s", buffer); buffer 183 daemons/fenced/fenced_commands.c char buffer[64] = { 0, }; buffer 197 daemons/fenced/fenced_commands.c snprintf(buffer, sizeof(buffer), "pcmk_%s_timeout", action); buffer 198 daemons/fenced/fenced_commands.c value = g_hash_table_lookup(device->params, buffer); buffer 713 daemons/fenced/fenced_commands.c char *buffer = NULL; buffer 723 daemons/fenced/fenced_commands.c buffer = g_hash_table_lookup(metadata_cache, agent); buffer 724 daemons/fenced/fenced_commands.c if (buffer == NULL) { buffer 734 daemons/fenced/fenced_commands.c NULL, &buffer, 10); buffer 736 daemons/fenced/fenced_commands.c if (rc || !buffer) { buffer 740 daemons/fenced/fenced_commands.c g_hash_table_replace(metadata_cache, strdup(agent), buffer); buffer 743 daemons/fenced/fenced_commands.c *metadata = string2xml(buffer); buffer 100 include/crm/common/ipc_internal.h char *buffer; buffer 83 include/crm/common/mainloop.h int (*dispatch) (const char *buffer, ssize_t length, gpointer userdata); buffer 119 include/crm/common/util.h char *crm_md5sum(const char *buffer); buffer 61 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 184 lib/cib/cib_remote.c free(private->command.buffer); buffer 185 lib/cib/cib_remote.c free(private->callback.buffer); buffer 186 lib/cib/cib_remote.c private->command.buffer = NULL; buffer 187 lib/cib/cib_remote.c private->callback.buffer = NULL; buffer 324 lib/cib/cib_remote.c free(private->command.buffer); buffer 325 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 608 lib/common/acl.c char buffer[MAX_XPATH_LEN]; buffer 611 lib/common/acl.c offset = pcmk__element_xpath(NULL, xml, buffer, offset, buffer 612 lib/common/acl.c sizeof(buffer)); buffer 614 lib/common/acl.c offset += snprintf(buffer + offset, MAX_XPATH_LEN - offset, buffer 621 lib/common/acl.c docp->user, acl_to_text(mode), buffer); buffer 647 lib/common/acl.c acl_to_text(mode), buffer); buffer 655 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 763 lib/common/ipc_client.c client->buffer = malloc(client->buf_size); buffer 764 lib/common/ipc_client.c if (client->buffer == NULL) { buffer 854 lib/common/ipc_client.c free(client->buffer); buffer 855 lib/common/ipc_client.c client->buffer = calloc(1, client->max_buf_size); buffer 894 lib/common/ipc_client.c free(client->buffer); buffer 966 lib/common/ipc_client.c pcmk__ipc_header_t *header = (pcmk__ipc_header_t *)(void*)client->buffer; buffer 979 lib/common/ipc_client.c client->buffer + sizeof(pcmk__ipc_header_t), header->size_compressed, 1, 0); buffer 998 lib/common/ipc_client.c memcpy(uncompressed, client->buffer, sizeof(pcmk__ipc_header_t)); /* Preserve the header */ buffer 1001 lib/common/ipc_client.c free(client->buffer); buffer 1003 lib/common/ipc_client.c client->buffer = uncompressed; buffer 1006 lib/common/ipc_client.c CRM_ASSERT(client->buffer[sizeof(pcmk__ipc_header_t) + header->size_uncompressed - 1] == 0); buffer 1017 lib/common/ipc_client.c CRM_ASSERT(client->buffer != NULL); buffer 1019 lib/common/ipc_client.c client->buffer[0] = 0; buffer 1020 lib/common/ipc_client.c client->msg_size = qb_ipcc_event_recv(client->ipc, client->buffer, buffer 1029 lib/common/ipc_client.c header = (pcmk__ipc_header_t *)(void*)client->buffer; buffer 1037 lib/common/ipc_client.c client->buffer + sizeof(pcmk__ipc_header_t)); buffer 1059 lib/common/ipc_client.c return client->buffer + sizeof(pcmk__ipc_header_t); buffer 1068 lib/common/ipc_client.c if (client->buffer == NULL) { buffer 1072 lib/common/ipc_client.c header = (pcmk__ipc_header_t *)(void*)client->buffer; buffer 1096 lib/common/ipc_client.c *bytes = qb_ipcc_recv(client->ipc, client->buffer, client->buf_size, 1000); buffer 1105 lib/common/ipc_client.c hdr = (pcmk__ipc_header_t *)(void*)client->buffer; buffer 1178 lib/common/ipc_client.c qb_rc = qb_ipcc_recv(client->ipc, client->buffer, client->buf_size, ms_timeout); buffer 1261 lib/common/ipc_client.c qb_rc = qb_ipcc_sendv_recv(client->ipc, iov, 2, client->buffer, buffer 1268 lib/common/ipc_client.c pcmk__ipc_header_t *hdr = (pcmk__ipc_header_t *)(void*)client->buffer; buffer 340 lib/common/ipc_server.c free(c->remote->buffer); buffer 594 lib/common/ipc_server.c char *buffer = NULL; buffer 606 lib/common/ipc_server.c buffer = dump_xml_unformatted(message); buffer 619 lib/common/ipc_server.c header->size_uncompressed = 1 + strlen(buffer); buffer 623 lib/common/ipc_server.c iov[1].iov_base = buffer; buffer 629 lib/common/ipc_server.c if (pcmk__compress(buffer, (unsigned int) header->size_uncompressed, buffer 639 lib/common/ipc_server.c free(buffer); buffer 653 lib/common/ipc_server.c free(buffer); buffer 473 lib/common/logging.c char buffer[NAME_MAX]; buffer 490 lib/common/logging.c snprintf(buffer, NAME_MAX, "%s.%d", blackbox_file_prefix, counter++); buffer 492 lib/common/logging.c crm_notice("Blackbox dump requested, please see %s for contents", buffer); buffer 497 lib/common/logging.c cs->function, cs->lineno, cs->filename, buffer); buffer 499 lib/common/logging.c crm_notice("Problem detected, please see %s for additional details", buffer); buffer 503 lib/common/logging.c qb_log_blackbox_write_to_file(buffer); buffer 729 lib/common/mainloop.c int (*dispatch_fn_ipc) (const char *buffer, ssize_t length, gpointer userdata); buffer 765 lib/common/mainloop.c const char *buffer = crm_ipc_buffer(client->ipc); buffer 770 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 104 lib/common/output_log.c char* buffer = NULL; buffer 113 lib/common/output_log.c len = vasprintf(&buffer, format, ap); buffer 117 lib/common/output_log.c crm_err("%s", buffer); buffer 119 lib/common/output_log.c free(buffer); buffer 142 lib/common/output_log.c char* buffer = NULL; buffer 149 lib/common/output_log.c len = vasprintf(&buffer, format, ap); buffer 156 lib/common/output_log.c if(strcmp(buffer, "") == 0) { buffer 160 lib/common/output_log.c g_queue_push_tail(priv->prefixes, buffer); buffer 171 lib/common/output_log.c char* buffer = NULL; buffer 185 lib/common/output_log.c len = vasprintf(&buffer, format, ap); buffer 189 lib/common/output_log.c if (strcmp(buffer, "") != 0) { /* We don't want empty messages */ buffer 192 lib/common/output_log.c do_crm_log(priv->log_level, "%s: %s: %s", prefix, name, buffer); buffer 194 lib/common/output_log.c do_crm_log(priv->log_level, "%s: %s", name, buffer); buffer 198 lib/common/output_log.c do_crm_log(priv->log_level, "%s: %s", prefix, buffer); buffer 200 lib/common/output_log.c do_crm_log(priv->log_level, "%s", buffer); buffer 204 lib/common/output_log.c free(buffer); buffer 229 lib/common/output_log.c char* buffer = NULL; buffer 235 lib/common/output_log.c len = vasprintf(&buffer, format, ap); buffer 239 lib/common/output_log.c do_crm_log(priv->log_level, "%s", buffer); buffer 241 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 559 lib/common/remote.c remote->buffer + header->payload_offset, buffer 577 lib/common/remote.c memcpy(uncompressed, remote->buffer, header->payload_offset); /* Preserve the header */ buffer 580 lib/common/remote.c free(remote->buffer); buffer 581 lib/common/remote.c remote->buffer = uncompressed; buffer 588 lib/common/remote.c CRM_LOG_ASSERT(remote->buffer[sizeof(struct remote_header_v0) + header->payload_uncompressed - 1] == 0); buffer 590 lib/common/remote.c xml = string2xml(remote->buffer + header->payload_offset); buffer 596 lib/common/remote.c crm_err("Couldn't parse: '%.120s'", remote->buffer + header->payload_offset); buffer 703 lib/common/remote.c remote->buffer = pcmk__realloc(remote->buffer, remote->buffer_size + 1); buffer 709 lib/common/remote.c remote->buffer + remote->buffer_offset, buffer 726 lib/common/remote.c remote->buffer + remote->buffer_offset, buffer 743 lib/common/remote.c remote->buffer[remote->buffer_offset] = '\0'; buffer 1067 lib/common/remote.c char buffer[INET6_ADDRSTRLEN]; buffer 1124 lib/common/remote.c memset(buffer, 0, PCMK__NELEM(buffer)); buffer 1125 lib/common/remote.c pcmk__sockaddr2str(addr, buffer); buffer 1126 lib/common/remote.c crm_info("Attempting remote connection to %s:%d", buffer, port); buffer 1228 lib/common/strings.c crm_itoa_stack(int an_int, char *buffer, size_t len) buffer 1230 lib/common/strings.c if (buffer != NULL) { buffer 1231 lib/common/strings.c snprintf(buffer, len, "%d", an_int); buffer 1233 lib/common/strings.c return buffer; buffer 132 lib/common/utils.c char *buffer = NULL; buffer 136 lib/common/utils.c buffer = calloc(1, PW_BUFFER_LEN); buffer 137 lib/common/utils.c if (buffer == NULL) { buffer 141 lib/common/utils.c rc = getpwnam_r(name, &pwd, buffer, PW_BUFFER_LEN, &pwentry); buffer 156 lib/common/utils.c free(buffer); buffer 555 lib/common/utils.c char *buffer = malloc(37); /* Including NUL byte */ buffer 558 lib/common/utils.c uuid_unparse(uuid, buffer); buffer 559 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 779 lib/common/xml.c char buffer[PCMK__BUFFER_SIZE]; buffer 781 lib/common/xml.c pcmk__element_xpath(NULL, child, buffer, offset, sizeof(buffer)); buffer 782 lib/common/xml.c crm_trace("Cannot remove %s %x", buffer, p->flags); buffer 789 lib/common/xml.c char buffer[PCMK__BUFFER_SIZE]; buffer 791 lib/common/xml.c if (pcmk__element_xpath(NULL, child, buffer, offset, buffer 792 lib/common/xml.c sizeof(buffer)) > 0) { buffer 795 lib/common/xml.c crm_trace("Deleting %s %p from %p", buffer, child, doc); buffer 798 lib/common/xml.c deleted_obj->path = strdup(buffer); buffer 961 lib/common/xml.c char *buffer = NULL; buffer 984 lib/common/xml.c buffer = pcmk__realloc(buffer, PCMK__BUFFER_SIZE + length + 1); buffer 985 lib/common/xml.c read_len = BZ2_bzRead(&rc, bz_file, buffer + length, PCMK__BUFFER_SIZE); buffer 994 lib/common/xml.c buffer[length] = '\0'; buffer 999 lib/common/xml.c free(buffer); buffer 1000 lib/common/xml.c buffer = NULL; buffer 1005 lib/common/xml.c return buffer; buffer 1183 lib/common/xml.c char *buffer = NULL; buffer 1188 lib/common/xml.c buffer = dump_xml_formatted(xml_node); buffer 1189 lib/common/xml.c CRM_CHECK(buffer && strlen(buffer), buffer 1204 lib/common/xml.c BZ2_bzWrite(&rc, bz_file, buffer, strlen(buffer)); buffer 1228 lib/common/xml.c rc = fprintf(stream, "%s", buffer); buffer 1254 lib/common/xml.c free(buffer); buffer 1420 lib/common/xml.c dump_xml_attr(xmlAttrPtr attr, int options, char **buffer, int *offset, int *max) buffer 1426 lib/common/xml.c CRM_ASSERT(buffer != NULL); buffer 1438 lib/common/xml.c buffer_print(*buffer, *max, *offset, " %s=\"%s\"", p_name, p_value); buffer 1461 lib/common/xml.c char *buffer = NULL; buffer 1463 lib/common/xml.c insert_prefix(options, &buffer, &offset, &max, depth); buffer 1466 lib/common/xml.c buffer_print(buffer, max, offset, "<!--%s-->", data->content); buffer 1469 lib/common/xml.c buffer_print(buffer, max, offset, "<%s", name); buffer 1495 lib/common/xml.c buffer_print(buffer, max, offset, " %s=\"%s\"", p_name, p_copy); buffer 1500 lib/common/xml.c buffer_print(buffer, max, offset, "/>"); buffer 1503 lib/common/xml.c buffer_print(buffer, max, offset, ">"); buffer 1506 lib/common/xml.c buffer_print(buffer, max, offset, "/>"); buffer 1510 lib/common/xml.c do_crm_log_alias(log_level, file, function, line, "%s %s", prefix, buffer); buffer 1511 lib/common/xml.c free(buffer); buffer 1533 lib/common/xml.c char *buffer = NULL; buffer 1535 lib/common/xml.c insert_prefix(options, &buffer, &offset, &max, depth); buffer 1536 lib/common/xml.c buffer_print(buffer, max, offset, "</%s>", name); buffer 1538 lib/common/xml.c do_crm_log_alias(log_level, file, function, line, "%s %s", prefix, buffer); buffer 1539 lib/common/xml.c free(buffer); buffer 1706 lib/common/xml.c dump_filtered_xml(xmlNode * data, int options, char **buffer, int *offset, int *max) buffer 1710 lib/common/xml.c dump_xml_attr(a, options, buffer, offset, max); buffer 1716 lib/common/xml.c dump_xml_element(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) buffer 1722 lib/common/xml.c CRM_ASSERT(buffer != NULL); buffer 1729 lib/common/xml.c if (*buffer == NULL) { buffer 1737 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); buffer 1738 lib/common/xml.c buffer_print(*buffer, *max, *offset, "<%s", name); buffer 1741 lib/common/xml.c dump_filtered_xml(data, options, buffer, offset, max); buffer 1745 lib/common/xml.c dump_xml_attr(a, options, buffer, offset, max); buffer 1750 lib/common/xml.c buffer_print(*buffer, *max, *offset, "/>"); buffer 1753 lib/common/xml.c buffer_print(*buffer, *max, *offset, ">"); buffer 1757 lib/common/xml.c buffer_print(*buffer, *max, *offset, "\n"); buffer 1763 lib/common/xml.c pcmk__xml2text(xChild, options, buffer, offset, max, depth + 1); buffer 1766 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); buffer 1767 lib/common/xml.c buffer_print(*buffer, *max, *offset, "</%s>", name); buffer 1770 lib/common/xml.c buffer_print(*buffer, *max, *offset, "\n"); buffer 1776 lib/common/xml.c dump_xml_text(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) buffer 1780 lib/common/xml.c CRM_ASSERT(buffer != NULL); buffer 1787 lib/common/xml.c if (*buffer == NULL) { buffer 1792 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); buffer 1794 lib/common/xml.c buffer_print(*buffer, *max, *offset, "%s", data->content); buffer 1797 lib/common/xml.c buffer_print(*buffer, *max, *offset, "\n"); buffer 1802 lib/common/xml.c dump_xml_cdata(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) buffer 1806 lib/common/xml.c CRM_ASSERT(buffer != NULL); buffer 1813 lib/common/xml.c if (*buffer == NULL) { buffer 1818 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); buffer 1820 lib/common/xml.c buffer_print(*buffer, *max, *offset, "<![CDATA["); buffer 1821 lib/common/xml.c buffer_print(*buffer, *max, *offset, "%s", data->content); buffer 1822 lib/common/xml.c buffer_print(*buffer, *max, *offset, "]]>"); buffer 1825 lib/common/xml.c buffer_print(*buffer, *max, *offset, "\n"); buffer 1830 lib/common/xml.c dump_xml_comment(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) buffer 1834 lib/common/xml.c CRM_ASSERT(buffer != NULL); buffer 1841 lib/common/xml.c if (*buffer == NULL) { buffer 1846 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); buffer 1848 lib/common/xml.c buffer_print(*buffer, *max, *offset, "<!--"); buffer 1849 lib/common/xml.c buffer_print(*buffer, *max, *offset, "%s", data->content); buffer 1850 lib/common/xml.c buffer_print(*buffer, *max, *offset, "-->"); buffer 1853 lib/common/xml.c buffer_print(*buffer, *max, *offset, "\n"); buffer 1871 lib/common/xml.c pcmk__xml2text(xmlNode *data, int options, char **buffer, int *offset, buffer 1916 lib/common/xml.c if (xml_buffer->buffer != NULL) { buffer 1917 lib/common/xml.c buffer_print(*buffer, *max, *offset, "%s", buffer 1918 lib/common/xml.c (char *) xmlBufContent(xml_buffer->buffer)); buffer 1937 lib/common/xml.c dump_xml_element(data, options, buffer, offset, max, depth); buffer 1942 lib/common/xml.c dump_xml_text(data, options, buffer, offset, max, depth); buffer 1946 lib/common/xml.c dump_xml_comment(data, options, buffer, offset, max, depth); buffer 1949 lib/common/xml.c dump_xml_cdata(data, options, buffer, offset, max, depth); buffer 1988 lib/common/xml.c pcmk__buffer_add_char(char **buffer, int *offset, int *max, char c) buffer 1990 lib/common/xml.c buffer_print(*buffer, *max, *offset, "%c", c); buffer 1996 lib/common/xml.c char *buffer = NULL; buffer 2001 lib/common/xml.c &buffer, &offset, &max, 0); buffer 2002 lib/common/xml.c return buffer; buffer 2008 lib/common/xml.c char *buffer = NULL; buffer 2011 lib/common/xml.c pcmk__xml2text(an_xml_node, xml_log_option_formatted, &buffer, &offset, buffer 2013 lib/common/xml.c return buffer; buffer 2019 lib/common/xml.c char *buffer = NULL; buffer 2022 lib/common/xml.c pcmk__xml2text(an_xml_node, 0, &buffer, &offset, &max, 0); buffer 2023 lib/common/xml.c return buffer; buffer 269 lib/common/xpath.c pcmk__element_xpath(const char *prefix, xmlNode *xml, char *buffer, buffer 275 lib/common/xpath.c offset = pcmk__element_xpath(NULL, xml->parent, buffer, offset, buffer 280 lib/common/xpath.c offset += snprintf(buffer + offset, buffer_size - offset, buffer 283 lib/common/xpath.c offset += snprintf(buffer + offset, buffer_size - offset, buffer 294 lib/common/xpath.c char buffer[PCMK__BUFFER_SIZE]; buffer 296 lib/common/xpath.c if (pcmk__element_xpath(NULL, xml, buffer, offset, sizeof(buffer)) > 0) { buffer 297 lib/common/xpath.c return strdup(buffer); buffer 494 lib/fencing/st_client.c char buffer[512]; buffer 496 lib/fencing/st_client.c snprintf(buffer, sizeof(buffer), "pcmk_%s_action", action); buffer 497 lib/fencing/st_client.c value = g_hash_table_lookup(device_args, buffer); buffer 658 lib/fencing/st_client.c char buffer[512]; buffer 661 lib/fencing/st_client.c snprintf(buffer, sizeof(buffer), "pcmk_%s_retries", _action); buffer 662 lib/fencing/st_client.c value = g_hash_table_lookup(device_args, buffer); buffer 775 lib/fencing/st_client.c char *buffer = NULL; buffer 791 lib/fencing/st_client.c buffer = crm_strdup_printf(PCMK__FENCE_BINDIR "/%s", buffer 793 lib/fencing/st_client.c svc_action = services_action_create_generic(buffer, NULL); buffer 794 lib/fencing/st_client.c free(buffer); buffer 1409 lib/fencing/st_client.c stonith_dispatch_internal(const char *buffer, ssize_t length, gpointer userdata) buffer 1421 lib/fencing/st_client.c blob.xml = string2xml(buffer); buffer 1423 lib/fencing/st_client.c crm_warn("Received malformed message from fencer: %s", buffer); buffer 180 lib/fencing/st_lha.c char *buffer = NULL; buffer 243 lib/fencing/st_lha.c buffer = crm_strdup_printf(META_TEMPLATE, agent, xml_meta_longdesc, buffer 254 lib/fencing/st_lha.c *output = buffer; buffer 256 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 329 lib/lrmd/lrmd_client.c lrmd_ipc_dispatch(const char *buffer, ssize_t length, gpointer userdata) buffer 335 lib/lrmd/lrmd_client.c xmlNode *msg = string2xml(buffer); buffer 584 lib/lrmd/lrmd_client.c free(native->remote->buffer); buffer 585 lib/lrmd/lrmd_client.c native->remote->buffer = NULL; buffer 686 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 382 lib/pacemaker/pcmk_fence.c char *buffer = NULL; buffer 383 lib/pacemaker/pcmk_fence.c int rc = st->cmds->metadata(st, st_opt_sync_call, agent, NULL, &buffer, buffer 390 lib/pacemaker/pcmk_fence.c out->output_xml(out, "metadata", buffer); buffer 391 lib/pacemaker/pcmk_fence.c free(buffer); buffer 54 lib/pengine/bundle.c char *buffer, int max) buffer 71 lib/pengine/bundle.c return snprintf(buffer, max, " --add-host=%s-%d:%s", buffer 76 lib/pengine/bundle.c return snprintf(buffer, max, " --hosts-entry=%s=%s-%d", buffer 177 lib/pengine/bundle.c char *buffer = calloc(1, max+1); buffer 201 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --restart=no"); buffer 209 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -h %s-%d", buffer 213 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_stderr=1"); buffer 217 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --link-local-ip=%s", buffer 220 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --net=%s", buffer 225 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_remote_port=%s", data->control_port); buffer 227 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_remote_port=%d", DEFAULT_REMOTE_PORT); buffer 241 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", source, mount->target); buffer 245 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", mount->source, mount->target); buffer 248 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, ":%s", mount->options); buffer 256 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -p %s:%s:%s", buffer 261 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -p %s:%s", port->source, port->target); buffer 266 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " %s", buffer 271 lib/pengine/bundle.c offset += snprintf(buffer + offset, max - offset, " %s", buffer 275 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "run_opts", buffer); buffer 276 lib/pengine/bundle.c free(buffer); buffer 341 lib/pengine/bundle.c char *buffer = calloc(1, max+1); buffer 374 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -h %s-%d", buffer 378 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_stderr=1"); buffer 383 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --link-local-ip=%s", buffer 386 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --net=%s", buffer 391 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_remote_port=%s", data->control_port); buffer 393 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_remote_port=%d", DEFAULT_REMOTE_PORT); buffer 407 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", source, mount->target); buffer 411 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", mount->source, mount->target); buffer 414 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, ":%s", mount->options); buffer 422 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -p %s:%s:%s", buffer 427 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -p %s:%s", port->source, port->target); buffer 432 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " %s", buffer 437 lib/pengine/bundle.c offset += snprintf(buffer + offset, max - offset, " %s", buffer 441 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "run_opts", buffer); buffer 442 lib/pengine/bundle.c free(buffer); buffer 507 lib/pengine/bundle.c char *buffer = calloc(1, max+1); buffer 539 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --hostname=%s-%d", buffer 543 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --environment=PCMK_stderr=1"); buffer 547 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --link-local-ip=%s", buffer 550 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --net=%s", buffer 555 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --environment=PCMK_remote_port=%s", data->control_port); buffer 557 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --environment=PCMK_remote_port=%d", DEFAULT_REMOTE_PORT); buffer 571 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --volume vol%d,kind=host,source=%s", volid, source); buffer 573 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, ",%s", mount->options); buffer 575 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --mount volume=vol%d,target=%s", volid, mount->target); buffer 579 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --volume vol%d,kind=host,source=%s", volid, mount->source); buffer 581 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, ",%s", mount->options); buffer 583 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --mount volume=vol%d,target=%s", volid, mount->target); buffer 592 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, buffer 596 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --port=%s:%s", port->target, port->source); buffer 601 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " %s", buffer 606 lib/pengine/bundle.c offset += snprintf(buffer + offset, max - offset, " %s", buffer 610 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "run_opts", buffer); buffer 611 lib/pengine/bundle.c free(buffer); buffer 1200 lib/pengine/bundle.c char *buffer = NULL; buffer 1258 lib/pengine/bundle.c buffer = calloc(1, max+1); buffer 1273 lib/pengine/bundle.c offset += allocate_ip(bundle_data, replica, buffer+offset, buffer 1280 lib/pengine/bundle.c bundle_data->container_host_options = buffer; buffer 1292 lib/pengine/bundle.c char *buffer = calloc(1, max+1); buffer 1298 lib/pengine/bundle.c offset += allocate_ip(bundle_data, replica, buffer+offset, buffer 1303 lib/pengine/bundle.c bundle_data->container_host_options = buffer; buffer 1576 lib/pengine/bundle.c char buffer[LINE_MAX]; buffer 1583 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", buffer 1586 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", buffer 1590 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, " (%s)", buffer 1594 lib/pengine/bundle.c pe__common_output_html(out, rsc, buffer, node, show_opts); buffer 1704 lib/pengine/bundle.c char buffer[LINE_MAX]; buffer 1711 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", buffer 1714 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", buffer 1718 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, " (%s)", buffer 1722 lib/pengine/bundle.c pe__common_output_text(out, rsc, buffer, node, show_opts); buffer 1833 lib/pengine/bundle.c char buffer[LINE_MAX]; buffer 1840 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", buffer 1843 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", buffer 1847 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, " (%s)", buffer 1852 lib/pengine/bundle.c common_print(rsc, pre_text, buffer, node, options, print_data); buffer 1112 lib/pengine/native.c char buffer[LINE_MAX]; buffer 1121 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", class); buffer 1126 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, buffer 1130 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, ":%s", kind); buffer 1134 lib/pengine/native.c rsc_counter = g_hash_table_lookup(rsc_table, buffer); buffer 1138 lib/pengine/native.c g_hash_table_insert(rsc_table, strdup(buffer), rsc_counter); buffer 1161 lib/pengine/native.c active_counter = g_hash_table_lookup(node_table, buffer); buffer 1165 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 1166 lib/services/services_linux.c char buffer[PATH_MAX]; buffer 1176 lib/services/services_linux.c sprintf(buffer, "%s/%s", dir, provider); buffer 1177 lib/services/services_linux.c tmp = services_os_get_single_directory_list(buffer, files, executable); 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 124 tools/crm_diff.c char *buffer = dump_xml_formatted(patch); buffer 126 tools/crm_diff.c printf("%s\n", crm_str(buffer)); buffer 127 tools/crm_diff.c free(buffer); buffer 146 tools/crm_diff.c char *buffer; buffer 151 tools/crm_diff.c buffer = calculate_xml_versioned_digest(output, FALSE, TRUE, version); buffer 152 tools/crm_diff.c crm_trace("Digest: %s\n", crm_str(buffer)); buffer 153 tools/crm_diff.c free(buffer); buffer 743 tools/crm_simulate.c char buffer[FILENAME_MAX]; buffer 757 tools/crm_simulate.c snprintf(buffer, sizeof(buffer), "%s/%s", dir, namelist[file_num]->d_name); buffer 758 tools/crm_simulate.c if (stat(buffer, &prop) == 0 && S_ISREG(prop.st_mode)) { buffer 759 tools/crm_simulate.c profile_one(buffer, repeat, data_set, use_date);