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 92 daemons/based/pacemaker-based.h xmlNode *readCibXml(char *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 215 daemons/fenced/fenced_commands.c char buffer[64] = { 0, }; buffer 229 daemons/fenced/fenced_commands.c snprintf(buffer, sizeof(buffer), "pcmk_%s_timeout", action); buffer 230 daemons/fenced/fenced_commands.c value = g_hash_table_lookup(device->params, buffer); buffer 779 daemons/fenced/fenced_commands.c char *buffer = NULL; buffer 789 daemons/fenced/fenced_commands.c buffer = g_hash_table_lookup(metadata_cache, agent); buffer 790 daemons/fenced/fenced_commands.c if (buffer == NULL) { buffer 800 daemons/fenced/fenced_commands.c NULL, &buffer, 10); buffer 802 daemons/fenced/fenced_commands.c if (rc || !buffer) { buffer 806 daemons/fenced/fenced_commands.c g_hash_table_replace(metadata_cache, strdup(agent), buffer); buffer 809 daemons/fenced/fenced_commands.c *metadata = string2xml(buffer); buffer 100 include/crm/common/ipc_internal.h char *buffer; buffer 84 include/crm/common/mainloop.h int (*dispatch) (const char *buffer, ssize_t length, gpointer userdata); buffer 127 include/crm/common/util.h char *crm_md5sum(const char *buffer); buffer 68 include/crm/lrmd_internal.h int remote_proxy_dispatch(const char *buffer, ssize_t length, buffer 99 lib/cib/cib_native.c cib_native_dispatch_internal(const char *buffer, ssize_t length, gpointer userdata) buffer 113 lib/cib/cib_native.c msg = string2xml(buffer); buffer 183 lib/cib/cib_remote.c free(private->command.buffer); buffer 184 lib/cib/cib_remote.c free(private->callback.buffer); buffer 185 lib/cib/cib_remote.c private->command.buffer = NULL; buffer 186 lib/cib/cib_remote.c private->callback.buffer = NULL; buffer 323 lib/cib/cib_remote.c free(private->command.buffer); buffer 324 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 620 lib/common/acl.c char buffer[MAX_XPATH_LEN]; buffer 623 lib/common/acl.c offset = pcmk__element_xpath(NULL, xml, buffer, offset, buffer 624 lib/common/acl.c sizeof(buffer)); buffer 626 lib/common/acl.c offset += snprintf(buffer + offset, MAX_XPATH_LEN - offset, buffer 633 lib/common/acl.c docp->user, acl_to_text(mode), buffer); buffer 659 lib/common/acl.c acl_to_text(mode), buffer); buffer 667 lib/common/acl.c docp->user, acl_to_text(mode), buffer); buffer 56 lib/common/crmcommon_private.h void pcmk__xml2text(xmlNode *data, int options, char **buffer, int *offset, buffer 60 lib/common/crmcommon_private.h void pcmk__buffer_add_char(char **buffer, int *offset, int *max, char c); buffer 66 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 324 lib/common/ipc_client.c dispatch_ipc_data(const char *buffer, pcmk_ipc_api_t *api) buffer 329 lib/common/ipc_client.c if (buffer == NULL) { buffer 335 lib/common/ipc_client.c msg = string2xml(buffer); buffer 365 lib/common/ipc_client.c dispatch_ipc_source_data(const char *buffer, ssize_t length, gpointer user_data) buffer 370 lib/common/ipc_client.c dispatch_ipc_data(buffer, api); buffer 781 lib/common/ipc_client.c char *buffer; buffer 818 lib/common/ipc_client.c client->buffer = malloc(client->buf_size); buffer 819 lib/common/ipc_client.c if (client->buffer == NULL) { buffer 909 lib/common/ipc_client.c free(client->buffer); buffer 910 lib/common/ipc_client.c client->buffer = calloc(1, client->max_buf_size); buffer 949 lib/common/ipc_client.c free(client->buffer); buffer 1021 lib/common/ipc_client.c pcmk__ipc_header_t *header = (pcmk__ipc_header_t *)(void*)client->buffer; buffer 1034 lib/common/ipc_client.c client->buffer + sizeof(pcmk__ipc_header_t), header->size_compressed, 1, 0); buffer 1053 lib/common/ipc_client.c memcpy(uncompressed, client->buffer, sizeof(pcmk__ipc_header_t)); /* Preserve the header */ buffer 1056 lib/common/ipc_client.c free(client->buffer); buffer 1058 lib/common/ipc_client.c client->buffer = uncompressed; buffer 1061 lib/common/ipc_client.c CRM_ASSERT(client->buffer[sizeof(pcmk__ipc_header_t) + header->size_uncompressed - 1] == 0); buffer 1072 lib/common/ipc_client.c CRM_ASSERT(client->buffer != NULL); buffer 1074 lib/common/ipc_client.c client->buffer[0] = 0; buffer 1075 lib/common/ipc_client.c client->msg_size = qb_ipcc_event_recv(client->ipc, client->buffer, buffer 1084 lib/common/ipc_client.c header = (pcmk__ipc_header_t *)(void*)client->buffer; buffer 1092 lib/common/ipc_client.c client->buffer + sizeof(pcmk__ipc_header_t)); buffer 1118 lib/common/ipc_client.c return client->buffer + sizeof(pcmk__ipc_header_t); buffer 1127 lib/common/ipc_client.c if (client->buffer == NULL) { buffer 1131 lib/common/ipc_client.c header = (pcmk__ipc_header_t *)(void*)client->buffer; buffer 1155 lib/common/ipc_client.c *bytes = qb_ipcc_recv(client->ipc, client->buffer, client->buf_size, 1000); buffer 1164 lib/common/ipc_client.c hdr = (pcmk__ipc_header_t *)(void*)client->buffer; buffer 1237 lib/common/ipc_client.c qb_rc = qb_ipcc_recv(client->ipc, client->buffer, client->buf_size, ms_timeout); buffer 1320 lib/common/ipc_client.c qb_rc = qb_ipcc_sendv_recv(client->ipc, iov, 2, client->buffer, buffer 1327 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 479 lib/common/logging.c char buffer[NAME_MAX]; buffer 496 lib/common/logging.c snprintf(buffer, NAME_MAX, "%s.%d", blackbox_file_prefix, counter++); buffer 498 lib/common/logging.c crm_notice("Blackbox dump requested, please see %s for contents", buffer); buffer 503 lib/common/logging.c cs->function, cs->lineno, cs->filename, buffer); buffer 505 lib/common/logging.c crm_notice("Problem detected, please see %s for additional details", buffer); buffer 509 lib/common/logging.c qb_log_blackbox_write_to_file(buffer); buffer 730 lib/common/mainloop.c int (*dispatch_fn_ipc) (const char *buffer, ssize_t length, gpointer userdata); buffer 766 lib/common/mainloop.c const char *buffer = crm_ipc_buffer(client->ipc); buffer 771 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 105 lib/common/output_log.c char* buffer = NULL; buffer 114 lib/common/output_log.c len = vasprintf(&buffer, format, ap); buffer 118 lib/common/output_log.c crm_err("%s", buffer); buffer 120 lib/common/output_log.c free(buffer); buffer 143 lib/common/output_log.c char* buffer = NULL; buffer 150 lib/common/output_log.c len = vasprintf(&buffer, format, ap); buffer 157 lib/common/output_log.c if(strcmp(buffer, "") == 0) { buffer 161 lib/common/output_log.c g_queue_push_tail(priv->prefixes, buffer); buffer 172 lib/common/output_log.c char* buffer = NULL; buffer 186 lib/common/output_log.c len = vasprintf(&buffer, format, ap); buffer 190 lib/common/output_log.c if (strcmp(buffer, "") != 0) { /* We don't want empty messages */ buffer 193 lib/common/output_log.c do_crm_log(priv->log_level, "%s: %s: %s", prefix, name, buffer); buffer 195 lib/common/output_log.c do_crm_log(priv->log_level, "%s: %s", name, buffer); buffer 199 lib/common/output_log.c do_crm_log(priv->log_level, "%s: %s", prefix, buffer); buffer 201 lib/common/output_log.c do_crm_log(priv->log_level, "%s", buffer); buffer 205 lib/common/output_log.c free(buffer); buffer 230 lib/common/output_log.c char* buffer = NULL; buffer 236 lib/common/output_log.c len = vasprintf(&buffer, format, ap); buffer 240 lib/common/output_log.c do_crm_log(priv->log_level, "%s", buffer); buffer 242 lib/common/output_log.c free(buffer); buffer 96 lib/common/patchset.c char buffer[PCMK__BUFFER_SIZE]; buffer 98 lib/common/patchset.c if (pcmk__element_xpath(NULL, xml->parent, buffer, offset, buffer 99 lib/common/patchset.c sizeof(buffer)) > 0) { buffer 105 lib/common/patchset.c crm_xml_add(change, XML_DIFF_PATH, buffer); buffer 125 lib/common/patchset.c char buffer[PCMK__BUFFER_SIZE]; buffer 127 lib/common/patchset.c if (pcmk__element_xpath(NULL, xml, buffer, offset, buffer 128 lib/common/patchset.c sizeof(buffer)) > 0) { buffer 132 lib/common/patchset.c crm_xml_add(change, XML_DIFF_PATH, buffer); buffer 177 lib/common/patchset.c char buffer[PCMK__BUFFER_SIZE]; buffer 181 lib/common/patchset.c if (pcmk__element_xpath(NULL, xml, buffer, offset, buffer 182 lib/common/patchset.c sizeof(buffer)) > 0) { buffer 186 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 1242 lib/common/strings.c crm_itoa_stack(int an_int, char *buffer, size_t len) buffer 1244 lib/common/strings.c if (buffer != NULL) { buffer 1245 lib/common/strings.c snprintf(buffer, len, "%d", an_int); buffer 1247 lib/common/strings.c return buffer; buffer 60 lib/common/utils.c char *buffer = NULL; buffer 64 lib/common/utils.c buffer = calloc(1, PW_BUFFER_LEN); buffer 65 lib/common/utils.c if (buffer == NULL) { buffer 69 lib/common/utils.c rc = getpwnam_r(name, &pwd, buffer, PW_BUFFER_LEN, &pwentry); buffer 84 lib/common/utils.c free(buffer); buffer 483 lib/common/utils.c char *buffer = malloc(37); /* Including NUL byte */ buffer 486 lib/common/utils.c uuid_unparse(uuid, buffer); buffer 487 lib/common/utils.c return buffer; buffer 65 lib/common/xml.c #define buffer_print(buffer, max, offset, fmt, args...) do { \ buffer 67 lib/common/xml.c if(buffer) { \ buffer 68 lib/common/xml.c rc = snprintf((buffer) + (offset), (max) - (offset), fmt, ##args); \ buffer 70 lib/common/xml.c if(buffer && rc < 0) { \ buffer 72 lib/common/xml.c (buffer)[(offset)] = 0; \ buffer 77 lib/common/xml.c tmp = pcmk__realloc((buffer), (max)); \ buffer 79 lib/common/xml.c (buffer) = tmp; \ buffer 87 lib/common/xml.c insert_prefix(int options, char **buffer, int *offset, int *max, int depth) buffer 92 lib/common/xml.c if ((*buffer) == NULL || spaces >= ((*max) - (*offset))) { buffer 94 lib/common/xml.c (*buffer) = pcmk__realloc((*buffer), (*max)); buffer 96 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 962 lib/common/xml.c char *buffer = NULL; buffer 986 lib/common/xml.c buffer = pcmk__realloc(buffer, PCMK__BUFFER_SIZE + length + 1); buffer 987 lib/common/xml.c read_len = BZ2_bzRead(&rc, bz_file, buffer + length, PCMK__BUFFER_SIZE); buffer 996 lib/common/xml.c buffer[length] = '\0'; buffer 1001 lib/common/xml.c free(buffer); buffer 1002 lib/common/xml.c buffer = NULL; buffer 1007 lib/common/xml.c return buffer; buffer 1185 lib/common/xml.c char *buffer = NULL; buffer 1190 lib/common/xml.c buffer = dump_xml_formatted(xml_node); buffer 1191 lib/common/xml.c CRM_CHECK(buffer && strlen(buffer), buffer 1206 lib/common/xml.c BZ2_bzWrite(&rc, bz_file, buffer, strlen(buffer)); buffer 1230 lib/common/xml.c rc = fprintf(stream, "%s", buffer); buffer 1256 lib/common/xml.c free(buffer); buffer 1419 lib/common/xml.c dump_xml_attr(xmlAttrPtr attr, int options, char **buffer, int *offset, int *max) buffer 1425 lib/common/xml.c CRM_ASSERT(buffer != NULL); buffer 1437 lib/common/xml.c buffer_print(*buffer, *max, *offset, " %s=\"%s\"", 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\"", buffer 1501 lib/common/xml.c buffer_print(buffer, max, offset, "/>"); buffer 1504 lib/common/xml.c buffer_print(buffer, max, offset, ">"); buffer 1507 lib/common/xml.c buffer_print(buffer, max, offset, "/>"); buffer 1511 lib/common/xml.c do_crm_log_alias(log_level, file, function, line, "%s %s", prefix, buffer); buffer 1512 lib/common/xml.c free(buffer); buffer 1534 lib/common/xml.c char *buffer = NULL; buffer 1536 lib/common/xml.c insert_prefix(options, &buffer, &offset, &max, depth); buffer 1537 lib/common/xml.c buffer_print(buffer, max, offset, "</%s>", name); buffer 1539 lib/common/xml.c do_crm_log_alias(log_level, file, function, line, "%s %s", prefix, buffer); buffer 1540 lib/common/xml.c free(buffer); buffer 1707 lib/common/xml.c dump_filtered_xml(xmlNode * data, int options, char **buffer, int *offset, int *max) buffer 1711 lib/common/xml.c dump_xml_attr(a, options, buffer, offset, max); buffer 1717 lib/common/xml.c dump_xml_element(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) buffer 1723 lib/common/xml.c CRM_ASSERT(buffer != NULL); buffer 1730 lib/common/xml.c if (*buffer == NULL) { buffer 1738 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); buffer 1739 lib/common/xml.c buffer_print(*buffer, *max, *offset, "<%s", name); buffer 1742 lib/common/xml.c dump_filtered_xml(data, options, buffer, offset, max); buffer 1746 lib/common/xml.c dump_xml_attr(a, options, buffer, offset, max); buffer 1751 lib/common/xml.c buffer_print(*buffer, *max, *offset, "/>"); buffer 1754 lib/common/xml.c buffer_print(*buffer, *max, *offset, ">"); buffer 1758 lib/common/xml.c buffer_print(*buffer, *max, *offset, "\n"); buffer 1764 lib/common/xml.c pcmk__xml2text(xChild, options, buffer, offset, max, depth + 1); buffer 1767 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); buffer 1768 lib/common/xml.c buffer_print(*buffer, *max, *offset, "</%s>", name); buffer 1771 lib/common/xml.c buffer_print(*buffer, *max, *offset, "\n"); buffer 1777 lib/common/xml.c dump_xml_text(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) buffer 1781 lib/common/xml.c CRM_ASSERT(buffer != NULL); buffer 1788 lib/common/xml.c if (*buffer == NULL) { buffer 1793 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); buffer 1795 lib/common/xml.c buffer_print(*buffer, *max, *offset, "%s", data->content); buffer 1798 lib/common/xml.c buffer_print(*buffer, *max, *offset, "\n"); buffer 1803 lib/common/xml.c dump_xml_cdata(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) buffer 1807 lib/common/xml.c CRM_ASSERT(buffer != NULL); buffer 1814 lib/common/xml.c if (*buffer == NULL) { buffer 1819 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); buffer 1821 lib/common/xml.c buffer_print(*buffer, *max, *offset, "<![CDATA["); buffer 1822 lib/common/xml.c buffer_print(*buffer, *max, *offset, "%s", data->content); buffer 1823 lib/common/xml.c buffer_print(*buffer, *max, *offset, "]]>"); buffer 1826 lib/common/xml.c buffer_print(*buffer, *max, *offset, "\n"); buffer 1831 lib/common/xml.c dump_xml_comment(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) buffer 1835 lib/common/xml.c CRM_ASSERT(buffer != NULL); buffer 1842 lib/common/xml.c if (*buffer == NULL) { buffer 1847 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); buffer 1849 lib/common/xml.c buffer_print(*buffer, *max, *offset, "<!--"); buffer 1850 lib/common/xml.c buffer_print(*buffer, *max, *offset, "%s", data->content); buffer 1851 lib/common/xml.c buffer_print(*buffer, *max, *offset, "-->"); buffer 1854 lib/common/xml.c buffer_print(*buffer, *max, *offset, "\n"); buffer 1872 lib/common/xml.c pcmk__xml2text(xmlNode *data, int options, char **buffer, int *offset, buffer 1917 lib/common/xml.c if (xml_buffer->buffer != NULL) { buffer 1918 lib/common/xml.c buffer_print(*buffer, *max, *offset, "%s", buffer 1919 lib/common/xml.c (char *) xmlBufContent(xml_buffer->buffer)); buffer 1938 lib/common/xml.c dump_xml_element(data, options, buffer, offset, max, depth); buffer 1943 lib/common/xml.c dump_xml_text(data, options, buffer, offset, max, depth); buffer 1947 lib/common/xml.c dump_xml_comment(data, options, buffer, offset, max, depth); buffer 1950 lib/common/xml.c dump_xml_cdata(data, options, buffer, offset, max, depth); buffer 1989 lib/common/xml.c pcmk__buffer_add_char(char **buffer, int *offset, int *max, char c) buffer 1991 lib/common/xml.c buffer_print(*buffer, *max, *offset, "%c", c); buffer 1997 lib/common/xml.c char *buffer = NULL; buffer 2002 lib/common/xml.c &buffer, &offset, &max, 0); buffer 2003 lib/common/xml.c return buffer; buffer 2009 lib/common/xml.c char *buffer = NULL; buffer 2012 lib/common/xml.c pcmk__xml2text(an_xml_node, xml_log_option_formatted, &buffer, &offset, buffer 2014 lib/common/xml.c return buffer; buffer 2020 lib/common/xml.c char *buffer = NULL; buffer 2023 lib/common/xml.c pcmk__xml2text(an_xml_node, 0, &buffer, &offset, &max, 0); buffer 2024 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 122 lib/fencing/st_actions.c char buffer[512]; buffer 124 lib/fencing/st_actions.c snprintf(buffer, sizeof(buffer), "pcmk_%s_action", action); buffer 125 lib/fencing/st_actions.c value = g_hash_table_lookup(device_args, buffer); buffer 262 lib/fencing/st_actions.c char buffer[512]; buffer 265 lib/fencing/st_actions.c snprintf(buffer, sizeof(buffer), "pcmk_%s_retries", _action); buffer 266 lib/fencing/st_actions.c value = g_hash_table_lookup(device_args, buffer); buffer 560 lib/fencing/st_actions.c char *buffer = NULL; buffer 582 lib/fencing/st_actions.c buffer = crm_strdup_printf(PCMK__FENCE_BINDIR "/%s", buffer 584 lib/fencing/st_actions.c svc_action = services_action_create_generic(buffer, NULL); buffer 585 lib/fencing/st_actions.c free(buffer); buffer 1026 lib/fencing/st_client.c stonith_dispatch_internal(const char *buffer, ssize_t length, gpointer userdata) buffer 1038 lib/fencing/st_client.c blob.xml = string2xml(buffer); buffer 1040 lib/fencing/st_client.c crm_warn("Received malformed message from fencer: %s", buffer); buffer 173 lib/fencing/st_lha.c char *buffer = NULL; buffer 239 lib/fencing/st_lha.c buffer = crm_strdup_printf(META_TEMPLATE, agent, xml_meta_longdesc, buffer 250 lib/fencing/st_lha.c *output = buffer; buffer 252 lib/fencing/st_lha.c free(buffer); buffer 44 lib/fencing/st_rhcs.c char buffer[FILENAME_MAX + 1]; buffer 56 lib/fencing/st_rhcs.c snprintf(buffer, sizeof(buffer), "%s/%s", PCMK__FENCE_BINDIR, buffer 58 lib/fencing/st_rhcs.c if (stat(buffer, &prop) == 0 && S_ISREG(prop.st_mode)) { buffer 221 lib/fencing/st_rhcs.c char *buffer = NULL; buffer 231 lib/fencing/st_rhcs.c buffer = dump_xml_formatted_with_text(xml); buffer 233 lib/fencing/st_rhcs.c if (buffer == NULL) { buffer 237 lib/fencing/st_rhcs.c *output = buffer; buffer 239 lib/fencing/st_rhcs.c free(buffer); buffer 248 lib/fencing/st_rhcs.c char *buffer = crm_strdup_printf(PCMK__FENCE_BINDIR "/%s", agent); buffer 249 lib/fencing/st_rhcs.c int rc = stat(buffer, &prop); buffer 251 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 335 lib/lrmd/lrmd_client.c lrmd_ipc_dispatch(const char *buffer, ssize_t length, gpointer userdata) buffer 341 lib/lrmd/lrmd_client.c xmlNode *msg = string2xml(buffer); buffer 590 lib/lrmd/lrmd_client.c free(native->remote->buffer); buffer 591 lib/lrmd/lrmd_client.c native->remote->buffer = NULL; buffer 692 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 437 lib/pacemaker/pcmk_fence.c char *buffer = NULL; buffer 438 lib/pacemaker/pcmk_fence.c int rc = st->cmds->metadata(st, st_opt_sync_call, agent, NULL, &buffer, buffer 445 lib/pacemaker/pcmk_fence.c out->output_xml(out, "metadata", buffer); buffer 446 lib/pacemaker/pcmk_fence.c free(buffer); buffer 386 lib/pacemaker/pcmk_simulate.c char buffer[FILENAME_MAX]; buffer 400 lib/pacemaker/pcmk_simulate.c snprintf(buffer, sizeof(buffer), "%s/%s", dir, namelist[file_num]->d_name); buffer 401 lib/pacemaker/pcmk_simulate.c if (stat(buffer, &prop) == 0 && S_ISREG(prop.st_mode)) { buffer 402 lib/pacemaker/pcmk_simulate.c profile_file(buffer, repeat, data_set, use_date); buffer 55 lib/pengine/bundle.c char *buffer, int max) buffer 72 lib/pengine/bundle.c return snprintf(buffer, max, " --add-host=%s-%d:%s", buffer 77 lib/pengine/bundle.c return snprintf(buffer, max, " --hosts-entry=%s=%s-%d", buffer 178 lib/pengine/bundle.c char *buffer = calloc(1, max+1); buffer 202 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --restart=no"); buffer 210 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -h %s-%d", buffer 214 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_stderr=1"); buffer 218 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --link-local-ip=%s", buffer 221 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --net=%s", buffer 226 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_remote_port=%s", data->control_port); buffer 228 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -e PCMK_remote_port=%d", DEFAULT_REMOTE_PORT); buffer 242 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", source, mount->target); buffer 246 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -v %s:%s", mount->source, mount->target); buffer 249 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, ":%s", mount->options); buffer 257 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -p %s:%s:%s", buffer 262 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -p %s:%s", port->source, port->target); buffer 267 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " %s", buffer 272 lib/pengine/bundle.c offset += snprintf(buffer + offset, max - offset, " %s", buffer 276 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "run_opts", buffer); buffer 277 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 508 lib/pengine/bundle.c char *buffer = calloc(1, max+1); buffer 540 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --hostname=%s-%d", buffer 544 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --environment=PCMK_stderr=1"); buffer 548 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --link-local-ip=%s", buffer 551 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --net=%s", buffer 556 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --environment=PCMK_remote_port=%s", data->control_port); buffer 558 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --environment=PCMK_remote_port=%d", DEFAULT_REMOTE_PORT); buffer 572 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --volume vol%d,kind=host,source=%s", volid, source); buffer 574 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, ",%s", mount->options); buffer 576 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --mount volume=vol%d,target=%s", volid, mount->target); buffer 580 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --volume vol%d,kind=host,source=%s", volid, mount->source); buffer 582 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, ",%s", mount->options); buffer 584 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --mount volume=vol%d,target=%s", volid, mount->target); buffer 593 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, buffer 597 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --port=%s:%s", port->target, port->source); buffer 602 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " %s", buffer 607 lib/pengine/bundle.c offset += snprintf(buffer + offset, max - offset, " %s", buffer 611 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "run_opts", buffer); buffer 612 lib/pengine/bundle.c free(buffer); buffer 1193 lib/pengine/bundle.c char *buffer = NULL; buffer 1251 lib/pengine/bundle.c buffer = calloc(1, max+1); buffer 1266 lib/pengine/bundle.c offset += allocate_ip(bundle_data, replica, buffer+offset, buffer 1273 lib/pengine/bundle.c bundle_data->container_host_options = buffer; buffer 1285 lib/pengine/bundle.c char *buffer = calloc(1, max+1); buffer 1291 lib/pengine/bundle.c offset += allocate_ip(bundle_data, replica, buffer+offset, buffer 1296 lib/pengine/bundle.c bundle_data->container_host_options = buffer; buffer 1592 lib/pengine/bundle.c char buffer[LINE_MAX]; buffer 1599 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", buffer 1602 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", buffer 1606 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, " (%s)", buffer 1610 lib/pengine/bundle.c pe__common_output_html(out, rsc, buffer, node, show_opts); buffer 1720 lib/pengine/bundle.c char buffer[LINE_MAX]; buffer 1727 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", buffer 1730 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", buffer 1734 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, " (%s)", buffer 1738 lib/pengine/bundle.c pe__common_output_text(out, rsc, buffer, node, show_opts); buffer 1849 lib/pengine/bundle.c char buffer[LINE_MAX]; buffer 1856 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", buffer 1859 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", buffer 1863 lib/pengine/bundle.c offset += snprintf(buffer + offset, LINE_MAX - offset, " (%s)", buffer 1868 lib/pengine/bundle.c common_print(rsc, pre_text, buffer, node, options, print_data); buffer 1118 lib/pengine/native.c char buffer[LINE_MAX]; buffer 1127 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, "%s", class); buffer 1132 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, buffer 1136 lib/pengine/native.c offset += snprintf(buffer + offset, LINE_MAX - offset, ":%s", kind); buffer 1140 lib/pengine/native.c rsc_counter = g_hash_table_lookup(rsc_table, buffer); buffer 1144 lib/pengine/native.c g_hash_table_insert(rsc_table, strdup(buffer), rsc_counter); buffer 1167 lib/pengine/native.c active_counter = g_hash_table_lookup(node_table, buffer); buffer 1171 lib/pengine/native.c g_hash_table_insert(node_table, strdup(buffer), active_counter); buffer 374 lib/services/services_linux.c char buffer[500]; buffer 376 lib/services/services_linux.c snprintf(buffer, sizeof(buffer), strcmp(key, "OCF_CHECK_LEVEL") != 0 ? "OCF_RESKEY_%s" : "%s", (char *)key); buffer 377 lib/services/services_linux.c set_ocf_env(buffer, value, user_data); buffer 447 lib/services/services_linux.c char *buffer = crm_strdup_printf("%s=%s\n", (char *)key, (char *) value); buffer 448 lib/services/services_linux.c int ret, total = 0, len = strlen(buffer); buffer 452 lib/services/services_linux.c ret = write(op->opaque->stdin_fd, buffer + total, len - total); buffer 458 lib/services/services_linux.c free(buffer); buffer 1366 lib/services/services_linux.c char buffer[PATH_MAX]; buffer 1381 lib/services/services_linux.c snprintf(buffer, sizeof(buffer), "%s/%s", root, namelist[lpc]->d_name); buffer 1383 lib/services/services_linux.c if (stat(buffer, &sb)) { 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 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 64 maint/gnulib/lib/af_alg.c afalg_buffer (const char *buffer, size_t len, const char *alg, buffer 83 maint/gnulib/lib/af_alg.c if (send (ofd, buffer, size, MSG_MORE) != size) buffer 88 maint/gnulib/lib/af_alg.c buffer += size; buffer 61 maint/gnulib/lib/af_alg.h afalg_buffer (const char *buffer, size_t len, const char *alg, buffer 96 maint/gnulib/lib/af_alg.h afalg_buffer (const char *buffer, size_t len, const char *alg, buffer 76 maint/gnulib/lib/areadlink-with-size.c char *buffer = NULL; buffer 80 maint/gnulib/lib/areadlink-with-size.c buf = buffer = malloc (buf_size); buffer 81 maint/gnulib/lib/areadlink-with-size.c if (!buffer) buffer 93 maint/gnulib/lib/areadlink-with-size.c free (buffer); buffer 100 maint/gnulib/lib/areadlink-with-size.c if (!buffer) buffer 102 maint/gnulib/lib/areadlink-with-size.c buffer = malloc (link_length + 1); buffer 103 maint/gnulib/lib/areadlink-with-size.c if (buffer) buffer 104 maint/gnulib/lib/areadlink-with-size.c return memcpy (buffer, buf, link_length + 1); buffer 109 maint/gnulib/lib/areadlink-with-size.c char *shrinked_buffer = realloc (buffer, link_length + 1); buffer 111 maint/gnulib/lib/areadlink-with-size.c buffer = shrinked_buffer; buffer 113 maint/gnulib/lib/areadlink-with-size.c return buffer; buffer 116 maint/gnulib/lib/areadlink-with-size.c free (buffer); buffer 36 maint/gnulib/lib/areadlink.c careadlinkatcwd (int fd, char const *filename, char *buffer, buffer 43 maint/gnulib/lib/areadlink.c return readlink (filename, buffer, buffer_size); buffer 81 maint/gnulib/lib/areadlinkat-with-size.c char *buffer = NULL; buffer 85 maint/gnulib/lib/areadlinkat-with-size.c buf = buffer = malloc (buf_size); buffer 86 maint/gnulib/lib/areadlinkat-with-size.c if (!buffer) buffer 97 maint/gnulib/lib/areadlinkat-with-size.c free (buffer); buffer 104 maint/gnulib/lib/areadlinkat-with-size.c if (!buffer) buffer 106 maint/gnulib/lib/areadlinkat-with-size.c buffer = malloc (link_length + 1); buffer 107 maint/gnulib/lib/areadlinkat-with-size.c if (buffer) buffer 108 maint/gnulib/lib/areadlinkat-with-size.c return memcpy (buffer, buf, link_length + 1); buffer 113 maint/gnulib/lib/areadlinkat-with-size.c char *shrinked_buffer = realloc (buffer, link_length + 1); buffer 115 maint/gnulib/lib/areadlinkat-with-size.c buffer = shrinked_buffer; buffer 117 maint/gnulib/lib/areadlinkat-with-size.c return buffer; buffer 120 maint/gnulib/lib/areadlinkat-with-size.c free (buffer); buffer 209 maint/gnulib/lib/backupfile.c numbered_backup (int dir_fd, char **buffer, idx_t buffer_size, idx_t filelen, buffer 214 maint/gnulib/lib/backupfile.c char *buf = *buffer; buffer 280 maint/gnulib/lib/backupfile.c *buffer = buf; buffer 301 maint/gnulib/lib/backupfile.c *buffer = buf; buffer 66 maint/gnulib/lib/careadlinkat.c char *buffer, size_t buffer_size, buffer 74 maint/gnulib/lib/careadlinkat.c if (!buffer) buffer 76 maint/gnulib/lib/careadlinkat.c buffer = stack_buf; buffer 80 maint/gnulib/lib/careadlinkat.c char *buf = buffer; buffer 90 maint/gnulib/lib/careadlinkat.c if (buf != buffer) buffer 114 maint/gnulib/lib/careadlinkat.c if (link_size < buf_size && buf != buffer && alloc->reallocate) buffer 125 maint/gnulib/lib/careadlinkat.c if (buf != buffer) buffer 169 maint/gnulib/lib/careadlinkat.c char *buffer, size_t buffer_size, buffer 182 maint/gnulib/lib/careadlinkat.c return readlink_stk (fd, filename, buffer, buffer_size, alloc, buffer 50 maint/gnulib/lib/careadlinkat.h char *restrict buffer, size_t buffer_size, buffer 424 maint/gnulib/lib/exclude.c char *buffer) buffer 432 maint/gnulib/lib/exclude.c strcpy (buffer, f); buffer 436 maint/gnulib/lib/exclude.c if (hash_lookup (table, buffer)) buffer 440 maint/gnulib/lib/exclude.c char *p = strrchr (buffer, '/'); buffer 32 maint/gnulib/lib/execinfo.in.h backtrace (void **buffer, int size) buffer 34 maint/gnulib/lib/execinfo.in.h (void) buffer; buffer 40 maint/gnulib/lib/execinfo.in.h backtrace_symbols (void *const *buffer, int size) buffer 42 maint/gnulib/lib/execinfo.in.h (void) buffer; buffer 48 maint/gnulib/lib/execinfo.in.h backtrace_symbols_fd (void *const *buffer, int size, int fd) buffer 50 maint/gnulib/lib/execinfo.in.h (void) buffer; buffer 80 maint/gnulib/lib/fstrcmp.c ptrdiff_t *buffer; buffer 83 maint/gnulib/lib/fstrcmp.c buffer = gl_tls_get (buffer_key); buffer 84 maint/gnulib/lib/fstrcmp.c if (buffer != NULL) buffer 88 maint/gnulib/lib/fstrcmp.c free (buffer); buffer 110 maint/gnulib/lib/fstrcmp.c ptrdiff_t *buffer; buffer 213 maint/gnulib/lib/fstrcmp.c buffer = gl_tls_get (buffer_key); buffer 223 maint/gnulib/lib/fstrcmp.c free (buffer); buffer 224 maint/gnulib/lib/fstrcmp.c buffer = xnmalloc (bufmax, 2 * sizeof *buffer); buffer 225 maint/gnulib/lib/fstrcmp.c gl_tls_set (buffer_key, buffer); buffer 228 maint/gnulib/lib/fstrcmp.c ctxt.fdiag = buffer + yvec_length + 1; buffer 95 maint/gnulib/lib/gc-gnulib.c randomize (void *buffer, size_t length, unsigned int flags) buffer 97 maint/gnulib/lib/gc-gnulib.c char *buf = buffer; buffer 125 maint/gnulib/lib/gen-uni-tables.c getfield (FILE *stream, char *buffer, int delim) buffer 143 maint/gnulib/lib/gen-uni-tables.c *buffer++ = c; buffer 149 maint/gnulib/lib/gen-uni-tables.c *buffer = '\0'; buffer 30 maint/gnulib/lib/getentropy.c getentropy (void *buffer, size_t length) buffer 32 maint/gnulib/lib/getentropy.c char *buf = buffer; buffer 113 maint/gnulib/lib/getndelim2.c const char *buffer; buffer 116 maint/gnulib/lib/getndelim2.c buffer = freadptr (stream, &buffer_len); buffer 117 maint/gnulib/lib/getndelim2.c if (buffer) buffer 121 maint/gnulib/lib/getndelim2.c const char *end = memchr2 (buffer, delim1, delim2, buffer_len); buffer 124 maint/gnulib/lib/getndelim2.c buffer_len = end - buffer + 1; buffer 189 maint/gnulib/lib/getndelim2.c if (buffer) buffer 190 maint/gnulib/lib/getndelim2.c memcpy (read_pos, buffer, copy_len); buffer 199 maint/gnulib/lib/getndelim2.c if (buffer && freadseek (stream, buffer_len)) buffer 113 maint/gnulib/lib/getrandom.c getrandom (void *buffer, size_t length, unsigned int flags) buffer 129 maint/gnulib/lib/getrandom.c && BCryptGenRandomFunc (NULL, buffer, length, buffer 154 maint/gnulib/lib/getrandom.c if (!CryptGenRandom (provider, length, buffer)) buffer 166 maint/gnulib/lib/getrandom.c return getrandom (buffer, length, flags); buffer 189 maint/gnulib/lib/getrandom.c return read (fd, buffer, length); buffer 299 maint/gnulib/lib/hash.c hash_get_entries (const Hash_table *table, void **buffer, buffer 314 maint/gnulib/lib/hash.c buffer[counter++] = cursor->data; buffer 112 maint/gnulib/lib/hash.h extern size_t hash_get_entries (const Hash_table *table, void **buffer, buffer 30 maint/gnulib/lib/hmac.h const void *buffer, size_t buflen, void *restrict resbuf); buffer 63 maint/gnulib/lib/linebuffer.c char *buffer = linebuffer->buffer; buffer 64 maint/gnulib/lib/linebuffer.c char *p = linebuffer->buffer; buffer 65 maint/gnulib/lib/linebuffer.c char *end = buffer + linebuffer->size; /* Sentinel. */ buffer 75 maint/gnulib/lib/linebuffer.c if (p == buffer || ferror (stream)) buffer 84 maint/gnulib/lib/linebuffer.c buffer = xpalloc (buffer, &linebuffer->size, 1, -1, 1); buffer 85 maint/gnulib/lib/linebuffer.c p = buffer + oldsize; buffer 86 maint/gnulib/lib/linebuffer.c linebuffer->buffer = buffer; buffer 87 maint/gnulib/lib/linebuffer.c end = buffer + linebuffer->size; buffer 93 maint/gnulib/lib/linebuffer.c linebuffer->length = p - buffer; buffer 102 maint/gnulib/lib/linebuffer.c free (linebuffer->buffer); buffer 31 maint/gnulib/lib/linebuffer.h char *buffer; buffer 75 maint/gnulib/lib/malloc/scratch_buffer.h scratch_buffer_init (struct scratch_buffer *buffer) buffer 77 maint/gnulib/lib/malloc/scratch_buffer.h buffer->data = buffer->__space.__c; buffer 78 maint/gnulib/lib/malloc/scratch_buffer.h buffer->length = sizeof (buffer->__space); buffer 83 maint/gnulib/lib/malloc/scratch_buffer.h scratch_buffer_free (struct scratch_buffer *buffer) buffer 85 maint/gnulib/lib/malloc/scratch_buffer.h if (buffer->data != buffer->__space.__c) buffer 86 maint/gnulib/lib/malloc/scratch_buffer.h free (buffer->data); buffer 94 maint/gnulib/lib/malloc/scratch_buffer.h bool __libc_scratch_buffer_grow (struct scratch_buffer *buffer); buffer 99 maint/gnulib/lib/malloc/scratch_buffer.h scratch_buffer_grow (struct scratch_buffer *buffer) buffer 101 maint/gnulib/lib/malloc/scratch_buffer.h return __glibc_likely (__libc_scratch_buffer_grow (buffer)); buffer 106 maint/gnulib/lib/malloc/scratch_buffer.h bool __libc_scratch_buffer_grow_preserve (struct scratch_buffer *buffer); buffer 111 maint/gnulib/lib/malloc/scratch_buffer.h scratch_buffer_grow_preserve (struct scratch_buffer *buffer) buffer 113 maint/gnulib/lib/malloc/scratch_buffer.h return __glibc_likely (__libc_scratch_buffer_grow_preserve (buffer)); buffer 122 maint/gnulib/lib/malloc/scratch_buffer.h bool __libc_scratch_buffer_set_array_size (struct scratch_buffer *buffer, buffer 128 maint/gnulib/lib/malloc/scratch_buffer.h scratch_buffer_set_array_size (struct scratch_buffer *buffer, buffer 132 maint/gnulib/lib/malloc/scratch_buffer.h (buffer, nelem, size)); buffer 139 maint/gnulib/lib/malloc/scratch_buffer.h void *__libc_scratch_buffer_dupfree (struct scratch_buffer *buffer, buffer 145 maint/gnulib/lib/malloc/scratch_buffer.h scratch_buffer_dupfree (struct scratch_buffer *buffer, size_t size) buffer 147 maint/gnulib/lib/malloc/scratch_buffer.h void *r = __libc_scratch_buffer_dupfree (buffer, size); buffer 27 maint/gnulib/lib/malloc/scratch_buffer_dupfree.c __libc_scratch_buffer_dupfree (struct scratch_buffer *buffer, size_t size) buffer 29 maint/gnulib/lib/malloc/scratch_buffer_dupfree.c void *data = buffer->data; buffer 30 maint/gnulib/lib/malloc/scratch_buffer_dupfree.c if (data == buffer->__space.__c) buffer 27 maint/gnulib/lib/malloc/scratch_buffer_grow.c __libc_scratch_buffer_grow (struct scratch_buffer *buffer) buffer 30 maint/gnulib/lib/malloc/scratch_buffer_grow.c size_t new_length = buffer->length * 2; buffer 33 maint/gnulib/lib/malloc/scratch_buffer_grow.c scratch_buffer_free (buffer); buffer 36 maint/gnulib/lib/malloc/scratch_buffer_grow.c if (__glibc_likely (new_length >= buffer->length)) buffer 47 maint/gnulib/lib/malloc/scratch_buffer_grow.c scratch_buffer_init (buffer); buffer 52 maint/gnulib/lib/malloc/scratch_buffer_grow.c buffer->data = new_ptr; buffer 53 maint/gnulib/lib/malloc/scratch_buffer_grow.c buffer->length = new_length; buffer 28 maint/gnulib/lib/malloc/scratch_buffer_grow_preserve.c __libc_scratch_buffer_grow_preserve (struct scratch_buffer *buffer) buffer 30 maint/gnulib/lib/malloc/scratch_buffer_grow_preserve.c size_t new_length = 2 * buffer->length; buffer 33 maint/gnulib/lib/malloc/scratch_buffer_grow_preserve.c if (buffer->data == buffer->__space.__c) buffer 40 maint/gnulib/lib/malloc/scratch_buffer_grow_preserve.c memcpy (new_ptr, buffer->__space.__c, buffer->length); buffer 45 maint/gnulib/lib/malloc/scratch_buffer_grow_preserve.c if (__glibc_likely (new_length >= buffer->length)) buffer 46 maint/gnulib/lib/malloc/scratch_buffer_grow_preserve.c new_ptr = realloc (buffer->data, new_length); buffer 56 maint/gnulib/lib/malloc/scratch_buffer_grow_preserve.c free (buffer->data); buffer 57 maint/gnulib/lib/malloc/scratch_buffer_grow_preserve.c scratch_buffer_init (buffer); buffer 63 maint/gnulib/lib/malloc/scratch_buffer_grow_preserve.c buffer->data = new_ptr; buffer 64 maint/gnulib/lib/malloc/scratch_buffer_grow_preserve.c buffer->length = new_length; buffer 28 maint/gnulib/lib/malloc/scratch_buffer_set_array_size.c __libc_scratch_buffer_set_array_size (struct scratch_buffer *buffer, buffer 39 maint/gnulib/lib/malloc/scratch_buffer_set_array_size.c scratch_buffer_free (buffer); buffer 40 maint/gnulib/lib/malloc/scratch_buffer_set_array_size.c scratch_buffer_init (buffer); buffer 45 maint/gnulib/lib/malloc/scratch_buffer_set_array_size.c if (new_length <= buffer->length) buffer 49 maint/gnulib/lib/malloc/scratch_buffer_set_array_size.c scratch_buffer_free (buffer); buffer 55 maint/gnulib/lib/malloc/scratch_buffer_set_array_size.c scratch_buffer_init (buffer); buffer 60 maint/gnulib/lib/malloc/scratch_buffer_set_array_size.c buffer->data = new_ptr; buffer 61 maint/gnulib/lib/malloc/scratch_buffer_set_array_size.c buffer->length = new_length; buffer 47 maint/gnulib/lib/md2-stream.c char *buffer = malloc (BLOCKSIZE + 72); buffer 48 maint/gnulib/lib/md2-stream.c if (!buffer) buffer 66 maint/gnulib/lib/md2-stream.c n = fread (buffer + sum, 1, BLOCKSIZE - sum, stream); buffer 80 maint/gnulib/lib/md2-stream.c free (buffer); buffer 96 maint/gnulib/lib/md2-stream.c md2_process_block (buffer, BLOCKSIZE, &ctx); buffer 103 maint/gnulib/lib/md2-stream.c md2_process_bytes (buffer, sum, &ctx); buffer 107 maint/gnulib/lib/md2-stream.c free (buffer); buffer 86 maint/gnulib/lib/md2.c md2_buffer (const char *buffer, size_t len, void *resblock) buffer 94 maint/gnulib/lib/md2.c md2_process_block (buffer, len, &ctx); buffer 101 maint/gnulib/lib/md2.c md2_process_bytes (const void *buffer, size_t len, struct md2_ctx *ctx) buffer 103 maint/gnulib/lib/md2.c const char *in = buffer; buffer 189 maint/gnulib/lib/md2.c md2_process_block (const void *buffer, size_t len, struct md2_ctx *ctx) buffer 191 maint/gnulib/lib/md2.c md2_process_bytes (buffer, len, ctx); buffer 46 maint/gnulib/lib/md2.h extern void md2_process_block (const void *buffer, size_t len, buffer 53 maint/gnulib/lib/md2.h extern void md2_process_bytes (const void *buffer, size_t len, buffer 73 maint/gnulib/lib/md2.h extern void *md2_buffer (const char *buffer, size_t len, buffer 47 maint/gnulib/lib/md4-stream.c char *buffer = malloc (BLOCKSIZE + 72); buffer 48 maint/gnulib/lib/md4-stream.c if (!buffer) buffer 66 maint/gnulib/lib/md4-stream.c n = fread (buffer + sum, 1, BLOCKSIZE - sum, stream); buffer 80 maint/gnulib/lib/md4-stream.c free (buffer); buffer 96 maint/gnulib/lib/md4-stream.c md4_process_block (buffer, BLOCKSIZE, &ctx); buffer 103 maint/gnulib/lib/md4-stream.c md4_process_bytes (buffer, sum, &ctx); buffer 107 maint/gnulib/lib/md4-stream.c free (buffer); buffer 96 maint/gnulib/lib/md4.c memcpy (&((char*)ctx->buffer)[bytes], fillbuf, pad); buffer 99 maint/gnulib/lib/md4.c ctx->buffer[(bytes + pad) / 4] = SWAP (ctx->total[0] << 3); buffer 100 maint/gnulib/lib/md4.c ctx->buffer[(bytes + pad) / 4 + 1] = SWAP ((ctx->total[1] << 3) | buffer 104 maint/gnulib/lib/md4.c md4_process_block (ctx->buffer, bytes + pad + 8, ctx); buffer 114 maint/gnulib/lib/md4.c md4_buffer (const char *buffer, size_t len, void *resblock) buffer 122 maint/gnulib/lib/md4.c md4_process_bytes (buffer, len, &ctx); buffer 129 maint/gnulib/lib/md4.c md4_process_bytes (const void *buffer, size_t len, struct md4_ctx *ctx) buffer 138 maint/gnulib/lib/md4.c memcpy (&((char*)ctx->buffer)[left_over], buffer, add); buffer 143 maint/gnulib/lib/md4.c md4_process_block (ctx->buffer, ctx->buflen & ~63, ctx); buffer 147 maint/gnulib/lib/md4.c memcpy (ctx->buffer, &((char*)ctx->buffer)[(left_over + add) & ~63], buffer 151 maint/gnulib/lib/md4.c buffer = (const char *) buffer + add; buffer 160 maint/gnulib/lib/md4.c if (UNALIGNED_P (buffer)) buffer 163 maint/gnulib/lib/md4.c md4_process_block (memcpy (ctx->buffer, buffer, 64), 64, ctx); buffer 164 maint/gnulib/lib/md4.c buffer = (const char *) buffer + 64; buffer 170 maint/gnulib/lib/md4.c md4_process_block (buffer, len & ~63, ctx); buffer 171 maint/gnulib/lib/md4.c buffer = (const char *) buffer + (len & ~63); buffer 181 maint/gnulib/lib/md4.c memcpy (&((char*)ctx->buffer)[left_over], buffer, len); buffer 185 maint/gnulib/lib/md4.c md4_process_block (ctx->buffer, 64, ctx); buffer 187 maint/gnulib/lib/md4.c memcpy (ctx->buffer, &ctx->buffer[16], left_over); buffer 212 maint/gnulib/lib/md4.c md4_process_block (const void *buffer, size_t len, struct md4_ctx *ctx) buffer 214 maint/gnulib/lib/md4.c const uint32_t *words = buffer; buffer 41 maint/gnulib/lib/md4.h uint32_t buffer[32]; buffer 52 maint/gnulib/lib/md4.h extern void md4_process_block (const void *buffer, size_t len, buffer 59 maint/gnulib/lib/md4.h extern void md4_process_bytes (const void *buffer, size_t len, buffer 79 maint/gnulib/lib/md4.h extern void *md4_buffer (const char *buffer, size_t len, buffer 69 maint/gnulib/lib/md5-stream.c char *buffer = malloc (BLOCKSIZE + 72); buffer 70 maint/gnulib/lib/md5-stream.c if (!buffer) buffer 97 maint/gnulib/lib/md5-stream.c n = fread (buffer + sum, 1, BLOCKSIZE - sum, stream); buffer 111 maint/gnulib/lib/md5-stream.c free (buffer); buffer 121 maint/gnulib/lib/md5-stream.c md5_process_block (buffer, BLOCKSIZE, &ctx); buffer 128 maint/gnulib/lib/md5-stream.c md5_process_bytes (buffer, sum, &ctx); buffer 132 maint/gnulib/lib/md5-stream.c free (buffer); buffer 116 maint/gnulib/lib/md5.c ctx->buffer[size - 2] = SWAP (ctx->total[0] << 3); buffer 117 maint/gnulib/lib/md5.c ctx->buffer[size - 1] = SWAP ((ctx->total[1] << 3) | (ctx->total[0] >> 29)); buffer 119 maint/gnulib/lib/md5.c memcpy (&((char *) ctx->buffer)[bytes], fillbuf, (size - 2) * 4 - bytes); buffer 122 maint/gnulib/lib/md5.c md5_process_block (ctx->buffer, size * 4, ctx); buffer 132 maint/gnulib/lib/md5.c md5_buffer (const char *buffer, size_t len, void *resblock) buffer 140 maint/gnulib/lib/md5.c md5_process_bytes (buffer, len, &ctx); buffer 148 maint/gnulib/lib/md5.c md5_process_bytes (const void *buffer, size_t len, struct md5_ctx *ctx) buffer 157 maint/gnulib/lib/md5.c memcpy (&((char *) ctx->buffer)[left_over], buffer, add); buffer 162 maint/gnulib/lib/md5.c md5_process_block (ctx->buffer, ctx->buflen & ~63, ctx); buffer 167 maint/gnulib/lib/md5.c memcpy (ctx->buffer, buffer 168 maint/gnulib/lib/md5.c &((char *) ctx->buffer)[(left_over + add) & ~63], buffer 172 maint/gnulib/lib/md5.c buffer = (const char *) buffer + add; buffer 181 maint/gnulib/lib/md5.c if (UNALIGNED_P (buffer)) buffer 184 maint/gnulib/lib/md5.c md5_process_block (memcpy (ctx->buffer, buffer, 64), 64, ctx); buffer 185 maint/gnulib/lib/md5.c buffer = (const char *) buffer + 64; buffer 191 maint/gnulib/lib/md5.c md5_process_block (buffer, len & ~63, ctx); buffer 192 maint/gnulib/lib/md5.c buffer = (const char *) buffer + (len & ~63); buffer 202 maint/gnulib/lib/md5.c memcpy (&((char *) ctx->buffer)[left_over], buffer, len); buffer 206 maint/gnulib/lib/md5.c md5_process_block (ctx->buffer, 64, ctx); buffer 210 maint/gnulib/lib/md5.c memcpy (ctx->buffer, &ctx->buffer[16], left_over); buffer 230 maint/gnulib/lib/md5.c md5_process_block (const void *buffer, size_t len, struct md5_ctx *ctx) buffer 233 maint/gnulib/lib/md5.c const uint32_t *words = buffer; buffer 78 maint/gnulib/lib/md5.h uint32_t buffer[32]; /* 128 bytes; the first buflen bytes are in use */ buffer 94 maint/gnulib/lib/md5.h extern void __md5_process_block (const void *buffer, size_t len, buffer 101 maint/gnulib/lib/md5.h extern void __md5_process_bytes (const void *buffer, size_t len, buffer 123 maint/gnulib/lib/md5.h extern void *__md5_buffer (const char *buffer, size_t len, buffer 340 maint/gnulib/lib/parse-datetime.y str_days (parser_control *pc, char *buffer, int n) buffer 378 maint/gnulib/lib/parse-datetime.y ? snprintf (buffer, n, "%s", ordinal_values[pc->day_ordinal + 1]) buffer 379 maint/gnulib/lib/parse-datetime.y : snprintf (buffer, n, "%"PRIdMAX, pc->day_ordinal)); buffer 383 maint/gnulib/lib/parse-datetime.y buffer[0] = '\0'; buffer 389 maint/gnulib/lib/parse-datetime.y snprintf (buffer + len, n - len, &" %s"[len == 0], buffer 395 maint/gnulib/lib/parse-datetime.y return buffer; buffer 22 maint/gnulib/lib/ptsname.c static char buffer[64]; buffer 31 maint/gnulib/lib/ptsname.c return ptsname_r (fd, buffer, sizeof (buffer)) != 0 ? NULL : buffer; buffer 249 maint/gnulib/lib/quotearg.c quotearg_buffer_restyled (char *buffer, size_t buffersize, buffer 272 maint/gnulib/lib/quotearg.c buffer[len] = (c); \ buffer 735 maint/gnulib/lib/quotearg.c return quotearg_buffer_restyled (buffer, orig_buffersize, arg, argsize, buffer 753 maint/gnulib/lib/quotearg.c buffer[len] = '\0'; buffer 761 maint/gnulib/lib/quotearg.c return quotearg_buffer_restyled (buffer, buffersize, arg, argsize, buffer 777 maint/gnulib/lib/quotearg.c quotearg_buffer (char *buffer, size_t buffersize, buffer 783 maint/gnulib/lib/quotearg.c size_t r = quotearg_buffer_restyled (buffer, buffersize, arg, argsize, buffer 328 maint/gnulib/lib/quotearg.h size_t quotearg_buffer (char *restrict buffer, size_t buffersize, buffer 47 maint/gnulib/lib/readtokens.c tokenbuffer->buffer = NULL; buffer 102 maint/gnulib/lib/readtokens.c char *p = tokenbuffer->buffer; buffer 127 maint/gnulib/lib/readtokens.c tokenbuffer->buffer = p; buffer 182 maint/gnulib/lib/readtokens.c tokens[n_tokens] = memcpy (tmp, token->buffer, token_length + 1); buffer 186 maint/gnulib/lib/readtokens.c free (token->buffer); buffer 31 maint/gnulib/lib/readtokens.h char *buffer; buffer 253 maint/gnulib/lib/regcomp.c re_dfa_t *dfa = bufp->buffer; buffer 284 maint/gnulib/lib/regcomp.c re_dfa_t *dfa = bufp->buffer; buffer 445 maint/gnulib/lib/regcomp.c preg->buffer = NULL; buffer 609 maint/gnulib/lib/regcomp.c re_dfa_t *dfa = preg->buffer; buffer 615 maint/gnulib/lib/regcomp.c preg->buffer = NULL; buffer 649 maint/gnulib/lib/regcomp.c if (!re_comp_buf.buffer) buffer 654 maint/gnulib/lib/regcomp.c if (re_comp_buf.buffer) buffer 717 maint/gnulib/lib/regcomp.c dfa = preg->buffer; buffer 724 maint/gnulib/lib/regcomp.c dfa = re_realloc (preg->buffer, re_dfa_t, 1); buffer 728 maint/gnulib/lib/regcomp.c preg->buffer = dfa; buffer 738 maint/gnulib/lib/regcomp.c preg->buffer = NULL; buffer 757 maint/gnulib/lib/regcomp.c preg->buffer = NULL; buffer 788 maint/gnulib/lib/regcomp.c preg->buffer = NULL; buffer 944 maint/gnulib/lib/regcomp.c re_dfa_t *dfa = preg->buffer; buffer 1127 maint/gnulib/lib/regcomp.c re_dfa_t *dfa = preg->buffer; buffer 1308 maint/gnulib/lib/regcomp.c re_dfa_t *dfa = preg->buffer; buffer 2074 maint/gnulib/lib/regcomp.c re_dfa_t *dfa = preg->buffer; buffer 2108 maint/gnulib/lib/regcomp.c re_dfa_t *dfa = preg->buffer; buffer 2158 maint/gnulib/lib/regcomp.c re_dfa_t *dfa = preg->buffer; buffer 2202 maint/gnulib/lib/regcomp.c re_dfa_t *dfa = preg->buffer; buffer 2434 maint/gnulib/lib/regcomp.c re_dfa_t *dfa = preg->buffer; buffer 417 maint/gnulib/lib/regex.h struct re_dfa_t *__REPB_PREFIX(buffer); buffer 192 maint/gnulib/lib/regexec.c re_dfa_t *dfa = preg->buffer; buffer 372 maint/gnulib/lib/regexec.c re_dfa_t *dfa = bufp->buffer; buffer 585 maint/gnulib/lib/regexec.c const re_dfa_t *dfa = preg->buffer; buffer 1367 maint/gnulib/lib/regexec.c const re_dfa_t *dfa = preg->buffer; buffer 67 maint/gnulib/lib/scratch_buffer.h extern void scratch_buffer_init (struct scratch_buffer *buffer); buffer 72 maint/gnulib/lib/scratch_buffer.h extern void scratch_buffer_free (struct scratch_buffer *buffer); buffer 81 maint/gnulib/lib/scratch_buffer.h extern bool scratch_buffer_grow (struct scratch_buffer *buffer); buffer 87 maint/gnulib/lib/scratch_buffer.h extern bool scratch_buffer_grow_preserve (struct scratch_buffer *buffer); buffer 97 maint/gnulib/lib/scratch_buffer.h extern bool scratch_buffer_set_array_size (struct scratch_buffer *buffer, buffer 106 maint/gnulib/lib/scratch_buffer.h extern void *scratch_buffer_dupfree (struct scratch_buffer *buffer, buffer 57 maint/gnulib/lib/sha1-stream.c char *buffer = malloc (BLOCKSIZE + 72); buffer 58 maint/gnulib/lib/sha1-stream.c if (!buffer) buffer 85 maint/gnulib/lib/sha1-stream.c n = fread (buffer + sum, 1, BLOCKSIZE - sum, stream); buffer 99 maint/gnulib/lib/sha1-stream.c free (buffer); buffer 109 maint/gnulib/lib/sha1-stream.c sha1_process_block (buffer, BLOCKSIZE, &ctx); buffer 116 maint/gnulib/lib/sha1-stream.c sha1_process_bytes (buffer, sum, &ctx); buffer 120 maint/gnulib/lib/sha1-stream.c free (buffer); buffer 105 maint/gnulib/lib/sha1.c ctx->buffer[size - 2] = SWAP ((ctx->total[1] << 3) | (ctx->total[0] >> 29)); buffer 106 maint/gnulib/lib/sha1.c ctx->buffer[size - 1] = SWAP (ctx->total[0] << 3); buffer 108 maint/gnulib/lib/sha1.c memcpy (&((char *) ctx->buffer)[bytes], fillbuf, (size - 2) * 4 - bytes); buffer 111 maint/gnulib/lib/sha1.c sha1_process_block (ctx->buffer, size * 4, ctx); buffer 121 maint/gnulib/lib/sha1.c sha1_buffer (const char *buffer, size_t len, void *resblock) buffer 129 maint/gnulib/lib/sha1.c sha1_process_bytes (buffer, len, &ctx); buffer 136 maint/gnulib/lib/sha1.c sha1_process_bytes (const void *buffer, size_t len, struct sha1_ctx *ctx) buffer 145 maint/gnulib/lib/sha1.c memcpy (&((char *) ctx->buffer)[left_over], buffer, add); buffer 150 maint/gnulib/lib/sha1.c sha1_process_block (ctx->buffer, ctx->buflen & ~63, ctx); buffer 155 maint/gnulib/lib/sha1.c memcpy (ctx->buffer, buffer 156 maint/gnulib/lib/sha1.c &((char *) ctx->buffer)[(left_over + add) & ~63], buffer 160 maint/gnulib/lib/sha1.c buffer = (const char *) buffer + add; buffer 169 maint/gnulib/lib/sha1.c if (UNALIGNED_P (buffer)) buffer 172 maint/gnulib/lib/sha1.c sha1_process_block (memcpy (ctx->buffer, buffer, 64), 64, ctx); buffer 173 maint/gnulib/lib/sha1.c buffer = (const char *) buffer + 64; buffer 179 maint/gnulib/lib/sha1.c sha1_process_block (buffer, len & ~63, ctx); buffer 180 maint/gnulib/lib/sha1.c buffer = (const char *) buffer + (len & ~63); buffer 190 maint/gnulib/lib/sha1.c memcpy (&((char *) ctx->buffer)[left_over], buffer, len); buffer 194 maint/gnulib/lib/sha1.c sha1_process_block (ctx->buffer, 64, ctx); buffer 198 maint/gnulib/lib/sha1.c memcpy (ctx->buffer, &ctx->buffer[16], left_over); buffer 223 maint/gnulib/lib/sha1.c sha1_process_block (const void *buffer, size_t len, struct sha1_ctx *ctx) buffer 225 maint/gnulib/lib/sha1.c const uint32_t *words = buffer; buffer 50 maint/gnulib/lib/sha1.h uint32_t buffer[32]; /* 128 bytes; the first buflen bytes are in use */ buffer 60 maint/gnulib/lib/sha1.h extern void sha1_process_block (const void *buffer, size_t len, buffer 67 maint/gnulib/lib/sha1.h extern void sha1_process_bytes (const void *buffer, size_t len, buffer 87 maint/gnulib/lib/sha1.h extern void *sha1_buffer (const char *buffer, size_t len, buffer 59 maint/gnulib/lib/sha256-stream.c char *buffer = malloc (BLOCKSIZE + 72); buffer 60 maint/gnulib/lib/sha256-stream.c if (!buffer) buffer 87 maint/gnulib/lib/sha256-stream.c n = fread (buffer + sum, 1, BLOCKSIZE - sum, stream); buffer 101 maint/gnulib/lib/sha256-stream.c free (buffer); buffer 111 maint/gnulib/lib/sha256-stream.c sha256_process_block (buffer, BLOCKSIZE, &ctx); buffer 118 maint/gnulib/lib/sha256-stream.c sha256_process_bytes (buffer, sum, &ctx); buffer 122 maint/gnulib/lib/sha256-stream.c free (buffer); buffer 138 maint/gnulib/lib/sha256.c set_uint32 ((char *) &ctx->buffer[size - 2], buffer 140 maint/gnulib/lib/sha256.c set_uint32 ((char *) &ctx->buffer[size - 1], buffer 143 maint/gnulib/lib/sha256.c memcpy (&((char *) ctx->buffer)[bytes], fillbuf, (size - 2) * 4 - bytes); buffer 146 maint/gnulib/lib/sha256.c sha256_process_block (ctx->buffer, size * 4, ctx); buffer 168 maint/gnulib/lib/sha256.c sha256_buffer (const char *buffer, size_t len, void *resblock) buffer 176 maint/gnulib/lib/sha256.c sha256_process_bytes (buffer, len, &ctx); buffer 183 maint/gnulib/lib/sha256.c sha224_buffer (const char *buffer, size_t len, void *resblock) buffer 191 maint/gnulib/lib/sha256.c sha256_process_bytes (buffer, len, &ctx); buffer 198 maint/gnulib/lib/sha256.c sha256_process_bytes (const void *buffer, size_t len, struct sha256_ctx *ctx) buffer 207 maint/gnulib/lib/sha256.c memcpy (&((char *) ctx->buffer)[left_over], buffer, add); buffer 212 maint/gnulib/lib/sha256.c sha256_process_block (ctx->buffer, ctx->buflen & ~63, ctx); buffer 217 maint/gnulib/lib/sha256.c memcpy (ctx->buffer, buffer 218 maint/gnulib/lib/sha256.c &((char *) ctx->buffer)[(left_over + add) & ~63], buffer 222 maint/gnulib/lib/sha256.c buffer = (const char *) buffer + add; buffer 231 maint/gnulib/lib/sha256.c if (UNALIGNED_P (buffer)) buffer 234 maint/gnulib/lib/sha256.c sha256_process_block (memcpy (ctx->buffer, buffer, 64), 64, ctx); buffer 235 maint/gnulib/lib/sha256.c buffer = (const char *) buffer + 64; buffer 241 maint/gnulib/lib/sha256.c sha256_process_block (buffer, len & ~63, ctx); buffer 242 maint/gnulib/lib/sha256.c buffer = (const char *) buffer + (len & ~63); buffer 252 maint/gnulib/lib/sha256.c memcpy (&((char *) ctx->buffer)[left_over], buffer, len); buffer 256 maint/gnulib/lib/sha256.c sha256_process_block (ctx->buffer, 64, ctx); buffer 260 maint/gnulib/lib/sha256.c memcpy (ctx->buffer, &ctx->buffer[16], left_over); buffer 298 maint/gnulib/lib/sha256.c sha256_process_block (const void *buffer, size_t len, struct sha256_ctx *ctx) buffer 300 maint/gnulib/lib/sha256.c const uint32_t *words = buffer; buffer 48 maint/gnulib/lib/sha256.h uint32_t buffer[32]; /* 128 bytes; the first buflen bytes are in use */ buffer 59 maint/gnulib/lib/sha256.h extern void sha256_process_block (const void *buffer, size_t len, buffer 66 maint/gnulib/lib/sha256.h extern void sha256_process_bytes (const void *buffer, size_t len, buffer 90 maint/gnulib/lib/sha256.h extern void *sha256_buffer (const char *buffer, size_t len, buffer 92 maint/gnulib/lib/sha256.h extern void *sha224_buffer (const char *buffer, size_t len, buffer 59 maint/gnulib/lib/sha512-stream.c char *buffer = malloc (BLOCKSIZE + 72); buffer 60 maint/gnulib/lib/sha512-stream.c if (!buffer) buffer 87 maint/gnulib/lib/sha512-stream.c n = fread (buffer + sum, 1, BLOCKSIZE - sum, stream); buffer 101 maint/gnulib/lib/sha512-stream.c free (buffer); buffer 111 maint/gnulib/lib/sha512-stream.c sha512_process_block (buffer, BLOCKSIZE, &ctx); buffer 118 maint/gnulib/lib/sha512-stream.c sha512_process_bytes (buffer, sum, &ctx); buffer 122 maint/gnulib/lib/sha512-stream.c free (buffer); buffer 138 maint/gnulib/lib/sha512.c set_uint64 ((char *) &ctx->buffer[size - 2], buffer 141 maint/gnulib/lib/sha512.c set_uint64 ((char *) &ctx->buffer[size - 1], buffer 144 maint/gnulib/lib/sha512.c memcpy (&((char *) ctx->buffer)[bytes], fillbuf, (size - 2) * 8 - bytes); buffer 147 maint/gnulib/lib/sha512.c sha512_process_block (ctx->buffer, size * 8, ctx); buffer 169 maint/gnulib/lib/sha512.c sha512_buffer (const char *buffer, size_t len, void *resblock) buffer 177 maint/gnulib/lib/sha512.c sha512_process_bytes (buffer, len, &ctx); buffer 184 maint/gnulib/lib/sha512.c sha384_buffer (const char *buffer, size_t len, void *resblock) buffer 192 maint/gnulib/lib/sha512.c sha512_process_bytes (buffer, len, &ctx); buffer 199 maint/gnulib/lib/sha512.c sha512_process_bytes (const void *buffer, size_t len, struct sha512_ctx *ctx) buffer 208 maint/gnulib/lib/sha512.c memcpy (&((char *) ctx->buffer)[left_over], buffer, add); buffer 213 maint/gnulib/lib/sha512.c sha512_process_block (ctx->buffer, ctx->buflen & ~127, ctx); buffer 218 maint/gnulib/lib/sha512.c memcpy (ctx->buffer, buffer 219 maint/gnulib/lib/sha512.c &((char *) ctx->buffer)[(left_over + add) & ~127], buffer 223 maint/gnulib/lib/sha512.c buffer = (const char *) buffer + add; buffer 232 maint/gnulib/lib/sha512.c if (UNALIGNED_P (buffer)) buffer 235 maint/gnulib/lib/sha512.c sha512_process_block (memcpy (ctx->buffer, buffer, 128), 128, ctx); buffer 236 maint/gnulib/lib/sha512.c buffer = (const char *) buffer + 128; buffer 242 maint/gnulib/lib/sha512.c sha512_process_block (buffer, len & ~127, ctx); buffer 243 maint/gnulib/lib/sha512.c buffer = (const char *) buffer + (len & ~127); buffer 253 maint/gnulib/lib/sha512.c memcpy (&((char *) ctx->buffer)[left_over], buffer, len); buffer 257 maint/gnulib/lib/sha512.c sha512_process_block (ctx->buffer, 128, ctx); buffer 261 maint/gnulib/lib/sha512.c memcpy (ctx->buffer, &ctx->buffer[16], left_over); buffer 323 maint/gnulib/lib/sha512.c sha512_process_block (const void *buffer, size_t len, struct sha512_ctx *ctx) buffer 325 maint/gnulib/lib/sha512.c u64 const *words = buffer; buffer 48 maint/gnulib/lib/sha512.h u64 buffer[32]; /* 256 bytes; the first buflen bytes are in use */ buffer 59 maint/gnulib/lib/sha512.h extern void sha512_process_block (const void *buffer, size_t len, buffer 66 maint/gnulib/lib/sha512.h extern void sha512_process_bytes (const void *buffer, size_t len, buffer 93 maint/gnulib/lib/sha512.h extern void *sha512_buffer (const char *buffer, size_t len, buffer 95 maint/gnulib/lib/sha512.h extern void *sha384_buffer (const char *buffer, size_t len, buffer 54 maint/gnulib/lib/sm3-stream.c char *buffer = malloc (BLOCKSIZE + 72); buffer 55 maint/gnulib/lib/sm3-stream.c if (!buffer) buffer 73 maint/gnulib/lib/sm3-stream.c n = fread (buffer + sum, 1, BLOCKSIZE - sum, stream); buffer 87 maint/gnulib/lib/sm3-stream.c free (buffer); buffer 103 maint/gnulib/lib/sm3-stream.c sm3_process_block (buffer, BLOCKSIZE, &ctx); buffer 110 maint/gnulib/lib/sm3-stream.c sm3_process_bytes (buffer, sum, &ctx); buffer 114 maint/gnulib/lib/sm3-stream.c free (buffer); buffer 123 maint/gnulib/lib/sm3.c set_uint32 ((char *) &ctx->buffer[size - 2], buffer 125 maint/gnulib/lib/sm3.c set_uint32 ((char *) &ctx->buffer[size - 1], buffer 128 maint/gnulib/lib/sm3.c memcpy (&((char *) ctx->buffer)[bytes], fillbuf, (size - 2) * 4 - bytes); buffer 131 maint/gnulib/lib/sm3.c sm3_process_block (ctx->buffer, size * 4, ctx); buffer 146 maint/gnulib/lib/sm3.c sm3_buffer (const char *buffer, size_t len, void *resblock) buffer 154 maint/gnulib/lib/sm3.c sm3_process_bytes (buffer, len, &ctx); buffer 161 maint/gnulib/lib/sm3.c sm3_process_bytes (const void *buffer, size_t len, struct sm3_ctx *ctx) buffer 170 maint/gnulib/lib/sm3.c memcpy (&((char *) ctx->buffer)[left_over], buffer, add); buffer 175 maint/gnulib/lib/sm3.c sm3_process_block (ctx->buffer, ctx->buflen & ~63, ctx); buffer 180 maint/gnulib/lib/sm3.c memcpy (ctx->buffer, buffer 181 maint/gnulib/lib/sm3.c &((char *) ctx->buffer)[(left_over + add) & ~63], buffer 185 maint/gnulib/lib/sm3.c buffer = (const char *) buffer + add; buffer 194 maint/gnulib/lib/sm3.c if (UNALIGNED_P (buffer)) buffer 197 maint/gnulib/lib/sm3.c sm3_process_block (memcpy (ctx->buffer, buffer, 64), 64, ctx); buffer 198 maint/gnulib/lib/sm3.c buffer = (const char *) buffer + 64; buffer 204 maint/gnulib/lib/sm3.c sm3_process_block (buffer, len & ~63, ctx); buffer 205 maint/gnulib/lib/sm3.c buffer = (const char *) buffer + (len & ~63); buffer 215 maint/gnulib/lib/sm3.c memcpy (&((char *) ctx->buffer)[left_over], buffer, len); buffer 219 maint/gnulib/lib/sm3.c sm3_process_block (ctx->buffer, 64, ctx); buffer 223 maint/gnulib/lib/sm3.c memcpy (ctx->buffer, &ctx->buffer[16], left_over); buffer 263 maint/gnulib/lib/sm3.c sm3_process_block (const void *buffer, size_t len, struct sm3_ctx *ctx) buffer 265 maint/gnulib/lib/sm3.c const uint32_t *words = buffer; buffer 54 maint/gnulib/lib/sm3.h uint32_t buffer[32]; /* 128 bytes; the first buflen bytes are in use */ buffer 64 maint/gnulib/lib/sm3.h extern void sm3_process_block (const void *buffer, size_t len, buffer 71 maint/gnulib/lib/sm3.h extern void sm3_process_bytes (const void *buffer, size_t len, buffer 89 maint/gnulib/lib/sm3.h extern void *sm3_buffer (const char *buffer, size_t len, buffer 141 maint/gnulib/lib/stackvma.c char *buffer; buffer 164 maint/gnulib/lib/stackvma.c rof->buffer = rof->stack_allocated_buffer; buffer 174 maint/gnulib/lib/stackvma.c int n = read (fd, rof->buffer, size); buffer 193 maint/gnulib/lib/stackvma.c n = read (fd, rof->buffer + rof->filled, size - rof->filled); buffer 244 maint/gnulib/lib/stackvma.c rof->buffer = (char *) rof->auxmap; buffer 273 maint/gnulib/lib/stackvma.c return (unsigned char) rof->buffer[rof->position]; buffer 30 maint/gnulib/lib/string-buffer.c sb_init (struct string_buffer *buffer) buffer 32 maint/gnulib/lib/string-buffer.c buffer->data = buffer->space; buffer 33 maint/gnulib/lib/string-buffer.c buffer->length = 0; buffer 34 maint/gnulib/lib/string-buffer.c buffer->allocated = sizeof (buffer->space); buffer 35 maint/gnulib/lib/string-buffer.c buffer->error = false; buffer 42 maint/gnulib/lib/string-buffer.c sb_ensure_more_bytes (struct string_buffer *buffer, size_t increment) buffer 44 maint/gnulib/lib/string-buffer.c size_t incremented_length = buffer->length + increment; buffer 49 maint/gnulib/lib/string-buffer.c if (buffer->allocated < incremented_length) buffer 51 maint/gnulib/lib/string-buffer.c size_t new_allocated = 2 * buffer->allocated; buffer 52 maint/gnulib/lib/string-buffer.c if (new_allocated < buffer->allocated) buffer 59 maint/gnulib/lib/string-buffer.c if (buffer->data == buffer->space) buffer 65 maint/gnulib/lib/string-buffer.c memcpy (new_data, buffer->data, buffer->length); buffer 69 maint/gnulib/lib/string-buffer.c new_data = (char *) realloc (buffer->data, new_allocated); buffer 74 maint/gnulib/lib/string-buffer.c buffer->data = new_data; buffer 75 maint/gnulib/lib/string-buffer.c buffer->allocated = new_allocated; buffer 81 maint/gnulib/lib/string-buffer.c sb_append (struct string_buffer *buffer, const char *str) buffer 84 maint/gnulib/lib/string-buffer.c if (sb_ensure_more_bytes (buffer, len) < 0) buffer 86 maint/gnulib/lib/string-buffer.c buffer->error = true; buffer 89 maint/gnulib/lib/string-buffer.c memcpy (buffer->data + buffer->length, str, len); buffer 90 maint/gnulib/lib/string-buffer.c buffer->length += len; buffer 95 maint/gnulib/lib/string-buffer.c sb_appendvf (struct string_buffer *buffer, const char *formatstring, buffer 102 maint/gnulib/lib/string-buffer.c size_t room = buffer->allocated - buffer->length; buffer 105 maint/gnulib/lib/string-buffer.c if (sb_ensure_more_bytes (buffer, 64) < 0) buffer 107 maint/gnulib/lib/string-buffer.c buffer->error = true; buffer 110 maint/gnulib/lib/string-buffer.c room = buffer->allocated - buffer->length; buffer 116 maint/gnulib/lib/string-buffer.c int ret = vsnprintf (buffer->data + buffer->length, room, formatstring, list); buffer 120 maint/gnulib/lib/string-buffer.c buffer->error = true; buffer 128 maint/gnulib/lib/string-buffer.c buffer->length += (size_t) ret; buffer 135 maint/gnulib/lib/string-buffer.c if (sb_ensure_more_bytes (buffer, (size_t) ret) < 0) buffer 137 maint/gnulib/lib/string-buffer.c buffer->error = true; buffer 143 maint/gnulib/lib/string-buffer.c room = buffer->allocated - buffer->length; buffer 144 maint/gnulib/lib/string-buffer.c ret = vsnprintf (buffer->data + buffer->length, room, buffer 149 maint/gnulib/lib/string-buffer.c buffer->error = true; buffer 157 maint/gnulib/lib/string-buffer.c buffer->length += (size_t) ret; buffer 174 maint/gnulib/lib/string-buffer.c sb_appendf (struct string_buffer *buffer, const char *formatstring, ...) buffer 180 maint/gnulib/lib/string-buffer.c size_t room = buffer->allocated - buffer->length; buffer 183 maint/gnulib/lib/string-buffer.c if (sb_ensure_more_bytes (buffer, 64) < 0) buffer 185 maint/gnulib/lib/string-buffer.c buffer->error = true; buffer 188 maint/gnulib/lib/string-buffer.c room = buffer->allocated - buffer->length; buffer 194 maint/gnulib/lib/string-buffer.c int ret = vsnprintf (buffer->data + buffer->length, room, formatstring, args); buffer 198 maint/gnulib/lib/string-buffer.c buffer->error = true; buffer 206 maint/gnulib/lib/string-buffer.c buffer->length += (size_t) ret; buffer 213 maint/gnulib/lib/string-buffer.c if (sb_ensure_more_bytes (buffer, (size_t) ret) < 0) buffer 215 maint/gnulib/lib/string-buffer.c buffer->error = true; buffer 221 maint/gnulib/lib/string-buffer.c room = buffer->allocated - buffer->length; buffer 224 maint/gnulib/lib/string-buffer.c ret = vsnprintf (buffer->data + buffer->length, room, buffer 229 maint/gnulib/lib/string-buffer.c buffer->error = true; buffer 237 maint/gnulib/lib/string-buffer.c buffer->length += (size_t) ret; buffer 254 maint/gnulib/lib/string-buffer.c sb_free (struct string_buffer *buffer) buffer 256 maint/gnulib/lib/string-buffer.c if (buffer->data != buffer->space) buffer 257 maint/gnulib/lib/string-buffer.c free (buffer->data); buffer 263 maint/gnulib/lib/string-buffer.c sb_dupfree (struct string_buffer *buffer) buffer 265 maint/gnulib/lib/string-buffer.c if (buffer->error) buffer 268 maint/gnulib/lib/string-buffer.c if (sb_ensure_more_bytes (buffer, 1) < 0) buffer 270 maint/gnulib/lib/string-buffer.c buffer->data[buffer->length] = '\0'; buffer 271 maint/gnulib/lib/string-buffer.c buffer->length++; buffer 273 maint/gnulib/lib/string-buffer.c if (buffer->data == buffer->space) buffer 275 maint/gnulib/lib/string-buffer.c char *copy = (char *) malloc (buffer->length); buffer 278 maint/gnulib/lib/string-buffer.c memcpy (copy, buffer->data, buffer->length); buffer 284 maint/gnulib/lib/string-buffer.c char *contents = buffer->data; buffer 285 maint/gnulib/lib/string-buffer.c if (buffer->length < buffer->allocated) buffer 287 maint/gnulib/lib/string-buffer.c contents = realloc (contents, buffer->length); buffer 295 maint/gnulib/lib/string-buffer.c sb_free (buffer); buffer 43 maint/gnulib/lib/string-buffer.h extern void sb_init (struct string_buffer *buffer); buffer 47 maint/gnulib/lib/string-buffer.h extern int sb_append (struct string_buffer *buffer, const char *str); buffer 52 maint/gnulib/lib/string-buffer.h extern int sb_appendvf (struct string_buffer *buffer, buffer 64 maint/gnulib/lib/string-buffer.h extern int sb_appendf (struct string_buffer *buffer, buffer 74 maint/gnulib/lib/string-buffer.h extern void sb_free (struct string_buffer *buffer); buffer 79 maint/gnulib/lib/string-buffer.h extern char * sb_dupfree (struct string_buffer *buffer) buffer 110 maint/gnulib/lib/strsignal.c char *buffer = getbuffer (); buffer 114 maint/gnulib/lib/strsignal.c len = __snprintf (buffer, BUFFERSIZ - 1, _("Real-time signal %d"), buffer 118 maint/gnulib/lib/strsignal.c len = __snprintf (buffer, BUFFERSIZ - 1, _("Unknown signal %d"), buffer 121 maint/gnulib/lib/strsignal.c buffer = NULL; buffer 123 maint/gnulib/lib/strsignal.c buffer[len] = '\0'; buffer 125 maint/gnulib/lib/strsignal.c return buffer; buffer 74 maint/gnulib/lib/sys_random.in.h (void *buffer, size_t length, unsigned int flags) buffer 77 maint/gnulib/lib/sys_random.in.h (void *buffer, size_t length, unsigned int flags)); buffer 81 maint/gnulib/lib/sys_random.in.h (void *buffer, size_t length, unsigned int flags) buffer 85 maint/gnulib/lib/sys_random.in.h (void *buffer, size_t length, unsigned int flags)); buffer 66 maint/gnulib/lib/sys_times.in.h extern clock_t times (struct tms *buffer) _GL_ARG_NONNULL ((1)); buffer 52 maint/gnulib/lib/times.c times (struct tms * buffer) buffer 60 maint/gnulib/lib/times.c buffer->tms_utime = filetime2clock (user_time); buffer 61 maint/gnulib/lib/times.c buffer->tms_stime = filetime2clock (kernel_time); buffer 62 maint/gnulib/lib/times.c buffer->tms_cutime = 0; buffer 63 maint/gnulib/lib/times.c buffer->tms_cstime = 0; buffer 1173 maint/gnulib/lib/unistd.in.h _GL_FUNCDECL_SYS (getentropy, int, (void *buffer, size_t length)); buffer 1175 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_SYS (getentropy, int, (void *buffer, size_t length)); buffer 161 maint/gnulib/lib/vma-iter.c char *buffer; buffer 184 maint/gnulib/lib/vma-iter.c rof->buffer = rof->stack_allocated_buffer; buffer 194 maint/gnulib/lib/vma-iter.c int n = read (fd, rof->buffer, size); buffer 213 maint/gnulib/lib/vma-iter.c n = read (fd, rof->buffer + rof->filled, size - rof->filled); buffer 264 maint/gnulib/lib/vma-iter.c rof->buffer = (char *) rof->auxmap; buffer 293 maint/gnulib/lib/vma-iter.c return (unsigned char) rof->buffer[rof->position]; buffer 113 maint/gnulib/tests/test-dup2.c char buffer[1]; buffer 185 maint/gnulib/tests/test-dup2.c ASSERT (read (fd, buffer, 1) == 1); buffer 186 maint/gnulib/tests/test-dup2.c ASSERT (*buffer == '2'); buffer 94 maint/gnulib/tests/test-dup3.c char buffer[1]; buffer 163 maint/gnulib/tests/test-dup3.c ASSERT (read (fd, buffer, 1) == 1); buffer 164 maint/gnulib/tests/test-dup3.c ASSERT (*buffer == '2'); buffer 38 maint/gnulib/tests/test-fflush.c char buffer[10]; buffer 54 maint/gnulib/tests/test-fflush.c if (!f || 0 > fd || fread (buffer, 1, 5, f) != 5) buffer 110 maint/gnulib/tests/test-getndelim2.c char buffer[502]; buffer 115 maint/gnulib/tests/test-getndelim2.c memset (buffer, ' ', 499); buffer 116 maint/gnulib/tests/test-getndelim2.c buffer[499] = '0'; buffer 117 maint/gnulib/tests/test-getndelim2.c buffer[500] = '\r'; buffer 118 maint/gnulib/tests/test-getndelim2.c buffer[501] = '\0'; buffer 119 maint/gnulib/tests/test-getndelim2.c ASSERT (strcmp (buffer, line) == 0); buffer 124 maint/gnulib/tests/test-getndelim2.c buffer[499] = '1'; buffer 125 maint/gnulib/tests/test-getndelim2.c buffer[500] = '\n'; buffer 126 maint/gnulib/tests/test-getndelim2.c ASSERT (strcmp (buffer, line) == 0); buffer 131 maint/gnulib/tests/test-getndelim2.c buffer[499] = 'f'; buffer 132 maint/gnulib/tests/test-getndelim2.c buffer[500] = '\0'; buffer 133 maint/gnulib/tests/test-getndelim2.c ASSERT (strcmp (buffer, line + 501 * 13) == 0); buffer 138 maint/gnulib/tests/test-getndelim2.c buffer[500] = '\n'; buffer 139 maint/gnulib/tests/test-getndelim2.c ASSERT (strcmp (buffer, line + 501 * 13) == 0); buffer 143 maint/gnulib/tests/test-getndelim2.c buffer[500] = '\0'; buffer 144 maint/gnulib/tests/test-getndelim2.c ASSERT (strcmp (buffer, line + 501 * 13) == 0); buffer 68 maint/gnulib/tests/test-ptsname_r.c char buffer[256]; buffer 76 maint/gnulib/tests/test-ptsname_r.c if (buflen_max > sizeof buffer) buffer 77 maint/gnulib/tests/test-ptsname_r.c buflen_max = sizeof buffer; buffer 80 maint/gnulib/tests/test-ptsname_r.c memset (buffer, 'X', sizeof buffer); buffer 81 maint/gnulib/tests/test-ptsname_r.c result = ptsname_r (fd, buffer, buflen); buffer 85 maint/gnulib/tests/test-ptsname_r.c ASSERT (buffer[0] == '/'); buffer 91 maint/gnulib/tests/test-ptsname_r.c ASSERT (buffer[0] == 'X'); buffer 122 maint/gnulib/tests/test-ptsname_r.c char buffer[256]; buffer 125 maint/gnulib/tests/test-ptsname_r.c result = ptsname_r (-1, buffer, sizeof buffer); buffer 132 maint/gnulib/tests/test-ptsname_r.c char buffer[256]; buffer 143 maint/gnulib/tests/test-ptsname_r.c result = ptsname_r (fd, buffer, sizeof buffer); buffer 148 maint/gnulib/tests/test-ptsname_r.c ASSERT (memcmp (buffer, "/dev/", 5) == 0); buffer 160 maint/gnulib/tests/test-ptsname_r.c char buffer[256]; buffer 171 maint/gnulib/tests/test-ptsname_r.c result = ptsname_r (fd, buffer, sizeof buffer); buffer 173 maint/gnulib/tests/test-ptsname_r.c ASSERT (memcmp (buffer, "/dev/pts/", 9) == 0); buffer 175 maint/gnulib/tests/test-ptsname_r.c test_errors (fd, buffer); buffer 191 maint/gnulib/tests/test-ptsname_r.c char buffer[256]; buffer 202 maint/gnulib/tests/test-ptsname_r.c result = ptsname_r (fd, buffer, sizeof buffer); buffer 204 maint/gnulib/tests/test-ptsname_r.c ASSERT (memcmp (buffer, "/dev/pts/", 9) == 0); buffer 206 maint/gnulib/tests/test-ptsname_r.c test_errors (fd, buffer); buffer 230 maint/gnulib/tests/test-ptsname_r.c char buffer[256]; buffer 234 maint/gnulib/tests/test-ptsname_r.c result = ptsname_r (fd, buffer, sizeof buffer); buffer 237 maint/gnulib/tests/test-ptsname_r.c ASSERT (same_slave (buffer, slave_name)); buffer 239 maint/gnulib/tests/test-ptsname_r.c test_errors (fd, buffer); buffer 264 maint/gnulib/tests/test-ptsname_r.c char buffer[256]; buffer 268 maint/gnulib/tests/test-ptsname_r.c result = ptsname_r (fd, buffer, sizeof buffer); buffer 271 maint/gnulib/tests/test-ptsname_r.c ASSERT (same_slave (buffer, slave_name)); buffer 273 maint/gnulib/tests/test-ptsname_r.c test_errors (fd, buffer); buffer 45 maint/gnulib/tests/test-readtokens.c ASSERT (readtoken (fp, "|;", 2, &tb) == 1 && tb.buffer[0] == 'a'); buffer 46 maint/gnulib/tests/test-readtokens.c ASSERT (readtoken (fp, "|;", 2, &tb) == 1 && tb.buffer[0] == 'b'); buffer 47 maint/gnulib/tests/test-readtokens.c ASSERT (readtoken (fp, "+", 1, &tb) == 1 && tb.buffer[0] == 'c'); buffer 48 maint/gnulib/tests/test-readtokens.c ASSERT (readtoken (fp, "-", 1, &tb) == 1 && tb.buffer[0] == 'd'); buffer 89 maint/gnulib/tests/test-readtokens.c fwrite (tb.buffer, 1, token_length, stdout); buffer 93 maint/gnulib/tests/test-readtokens.c free (tb.buffer); buffer 115 maint/gnulib/tests/test-spawn-pipe-child.c char buffer[2] = { 's', 't' }; buffer 117 maint/gnulib/tests/test-spawn-pipe-child.c ASSERT (read (STDIN_FILENO, buffer, 2) == 1); buffer 119 maint/gnulib/tests/test-spawn-pipe-child.c buffer[0]++; buffer 120 maint/gnulib/tests/test-spawn-pipe-child.c ASSERT (write (STDOUT_FILENO, buffer, 1) == 1); buffer 49 maint/gnulib/tests/test-spawn-pipe-main.c char buffer[2] = { 'a', 't' }; buffer 61 maint/gnulib/tests/test-spawn-pipe-main.c ASSERT (write (fd[1], buffer, 1) == 1); buffer 65 maint/gnulib/tests/test-spawn-pipe-main.c ASSERT (read (fd[0], buffer, 2) == 1); buffer 72 maint/gnulib/tests/test-spawn-pipe-main.c ASSERT (buffer[0] == 'b'); buffer 73 maint/gnulib/tests/test-spawn-pipe-main.c ASSERT (buffer[1] == 't'); buffer 88 maint/gnulib/tests/test-spawn-pipe-script.c char buffer[1024]; buffer 91 maint/gnulib/tests/test-spawn-pipe-script.c ASSERT (fread (buffer, 1, sizeof (buffer), fp) == 11); buffer 94 maint/gnulib/tests/test-spawn-pipe-script.c ASSERT (memcmp (buffer, "Halle Potta", 11) == 0); buffer 28 maint/gnulib/tests/test-string-buffer.c my_appendf (struct string_buffer *buffer, const char *formatstring, ...) buffer 33 maint/gnulib/tests/test-string-buffer.c int ret = sb_appendvf (buffer, formatstring, args); buffer 47 maint/gnulib/tests/test-string-buffer.c struct string_buffer buffer; buffer 49 maint/gnulib/tests/test-string-buffer.c sb_init (&buffer); buffer 50 maint/gnulib/tests/test-string-buffer.c char *s = sb_dupfree (&buffer); buffer 56 maint/gnulib/tests/test-string-buffer.c struct string_buffer buffer; buffer 58 maint/gnulib/tests/test-string-buffer.c sb_init (&buffer); buffer 59 maint/gnulib/tests/test-string-buffer.c sb_append (&buffer, "abc"); buffer 60 maint/gnulib/tests/test-string-buffer.c sb_append (&buffer, ""); buffer 61 maint/gnulib/tests/test-string-buffer.c sb_append (&buffer, "defg"); buffer 62 maint/gnulib/tests/test-string-buffer.c char *s = sb_dupfree (&buffer); buffer 69 maint/gnulib/tests/test-string-buffer.c struct string_buffer buffer; buffer 71 maint/gnulib/tests/test-string-buffer.c sb_init (&buffer); buffer 72 maint/gnulib/tests/test-string-buffer.c sb_append (&buffer, "<"); buffer 73 maint/gnulib/tests/test-string-buffer.c sb_appendf (&buffer, "%x", 3735928559U); buffer 74 maint/gnulib/tests/test-string-buffer.c sb_append (&buffer, ">"); buffer 75 maint/gnulib/tests/test-string-buffer.c char *s = sb_dupfree (&buffer); buffer 82 maint/gnulib/tests/test-string-buffer.c struct string_buffer buffer; buffer 84 maint/gnulib/tests/test-string-buffer.c sb_init (&buffer); buffer 85 maint/gnulib/tests/test-string-buffer.c sb_append (&buffer, "<"); buffer 86 maint/gnulib/tests/test-string-buffer.c my_appendf (&buffer, "%x", 3735928559U); buffer 87 maint/gnulib/tests/test-string-buffer.c sb_append (&buffer, ">"); buffer 88 maint/gnulib/tests/test-string-buffer.c char *s = sb_dupfree (&buffer); buffer 100 maint/gnulib/tests/test-string-buffer.c struct string_buffer buffer; buffer 102 maint/gnulib/tests/test-string-buffer.c sb_init (&buffer); buffer 103 maint/gnulib/tests/test-string-buffer.c sb_append (&buffer, "<"); buffer 104 maint/gnulib/tests/test-string-buffer.c sb_appendf (&buffer, "%lc", 0x76543210); buffer 105 maint/gnulib/tests/test-string-buffer.c sb_append (&buffer, "|"); buffer 106 maint/gnulib/tests/test-string-buffer.c sb_appendf (&buffer, invalid_format_string_1, 1); buffer 107 maint/gnulib/tests/test-string-buffer.c sb_append (&buffer, "|"); buffer 108 maint/gnulib/tests/test-string-buffer.c sb_appendf (&buffer, invalid_format_string_2, 2); buffer 109 maint/gnulib/tests/test-string-buffer.c sb_append (&buffer, ">"); buffer 110 maint/gnulib/tests/test-string-buffer.c char *s = sb_dupfree (&buffer); buffer 31 maint/gnulib/tests/test-xmemdup0.c char buffer[10] = { 'a', 'b', 'c', 'd', '\0', buffer 50 maint/gnulib/tests/test-xmemdup0.c char *result = xmemdup0 (buffer, 4); buffer 52 maint/gnulib/tests/test-xmemdup0.c ASSERT (strcmp (result, buffer) == 0); buffer 56 maint/gnulib/tests/test-xmemdup0.c char *result = xmemdup0 (buffer, 5); buffer 58 maint/gnulib/tests/test-xmemdup0.c ASSERT (strcmp (result, buffer) == 0); buffer 63 maint/gnulib/tests/test-xmemdup0.c char *result = xmemdup0 (buffer, 9); buffer 65 maint/gnulib/tests/test-xmemdup0.c ASSERT (memcmp (result, buffer, 9) == 0); buffer 70 maint/gnulib/tests/test-xmemdup0.c char *result = xmemdup0 (buffer, 10); buffer 72 maint/gnulib/tests/test-xmemdup0.c ASSERT (memcmp (result, buffer, 10) == 0); buffer 379 tools/cibadmin.c char *buffer; buffer 402 tools/cibadmin.c buffer = dump_xml_formatted(xml); buffer 403 tools/cibadmin.c fprintf(stdout, "%s", crm_str(buffer)); buffer 404 tools/cibadmin.c free(buffer); buffer 109 tools/crm_diff.c char *buffer = dump_xml_formatted(patch); buffer 111 tools/crm_diff.c printf("%s\n", crm_str(buffer)); buffer 112 tools/crm_diff.c free(buffer); buffer 131 tools/crm_diff.c char *buffer; buffer 136 tools/crm_diff.c buffer = calculate_xml_versioned_digest(output, FALSE, TRUE, version); buffer 137 tools/crm_diff.c crm_trace("Digest: %s\n", crm_str(buffer)); buffer 138 tools/crm_diff.c free(buffer);