buf 155 daemons/based/based_io.c struct stat buf; buf 163 daemons/based/based_io.c if(stat(a_path, &buf) == 0) { buf 164 daemons/based/based_io.c a_age = buf.st_ctime; buf 166 daemons/based/based_io.c if(stat(b_path, &buf) == 0) { buf 167 daemons/based/based_io.c b_age = buf.st_ctime; buf 528 daemons/fenced/cts-fence-helper.c char buf[16] = { 0, }; buf 549 daemons/fenced/cts-fence-helper.c snprintf(buf, sizeof(buf) - 1, "%d", MAINLOOP_DEFAULT_TIMEOUT + CUSTOM_TIMEOUT_ADDITION); buf 550 daemons/fenced/cts-fence-helper.c params = stonith_key_value_add(params, "pcmk_off_timeout", buf); buf 418 include/crm/common/output_internal.h void (*output_xml) (pcmk__output_t *out, const char *name, const char *buf); buf 31 include/crm/common/scores_compat.h char *score2char_stack(int score, char *buf, size_t len); buf 68 include/crm/common/util_compat.h char *crm_itoa_stack(int an_int, char *buf, size_t len); buf 220 include/gettext.h char buf[1024]; buf 222 include/gettext.h (msgctxt_len + msgid_len <= sizeof (buf) buf 223 include/gettext.h ? buf buf 235 include/gettext.h if (msg_ctxt_id != buf) buf 268 include/gettext.h char buf[1024]; buf 270 include/gettext.h (msgctxt_len + msgid_len <= sizeof (buf) buf 271 include/gettext.h ? buf buf 283 include/gettext.h if (msg_ctxt_id != buf) buf 379 lib/cib/cib_file.c struct stat buf; buf 383 lib/cib/cib_file.c if (strcmp(filename, "-") && (stat(filename, &buf) < 0)) { buf 749 lib/cib/cib_file.c struct stat buf; buf 759 lib/cib/cib_file.c s_res = stat(filename, &buf); buf 763 lib/cib/cib_file.c } else if (buf.st_size == 0) { buf 83 lib/common/acl.c GString *buf = g_string_sized_new(128); buf 87 lib/common/acl.c pcmk__g_strcat(buf, "//", pcmk__s(tag, "*"), "[@" PCMK_XA_ID "='", buf 91 lib/common/acl.c pcmk__g_strcat(buf, "//", pcmk__s(tag, "*"), "[@" PCMK_XA_ID "='", buf 95 lib/common/acl.c pcmk__g_strcat(buf, "//", pcmk__s(tag, "*"), "[@", attr, "]", NULL); buf 98 lib/common/acl.c pcmk__g_strcat(buf, "//", pcmk__s(tag, "*"), NULL); buf 101 lib/common/acl.c acl->xpath = buf->str; buf 103 lib/common/acl.c g_string_free(buf, FALSE); buf 45 lib/common/attrs.c char buf[128] = OCF_RESKEY_PREFIX; buf 52 lib/common/attrs.c snprintf(buf + offset, sizeof(buf) - offset, "%s", target_var); buf 53 lib/common/attrs.c target = getenv(buf); buf 55 lib/common/attrs.c snprintf(buf + offset, sizeof(buf) - offset, "%s", phys_var); buf 56 lib/common/attrs.c host_physical = getenv(buf); buf 59 lib/common/cib_secrets.c char buf[MAX_VALUE_LEN+1]; buf 69 lib/common/cib_secrets.c if (!fgets(buf, MAX_VALUE_LEN, fp)) { buf 77 lib/common/cib_secrets.c for (p = buf + strlen(buf) - 1; (p >= buf) && isspace(*p); p--); buf 79 lib/common/cib_secrets.c return strdup(buf); buf 358 lib/common/cmdline.c char *buf = NULL; buf 364 lib/common/cmdline.c len = vasprintf(&buf, format, ap); buf 368 lib/common/cmdline.c if (!g_shell_parse_argv(buf, NULL, &extra_args, error)) { buf 370 lib/common/cmdline.c free(buf); buf 377 lib/common/cmdline.c free(buf); buf 94 lib/common/digest.c GString *buf = g_string_sized_new(1024); buf 98 lib/common/digest.c pcmk__xml_string(source, (do_filter? pcmk__xml_fmt_filtered : 0), buf, 0); buf 99 lib/common/digest.c digest = crm_md5sum(buf->str); buf 117 lib/common/digest.c g_string_free(buf, TRUE); buf 331 lib/common/io.c struct stat buf; buf 343 lib/common/io.c s_res = stat(full_file, &buf); buf 350 lib/common/io.c } else if (S_ISREG(buf.st_mode) == FALSE) { buf 352 lib/common/io.c target, (unsigned long) buf.st_mode); buf 361 lib/common/io.c s_res = stat(dir, &buf); buf 366 lib/common/io.c } else if (S_ISDIR(buf.st_mode) == FALSE) { buf 368 lib/common/io.c dir, (unsigned long) buf.st_mode); buf 373 lib/common/io.c if (!pcmk__daemon_user_can_write(target, &buf) buf 374 lib/common/io.c && !pcmk__daemon_group_can_write(target, &buf)) { buf 379 lib/common/io.c (unsigned long) buf.st_mode); buf 474 lib/common/iso8601.c sec_usec_as_string(long long sec, int usec, char *buf, size_t *offset) buf 476 lib/common/iso8601.c *offset += snprintf(buf + *offset, DATE_MAX - *offset, "%s%lld.%06d", buf 379 lib/common/mock.c __wrap_getpwnam_r(const char *name, struct passwd *pwd, char *buf, buf 387 lib/common/mock.c check_expected_ptr(buf); buf 394 lib/common/mock.c return __real_getpwnam_r(name, pwd, buf, buflen, result); buf 416 lib/common/mock.c __wrap_readlink(const char *restrict path, char *restrict buf, buf 423 lib/common/mock.c check_expected_ptr(buf); buf 429 lib/common/mock.c strncpy(buf, contents, bufsize - 1); buf 435 lib/common/mock.c return __real_readlink(path, buf, bufsize); buf 70 lib/common/mock_private.h char *buf, size_t buflen, struct passwd **result); buf 72 lib/common/mock_private.h char *buf, size_t buflen, struct passwd **result); buf 75 lib/common/mock_private.h ssize_t __real_readlink(const char *restrict path, char *restrict buf, buf 77 lib/common/mock_private.h ssize_t __wrap_readlink(const char *restrict path, char *restrict buf, buf 28 lib/common/options_display.c GString *buf = g_string_sized_new(256); buf 44 lib/common/options_display.c if (buf->len > 0) { buf 45 lib/common/options_display.c g_string_append(buf, delim); buf 47 lib/common/options_display.c g_string_append_c(buf, '"'); buf 48 lib/common/options_display.c g_string_append(buf, value); buf 49 lib/common/options_display.c g_string_append_c(buf, '"'); buf 53 lib/common/options_display.c g_string_append(buf, _(" (default)")); buf 59 lib/common/options_display.c pcmk__g_strcat(buf, buf 64 lib/common/options_display.c pcmk__g_strcat(buf, option->type, _(" (no default)"), NULL); buf 67 lib/common/options_display.c out->list_item(out, id, "%s", buf->str); buf 68 lib/common/options_display.c g_string_free(buf, TRUE); buf 274 lib/common/output_html.c char *buf = NULL; buf 281 lib/common/output_html.c len = vasprintf(&buf, format, ap); buf 285 lib/common/output_html.c priv->errors = g_slist_append(priv->errors, buf); buf 295 lib/common/output_html.c html_output_xml(pcmk__output_t *out, const char *name, const char *buf) { buf 300 lib/common/output_html.c node = pcmk__output_create_html_node(out, "pre", NULL, NULL, buf); buf 326 lib/common/output_html.c char *buf = NULL; buf 330 lib/common/output_html.c len = vasprintf(&buf, format, ap); buf 335 lib/common/output_html.c pcmk__output_create_xml_text_node(out, "h3", buf); buf 337 lib/common/output_html.c pcmk__output_create_xml_text_node(out, "h2", buf); buf 340 lib/common/output_html.c free(buf); buf 352 lib/common/output_html.c char *buf = NULL; buf 358 lib/common/output_html.c len = vasprintf(&buf, format, ap); buf 362 lib/common/output_html.c item_node = pcmk__output_create_xml_text_node(out, "li", buf); buf 363 lib/common/output_html.c free(buf); buf 157 lib/common/output_log.c log_output_xml(pcmk__output_t *out, const char *name, const char *buf) { buf 165 lib/common/output_log.c pcmk__xe_set_content(node, "%s", buf); buf 64 lib/common/output_none.c none_output_xml(pcmk__output_t *out, const char *name, const char *buf) { buf 199 lib/common/output_text.c text_output_xml(pcmk__output_t *out, const char *name, const char *buf) { buf 201 lib/common/output_text.c pcmk__indented_printf(out, "%s", buf); buf 294 lib/common/output_xml.c char *buf = NULL; buf 303 lib/common/output_xml.c len = vasprintf(&buf, format, ap); buf 307 lib/common/output_xml.c priv->errors = g_slist_append(priv->errors, buf); buf 317 lib/common/output_xml.c xml_output_xml(pcmk__output_t *out, const char *name, const char *buf) { buf 327 lib/common/output_xml.c cdata_node = xmlNewCDataBlock(parent->doc, (pcmkXmlStr) buf, strlen(buf)); buf 337 lib/common/output_xml.c char *buf = NULL; buf 345 lib/common/output_xml.c len = vasprintf(&buf, format, ap); buf 350 lib/common/output_xml.c if (strcmp(s->from, buf) == 0) { buf 357 lib/common/output_xml.c name = g_ascii_strdown(buf, -1); buf 369 lib/common/output_xml.c free(buf); buf 377 lib/common/output_xml.c char *buf = NULL; buf 383 lib/common/output_xml.c len = vasprintf(&buf, format, ap); buf 387 lib/common/output_xml.c item_node = pcmk__output_create_xml_text_node(out, PCMK_XE_ITEM, buf); buf 393 lib/common/output_xml.c free(buf); buf 409 lib/common/output_xml.c char *buf = NULL; buf 414 lib/common/output_xml.c buf = crm_strdup_printf("%lu", xmlChildElementCount(node)); buf 415 lib/common/output_xml.c crm_xml_add(node, PCMK_XA_COUNT, buf); buf 416 lib/common/output_xml.c free(buf); buf 422 lib/common/patchset_display.c GString *buf = g_string_sized_new(1024); buf 424 lib/common/patchset_display.c pcmk__xml_string(patchset, pcmk__xml_fmt_pretty|pcmk__xml_fmt_text, buf, buf 427 lib/common/patchset_display.c out->output_xml(out, PCMK_XE_XML_PATCHSET, buf->str); buf 428 lib/common/patchset_display.c g_string_free(buf, TRUE); buf 117 lib/common/pid.c char buf[LOCKSTRLEN + 1]; buf 132 lib/common/pid.c if (read(fd, buf, sizeof(buf)) < 1) { buf 138 lib/common/pid.c rc = sscanf(buf, "%lld", &pid_read); buf 219 lib/common/pid.c char buf[LOCKSTRLEN + 2]; buf 232 lib/common/pid.c snprintf(buf, sizeof(buf), "%*lld\n", LOCKSTRLEN - 1, (long long) mypid); buf 233 lib/common/pid.c rc = write(fd, buf, LOCKSTRLEN); buf 154 lib/common/scores.c score2char_stack(int score, char *buf, size_t len) buf 156 lib/common/scores.c CRM_CHECK((buf != NULL) && (len >= sizeof(PCMK_VALUE_MINUS_INFINITY)), buf 158 lib/common/scores.c strcpy(buf, pcmk_readable_score(score)); buf 159 lib/common/scores.c return buf; buf 61 lib/common/tests/options/pcmk__env_option_test.c char buf[NAME_MAX]; buf 73 lib/common/tests/options/pcmk__env_option_test.c snprintf(buf, NAME_MAX, "HA_%s", long_opt); buf 74 lib/common/tests/options/pcmk__env_option_test.c expect_string(__wrap_getenv, name, buf); buf 74 lib/common/tests/options/pcmk__set_env_option_test.c char buf[NAME_MAX]; buf 81 lib/common/tests/options/pcmk__set_env_option_test.c snprintf(buf, NAME_MAX, "HA_%s", long_opt); buf 86 lib/common/tests/options/pcmk__set_env_option_test.c expect_string(__wrap_setenv, name, buf); buf 97 lib/common/tests/options/pcmk__set_env_option_test.c expect_string(__wrap_unsetenv, name, buf); buf 32 lib/common/tests/procfs/pcmk__procfs_has_pids_false_test.c expect_any(__wrap_readlink, buf); buf 31 lib/common/tests/procfs/pcmk__procfs_has_pids_true_test.c expect_any(__wrap_readlink, buf); buf 30 lib/common/tests/procfs/pcmk__procfs_pid2path_test.c expect_value(__wrap_readlink, buf, path); buf 52 lib/common/tests/procfs/pcmk__procfs_pid2path_test.c expect_value(__wrap_readlink, buf, path); buf 75 lib/common/tests/procfs/pcmk__procfs_pid2path_test.c expect_value(__wrap_readlink, buf, path); buf 24 lib/common/tests/strings/pcmk__g_strcat_test.c GString *buf = g_string_new(NULL); buf 27 lib/common/tests/strings/pcmk__g_strcat_test.c pcmk__g_strcat(buf, NULL); buf 28 lib/common/tests/strings/pcmk__g_strcat_test.c assert_string_equal((const char *) buf->str, ""); buf 30 lib/common/tests/strings/pcmk__g_strcat_test.c pcmk__g_strcat(buf, "", NULL); buf 31 lib/common/tests/strings/pcmk__g_strcat_test.c assert_string_equal((const char *) buf->str, ""); buf 34 lib/common/tests/strings/pcmk__g_strcat_test.c g_string_append(buf, "hello"); buf 35 lib/common/tests/strings/pcmk__g_strcat_test.c pcmk__g_strcat(buf, NULL); buf 36 lib/common/tests/strings/pcmk__g_strcat_test.c assert_string_equal((const char *) buf->str, "hello"); buf 38 lib/common/tests/strings/pcmk__g_strcat_test.c pcmk__g_strcat(buf, "", NULL); buf 39 lib/common/tests/strings/pcmk__g_strcat_test.c assert_string_equal((const char *) buf->str, "hello"); buf 40 lib/common/tests/strings/pcmk__g_strcat_test.c g_string_free(buf, TRUE); buf 46 lib/common/tests/strings/pcmk__g_strcat_test.c GString *buf = g_string_new(NULL); buf 49 lib/common/tests/strings/pcmk__g_strcat_test.c pcmk__g_strcat(buf, "hello", " ", NULL); buf 50 lib/common/tests/strings/pcmk__g_strcat_test.c assert_string_equal((const char *) buf->str, "hello "); buf 53 lib/common/tests/strings/pcmk__g_strcat_test.c pcmk__g_strcat(buf, "world", NULL); buf 54 lib/common/tests/strings/pcmk__g_strcat_test.c assert_string_equal((const char *) buf->str, "hello world"); buf 55 lib/common/tests/strings/pcmk__g_strcat_test.c g_string_free(buf, TRUE); buf 61 lib/common/tests/strings/pcmk__g_strcat_test.c GString *buf = g_string_new(NULL); buf 64 lib/common/tests/strings/pcmk__g_strcat_test.c pcmk__g_strcat(buf, "hello", NULL, " world", NULL); buf 65 lib/common/tests/strings/pcmk__g_strcat_test.c assert_string_equal((const char *) buf->str, "hello"); buf 66 lib/common/tests/strings/pcmk__g_strcat_test.c g_string_free(buf, TRUE); buf 46 lib/common/tests/utils/crm_user_lookup_test.c expect_any(__wrap_getpwnam_r, buf); buf 68 lib/common/tests/utils/crm_user_lookup_test.c expect_any(__wrap_getpwnam_r, buf); buf 97 lib/common/tests/utils/crm_user_lookup_test.c expect_any(__wrap_getpwnam_r, buf); buf 110 lib/common/tests/utils/crm_user_lookup_test.c expect_any(__wrap_getpwnam_r, buf); buf 31 lib/common/tests/utils/pcmk_daemon_user_test.c expect_any(__wrap_getpwnam_r, buf); buf 60 lib/common/tests/utils/pcmk_daemon_user_test.c expect_any(__wrap_getpwnam_r, buf); buf 21 lib/common/tests/xml/pcmk__xml_escape_test.c gchar *buf = pcmk__xml_escape(str, type); buf 23 lib/common/tests/xml/pcmk__xml_escape_test.c assert_string_equal(buf, reference); buf 24 lib/common/tests/xml/pcmk__xml_escape_test.c g_free(buf); buf 762 lib/common/xml.c char *buf = NULL; buf 778 lib/common/xml.c CRM_ASSERT(vasprintf(&buf, format, ap) >= 0); buf 779 lib/common/xml.c content = buf; buf 785 lib/common/xml.c free(buf); buf 48 lib/common/xml_io.c char *buf = NULL; buf 52 lib/common/xml_io.c buf = pcmk__realloc(buf, length + PCMK__BUFFER_SIZE + 1); buf 53 lib/common/xml_io.c length += fread(buf + length, 1, PCMK__BUFFER_SIZE, stdin); buf 58 lib/common/xml_io.c free(buf); buf 59 lib/common/xml_io.c buf = NULL; buf 61 lib/common/xml_io.c buf[length] = '\0'; buf 64 lib/common/xml_io.c return buf; buf 314 lib/fencing/st_output.c char *buf = crm_strdup_printf("Node %s last fenced at: %s", target, ctime(&when)); buf 315 lib/fencing/st_output.c pcmk__output_create_html_node(out, PCMK__XE_DIV, NULL, NULL, buf); buf 316 lib/fencing/st_output.c free(buf); buf 345 lib/fencing/st_output.c char *buf = timespec_string(when, 0, false); buf 349 lib/fencing/st_output.c PCMK_XA_WHEN, buf, buf 352 lib/fencing/st_output.c free(buf); buf 517 lib/fencing/st_output.c char *buf = crm_strdup_printf("Validation of %s on %s %s", agent, device, buf 519 lib/fencing/st_output.c pcmk__output_create_html_node(out, PCMK__XE_DIV, NULL, NULL, buf); buf 520 lib/fencing/st_output.c free(buf); buf 522 lib/fencing/st_output.c char *buf = crm_strdup_printf("Validation of %s %s", agent, buf 524 lib/fencing/st_output.c pcmk__output_create_html_node(out, PCMK__XE_DIV, NULL, NULL, buf); buf 525 lib/fencing/st_output.c free(buf); buf 84 lib/gnu/gl_openssl.h GL_CRYPTO_FN (_process_bytes) (const void *buf, size_t len, struct _gl_ctx *ctx) buf 85 lib/gnu/gl_openssl.h { OPENSSL_FN (_Update) ((_gl_CTX *) ctx, buf, len); } buf 88 lib/gnu/gl_openssl.h GL_CRYPTO_FN (_process_block) (const void *buf, size_t len, struct _gl_ctx *ctx) buf 89 lib/gnu/gl_openssl.h { GL_CRYPTO_FN (_process_bytes) (buf, len, ctx); } buf 97 lib/gnu/gl_openssl.h GL_CRYPTO_FN (_buffer) (const char *buf, size_t len, void *restrict res) buf 98 lib/gnu/gl_openssl.h { return OPENSSL_FN () ((const unsigned char *) buf, len, (unsigned char *) res); } buf 765 lib/pacemaker/pcmk_graph_consumer.c const char *buf = crm_element_value(xml_graph, "transition_id"); buf 767 lib/pacemaker/pcmk_graph_consumer.c CRM_CHECK(buf != NULL, buf 769 lib/pacemaker/pcmk_graph_consumer.c pcmk__scan_min_int(buf, &(new_graph->id), -1); buf 771 lib/pacemaker/pcmk_graph_consumer.c buf = crm_element_value(xml_graph, PCMK_OPT_CLUSTER_DELAY); buf 772 lib/pacemaker/pcmk_graph_consumer.c CRM_CHECK(buf != NULL, buf 774 lib/pacemaker/pcmk_graph_consumer.c pcmk_parse_interval_spec(buf, &(new_graph->network_delay)); buf 776 lib/pacemaker/pcmk_graph_consumer.c buf = crm_element_value(xml_graph, PCMK_OPT_STONITH_TIMEOUT); buf 777 lib/pacemaker/pcmk_graph_consumer.c if (buf == NULL) { buf 780 lib/pacemaker/pcmk_graph_consumer.c pcmk_parse_interval_spec(buf, &(new_graph->stonith_timeout)); buf 784 lib/pacemaker/pcmk_graph_consumer.c buf = crm_element_value(xml_graph, PCMK_OPT_BATCH_LIMIT); buf 785 lib/pacemaker/pcmk_graph_consumer.c if ((buf == NULL) buf 786 lib/pacemaker/pcmk_graph_consumer.c || (pcmk__scan_min_int(buf, &(new_graph->batch_limit), buf 791 lib/pacemaker/pcmk_graph_consumer.c buf = crm_element_value(xml_graph, PCMK_OPT_MIGRATION_LIMIT); buf 792 lib/pacemaker/pcmk_graph_consumer.c pcmk__scan_min_int(buf, &(new_graph->migration_limit), -1); buf 2451 lib/pacemaker/pcmk_output.c GString *buf = g_string_sized_new(1024); buf 2453 lib/pacemaker/pcmk_output.c pcmk__xml_string(child, pcmk__xml_fmt_pretty, buf, 0); buf 2454 lib/pacemaker/pcmk_output.c out->output_xml(out, PCMK_XE_CONSTRAINT, buf->str); buf 2455 lib/pacemaker/pcmk_output.c g_string_free(buf, TRUE); buf 2460 lib/pacemaker/pcmk_output.c GString *buf = g_string_sized_new(1024); buf 2462 lib/pacemaker/pcmk_output.c pcmk__xml_string(constraint_xml, pcmk__xml_fmt_pretty, buf, 0); buf 2463 lib/pacemaker/pcmk_output.c out->output_xml(out, PCMK_XE_CONSTRAINT, buf->str); buf 2464 lib/pacemaker/pcmk_output.c g_string_free(buf, TRUE); buf 2563 lib/pacemaker/pcmk_output.c GString *buf = g_string_sized_new(1024); buf 2566 lib/pacemaker/pcmk_output.c pcmk__xml_string(state_xml, pcmk__xml_fmt_pretty, buf, 0); buf 2567 lib/pacemaker/pcmk_output.c out->output_xml(out, PCMK__XE_TICKET_STATE, buf->str); buf 2569 lib/pacemaker/pcmk_output.c g_string_free(buf, TRUE); buf 236 lib/pengine/pe_output.c char *buf = NULL; buf 278 lib/pengine/pe_output.c buf = crm_strdup_printf("(%s) %s:%s%s%s%s rc=%d (%s)", call, task, buf 297 lib/pengine/pe_output.c buf = crm_strdup_printf("(%s) %s%s%s", call, task, buf 306 lib/pengine/pe_output.c return buf; buf 312 lib/pengine/pe_output.c char *buf = NULL; buf 315 lib/pengine/pe_output.c buf = crm_strdup_printf("%s: orphan", rsc_id); buf 327 lib/pengine/pe_output.c buf = pcmk__epoch2str(&last_failure, 0); buf 329 lib/pengine/pe_output.c PCMK_XA_LAST_FAILURE, buf); buf 330 lib/pengine/pe_output.c free(buf); buf 333 lib/pengine/pe_output.c buf = crm_strdup_printf("%s: " PCMK_META_MIGRATION_THRESHOLD "=%d%s%s", buf 339 lib/pengine/pe_output.c buf = crm_strdup_printf("%s:", rsc_id); buf 342 lib/pengine/pe_output.c return buf; buf 654 lib/pengine/pe_output.c char *buf = crm_strdup_printf("%s\tprevents %s from running %son %s", buf 658 lib/pengine/pe_output.c pcmk__output_create_html_node(out, "li", NULL, NULL, buf); buf 661 lib/pengine/pe_output.c free(buf); buf 2319 lib/pengine/pe_output.c char *buf = pcmk__itoa(expected_score); buf 2320 lib/pengine/pe_output.c crm_xml_add(node, PCMK_XA_EXPECTED, buf); buf 2321 lib/pengine/pe_output.c free(buf); buf 2779 lib/pengine/pe_output.c char *buf = op_history_string(xml_op, task, interval_ms_s, rc, buf 2782 lib/pengine/pe_output.c out->list_item(out, NULL, "%s", buf); buf 2784 lib/pengine/pe_output.c free(buf); buf 2917 lib/pengine/pe_output.c char *buf = resource_history_string(rsc, rsc_id, all, failcount, last_failure); buf 2920 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "%s", buf); buf 2922 lib/pengine/pe_output.c out->list_item(out, NULL, "%s", buf); buf 2925 lib/pengine/pe_output.c free(buf); buf 3311 lib/pengine/pe_output.c char *buf = pcmk__epoch2str(&ticket->last_granted, 0); buf 3313 lib/pengine/pe_output.c crm_xml_add(node, PCMK_XA_LAST_GRANTED, buf); buf 3314 lib/pengine/pe_output.c free(buf); buf 291 lib/services/services_linux.c char buf[500]; buf 292 lib/services/services_linux.c static const size_t buf_read_len = sizeof(buf) - 1; buf 315 lib/services/services_linux.c rc = read(fd, buf, buf_read_len); buf 317 lib/services/services_linux.c buf[rc] = 0; buf 318 lib/services/services_linux.c crm_trace("Got %d chars: %.80s", rc, buf); buf 320 lib/services/services_linux.c len += sprintf(data + len, "%s", buf); buf 157 lib/services/services_nagios.c char *buf = NULL; buf 165 lib/services/services_nagios.c buf = crm_strdup_printf(NAGIOS_PLUGIN_DIR "/%s", name); buf 166 lib/services/services_nagios.c if (stat(buf, &st) == 0) { buf 170 lib/services/services_nagios.c free(buf); buf 91 lib/services/services_ocf.c char *buf = NULL; buf 99 lib/services/services_ocf.c buf = crm_strdup_printf("%s/%s/%s", dir, provider, agent); buf 100 lib/services/services_ocf.c if (stat(buf, &st) == 0) { buf 101 lib/services/services_ocf.c free(buf); buf 106 lib/services/services_ocf.c free(buf); buf 134 lib/services/services_ocf.c char *buf = crm_strdup_printf("%s/%s/%s", dir, op->provider, op->agent); buf 136 lib/services/services_ocf.c if (stat(buf, &st) == 0) { buf 137 lib/services/services_ocf.c op->opaque->exec = buf; buf 140 lib/services/services_ocf.c free(buf); buf 52 libltdl/libltdl/lt__argz_.h const char *buf, size_t buf_len); buf 49 libltdl/lt__argz.c argz_append (char **pargz, size_t *pargz_len, const char *buf, size_t buf_len) buf 69 libltdl/lt__argz.c memcpy (argz + *pargz_len, buf, buf_len); buf 1775 libltdl/ltdl.c char *buf = 0; buf 1814 libltdl/ltdl.c buf = MALLOC (char, 1+ buf_len); buf 1815 libltdl/ltdl.c if (!buf) buf 1818 libltdl/ltdl.c assert (buf); buf 1820 libltdl/ltdl.c strcpy (buf, dirnam); buf 1821 libltdl/ltdl.c strcat (buf, "/"); buf 1822 libltdl/ltdl.c strncat (buf, dp->d_name, end_offset); buf 1823 libltdl/ltdl.c buf[buf_len] = LT_EOS_CHAR; buf 1826 libltdl/ltdl.c if (lt_argz_insertinorder (pargz, pargz_len, buf) != 0) buf 1829 libltdl/ltdl.c FREE (buf); buf 122 maint/gnulib/lib/acl-internal.h # define acl_free_text(buf) acl_free (buf) buf 159 maint/gnulib/lib/af_alg.c char buf[BLOCKSIZE]; buf 163 maint/gnulib/lib/af_alg.c ssize_t size = fread (buf, 1, blocksize, stream); buf 174 maint/gnulib/lib/af_alg.c if (send (ofd, buf, size, MSG_MORE) != size) buf 180 maint/gnulib/lib/af_alg.c ungetc ((unsigned char) buf[0], stream); buf 36 maint/gnulib/lib/anytostr.c anytostr (inttype i, char *buf) buf 38 maint/gnulib/lib/anytostr.c char *p = buf + INT_STRLEN_BOUND (inttype); buf 75 maint/gnulib/lib/areadlink-with-size.c char *buf = stackbuf; buf 80 maint/gnulib/lib/areadlink-with-size.c buf = buffer = malloc (buf_size); buf 88 maint/gnulib/lib/areadlink-with-size.c r = readlink (file, buf, buf_size); buf 99 maint/gnulib/lib/areadlink-with-size.c buf[link_length] = 0; buf 104 maint/gnulib/lib/areadlink-with-size.c return memcpy (buffer, buf, link_length + 1); buf 80 maint/gnulib/lib/areadlinkat-with-size.c char *buf = stackbuf; buf 85 maint/gnulib/lib/areadlinkat-with-size.c buf = buffer = malloc (buf_size); buf 92 maint/gnulib/lib/areadlinkat-with-size.c r = readlinkat (fd, file, buf, buf_size); buf 103 maint/gnulib/lib/areadlinkat-with-size.c buf[link_length] = 0; buf 108 maint/gnulib/lib/areadlinkat-with-size.c return memcpy (buffer, buf, link_length + 1); buf 73 maint/gnulib/lib/argp-fmtstream.c fs->buf = (char *) malloc (INIT_BUF_SIZE); buf 74 maint/gnulib/lib/argp-fmtstream.c if (! fs->buf) buf 81 maint/gnulib/lib/argp-fmtstream.c fs->p = fs->buf; buf 82 maint/gnulib/lib/argp-fmtstream.c fs->end = fs->buf + INIT_BUF_SIZE; buf 100 maint/gnulib/lib/argp-fmtstream.c if (fs->p > fs->buf) buf 103 maint/gnulib/lib/argp-fmtstream.c __fxprintf (fs->stream, "%.*s", (int) (fs->p - fs->buf), fs->buf); buf 105 maint/gnulib/lib/argp-fmtstream.c fwrite_unlocked (fs->buf, 1, fs->p - fs->buf, fs->stream); buf 108 maint/gnulib/lib/argp-fmtstream.c free (fs->buf); buf 123 maint/gnulib/lib/argp-fmtstream.c char *buf, *nl; buf 127 maint/gnulib/lib/argp-fmtstream.c buf = fs->buf + fs->point_offs; buf 128 maint/gnulib/lib/argp-fmtstream.c while (buf < fs->p) buf 140 maint/gnulib/lib/argp-fmtstream.c memmove (buf + pad, buf, fs->p - buf); buf 142 maint/gnulib/lib/argp-fmtstream.c memset (buf, ' ', pad); /* Fill in the spaces. */ buf 143 maint/gnulib/lib/argp-fmtstream.c buf += pad; /* Don't bother searching them. */ buf 162 maint/gnulib/lib/argp-fmtstream.c len = fs->p - buf; buf 163 maint/gnulib/lib/argp-fmtstream.c nl = memchr (buf, '\n', len); buf 185 maint/gnulib/lib/argp-fmtstream.c else if (fs->point_col + (nl - buf) < (ssize_t) fs->rmargin) buf 190 maint/gnulib/lib/argp-fmtstream.c buf = nl + 1; buf 203 maint/gnulib/lib/argp-fmtstream.c memmove (buf + (r - fs->point_col), nl, fs->p - nl); buf 204 maint/gnulib/lib/argp-fmtstream.c fs->p -= buf + (r - fs->point_col) - nl; buf 207 maint/gnulib/lib/argp-fmtstream.c buf += r + 1; /* Skip full line plus \n. */ buf 228 maint/gnulib/lib/argp-fmtstream.c p = buf + (r + 1 - fs->point_col); buf 229 maint/gnulib/lib/argp-fmtstream.c while (p >= buf && !isblank ((unsigned char) *p)) buf 233 maint/gnulib/lib/argp-fmtstream.c if (nextline > buf) buf 236 maint/gnulib/lib/argp-fmtstream.c if (p >= buf) buf 239 maint/gnulib/lib/argp-fmtstream.c while (p >= buf && isblank ((unsigned char) *p)); buf 246 maint/gnulib/lib/argp-fmtstream.c p = buf + (r + 1 - fs->point_col); buf 256 maint/gnulib/lib/argp-fmtstream.c buf = nl + 1; buf 274 maint/gnulib/lib/argp-fmtstream.c if ((nextline == buf + len + 1 buf 286 maint/gnulib/lib/argp-fmtstream.c len = nextline + mv - buf; buf 294 maint/gnulib/lib/argp-fmtstream.c (int) (nl - fs->buf), fs->buf); buf 296 maint/gnulib/lib/argp-fmtstream.c if (nl > fs->buf) buf 297 maint/gnulib/lib/argp-fmtstream.c fwrite_unlocked (fs->buf, 1, nl - fs->buf, fs->stream); buf 301 maint/gnulib/lib/argp-fmtstream.c len += buf - fs->buf; buf 302 maint/gnulib/lib/argp-fmtstream.c nl = buf = fs->buf; buf 311 maint/gnulib/lib/argp-fmtstream.c || (nextline == buf + len + 1 && fs->end - nextline >= fs->wmargin)) buf 327 maint/gnulib/lib/argp-fmtstream.c memmove (nl, nextline, buf + len - nextline); buf 328 maint/gnulib/lib/argp-fmtstream.c len -= nextline - buf; buf 331 maint/gnulib/lib/argp-fmtstream.c buf = nl; buf 344 maint/gnulib/lib/argp-fmtstream.c fs->point_offs = fs->p - fs->buf; buf 360 maint/gnulib/lib/argp-fmtstream.c __fxprintf (fs->stream, "%.*s", (int) (fs->p - fs->buf), fs->buf); buf 361 maint/gnulib/lib/argp-fmtstream.c wrote = fs->p - fs->buf; buf 363 maint/gnulib/lib/argp-fmtstream.c wrote = fwrite_unlocked (fs->buf, 1, fs->p - fs->buf, fs->stream); buf 365 maint/gnulib/lib/argp-fmtstream.c if (wrote == fs->p - fs->buf) buf 367 maint/gnulib/lib/argp-fmtstream.c fs->p = fs->buf; buf 374 maint/gnulib/lib/argp-fmtstream.c memmove (fs->buf, fs->buf + wrote, fs->p - fs->buf); buf 378 maint/gnulib/lib/argp-fmtstream.c if ((size_t) (fs->end - fs->buf) < amount) buf 381 maint/gnulib/lib/argp-fmtstream.c size_t old_size = fs->end - fs->buf; buf 385 maint/gnulib/lib/argp-fmtstream.c if (new_size < old_size || ! (new_buf = realloc (fs->buf, new_size))) buf 391 maint/gnulib/lib/argp-fmtstream.c fs->buf = new_buf; buf 393 maint/gnulib/lib/argp-fmtstream.c fs->p = fs->buf; buf 91 maint/gnulib/lib/argp-fmtstream.h char *buf; /* Output buffer. */ buf 243 maint/gnulib/lib/argp-fmtstream.h if ((size_t) (__fs->p - __fs->buf) > __fs->point_offs) buf 255 maint/gnulib/lib/argp-fmtstream.h if ((size_t) (__fs->p - __fs->buf) > __fs->point_offs) buf 267 maint/gnulib/lib/argp-fmtstream.h if ((size_t) (__fs->p - __fs->buf) > __fs->point_offs) buf 278 maint/gnulib/lib/argp-fmtstream.h if ((size_t) (__fs->p - __fs->buf) > __fs->point_offs) buf 1893 maint/gnulib/lib/argp-help.c char *buf; buf 1895 maint/gnulib/lib/argp-help.c if (_IO_vasprintf (&buf, fmt, ap) < 0) buf 1896 maint/gnulib/lib/argp-help.c buf = NULL; buf 1899 maint/gnulib/lib/argp-help.c state ? state->name : __argp_short_program_name (), buf); buf 1901 maint/gnulib/lib/argp-help.c free (buf); buf 1963 maint/gnulib/lib/argp-help.c char *buf; buf 1965 maint/gnulib/lib/argp-help.c if (_IO_vasprintf (&buf, fmt, ap) < 0) buf 1966 maint/gnulib/lib/argp-help.c buf = NULL; buf 1968 maint/gnulib/lib/argp-help.c __fxprintf (stream, ": %s", buf); buf 1970 maint/gnulib/lib/argp-help.c free (buf); buf 1983 maint/gnulib/lib/argp-help.c char buf[200]; buf 1987 maint/gnulib/lib/argp-help.c __strerror_r (errnum, buf, sizeof (buf))); buf 1994 maint/gnulib/lib/argp-help.c s = __strerror_r (errnum, buf, sizeof buf); buf 1996 maint/gnulib/lib/argp-help.c if (__strerror_r (errnum, buf, sizeof buf) == 0) buf 1997 maint/gnulib/lib/argp-help.c s = buf; buf 30 maint/gnulib/lib/argz.c argz_append (char **argz, size_t *argz_len, const char *buf, size_t buf_len) buf 36 maint/gnulib/lib/argz.c memcpy (new_argz + *argz_len, buf, buf_len); buf 301 maint/gnulib/lib/argz.c str_append (char **to, size_t *to_len, const char *buf, const size_t buf_len) buf 308 maint/gnulib/lib/argz.c *((char *) mempcpy (new_to + *to_len, buf, buf_len)) = '\0'; buf 214 maint/gnulib/lib/backupfile.c char *buf = *buffer; buf 225 maint/gnulib/lib/backupfile.c char *base = buf + base_offset; buf 228 maint/gnulib/lib/backupfile.c dirp = opendirat (dir_fd, buf, 0, pnew_fd); buf 243 maint/gnulib/lib/backupfile.c if (memcmp (buf + base_offset, dp->d_name, baselen + 2) != 0) buf 262 maint/gnulib/lib/backupfile.c && memcmp (buf + filelen + 2, p, versionlen) <= 0)))) buf 277 maint/gnulib/lib/backupfile.c char *new_buf = irealloc (buf, new_buffer_size); buf 280 maint/gnulib/lib/backupfile.c *buffer = buf; buf 283 maint/gnulib/lib/backupfile.c buf = new_buf; buf 286 maint/gnulib/lib/backupfile.c char *q = buf + filelen; buf 301 maint/gnulib/lib/backupfile.c *buffer = buf; buf 332 maint/gnulib/lib/base32.c ctx->buf[ctx->i++] = c; buf 340 maint/gnulib/lib/base32.c return ctx->buf; buf 34 maint/gnulib/lib/base32.h char buf[8]; buf 369 maint/gnulib/lib/base64.c ctx->buf[ctx->i++] = c; buf 377 maint/gnulib/lib/base64.c return ctx->buf; buf 38 maint/gnulib/lib/base64.h char buf[4]; buf 31 maint/gnulib/lib/btowc.c char buf[1]; buf 34 maint/gnulib/lib/btowc.c buf[0] = c; buf 35 maint/gnulib/lib/btowc.c if (mbtowc (&wc, buf, 1) >= 0) buf 102 maint/gnulib/lib/c-stack.c char buf[sizeof alternate_signal_stack / 16 + sizeof separator]; buf 104 maint/gnulib/lib/c-stack.c if (prognamelen + messagelen < sizeof buf - sizeof separator) buf 106 maint/gnulib/lib/c-stack.c char *p = mempcpy (buf, progname, prognamelen); buf 110 maint/gnulib/lib/c-stack.c buflen = p - buf; buf 117 maint/gnulib/lib/c-stack.c buf[0] = '\n'; buf 120 maint/gnulib/lib/c-stack.c ignore_value (write (STDERR_FILENO, buf, buflen)); buf 149 maint/gnulib/lib/c-stack.c char buf[1024]; buf 151 maint/gnulib/lib/c-stack.c ignore_value (write (STDERR_FILENO, buf, buf 152 maint/gnulib/lib/c-stack.c sprintf (buf, "segv_handler serious=%d\n", serious))); buf 172 maint/gnulib/lib/c-stack.c char buf[1024]; buf 173 maint/gnulib/lib/c-stack.c ignore_value (write (STDERR_FILENO, buf, buf 174 maint/gnulib/lib/c-stack.c sprintf (buf, ("overflow_handler emergency=%d" buf 37 maint/gnulib/lib/c32tob.c char buf[8]; buf 40 maint/gnulib/lib/c32tob.c if (c32rtomb (buf, wc, &state) == 1) buf 41 maint/gnulib/lib/c32tob.c return (unsigned char) buf[0]; buf 66 maint/gnulib/lib/canonicalize-lgpl.c # define __getcwd(buf, max) getcwd (buf, max, 0) buf 71 maint/gnulib/lib/canonicalize-lgpl.c # define __getcwd(buf, max) getwd (buf) buf 319 maint/gnulib/lib/canonicalize-lgpl.c char *buf; buf 323 maint/gnulib/lib/canonicalize-lgpl.c buf = link_buffer.data; buf 325 maint/gnulib/lib/canonicalize-lgpl.c n = __readlink (rname, buf, bufsize - 1); buf 339 maint/gnulib/lib/canonicalize-lgpl.c buf[n] = '\0'; buf 362 maint/gnulib/lib/canonicalize-lgpl.c name = end = memcpy (extra_buf, buf, n); buf 365 maint/gnulib/lib/canonicalize-lgpl.c if (IS_ABSOLUTE_FILE_NAME (buf)) buf 367 maint/gnulib/lib/canonicalize-lgpl.c idx_t pfxlen = FILE_SYSTEM_PREFIX_LEN (buf); buf 369 maint/gnulib/lib/canonicalize-lgpl.c dest = __mempcpy (rname, buf, pfxlen); buf 373 maint/gnulib/lib/canonicalize-lgpl.c if (ISSLASH (buf[1]) && !ISSLASH (buf[2]) && !pfxlen) buf 337 maint/gnulib/lib/canonicalize.c char *buf; buf 343 maint/gnulib/lib/canonicalize.c buf = link_buffer.data; buf 345 maint/gnulib/lib/canonicalize.c n = readlink (rname, buf, bufsize - 1); buf 385 maint/gnulib/lib/canonicalize.c buf[n] = '\0'; buf 405 maint/gnulib/lib/canonicalize.c name = end = memcpy (extra_buf, buf, n); buf 408 maint/gnulib/lib/canonicalize.c if (IS_ABSOLUTE_FILE_NAME (buf)) buf 410 maint/gnulib/lib/canonicalize.c idx_t pfxlen = FILE_SYSTEM_PREFIX_LEN (buf); buf 412 maint/gnulib/lib/canonicalize.c dest = mempcpy (rname, buf, pfxlen); buf 416 maint/gnulib/lib/canonicalize.c if (ISSLASH (buf[1]) && !ISSLASH (buf[2]) && !pfxlen) buf 80 maint/gnulib/lib/careadlinkat.c char *buf = buffer; buf 84 maint/gnulib/lib/careadlinkat.c while (buf) buf 87 maint/gnulib/lib/careadlinkat.c idx_t link_length = preadlinkat (fd, filename, buf, buf_size); buf 90 maint/gnulib/lib/careadlinkat.c if (buf != buffer) buf 93 maint/gnulib/lib/careadlinkat.c alloc->free (buf); buf 103 maint/gnulib/lib/careadlinkat.c buf[link_size++] = '\0'; buf 105 maint/gnulib/lib/careadlinkat.c if (buf == stack_buf) buf 111 maint/gnulib/lib/careadlinkat.c return memcpy (b, buf, link_size); buf 114 maint/gnulib/lib/careadlinkat.c if (link_size < buf_size && buf != buffer && alloc->reallocate) buf 117 maint/gnulib/lib/careadlinkat.c char *b = alloc->reallocate (buf, link_size); buf 122 maint/gnulib/lib/careadlinkat.c return buf; buf 125 maint/gnulib/lib/careadlinkat.c if (buf != buffer) buf 126 maint/gnulib/lib/careadlinkat.c alloc->free (buf); buf 135 maint/gnulib/lib/careadlinkat.c buf = alloc->allocate (buf_size); buf 98 maint/gnulib/lib/copy-file.c char *buf = malloc (bufsize); buf 99 maint/gnulib/lib/copy-file.c if (!buf) buf 100 maint/gnulib/lib/copy-file.c buf = smallbuf, bufsize = sizeof smallbuf; buf 104 maint/gnulib/lib/copy-file.c size_t n_read = safe_read (src_fd, buf, bufsize); buf 112 maint/gnulib/lib/copy-file.c if (full_write (dest_fd, buf, n_read) < n_read) buf 119 maint/gnulib/lib/copy-file.c if (buf != smallbuf) buf 120 maint/gnulib/lib/copy-file.c free (buf); buf 77 maint/gnulib/lib/crc.c crc32_update_no_xor (uint32_t crc, const char *buf, size_t len) buf 82 maint/gnulib/lib/crc.c crc = crc32_table[(crc ^ buf[n]) & 0xff] ^ (crc >> 8); buf 88 maint/gnulib/lib/crc.c crc32_no_xor (const char *buf, size_t len) buf 90 maint/gnulib/lib/crc.c return crc32_update_no_xor (0L, buf, len); buf 94 maint/gnulib/lib/crc.c crc32_update (uint32_t crc, const char *buf, size_t len) buf 96 maint/gnulib/lib/crc.c return crc32_update_no_xor (crc ^ 0xffffffff, buf, len) ^ 0xffffffff; buf 100 maint/gnulib/lib/crc.c crc32 (const char *buf, size_t len) buf 102 maint/gnulib/lib/crc.c return crc32_update (0L, buf, len); buf 26 maint/gnulib/lib/crc.h extern uint32_t crc32 (const char *buf, size_t len); buf 31 maint/gnulib/lib/crc.h extern uint32_t crc32_update (uint32_t crc, const char *buf, size_t len); buf 37 maint/gnulib/lib/crc.h extern uint32_t crc32_no_xor (const char *buf, size_t len); buf 45 maint/gnulib/lib/crc.h crc32_update_no_xor (uint32_t crc, const char *buf, size_t len); buf 1634 maint/gnulib/lib/dfa.c unsigned char buf[MB_LEN_MAX]; buf 1636 maint/gnulib/lib/dfa.c size_t stored_bytes = wcrtomb ((char *) buf, wc, &s); buf 1646 maint/gnulib/lib/dfa.c buf[0] = 0; buf 1649 maint/gnulib/lib/dfa.c addtok_mb (dfa, buf[0], buflen == 1 ? 3 : 1); buf 1652 maint/gnulib/lib/dfa.c addtok_mb (dfa, buf[i], i == buflen - 1 ? 2 : 0); buf 35 maint/gnulib/lib/dprintf.c char buf[2000]; buf 38 maint/gnulib/lib/dprintf.c size_t lenbuf = sizeof (buf); buf 42 maint/gnulib/lib/dprintf.c output = vasnprintf (buf, &lenbuf, format, args); buf 51 maint/gnulib/lib/dprintf.c if (output != buf) buf 56 maint/gnulib/lib/dprintf.c if (output != buf) buf 116 maint/gnulib/lib/error.c char *strerror_r (int errnum, char *buf, size_t buflen); buf 118 maint/gnulib/lib/error.c int strerror_r (int errnum, char *buf, size_t buflen); buf 132 maint/gnulib/lib/exclude.c exclude_add_pattern_buffer (struct exclude *ex, char *buf) buf 135 maint/gnulib/lib/exclude.c pbuf->base = buf; buf 613 maint/gnulib/lib/exclude.c char *buf = NULL; buf 625 maint/gnulib/lib/exclude.c buf = xpalloc (buf, &buf_alloc, 1, -1, 1); buf 626 maint/gnulib/lib/exclude.c buf[buf_count++] = c; buf 632 maint/gnulib/lib/exclude.c buf = xirealloc (buf, buf_count + 1); buf 633 maint/gnulib/lib/exclude.c buf[buf_count] = line_end; buf 634 maint/gnulib/lib/exclude.c lim = buf + buf_count + ! (buf_count == 0 || buf[buf_count - 1] == line_end); buf 636 maint/gnulib/lib/exclude.c exclude_add_pattern_buffer (ex, buf); buf 638 maint/gnulib/lib/exclude.c pattern = buf; buf 640 maint/gnulib/lib/exclude.c for (p = buf; p < lim; p++) buf 62 maint/gnulib/lib/exclude.h void exclude_add_pattern_buffer (struct exclude *ex, char *buf); buf 120 maint/gnulib/lib/fchmodat.c char buf[sizeof fmt - sizeof "%d" + INT_BUFSIZE_BOUND (int)]; buf 121 maint/gnulib/lib/fchmodat.c sprintf (buf, fmt, fd); buf 122 maint/gnulib/lib/fchmodat.c int chmod_result = chmod (buf, mode); buf 182 maint/gnulib/lib/fdopendir.c char buf[OPENAT_BUFFER_SIZE]; buf 183 maint/gnulib/lib/fdopendir.c char *proc_file = openat_proc_name (buf, fd, "."); buf 188 maint/gnulib/lib/fdopendir.c if (proc_file != buf) buf 173 maint/gnulib/lib/file-has-acl.c aclent_t buf[alloc_init]; buf 175 maint/gnulib/lib/file-has-acl.c aclent_t *entries = buf; buf 247 maint/gnulib/lib/file-has-acl.c ace_t buf[alloc_init]; buf 249 maint/gnulib/lib/file-has-acl.c ace_t *entries = buf; buf 58 maint/gnulib/lib/fpending.c return fp->wp - fp->buf; buf 38 maint/gnulib/lib/fprintf.c char buf[2000]; buf 41 maint/gnulib/lib/fprintf.c size_t lenbuf = sizeof (buf); buf 45 maint/gnulib/lib/fprintf.c output = vasnprintf (buf, &lenbuf, format, args); buf 57 maint/gnulib/lib/fprintf.c if (output != buf) buf 62 maint/gnulib/lib/fprintf.c if (output != buf) buf 143 maint/gnulib/lib/fpurge.c fp->rp = fp->wp = fp->lp = fp->buf; buf 124 maint/gnulib/lib/freadseek.c char buf[4096]; buf 128 maint/gnulib/lib/freadseek.c size_t count = (sizeof (buf) < offset ? sizeof (buf) : offset); buf 129 maint/gnulib/lib/freadseek.c if (fread (buf, 1, count, fp) < count) buf 102 maint/gnulib/lib/fseeko.c if (fp->rp == fp->buf buf 103 maint/gnulib/lib/fseeko.c && fp->wp == fp->buf) buf 35 maint/gnulib/lib/fstat.c orig_fstat (int fd, struct stat *buf) buf 37 maint/gnulib/lib/fstat.c return fstat (fd, buf); buf 68 maint/gnulib/lib/fstat.c rpl_fstat (int fd, struct stat *buf) buf 75 maint/gnulib/lib/fstat.c return stat (name, buf); buf 90 maint/gnulib/lib/fstat.c return _gl_fstat_by_handle (h, NULL, buf); buf 92 maint/gnulib/lib/fstat.c return stat_time_normalize (orig_fstat (fd, buf), buf); buf 33 maint/gnulib/lib/fstatat.c orig_fstatat (int fd, char const *filename, struct stat *buf, int flags) buf 35 maint/gnulib/lib/fstatat.c return fstatat (fd, filename, buf, flags); buf 89 maint/gnulib/lib/ftoastr.c ftoastr_snprintf (char *buf, size_t bufsize, char const *format, buf 106 maint/gnulib/lib/ftoastr.c n = sprintf (buf, format, width, prec, promoted_x); buf 112 maint/gnulib/lib/ftoastr.c FTOASTR (char *buf, size_t bufsize, int flags, int width, FLOAT x) buf 145 maint/gnulib/lib/ftoastr.c int n = snprintf (buf, bufsize, format, width, prec, promoted_x); buf 148 maint/gnulib/lib/ftoastr.c || (n < bufsize && STRTOF (buf, NULL) == x)) buf 48 maint/gnulib/lib/ftoastr.h int ftoastr (char *buf, size_t bufsize, int flags, int width, float x); buf 49 maint/gnulib/lib/ftoastr.h int dtoastr (char *buf, size_t bufsize, int flags, int width, double x); buf 50 maint/gnulib/lib/ftoastr.h int ldtoastr (char *buf, size_t bufsize, int flags, int width, long double x); buf 54 maint/gnulib/lib/ftoastr.h int c_dtoastr (char *buf, size_t bufsize, int flags, int width, double x); buf 55 maint/gnulib/lib/ftoastr.h int c_ldtoastr (char *buf, size_t bufsize, int flags, int width, long double x); buf 23 maint/gnulib/lib/full-read.h extern size_t full_read (int fd, void *buf, size_t count); buf 58 maint/gnulib/lib/full-write.c full_rw (int fd, const void *buf, size_t count) buf 61 maint/gnulib/lib/full-write.c const char *ptr = (const char *) buf; buf 29 maint/gnulib/lib/full-write.h extern size_t full_write (int fd, const void *buf, size_t count); buf 97 maint/gnulib/lib/gc-gnulib.c char *buf = buffer; buf 104 maint/gnulib/lib/gc-gnulib.c while ((bytes = getrandom (buf, length, flags)) < 0) buf 109 maint/gnulib/lib/gc-gnulib.c buf += bytes; buf 2768 maint/gnulib/lib/gen-uni-tables.c char buf[200+1]; buf 2774 maint/gnulib/lib/gen-uni-tables.c if (fscanf (stream, "%200[^\n]\n", buf) < 1) buf 2777 maint/gnulib/lib/gen-uni-tables.c if (buf[0] == '\0' || buf[0] == '#') buf 2780 maint/gnulib/lib/gen-uni-tables.c if (sscanf (buf, "%X..%X%[ ;]%[^ ]", &i1, &i2, padding, propname) != 4) buf 2782 maint/gnulib/lib/gen-uni-tables.c if (sscanf (buf, "%X%[ ;]%[^ ]", &i1, padding, propname) != 3) buf 2871 maint/gnulib/lib/gen-uni-tables.c char buf[100+1]; buf 2886 maint/gnulib/lib/gen-uni-tables.c if (fscanf (stream, "%100[^\n]\n", buf) < 1) buf 2892 maint/gnulib/lib/gen-uni-tables.c while (strstr (buf, property_name) == NULL); buf 2898 maint/gnulib/lib/gen-uni-tables.c if (fscanf (stream, "%100[^\n]\n", buf) < 1) buf 2900 maint/gnulib/lib/gen-uni-tables.c if (buf[0] == '*') buf 2902 maint/gnulib/lib/gen-uni-tables.c if (strlen (buf) >= 10 && buf[4] == '.' && buf[5] == '.') buf 2904 maint/gnulib/lib/gen-uni-tables.c if (sscanf (buf, "%4X..%4X", &i1, &i2) < 2) buf 2911 maint/gnulib/lib/gen-uni-tables.c else if (strlen (buf) >= 4) buf 2913 maint/gnulib/lib/gen-uni-tables.c if (sscanf (buf, "%4X", &i1) < 1) buf 3948 maint/gnulib/lib/gen-uni-tables.c char buf[200+1]; buf 3959 maint/gnulib/lib/gen-uni-tables.c if (fscanf (stream, "%200[^\n]\n", buf) < 1) buf 3962 maint/gnulib/lib/gen-uni-tables.c if (buf[0] == '\0' || buf[0] == '#') buf 3965 maint/gnulib/lib/gen-uni-tables.c if (sscanf (buf, "%X%[; ]%[^;]%[; ]%[^;]%[; ]%100[^\n]", buf 4644 maint/gnulib/lib/gen-uni-tables.c char buf[200+1]; buf 4650 maint/gnulib/lib/gen-uni-tables.c if (fscanf (stream, "%200[^\n]\n", buf) < 1) buf 4653 maint/gnulib/lib/gen-uni-tables.c if (buf[0] == '\0' || buf[0] == '#') buf 4656 maint/gnulib/lib/gen-uni-tables.c if (sscanf (buf, "%X..%X%[ ;]%[^ ]", &i1, &i2, padding, scriptname) != 4) buf 4658 maint/gnulib/lib/gen-uni-tables.c if (sscanf (buf, "%X%[ ;]%[^ ]", &i1, padding, scriptname) != 3) buf 4963 maint/gnulib/lib/gen-uni-tables.c char buf[200+1]; buf 4968 maint/gnulib/lib/gen-uni-tables.c if (fscanf (stream, "%200[^\n]\n", buf) < 1) buf 4971 maint/gnulib/lib/gen-uni-tables.c if (buf[0] == '\0' || buf[0] == '#') buf 4974 maint/gnulib/lib/gen-uni-tables.c if (sscanf (buf, "%X..%X%[ ;]%[^\r]", &i1, &i2, padding, blockname) != 4) buf 5879 maint/gnulib/lib/gen-uni-tables.c static char buf[11+1]; buf 5881 maint/gnulib/lib/gen-uni-tables.c sprintf (buf, (i < 0x10000 ? "<U%04X>" : "<U%08X>"), i); buf 5882 maint/gnulib/lib/gen-uni-tables.c return buf; buf 5889 maint/gnulib/lib/gen-uni-tables.c static char buf[24+1]; buf 5891 maint/gnulib/lib/gen-uni-tables.c strcpy (buf, ucs_symbol (low)); buf 5892 maint/gnulib/lib/gen-uni-tables.c strcat (buf, ".."); buf 5893 maint/gnulib/lib/gen-uni-tables.c strcat (buf, ucs_symbol (high)); buf 5894 maint/gnulib/lib/gen-uni-tables.c return buf; buf 5922 maint/gnulib/lib/gen-uni-tables.c char buf[25]; buf 5931 maint/gnulib/lib/gen-uni-tables.c strcpy (buf, ucs_symbol (low)); buf 5933 maint/gnulib/lib/gen-uni-tables.c strcpy (buf, ucs_symbol_range (low, high)); buf 5941 maint/gnulib/lib/gen-uni-tables.c if (column + strlen (buf) > max_column) buf 5947 maint/gnulib/lib/gen-uni-tables.c fprintf (stream, "%s", buf); buf 5948 maint/gnulib/lib/gen-uni-tables.c column += strlen (buf); buf 5976 maint/gnulib/lib/gen-uni-tables.c char buf[25+1]; buf 5978 maint/gnulib/lib/gen-uni-tables.c strcpy (buf, "("); buf 5979 maint/gnulib/lib/gen-uni-tables.c strcat (buf, ucs_symbol (i)); buf 5980 maint/gnulib/lib/gen-uni-tables.c strcat (buf, ","); buf 5981 maint/gnulib/lib/gen-uni-tables.c strcat (buf, ucs_symbol (func (i))); buf 5982 maint/gnulib/lib/gen-uni-tables.c strcat (buf, ")"); buf 5990 maint/gnulib/lib/gen-uni-tables.c if (column + strlen (buf) > max_column) buf 5996 maint/gnulib/lib/gen-uni-tables.c fprintf (stream, "%s", buf); buf 5997 maint/gnulib/lib/gen-uni-tables.c column += strlen (buf); buf 8244 maint/gnulib/lib/gen-uni-tables.c char buf[200+1]; buf 8250 maint/gnulib/lib/gen-uni-tables.c if (fscanf (stream, "%200[^\n]\n", buf) < 1) buf 8253 maint/gnulib/lib/gen-uni-tables.c if (buf[0] == '\0' || buf[0] == '#') buf 8256 maint/gnulib/lib/gen-uni-tables.c if (sscanf (buf, "%X..%X%[ ;]%[^ ]", &i1, &i2, padding, propname) != 4) buf 8258 maint/gnulib/lib/gen-uni-tables.c if (sscanf (buf, "%X%[ ;]%[^ ]", &i1, padding, propname) != 3) buf 8832 maint/gnulib/lib/gen-uni-tables.c char buf[200+1]; buf 8839 maint/gnulib/lib/gen-uni-tables.c if (fscanf (stream, "%200[^\n]\n", buf) < 1) buf 8842 maint/gnulib/lib/gen-uni-tables.c if (buf[0] == '\0' || buf[0] == '#') buf 8845 maint/gnulib/lib/gen-uni-tables.c if (sscanf (buf, "%X..%X%[ ;]%[^ ]", &i1, &i2, padding, propname) != 4) buf 8847 maint/gnulib/lib/gen-uni-tables.c if (sscanf (buf, "%X%[ ;]%[^ ]", &i1, padding, propname) != 3) buf 9208 maint/gnulib/lib/gen-uni-tables.c char buf[200+1]; buf 9211 maint/gnulib/lib/gen-uni-tables.c if (fscanf (stream, "%200[^\n]\n", buf) < 1) buf 9214 maint/gnulib/lib/gen-uni-tables.c if (buf[0] == '\0' || buf[0] == '#') buf 9217 maint/gnulib/lib/gen-uni-tables.c if (sscanf (buf, "%X", &i) != 1) buf 9646 maint/gnulib/lib/gen-uni-tables.c char buf[200+1]; buf 9658 maint/gnulib/lib/gen-uni-tables.c if (fscanf (stream, "%200[^\n]\n", buf) < 1) buf 9661 maint/gnulib/lib/gen-uni-tables.c if (buf[0] == '\0' || buf[0] == '#') buf 9665 maint/gnulib/lib/gen-uni-tables.c scanptr = buf; buf 9875 maint/gnulib/lib/gen-uni-tables.c char buf[200+1]; buf 9884 maint/gnulib/lib/gen-uni-tables.c if (fscanf (stream, "%200[^\n]\n", buf) < 1) buf 9887 maint/gnulib/lib/gen-uni-tables.c if (buf[0] == '\0' || buf[0] == '#') buf 9891 maint/gnulib/lib/gen-uni-tables.c scanptr = buf; buf 174 maint/gnulib/lib/get-rusage-data.c struct utsname buf; buf 176 maint/gnulib/lib/get-rusage-data.c if (uname (&buf) == 0 buf 177 maint/gnulib/lib/get-rusage-data.c && strlen (buf.release) >= 5 buf 178 maint/gnulib/lib/get-rusage-data.c && (strcmp (buf.release + strlen (buf.release) - 5, "11.00") == 0 buf 179 maint/gnulib/lib/get-rusage-data.c || strcmp (buf.release + strlen (buf.release) - 5, "11.11") == 0)) buf 86 maint/gnulib/lib/get_ppid_of.c char buf[4096 + 1]; buf 87 maint/gnulib/lib/get_ppid_of.c ssize_t nread = read (fd, buf, sizeof (buf) - 1); buf 91 maint/gnulib/lib/get_ppid_of.c char *bufend = buf + nread; buf 98 maint/gnulib/lib/get_ppid_of.c for (p = buf;;) buf 127 maint/gnulib/lib/get_ppid_of.c char buf[4096 + 1]; buf 128 maint/gnulib/lib/get_ppid_of.c ssize_t nread = read (fd, buf, sizeof (buf) - 1); buf 135 maint/gnulib/lib/get_ppid_of.c buf[nread] = '\0'; buf 138 maint/gnulib/lib/get_ppid_of.c p = strchr (buf, ' '); buf 164 maint/gnulib/lib/get_ppid_of.c char buf[4096 + 1]; buf 165 maint/gnulib/lib/get_ppid_of.c ssize_t nread = read (fd, buf, sizeof (buf) - 1); buf 173 maint/gnulib/lib/get_ppid_of.c buf[nread] = '\0'; buf 176 maint/gnulib/lib/get_ppid_of.c p = strchr (buf, ' '); buf 211 maint/gnulib/lib/get_ppid_of.c union { char all[PSINFO_SIZE]; unsigned int header[11]; } buf; buf 212 maint/gnulib/lib/get_ppid_of.c ssize_t nread = read (fd, buf.all, sizeof (buf.all)); buf 214 maint/gnulib/lib/get_ppid_of.c if (nread >= (ssize_t) sizeof (buf.header)) buf 215 maint/gnulib/lib/get_ppid_of.c return buf.header[3]; buf 301 maint/gnulib/lib/get_ppid_of.c prpsinfo_t buf; buf 302 maint/gnulib/lib/get_ppid_of.c int ioctl_ok = 0 <= ioctl (fd, PIOCPSINFO, &buf); buf 305 maint/gnulib/lib/get_ppid_of.c return buf.pr_ppid; buf 117 maint/gnulib/lib/get_progname_of.c char buf[4096 + 1]; buf 118 maint/gnulib/lib/get_progname_of.c ssize_t nread = read (fd, buf, sizeof (buf) - 1); buf 126 maint/gnulib/lib/get_progname_of.c buf[nread] = '\0'; buf 129 maint/gnulib/lib/get_progname_of.c slash = strrchr (buf, '/'); buf 130 maint/gnulib/lib/get_progname_of.c return strdup (slash != NULL ? slash + 1 : buf); buf 170 maint/gnulib/lib/get_progname_of.c char buf[4096 + 1]; buf 171 maint/gnulib/lib/get_progname_of.c ssize_t nread = read (fd, buf, sizeof (buf) - 1); buf 179 maint/gnulib/lib/get_progname_of.c buf[nread] = '\0'; buf 182 maint/gnulib/lib/get_progname_of.c p = strchr (buf, ' '); buf 246 maint/gnulib/lib/get_progname_of.c char buf[PSINFO_SIZE]; buf 247 maint/gnulib/lib/get_progname_of.c ssize_t nread = read (fd, buf, sizeof (buf)); buf 252 maint/gnulib/lib/get_progname_of.c buf[PSINFO_FNAME_OFFSET + 16] = '\0'; buf 253 maint/gnulib/lib/get_progname_of.c return strdup (&buf[PSINFO_FNAME_OFFSET]); buf 396 maint/gnulib/lib/get_progname_of.c prpsinfo_t buf; buf 397 maint/gnulib/lib/get_progname_of.c int ioctl_ok = 0 <= ioctl (fd, PIOCPSINFO, &buf); buf 401 maint/gnulib/lib/get_progname_of.c char *name = buf.pr_fname; buf 402 maint/gnulib/lib/get_progname_of.c size_t namesize = sizeof buf.pr_fname; buf 46 maint/gnulib/lib/getcwd-lgpl.c rpl_getcwd (char *buf, size_t size) buf 52 maint/gnulib/lib/getcwd-lgpl.c if (buf) buf 59 maint/gnulib/lib/getcwd-lgpl.c return getcwd (buf, size); buf 64 maint/gnulib/lib/getcwd-lgpl.c buf = malloc (size); buf 65 maint/gnulib/lib/getcwd-lgpl.c if (!buf) buf 70 maint/gnulib/lib/getcwd-lgpl.c result = getcwd (buf, size); buf 72 maint/gnulib/lib/getcwd-lgpl.c free (buf); buf 98 maint/gnulib/lib/getcwd-lgpl.c ptr = realloc (buf, size); buf 101 maint/gnulib/lib/getcwd-lgpl.c free (buf); buf 105 maint/gnulib/lib/getcwd-lgpl.c buf = ptr; buf 106 maint/gnulib/lib/getcwd-lgpl.c result = getcwd (buf, size); buf 111 maint/gnulib/lib/getcwd-lgpl.c free (buf); buf 127 maint/gnulib/lib/getcwd.c getcwd_nothrow (char *buf, size_t size) buf 133 maint/gnulib/lib/getcwd.c result = _getcwd (buf, size); buf 159 maint/gnulib/lib/getcwd.c __getcwd_generic (char *buf, size_t size) buf 207 maint/gnulib/lib/getcwd.c dir = getcwd_system (buf, size); buf 215 maint/gnulib/lib/getcwd.c if (errno == EINVAL && buf == NULL && size == 0) buf 232 maint/gnulib/lib/getcwd.c if (buf != NULL) buf 241 maint/gnulib/lib/getcwd.c if (buf == NULL) buf 248 maint/gnulib/lib/getcwd.c dir = buf; buf 462 maint/gnulib/lib/getcwd.c buf = (used < allocated ? realloc (dir, used) : dir); buf 464 maint/gnulib/lib/getcwd.c if (buf == NULL) buf 467 maint/gnulib/lib/getcwd.c buf = dir; buf 469 maint/gnulib/lib/getcwd.c return buf; buf 485 maint/gnulib/lib/getcwd.c if (buf == NULL) buf 32 maint/gnulib/lib/getentropy.c char *buf = buffer; buf 40 maint/gnulib/lib/getentropy.c while ((bytes = getrandom (buf, length, 0)) < 0) buf 45 maint/gnulib/lib/getentropy.c buf += bytes; buf 95 maint/gnulib/lib/getpass.c static char *buf; buf 138 maint/gnulib/lib/getpass.c nread = getline (&buf, &bufsize, in); buf 151 maint/gnulib/lib/getpass.c if (buf != NULL) buf 154 maint/gnulib/lib/getpass.c buf[0] = '\0'; buf 155 maint/gnulib/lib/getpass.c else if (buf[nread - 1] == '\n') buf 158 maint/gnulib/lib/getpass.c buf[nread - 1] = '\0'; buf 177 maint/gnulib/lib/getpass.c return buf; buf 202 maint/gnulib/lib/getprogname.c W_PSPROC buf; buf 204 maint/gnulib/lib/getprogname.c memset (&buf, 0, sizeof(buf)); buf 205 maint/gnulib/lib/getprogname.c buf.ps_cmdptr = (char *) malloc (buf.ps_cmdlen = PS_CMDBLEN_LONG); buf 206 maint/gnulib/lib/getprogname.c buf.ps_conttyptr = (char *) malloc (buf.ps_conttylen = PS_CONTTYBLEN); buf 207 maint/gnulib/lib/getprogname.c buf.ps_pathptr = (char *) malloc (buf.ps_pathlen = PS_PATHBLEN); buf 208 maint/gnulib/lib/getprogname.c if (buf.ps_cmdptr && buf.ps_conttyptr && buf.ps_pathptr) buf 211 maint/gnulib/lib/getprogname.c token = w_getpsent (token, &buf, sizeof(buf))) buf 213 maint/gnulib/lib/getprogname.c if (token > 0 && buf.ps_pid == pid) buf 215 maint/gnulib/lib/getprogname.c char *s = strdup (last_component (buf.ps_pathptr)); buf 222 maint/gnulib/lib/getprogname.c free (buf.ps_cmdptr); buf 223 maint/gnulib/lib/getprogname.c free (buf.ps_conttyptr); buf 224 maint/gnulib/lib/getprogname.c free (buf.ps_pathptr); buf 239 maint/gnulib/lib/getprogname.c prpsinfo_t buf; buf 240 maint/gnulib/lib/getprogname.c int ioctl_ok = 0 <= ioctl (fd, PIOCPSINFO, &buf); buf 244 maint/gnulib/lib/getprogname.c char *name = buf.pr_fname; buf 245 maint/gnulib/lib/getprogname.c size_t namesize = sizeof buf.pr_fname; buf 259 maint/gnulib/lib/getprogname.c char buf[80]; buf 261 maint/gnulib/lib/getprogname.c sprintf (buf, "/proc/%d/cmdline", getpid()); buf 262 maint/gnulib/lib/getprogname.c fd = open (buf, O_RDONLY); buf 265 maint/gnulib/lib/getprogname.c size_t n = read (fd, buf, 79); buf 268 maint/gnulib/lib/getprogname.c buf[n] = '\0'; /* Guarantee null-termination */ buf 270 maint/gnulib/lib/getprogname.c progname = strrchr (buf, '/'); buf 277 maint/gnulib/lib/getprogname.c progname = buf; buf 228 maint/gnulib/lib/gettext.h char buf[1024]; buf 230 maint/gnulib/lib/gettext.h (msgctxt_len + msgid_len <= sizeof (buf) buf 231 maint/gnulib/lib/gettext.h ? buf buf 243 maint/gnulib/lib/gettext.h if (msg_ctxt_id != buf) buf 276 maint/gnulib/lib/gettext.h char buf[1024]; buf 278 maint/gnulib/lib/gettext.h (msgctxt_len + msgid_len <= sizeof (buf) buf 279 maint/gnulib/lib/gettext.h ? buf buf 291 maint/gnulib/lib/gettext.h if (msg_ctxt_id != buf) buf 70 maint/gnulib/lib/getumask.c char buf[4096]; buf 74 maint/gnulib/lib/getumask.c ssize_t n = read (fd, buf, sizeof (buf)); buf 77 maint/gnulib/lib/getumask.c const char *p_end = buf + n; buf 78 maint/gnulib/lib/getumask.c const char *p = buf; buf 1163 maint/gnulib/lib/git-merge-changelog.c char buf[1000]; buf 1165 maint/gnulib/lib/git-merge-changelog.c sprintf (buf, "head -1 %s", destination_file_name); system (buf); buf 1167 maint/gnulib/lib/git-merge-changelog.c sprintf (buf, "head -1 %s", other_file_name); system (buf); buf 84 maint/gnulib/lib/gl_openssl.h GL_CRYPTO_FN (_process_bytes) (const void *buf, size_t len, struct _gl_ctx *ctx) buf 85 maint/gnulib/lib/gl_openssl.h { OPENSSL_FN (_Update) ((_gl_CTX *) ctx, buf, len); } buf 88 maint/gnulib/lib/gl_openssl.h GL_CRYPTO_FN (_process_block) (const void *buf, size_t len, struct _gl_ctx *ctx) buf 89 maint/gnulib/lib/gl_openssl.h { GL_CRYPTO_FN (_process_bytes) (buf, len, ctx); } buf 97 maint/gnulib/lib/gl_openssl.h GL_CRYPTO_FN (_buffer) (const char *buf, size_t len, void *restrict res) buf 98 maint/gnulib/lib/gl_openssl.h { return OPENSSL_FN () ((const unsigned char *) buf, len, (unsigned char *) res); } buf 60 maint/gnulib/lib/glob.c # define getpwnam_r(name, bufp, buf, len, res) \ buf 61 maint/gnulib/lib/glob.c __getpwnam_r (name, bufp, buf, len, res) buf 81 maint/gnulib/lib/glob.c # define __getlogin_r(buf, len) getlogin_r (buf, len) buf 202 maint/gnulib/lib/glob.c # define extend_alloca_account(buf, len, newlen, avar) \ buf 203 maint/gnulib/lib/glob.c ((void) (buf), (void) (len), (void) (newlen), (void) (avar), (void *) 0) buf 89 maint/gnulib/lib/human.c char buf[2 * INT_STRLEN_BOUND (uintmax_t) + 1]; buf 91 maint/gnulib/lib/human.c memcpy (buf, number, numberlen); buf 109 maint/gnulib/lib/human.c memcpy (d, buf + i, grouplen); buf 153 maint/gnulib/lib/human.c human_readable (uintmax_t n, char *buf, int opts, buf 189 maint/gnulib/lib/human.c psuffix = buf + LONGEST_HUMAN_READABLE - 1 - HUMAN_READABLE_SUFFIX_LENGTH_MAX; buf 232 maint/gnulib/lib/human.c sprintf (buf, "%.0Lf", adjust_value (inexact_style, damt)); buf 233 maint/gnulib/lib/human.c buflen = strlen (buf); buf 250 maint/gnulib/lib/human.c sprintf (buf, "%.1Lf", adjust_value (inexact_style, damt)); buf 251 maint/gnulib/lib/human.c buflen = strlen (buf); buf 256 maint/gnulib/lib/human.c && buf[buflen - 1] == '0')) buf 258 maint/gnulib/lib/human.c sprintf (buf, "%.0Lf", buf 260 maint/gnulib/lib/human.c buflen = strlen (buf); buf 266 maint/gnulib/lib/human.c memmove (p, buf, buflen); buf 33 maint/gnulib/lib/ioctl.c void *buf; buf 37 maint/gnulib/lib/ioctl.c buf = va_arg (args, void *); buf 42 maint/gnulib/lib/ioctl.c return ioctl (fd, (unsigned int) request, buf); buf 119 maint/gnulib/lib/isatty.c char buf[1024]; buf 120 maint/gnulib/lib/isatty.c DWORD bufsize = sizeof (buf); buf 131 maint/gnulib/lib/isatty.c if (QueryFullProcessImageNameFunc (processHandle, 0, buf, &bufsize)) buf 133 maint/gnulib/lib/isatty.c if (strlen (buf) >= 11 buf 134 maint/gnulib/lib/isatty.c && strcmp (buf + strlen (buf) - 11, "\\mintty.exe") == 0) buf 81 maint/gnulib/lib/lchmod.c char buf[sizeof fmt - sizeof "%d" + INT_BUFSIZE_BOUND (int)]; buf 82 maint/gnulib/lib/lchmod.c sprintf (buf, fmt, fd); buf 83 maint/gnulib/lib/lchmod.c int chmod_result = chmod (buf, mode); buf 902 maint/gnulib/lib/localcharset.c char buf[2 + 10 + 1]; buf 904 maint/gnulib/lib/localcharset.c sprintf (buf, "CP%u", GetACP ()); buf 905 maint/gnulib/lib/localcharset.c strcpy (resultbuf, buf); buf 917 maint/gnulib/lib/localcharset.c char buf[2 + 10 + 1]; buf 928 maint/gnulib/lib/localcharset.c if (pdot && 2 + strlen (pdot + 1) + 1 <= sizeof (buf)) buf 929 maint/gnulib/lib/localcharset.c sprintf (buf, "CP%s", pdot + 1); buf 939 maint/gnulib/lib/localcharset.c sprintf (buf, "CP%u", GetACP ()); buf 943 maint/gnulib/lib/localcharset.c if (strcmp (buf + 2, "65001") == 0 || strcmp (buf + 2, "utf8") == 0) buf 947 maint/gnulib/lib/localcharset.c strcpy (resultbuf, buf); buf 1004 maint/gnulib/lib/localcharset.c char buf[2 + 10 + 1]; buf 1006 maint/gnulib/lib/localcharset.c sprintf (buf, "CP%u", cp[0]); buf 1007 maint/gnulib/lib/localcharset.c strcpy (resultbuf, buf); buf 39 maint/gnulib/lib/lstat.c orig_lstat (const char *filename, struct stat *buf) buf 41 maint/gnulib/lib/lstat.c return lstat (filename, buf); buf 31 maint/gnulib/lib/malloc/dynarray_at_failure.c char buf[200]; buf 32 maint/gnulib/lib/malloc/dynarray_at_failure.c __snprintf (buf, sizeof (buf), "Fatal glibc error: " buf 35 maint/gnulib/lib/malloc/dynarray_at_failure.c __libc_fatal (buf); buf 168 maint/gnulib/lib/mbchar.h char buf[MBCHAR_BUF_SIZE]; /* room for the bytes, used for file input only */ buf 256 maint/gnulib/lib/mbchar.h ((mbc)->ptr = (mbc)->buf, (mbc)->bytes = 1, (mbc)->wc_valid = 1, \ buf 257 maint/gnulib/lib/mbchar.h (mbc)->wc = (mbc)->buf[0] = (sc)) buf 263 maint/gnulib/lib/mbchar.h if (old_mbc->ptr == &old_mbc->buf[0]) buf 265 maint/gnulib/lib/mbchar.h memcpy (&new_mbc->buf[0], &old_mbc->buf[0], old_mbc->bytes); buf 266 maint/gnulib/lib/mbchar.h new_mbc->ptr = &new_mbc->buf[0]; buf 72 maint/gnulib/lib/mbfile.h char buf[MBCHAR_BUF_SIZE]; buf 103 maint/gnulib/lib/mbfile.h mbf->buf[0] = (unsigned char) c; buf 108 maint/gnulib/lib/mbfile.h if (mbf->bufcount == 1 && mbsinit (&mbf->state) && is_basic (mbf->buf[0])) buf 113 maint/gnulib/lib/mbfile.h mbc->wc = mbc->buf[0] = mbf->buf[0]; buf 115 maint/gnulib/lib/mbfile.h mbc->ptr = &mbc->buf[0]; buf 138 maint/gnulib/lib/mbfile.h bytes = mbrtowc (&mbc->wc, &mbf->buf[0], mbf->bufcount, &mbf->state); buf 172 maint/gnulib/lib/mbfile.h mbf->buf[mbf->bufcount] = (unsigned char) c; buf 182 maint/gnulib/lib/mbfile.h assert (mbf->buf[0] == '\0'); buf 191 maint/gnulib/lib/mbfile.h mbc->ptr = &mbc->buf[0]; buf 192 maint/gnulib/lib/mbfile.h memcpy (&mbc->buf[0], &mbf->buf[0], bytes); buf 200 maint/gnulib/lib/mbfile.h char *p = &mbf->buf[0]; buf 142 maint/gnulib/lib/mbrtoc32.c char buf[4]; buf 154 maint/gnulib/lib/mbrtoc32.c buf[2] = pstate[3]; buf 157 maint/gnulib/lib/mbrtoc32.c buf[1] = pstate[2]; buf 160 maint/gnulib/lib/mbrtoc32.c buf[0] = pstate[1]; buf 161 maint/gnulib/lib/mbrtoc32.c p = buf; buf 163 maint/gnulib/lib/mbrtoc32.c buf[m++] = s[0]; buf 166 maint/gnulib/lib/mbrtoc32.c buf[m++] = s[1]; buf 168 maint/gnulib/lib/mbrtoc32.c buf[m++] = s[2]; buf 41 maint/gnulib/lib/mbrtowc-impl.h char buf[4]; buf 54 maint/gnulib/lib/mbrtowc-impl.h buf[2] = pstate[3]; buf 57 maint/gnulib/lib/mbrtowc-impl.h buf[1] = pstate[2]; buf 60 maint/gnulib/lib/mbrtowc-impl.h buf[0] = pstate[1]; buf 61 maint/gnulib/lib/mbrtowc-impl.h p = buf; buf 63 maint/gnulib/lib/mbrtowc-impl.h buf[m++] = s[0]; buf 66 maint/gnulib/lib/mbrtowc-impl.h buf[m++] = s[1]; buf 68 maint/gnulib/lib/mbrtowc-impl.h buf[m++] = s[2]; buf 50 maint/gnulib/lib/mbswidth.h extern int mbsnwidth (const char *buf, size_t nbytes, int flags); buf 42 maint/gnulib/lib/md2.c memset (ctx->buf, 0, sizeof (ctx->buf)); buf 67 maint/gnulib/lib/md2.c ctx->buf[i] = (unsigned char) k; buf 75 maint/gnulib/lib/md2.c memcpy (ctx->buf, ctx->chksum, 16); buf 109 maint/gnulib/lib/md2.c memcpy (ctx->buf + ctx->curlen, in, (size_t) n); buf 157 maint/gnulib/lib/md2.c L = (ctx->chksum[j] ^= PI_SUBST[(int) (ctx->buf[j] ^ L)] & 255); buf 170 maint/gnulib/lib/md2.c ctx->X[16 + j] = ctx->buf[j]; buf 34 maint/gnulib/lib/md2.h unsigned char chksum[16], X[48], buf[16]; buf 74 maint/gnulib/lib/nl_langinfo.c char buf[2 + 10 + 1]; buf 82 maint/gnulib/lib/nl_langinfo.c codeset = buf; buf 101 maint/gnulib/lib/nl_langinfo.c if (codesetlen < sizeof buf) buf 103 maint/gnulib/lib/nl_langinfo.c codeset = memcpy (buf, codeset_start, codesetlen); buf 117 maint/gnulib/lib/nl_langinfo.c if (0 < codesetlen && codesetlen < sizeof buf - 2) buf 118 maint/gnulib/lib/nl_langinfo.c memmove (buf + 2, codeset, codesetlen + 1); buf 120 maint/gnulib/lib/nl_langinfo.c sprintf (buf + 2, "%u", GetACP ()); buf 123 maint/gnulib/lib/nl_langinfo.c if (strcmp (buf + 2, "65001") == 0 || strcmp (buf + 2, "utf8") == 0) buf 127 maint/gnulib/lib/nl_langinfo.c memcpy (buf, "CP", 2); buf 128 maint/gnulib/lib/nl_langinfo.c strcpy (result, buf); buf 356 maint/gnulib/lib/nl_langinfo.c char buf[100]; buf 398 maint/gnulib/lib/nl_langinfo.c if (!strftime (buf, sizeof result, "%p", &tmm)) buf 400 maint/gnulib/lib/nl_langinfo.c strcpy (result, buf); buf 407 maint/gnulib/lib/nl_langinfo.c if (!strftime (buf, sizeof result, "%p", &tmm)) buf 409 maint/gnulib/lib/nl_langinfo.c strcpy (result, buf); buf 426 maint/gnulib/lib/nl_langinfo.c if (!strftime (buf, sizeof result[0], "%A", &tmm)) buf 428 maint/gnulib/lib/nl_langinfo.c strcpy (result[item - DAY_1], buf); buf 444 maint/gnulib/lib/nl_langinfo.c if (!strftime (buf, sizeof result[0], "%a", &tmm)) buf 446 maint/gnulib/lib/nl_langinfo.c strcpy (result[item - ABDAY_1], buf); buf 469 maint/gnulib/lib/nl_langinfo.c if (!strftime (buf, sizeof result[0], "%B", &tmm)) buf 471 maint/gnulib/lib/nl_langinfo.c strcpy (result[item - MON_1], buf); buf 492 maint/gnulib/lib/nl_langinfo.c if (!strftime (buf, sizeof result[0], "%OB", &tmm)) buf 494 maint/gnulib/lib/nl_langinfo.c if (!strftime (buf, sizeof result[0], "%B", &tmm)) buf 496 maint/gnulib/lib/nl_langinfo.c strcpy (result[item - ALTMON_1], buf); buf 519 maint/gnulib/lib/nl_langinfo.c if (!strftime (buf, sizeof result[0], "%b", &tmm)) buf 521 maint/gnulib/lib/nl_langinfo.c strcpy (result[item - ABMON_1], buf); buf 559 maint/gnulib/lib/nstrftime.c CHAR_T buf[1 buf 1013 maint/gnulib/lib/nstrftime.c bufp = buf + sizeof (buf) / sizeof (buf[0]); buf 1038 maint/gnulib/lib/nstrftime.c int numlen = buf + sizeof buf / sizeof buf[0] - bufp; buf 1130 maint/gnulib/lib/nstrftime.c buf[j - 1] = n % 10 + L_('0'), n /= 10; buf 1133 maint/gnulib/lib/nstrftime.c width_cpy (0, ndigs, buf); buf 1204 maint/gnulib/lib/nstrftime.c bufp = buf + sizeof (buf) / sizeof (buf[0]); buf 61 maint/gnulib/lib/obstack_printf.c char buf[CUTOFF]; buf 68 maint/gnulib/lib/obstack_printf.c base = buf; buf 78 maint/gnulib/lib/obstack_printf.c if (str == base && str != buf) buf 87 maint/gnulib/lib/obstack_printf.c if (str != buf) buf 47 maint/gnulib/lib/openat-priv.h char *openat_proc_name (char buf[OPENAT_BUFFER_SIZE], int fd, char const *file); buf 44 maint/gnulib/lib/openat-proc.c openat_proc_name (char buf[OPENAT_BUFFER_SIZE], int fd, char const *file) buf 46 maint/gnulib/lib/openat-proc.c char *result = buf; buf 52 maint/gnulib/lib/openat-proc.c buf[0] = '\0'; buf 53 maint/gnulib/lib/openat-proc.c return buf; buf 226 maint/gnulib/lib/openat.c char buf[OPENAT_BUFFER_SIZE]; buf 227 maint/gnulib/lib/openat.c char *proc_file = openat_proc_name (buf, fd, file); buf 232 maint/gnulib/lib/openat.c if (proc_file != buf) buf 298 maint/gnulib/lib/openat.c char buf[OPENAT_BUFFER_SIZE]; buf 299 maint/gnulib/lib/openat.c char *proc_file = openat_proc_name (buf, fd, "."); buf 303 maint/gnulib/lib/openat.c if (proc_file != buf) buf 1256 maint/gnulib/lib/parse-datetime.y tm_year_str (int tm_year, char buf[TM_YEAR_BUFSIZE]) buf 1259 maint/gnulib/lib/parse-datetime.y sprintf (buf, &"-%02d%02d"[-TM_YEAR_BASE <= tm_year], buf 1262 maint/gnulib/lib/parse-datetime.y return buf; buf 1577 maint/gnulib/lib/parse-datetime.y char *buf, int n) buf 1602 maint/gnulib/lib/parse-datetime.y int m = nstrftime (buf, n, "(Y-M-D) %Y-%m-%d %H:%M:%S", tm, 0, 0); buf 1615 maint/gnulib/lib/parse-datetime.y snprintf (&buf[m], n - m, " TZ=%s", time_zone_str (tz, time_zone_buf)); buf 1617 maint/gnulib/lib/parse-datetime.y return buf; buf 1621 maint/gnulib/lib/parse-datetime.y debug_strfdate (struct tm const *tm, char *buf, int n) buf 1624 maint/gnulib/lib/parse-datetime.y snprintf (buf, n, "(Y-M-D) %s-%02d-%02d", buf 1627 maint/gnulib/lib/parse-datetime.y return buf; buf 1631 maint/gnulib/lib/parse-datetime.y debug_strftime (struct tm const *tm, char *buf, int n) buf 1633 maint/gnulib/lib/parse-datetime.y snprintf (buf, n, "%02d:%02d:%02d", tm->tm_hour, tm->tm_min, tm->tm_sec); buf 1634 maint/gnulib/lib/parse-datetime.y return buf; buf 193 maint/gnulib/lib/parse-duration.c char buf[8]; buf 202 maint/gnulib/lib/parse-duration.c memcpy (buf, in_pz, 4); buf 203 maint/gnulib/lib/parse-duration.c buf[4] = NUL; buf 204 maint/gnulib/lib/parse-duration.c pz = buf; buf 205 maint/gnulib/lib/parse-duration.c res = parse_scaled_value (0, &pz, buf + 4, SEC_PER_YEAR); buf 207 maint/gnulib/lib/parse-duration.c memcpy (buf, in_pz + 4, 2); buf 208 maint/gnulib/lib/parse-duration.c buf[2] = NUL; buf 209 maint/gnulib/lib/parse-duration.c pz = buf; buf 210 maint/gnulib/lib/parse-duration.c res = parse_scaled_value (res, &pz, buf + 2, SEC_PER_MONTH); buf 212 maint/gnulib/lib/parse-duration.c memcpy (buf, in_pz + 6, 2); buf 213 maint/gnulib/lib/parse-duration.c buf[2] = NUL; buf 214 maint/gnulib/lib/parse-duration.c pz = buf; buf 215 maint/gnulib/lib/parse-duration.c return parse_scaled_value (res, &pz, buf + 2, SEC_PER_DAY); buf 291 maint/gnulib/lib/parse-duration.c char buf[4]; buf 300 maint/gnulib/lib/parse-duration.c memcpy (buf, in_pz, 2); buf 301 maint/gnulib/lib/parse-duration.c buf[2] = NUL; buf 302 maint/gnulib/lib/parse-duration.c pz = buf; buf 303 maint/gnulib/lib/parse-duration.c res = parse_scaled_value (0, &pz, buf + 2, SEC_PER_HR); buf 305 maint/gnulib/lib/parse-duration.c memcpy (buf, in_pz + 2, 2); buf 306 maint/gnulib/lib/parse-duration.c buf[2] = NUL; buf 307 maint/gnulib/lib/parse-duration.c pz = buf; buf 308 maint/gnulib/lib/parse-duration.c res = parse_scaled_value (res, &pz, buf + 2, SEC_PER_MIN); buf 310 maint/gnulib/lib/parse-duration.c memcpy (buf, in_pz + 4, 2); buf 311 maint/gnulib/lib/parse-duration.c buf[2] = NUL; buf 312 maint/gnulib/lib/parse-duration.c pz = buf; buf 313 maint/gnulib/lib/parse-duration.c return parse_scaled_value (res, &pz, buf + 2, 1); buf 57 maint/gnulib/lib/passfd.c char buf[CMSG_SPACE (sizeof fd)]; buf 70 maint/gnulib/lib/passfd.c msg.msg_control = buf; buf 71 maint/gnulib/lib/passfd.c msg.msg_controllen = sizeof buf; buf 117 maint/gnulib/lib/passfd.c char buf[CMSG_SPACE (sizeof fd)]; buf 137 maint/gnulib/lib/passfd.c msg.msg_control = buf; buf 138 maint/gnulib/lib/passfd.c msg.msg_controllen = sizeof buf; buf 74 maint/gnulib/lib/pipe-filter-aux.h nonintr_read (int fd, void *buf, size_t count) buf 79 maint/gnulib/lib/pipe-filter-aux.h retval = read (fd, buf, count); buf 88 maint/gnulib/lib/pipe-filter-aux.h nonintr_write (int fd, const void *buf, size_t count) buf 93 maint/gnulib/lib/pipe-filter-aux.h retval = write (fd, buf, count); buf 110 maint/gnulib/lib/pipe-filter-gi.c void *buf = filter->prepare_read (&bufsize, filter->private_data); buf 111 maint/gnulib/lib/pipe-filter-gi.c if (!(buf != NULL && bufsize > 0)) buf 116 maint/gnulib/lib/pipe-filter-gi.c read (filter->fd[0], buf, bufsize > SSIZE_MAX ? SSIZE_MAX : bufsize); buf 127 maint/gnulib/lib/pipe-filter-gi.c filter->done_read (buf, nread, filter->private_data); buf 392 maint/gnulib/lib/pipe-filter-gi.c void *buf = filter->prepare_read (&bufsize, filter->private_data); buf 393 maint/gnulib/lib/pipe-filter-gi.c if (!(buf != NULL && bufsize > 0)) buf 398 maint/gnulib/lib/pipe-filter-gi.c read (filter->fd[0], buf, buf 414 maint/gnulib/lib/pipe-filter-gi.c filter->done_read (buf, nread, filter->private_data); buf 532 maint/gnulib/lib/pipe-filter-gi.c const void *buf, size_t size) buf 534 maint/gnulib/lib/pipe-filter-gi.c if (buf == NULL) buf 543 maint/gnulib/lib/pipe-filter-gi.c filter_loop (filter, buf, size); buf 196 maint/gnulib/lib/pipe-filter-ii.c const void *buf = l->prepare_write (&bufsize, l->private_data); buf 197 maint/gnulib/lib/pipe-filter-ii.c if (buf != NULL) buf 200 maint/gnulib/lib/pipe-filter-ii.c write (l->fd[1], buf, bufsize > SSIZE_MAX ? SSIZE_MAX : bufsize); buf 211 maint/gnulib/lib/pipe-filter-ii.c l->done_write ((void *) buf, nwritten, l->private_data); buf 230 maint/gnulib/lib/pipe-filter-ii.c void *buf = l->prepare_read (&bufsize, l->private_data); buf 231 maint/gnulib/lib/pipe-filter-ii.c if (!(buf != NULL && bufsize > 0)) buf 236 maint/gnulib/lib/pipe-filter-ii.c read (l->fd[0], buf, bufsize > SSIZE_MAX ? SSIZE_MAX : bufsize); buf 243 maint/gnulib/lib/pipe-filter-ii.c l->done_read (buf, nread, l->private_data); buf 476 maint/gnulib/lib/pipe-filter-ii.c const void *buf = prepare_write (&bufsize, private_data); buf 477 maint/gnulib/lib/pipe-filter-ii.c if (buf != NULL) buf 490 maint/gnulib/lib/pipe-filter-ii.c ssize_t nwritten = write (fd[1], buf, attempt_to_write); buf 511 maint/gnulib/lib/pipe-filter-ii.c done_write ((void *) buf, nwritten, private_data); buf 533 maint/gnulib/lib/pipe-filter-ii.c void *buf = prepare_read (&bufsize, private_data); buf 534 maint/gnulib/lib/pipe-filter-ii.c if (!(buf != NULL && bufsize > 0)) buf 539 maint/gnulib/lib/pipe-filter-ii.c read (fd[0], buf, bufsize > SSIZE_MAX ? SSIZE_MAX : bufsize); buf 551 maint/gnulib/lib/pipe-filter-ii.c done_read (buf, nread, private_data); buf 226 maint/gnulib/lib/pipe-filter.h const void *buf, size_t size); buf 35 maint/gnulib/lib/pread.c pread (int fd, void *buf, size_t nbyte, off_t offset) buf 50 maint/gnulib/lib/pread.c result = __libc_read (fd, buf, nbyte); buf 121 maint/gnulib/lib/progreloc.c safe_read (int fd, void *buf, size_t count) buf 125 maint/gnulib/lib/progreloc.c ssize_t result = read (fd, buf, count); buf 134 maint/gnulib/lib/progreloc.c full_read (int fd, void *buf, size_t count) buf 137 maint/gnulib/lib/progreloc.c const char *ptr = (const char *) buf; buf 259 maint/gnulib/lib/progreloc.c char buf[6+10+5]; buf 260 maint/gnulib/lib/progreloc.c sprintf (buf, "/proc/%d/exe", getpid ()); buf 261 maint/gnulib/lib/progreloc.c link = xreadlink (buf); buf 265 maint/gnulib/lib/progreloc.c executable_fd = open (buf, O_EXEC | O_CLOEXEC, 0); buf 67 maint/gnulib/lib/ptsname_r.c ptsname_r (int fd, char *buf, size_t buflen) buf 71 maint/gnulib/lib/ptsname_r.c int ret = ptsname_r (fd, buf, buflen); buf 81 maint/gnulib/lib/ptsname_r.c if (buf == NULL) buf 101 maint/gnulib/lib/ptsname_r.c memcpy (buf, tmpbuf, n + 1); buf 110 maint/gnulib/lib/ptsname_r.c if (buf == NULL) buf 151 maint/gnulib/lib/ptsname_r.c memcpy (buf, tmpbuf, n + 1); buf 187 maint/gnulib/lib/ptsname_r.c memcpy (buf, tmpbuf, n + 1); buf 208 maint/gnulib/lib/ptsname_r.c int err = ttyname_r (fd, buf, buflen); buf 215 maint/gnulib/lib/ptsname_r.c if (strncmp(buf, "/dev/pts/", strlen("/dev/pts/")) != 0) buf 216 maint/gnulib/lib/ptsname_r.c buf[sizeof (_PATH_DEV) - 1] = 't'; buf 219 maint/gnulib/lib/ptsname_r.c if (stat (buf, &st) < 0 && errno != EOVERFLOW) buf 34 maint/gnulib/lib/pwrite.c pwrite (int fd, const void *buf, size_t nbyte, off_t offset) buf 49 maint/gnulib/lib/pwrite.c result = __libc_write (fd, buf, nbyte); buf 815 maint/gnulib/lib/quotearg.c char *buf = xcharalloc (bufsize); buf 816 maint/gnulib/lib/quotearg.c quotearg_buffer_restyled (buf, bufsize, arg, argsize, p->style, flags, buf 822 maint/gnulib/lib/quotearg.c return buf; buf 188 maint/gnulib/lib/random_r.c __srandom_r (unsigned int seed, struct random_data *buf) buf 197 maint/gnulib/lib/random_r.c if (buf == NULL) buf 199 maint/gnulib/lib/random_r.c type = buf->rand_type; buf 203 maint/gnulib/lib/random_r.c state = buf->state; buf 213 maint/gnulib/lib/random_r.c kc = buf->rand_deg; buf 227 maint/gnulib/lib/random_r.c buf->fptr = &state[buf->rand_sep]; buf 228 maint/gnulib/lib/random_r.c buf->rptr = &state[0]; buf 233 maint/gnulib/lib/random_r.c (void) __random_r (buf, &discard); buf 258 maint/gnulib/lib/random_r.c struct random_data *buf) buf 260 maint/gnulib/lib/random_r.c if (buf == NULL) buf 263 maint/gnulib/lib/random_r.c int32_t *old_state = buf->state; buf 266 maint/gnulib/lib/random_r.c int old_type = buf->rand_type; buf 270 maint/gnulib/lib/random_r.c : (MAX_TYPES * (buf->rptr - old_state)) + old_type)); buf 289 maint/gnulib/lib/random_r.c buf->rand_type = type; buf 290 maint/gnulib/lib/random_r.c buf->rand_sep = separation; buf 291 maint/gnulib/lib/random_r.c buf->rand_deg = degree; buf 294 maint/gnulib/lib/random_r.c buf->end_ptr = &state[degree]; buf 296 maint/gnulib/lib/random_r.c buf->state = state; buf 298 maint/gnulib/lib/random_r.c __srandom_r (seed, buf); buf 301 maint/gnulib/lib/random_r.c type == TYPE_0 ? TYPE_0 : (buf->rptr - state) * MAX_TYPES + type); buf 321 maint/gnulib/lib/random_r.c __setstate_r (char *arg_state, struct random_data *buf) buf 330 maint/gnulib/lib/random_r.c if (arg_state == NULL || buf == NULL) buf 333 maint/gnulib/lib/random_r.c old_type = buf->rand_type; buf 334 maint/gnulib/lib/random_r.c old_state = buf->state; buf 338 maint/gnulib/lib/random_r.c : (MAX_TYPES * (buf->rptr - old_state)) + old_type)); buf 344 maint/gnulib/lib/random_r.c buf->rand_deg = degree = random_poly_info.degrees[type]; buf 345 maint/gnulib/lib/random_r.c buf->rand_sep = separation = random_poly_info.seps[type]; buf 346 maint/gnulib/lib/random_r.c buf->rand_type = type; buf 351 maint/gnulib/lib/random_r.c buf->rptr = &new_state[rear]; buf 352 maint/gnulib/lib/random_r.c buf->fptr = &new_state[(rear + separation) % degree]; buf 354 maint/gnulib/lib/random_r.c buf->state = new_state; buf 356 maint/gnulib/lib/random_r.c buf->end_ptr = &new_state[degree]; buf 379 maint/gnulib/lib/random_r.c __random_r (struct random_data *buf, int32_t *result) buf 383 maint/gnulib/lib/random_r.c if (buf == NULL || result == NULL) buf 386 maint/gnulib/lib/random_r.c state = buf->state; buf 388 maint/gnulib/lib/random_r.c if (buf->rand_type == TYPE_0) buf 397 maint/gnulib/lib/random_r.c int32_t *fptr = buf->fptr; buf 398 maint/gnulib/lib/random_r.c int32_t *rptr = buf->rptr; buf 399 maint/gnulib/lib/random_r.c int32_t *end_ptr = buf->end_ptr; buf 420 maint/gnulib/lib/random_r.c buf->fptr = fptr; buf 421 maint/gnulib/lib/random_r.c buf->rptr = rptr; buf 54 maint/gnulib/lib/read-file.c char *buf = NULL; buf 82 maint/gnulib/lib/read-file.c if (!(buf = malloc (alloc))) buf 94 maint/gnulib/lib/read-file.c size_t count = fread (buf + size, 1, requested, stream); buf 110 maint/gnulib/lib/read-file.c explicit_bzero (buf + size, alloc - size); buf 113 maint/gnulib/lib/read-file.c memcpy (smaller_buf, buf, size); buf 114 maint/gnulib/lib/read-file.c explicit_bzero (buf, alloc); buf 115 maint/gnulib/lib/read-file.c free (buf); buf 116 maint/gnulib/lib/read-file.c buf = smaller_buf; buf 121 maint/gnulib/lib/read-file.c char *smaller_buf = realloc (buf, size + 1); buf 123 maint/gnulib/lib/read-file.c buf = smaller_buf; buf 127 maint/gnulib/lib/read-file.c buf[size] = '\0'; buf 129 maint/gnulib/lib/read-file.c return buf; buf 156 maint/gnulib/lib/read-file.c memcpy (new_buf, buf, save_alloc); buf 157 maint/gnulib/lib/read-file.c explicit_bzero (buf, save_alloc); buf 158 maint/gnulib/lib/read-file.c free (buf); buf 160 maint/gnulib/lib/read-file.c else if (!(new_buf = realloc (buf, alloc))) buf 166 maint/gnulib/lib/read-file.c buf = new_buf; buf 171 maint/gnulib/lib/read-file.c explicit_bzero (buf, alloc); buf 173 maint/gnulib/lib/read-file.c free (buf); buf 48 maint/gnulib/lib/read.c read_nothrow (int fd, void *buf, size_t count) buf 54 maint/gnulib/lib/read.c result = _read (fd, buf, count); buf 70 maint/gnulib/lib/read.c rpl_read (int fd, void *buf, size_t count) buf 72 maint/gnulib/lib/read.c ssize_t ret = read_nothrow (fd, buf, count); buf 32 maint/gnulib/lib/readlink.c readlink (char const *file, _GL_UNUSED char *buf, buf 54 maint/gnulib/lib/readlink.c rpl_readlink (char const *file, char *buf, size_t bufsize) buf 72 maint/gnulib/lib/readlink.c ssize_t r = readlink (file, buf, bufsize); buf 89 maint/gnulib/lib/readlink.c memset (buf, 0, r); buf 96 maint/gnulib/lib/readlink.c memcpy (buf, stackbuf, r); buf 35 maint/gnulib/lib/readlinkat.c rpl_readlinkat (int fd, char const *file, char *buf, size_t bufsize) buf 53 maint/gnulib/lib/readlinkat.c ssize_t r = readlinkat (fd, file, buf, bufsize); buf 70 maint/gnulib/lib/readlinkat.c memset (buf, 0, r); buf 77 maint/gnulib/lib/readlinkat.c memcpy (buf, stackbuf, r); buf 103 maint/gnulib/lib/readlinkat.c # define AT_FUNC_POST_FILE_PARAM_DECLS , char *buf, size_t bufsize buf 104 maint/gnulib/lib/readlinkat.c # define AT_FUNC_POST_FILE_ARGS , buf, bufsize buf 32 maint/gnulib/lib/recv.c rpl_recv (int fd, void *buf, size_t len, int flags) buf 43 maint/gnulib/lib/recv.c int r = recv (sock, buf, len, flags); buf 32 maint/gnulib/lib/recvfrom.c rpl_recvfrom (int fd, void *buf, size_t len, int flags, struct sockaddr *from, buf 45 maint/gnulib/lib/recvfrom.c int r = recvfrom (sock, buf, len, flags, from, fromlen); buf 297 maint/gnulib/lib/regcomp.c unsigned char buf[MB_LEN_MAX]; buf 302 maint/gnulib/lib/regcomp.c p = buf; buf 309 maint/gnulib/lib/regcomp.c if (__mbrtowc (&wc, (const char *) buf, p - buf, buf 310 maint/gnulib/lib/regcomp.c &state) == p - buf buf 311 maint/gnulib/lib/regcomp.c && (__wcrtomb ((char *) buf, __towlower (wc), &state) buf 313 maint/gnulib/lib/regcomp.c re_set_fastmap (fastmap, false, buf[0]); buf 378 maint/gnulib/lib/regcomp.c char buf[256]; buf 381 maint/gnulib/lib/regcomp.c if (__wcrtomb (buf, cset->mbchars[i], &state) != (size_t) -1) buf 382 maint/gnulib/lib/regcomp.c re_set_fastmap (fastmap, icase, *(unsigned char *) buf); buf 385 maint/gnulib/lib/regcomp.c if (__wcrtomb (buf, __towlower (cset->mbchars[i]), &state) buf 387 maint/gnulib/lib/regcomp.c re_set_fastmap (fastmap, false, *(unsigned char *) buf); buf 205 maint/gnulib/lib/regex_internal.c unsigned char buf[MB_LEN_MAX]; buf 208 maint/gnulib/lib/regex_internal.c unsigned char buf[64]; buf 232 maint/gnulib/lib/regex_internal.c buf[i] = pstr->mbs[byte_idx + i] = pstr->trans[ch]; buf 234 maint/gnulib/lib/regex_internal.c p = (const char *) buf; buf 278 maint/gnulib/lib/regex_internal.c char buf[MB_LEN_MAX]; buf 281 maint/gnulib/lib/regex_internal.c char buf[64]; buf 322 maint/gnulib/lib/regex_internal.c mbcdlen = __wcrtomb (buf, wcu, &prev_st); buf 324 maint/gnulib/lib/regex_internal.c memcpy (pstr->mbs + byte_idx, buf, mbclen); buf 376 maint/gnulib/lib/regex_internal.c buf[i] = pstr->trans[ch]; buf 378 maint/gnulib/lib/regex_internal.c p = (const char *) buf; buf 390 maint/gnulib/lib/regex_internal.c mbcdlen = __wcrtomb ((char *) buf, wcu, &prev_st); buf 392 maint/gnulib/lib/regex_internal.c memcpy (pstr->mbs + byte_idx, buf, mbclen); buf 417 maint/gnulib/lib/regex_internal.c memcpy (pstr->mbs + byte_idx, buf, mbcdlen); buf 721 maint/gnulib/lib/regex_internal.c unsigned char buf[6]; buf 729 maint/gnulib/lib/regex_internal.c buf[i] = pstr->trans[p[i]]; buf 730 maint/gnulib/lib/regex_internal.c pp = buf; buf 1266 maint/gnulib/lib/regexec.c char *buf = (char *) re_string_get_buffer (&mctx->input); buf 1268 maint/gnulib/lib/regexec.c || (memcmp (buf + regs[subexp_idx].rm_so, buf + *pidx, buf 2610 maint/gnulib/lib/regexec.c const char *buf = (const char *) re_string_get_buffer (&mctx->input); buf 2661 maint/gnulib/lib/regexec.c buf = (const char *) re_string_get_buffer (&mctx->input); buf 2663 maint/gnulib/lib/regexec.c if (memcmp (buf + bkref_str_off, buf + sl_str, sl_str_diff) != 0) buf 2674 maint/gnulib/lib/regexec.c buf = (const char *) re_string_get_buffer (&mctx->input); buf 2707 maint/gnulib/lib/regexec.c buf = (const char *) re_string_get_buffer (&mctx->input); buf 2709 maint/gnulib/lib/regexec.c if (buf [bkref_str_off++] != buf[sl_str - 1]) buf 2742 maint/gnulib/lib/regexec.c buf = (const char *) re_string_get_buffer (&mctx->input); buf 56 maint/gnulib/lib/safe-read.c safe_rw (int fd, void const *buf, size_t count) buf 60 maint/gnulib/lib/safe-read.c ssize_t result = rw (fd, buf, count); buf 42 maint/gnulib/lib/safe-read.h extern size_t safe_read (int fd, void *buf, size_t count); buf 37 maint/gnulib/lib/safe-write.h extern size_t safe_write (int fd, const void *buf, size_t count); buf 32 maint/gnulib/lib/send.c rpl_send (int fd, const void *buf, size_t len, int flags) buf 43 maint/gnulib/lib/send.c int r = send (sock, buf, len, flags); buf 32 maint/gnulib/lib/sendto.c rpl_sendto (int fd, const void *buf, size_t len, int flags, buf 44 maint/gnulib/lib/sendto.c int r = sendto (sock, buf, len, flags, to, tolen); buf 78 maint/gnulib/lib/set-permissions.c ace_t buf[alloc_init]; buf 80 maint/gnulib/lib/set-permissions.c ace_t *entries = buf; buf 788 maint/gnulib/lib/setlocale.c char buf[64+64]; buf 790 maint/gnulib/lib/setlocale.c if (!(part1_len + 1 + part2_len <= sizeof (buf))) buf 792 maint/gnulib/lib/setlocale.c memcpy (buf, part1, part1_len); buf 793 maint/gnulib/lib/setlocale.c buf[part1_len] = '_'; buf 794 maint/gnulib/lib/setlocale.c memcpy (buf + part1_len + 1, part2, part2_len); buf 797 maint/gnulib/lib/setlocale.c result = setlocale (category, buf); buf 1523 maint/gnulib/lib/setlocale.c char buf[256]; buf 1528 maint/gnulib/lib/setlocale.c buf, sizeof (buf), buf 1533 maint/gnulib/lib/setlocale.c char *last_minus = strrchr (buf, '-'); buf 1539 maint/gnulib/lib/setlocale.c gl_locale_name_canonicalize (buf); buf 1542 maint/gnulib/lib/setlocale.c if (setlocale_single (cat, buf) == NULL) buf 1545 maint/gnulib/lib/setlocale.c get_main_locale_with_same_language (buf); buf 91 maint/gnulib/lib/setlocale_null.c setlocale_null_unlocked (int category, char *buf, size_t bufsize) buf 106 maint/gnulib/lib/setlocale_null.c buf[0] = '\0'; buf 118 maint/gnulib/lib/setlocale_null.c buf[i] = result[i]; buf 133 maint/gnulib/lib/setlocale_null.c buf[i] = result[i]; buf 134 maint/gnulib/lib/setlocale_null.c buf[bufsize - 1] = '\0'; buf 149 maint/gnulib/lib/setlocale_null.c buf[0] = '\0'; buf 157 maint/gnulib/lib/setlocale_null.c memcpy (buf, result, length + 1); buf 167 maint/gnulib/lib/setlocale_null.c memcpy (buf, result, bufsize - 1); buf 168 maint/gnulib/lib/setlocale_null.c buf[bufsize - 1] = '\0'; buf 189 maint/gnulib/lib/setlocale_null.c setlocale_null_with_lock (int category, char *buf, size_t bufsize) buf 195 maint/gnulib/lib/setlocale_null.c ret = setlocale_null_unlocked (category, buf, bufsize); buf 226 maint/gnulib/lib/setlocale_null.c setlocale_null_with_lock (int category, char *buf, size_t bufsize) buf 235 maint/gnulib/lib/setlocale_null.c ret = setlocale_null_unlocked (category, buf, bufsize); buf 242 maint/gnulib/lib/setlocale_null.c return setlocale_null_unlocked (category, buf, bufsize); buf 250 maint/gnulib/lib/setlocale_null.c setlocale_null_with_lock (int category, char *buf, size_t bufsize) buf 257 maint/gnulib/lib/setlocale_null.c ret = setlocale_null_unlocked (category, buf, bufsize); buf 269 maint/gnulib/lib/setlocale_null.c setlocale_null_r (int category, char *buf, size_t bufsize) buf 274 maint/gnulib/lib/setlocale_null.c return setlocale_null_unlocked (category, buf, bufsize); buf 279 maint/gnulib/lib/setlocale_null.c return setlocale_null_unlocked (category, buf, bufsize); buf 281 maint/gnulib/lib/setlocale_null.c return setlocale_null_with_lock (category, buf, bufsize); buf 288 maint/gnulib/lib/setlocale_null.c return setlocale_null_with_lock (category, buf, bufsize); buf 290 maint/gnulib/lib/setlocale_null.c return setlocale_null_unlocked (category, buf, bufsize); buf 294 maint/gnulib/lib/setlocale_null.c return setlocale_null_with_lock (category, buf, bufsize); buf 322 maint/gnulib/lib/setlocale_null.c char buf[SETLOCALE_NULL_ALL_MAX]; buf 325 maint/gnulib/lib/setlocale_null.c if (setlocale_null_r (LC_ALL, buf, sizeof (buf))) buf 327 maint/gnulib/lib/setlocale_null.c strcpy (resultbuf, buf); buf 365 maint/gnulib/lib/setlocale_null.c char buf[SETLOCALE_NULL_MAX]; buf 369 maint/gnulib/lib/setlocale_null.c err = setlocale_null_r (category, buf, sizeof (buf)); buf 406 maint/gnulib/lib/setlocale_null.c strcpy (resultbuf[i], buf); buf 64 maint/gnulib/lib/setlocale_null.h extern int setlocale_null_r (int category, char *buf, size_t bufsize) buf 162 maint/gnulib/lib/stat-w32.c _gl_fstat_by_handle (HANDLE h, const char *path, struct stat *buf) buf 192 maint/gnulib/lib/stat-w32.c if (sizeof (buf->st_size) <= 4 && info.nFileSizeHigh > 0) buf 230 maint/gnulib/lib/stat-w32.c buf->st_dev = id.VolumeSerialNumber; buf 232 maint/gnulib/lib/stat-w32.c memcpy (&buf->st_ino, &id.FileId, sizeof (ino_t)); buf 249 maint/gnulib/lib/stat-w32.c buf->st_dev = info.dwVolumeSerialNumber; buf 250 maint/gnulib/lib/stat-w32.c buf->st_ino._gl_ino[0] = ((ULONGLONG) info.nFileIndexHigh << 32) | (ULONGLONG) info.nFileIndexLow; buf 251 maint/gnulib/lib/stat-w32.c buf->st_ino._gl_ino[1] = 0; buf 254 maint/gnulib/lib/stat-w32.c buf->st_dev = info.dwVolumeSerialNumber; buf 255 maint/gnulib/lib/stat-w32.c buf->st_ino = ((ULONGLONG) info.nFileIndexHigh << 32) | (ULONGLONG) info.nFileIndexLow; buf 260 maint/gnulib/lib/stat-w32.c buf->st_dev = 0; buf 261 maint/gnulib/lib/stat-w32.c buf->st_ino = 0; buf 312 maint/gnulib/lib/stat-w32.c buf->st_mode = mode; buf 323 maint/gnulib/lib/stat-w32.c buf->st_nlink = (info.nNumberOfLinks > SHRT_MAX ? SHRT_MAX : info.nNumberOfLinks); buf 326 maint/gnulib/lib/stat-w32.c buf->st_uid = 0; buf 327 maint/gnulib/lib/stat-w32.c buf->st_gid = 0; buf 330 maint/gnulib/lib/stat-w32.c buf->st_rdev = 0; buf 348 maint/gnulib/lib/stat-w32.c if (sizeof (buf->st_size) <= 4) buf 350 maint/gnulib/lib/stat-w32.c buf->st_size = info.nFileSizeLow; buf 352 maint/gnulib/lib/stat-w32.c buf->st_size = ((long long) info.nFileSizeHigh << 32) | (long long) info.nFileSizeLow; buf 371 maint/gnulib/lib/stat-w32.c buf->st_atim = _gl_convert_FILETIME_to_timespec (&info.ftLastAccessTime); buf 372 maint/gnulib/lib/stat-w32.c buf->st_mtim = _gl_convert_FILETIME_to_timespec (&info.ftLastWriteTime); buf 373 maint/gnulib/lib/stat-w32.c buf->st_ctim = _gl_convert_FILETIME_to_timespec (&info.ftCreationTime); buf 375 maint/gnulib/lib/stat-w32.c buf->st_atime = _gl_convert_FILETIME_to_POSIX (&info.ftLastAccessTime); buf 376 maint/gnulib/lib/stat-w32.c buf->st_mtime = _gl_convert_FILETIME_to_POSIX (&info.ftLastWriteTime); buf 377 maint/gnulib/lib/stat-w32.c buf->st_ctime = _gl_convert_FILETIME_to_POSIX (&info.ftCreationTime); buf 384 maint/gnulib/lib/stat-w32.c buf->st_dev = 0; buf 386 maint/gnulib/lib/stat-w32.c buf->st_ino._gl_ino[0] = buf->st_ino._gl_ino[1] = 0; buf 388 maint/gnulib/lib/stat-w32.c buf->st_ino = 0; buf 390 maint/gnulib/lib/stat-w32.c buf->st_mode = (type == FILE_TYPE_PIPE ? _S_IFIFO : _S_IFCHR); buf 391 maint/gnulib/lib/stat-w32.c buf->st_nlink = 1; buf 392 maint/gnulib/lib/stat-w32.c buf->st_uid = 0; buf 393 maint/gnulib/lib/stat-w32.c buf->st_gid = 0; buf 394 maint/gnulib/lib/stat-w32.c buf->st_rdev = 0; buf 401 maint/gnulib/lib/stat-w32.c buf->st_size = bytes_available; buf 403 maint/gnulib/lib/stat-w32.c buf->st_size = 0; buf 406 maint/gnulib/lib/stat-w32.c buf->st_size = 0; buf 408 maint/gnulib/lib/stat-w32.c buf->st_atim.tv_sec = 0; buf->st_atim.tv_nsec = 0; buf 409 maint/gnulib/lib/stat-w32.c buf->st_mtim.tv_sec = 0; buf->st_mtim.tv_nsec = 0; buf 410 maint/gnulib/lib/stat-w32.c buf->st_ctim.tv_sec = 0; buf->st_ctim.tv_nsec = 0; buf 412 maint/gnulib/lib/stat-w32.c buf->st_atime = 0; buf 413 maint/gnulib/lib/stat-w32.c buf->st_mtime = 0; buf 414 maint/gnulib/lib/stat-w32.c buf->st_ctime = 0; buf 30 maint/gnulib/lib/stat-w32.h extern int _gl_fstat_by_handle (HANDLE h, const char *path, struct stat *buf); buf 37 maint/gnulib/lib/stat.c orig_stat (const char *filename, struct stat *buf) buf 39 maint/gnulib/lib/stat.c return stat (filename, buf); buf 112 maint/gnulib/lib/stat.c rpl_stat (char const *name, struct stat *buf) buf 219 maint/gnulib/lib/stat.c ret = _gl_fstat_by_handle (h, rname, buf); buf 259 maint/gnulib/lib/stat.c if (sizeof (buf->st_size) <= 4 && info.nFileSizeHigh > 0) buf 269 maint/gnulib/lib/stat.c buf->st_dev = 0; buf 271 maint/gnulib/lib/stat.c buf->st_ino._gl_ino[0] = buf->st_ino._gl_ino[1] = 0; buf 273 maint/gnulib/lib/stat.c buf->st_ino = 0; buf 278 maint/gnulib/lib/stat.c buf->st_dev = 0; buf 279 maint/gnulib/lib/stat.c buf->st_ino = 0; buf 310 maint/gnulib/lib/stat.c buf->st_mode = mode; buf 313 maint/gnulib/lib/stat.c buf->st_nlink = 1; buf 316 maint/gnulib/lib/stat.c buf->st_uid = 0; buf 317 maint/gnulib/lib/stat.c buf->st_gid = 0; buf 320 maint/gnulib/lib/stat.c buf->st_rdev = 0; buf 323 maint/gnulib/lib/stat.c if (sizeof (buf->st_size) <= 4) buf 325 maint/gnulib/lib/stat.c buf->st_size = info.nFileSizeLow; buf 327 maint/gnulib/lib/stat.c buf->st_size = ((long long) info.nFileSizeHigh << 32) | (long long) info.nFileSizeLow; buf 331 maint/gnulib/lib/stat.c buf->st_atim = _gl_convert_FILETIME_to_timespec (&info.ftLastAccessTime); buf 332 maint/gnulib/lib/stat.c buf->st_mtim = _gl_convert_FILETIME_to_timespec (&info.ftLastWriteTime); buf 333 maint/gnulib/lib/stat.c buf->st_ctim = _gl_convert_FILETIME_to_timespec (&info.ftCreationTime); buf 335 maint/gnulib/lib/stat.c buf->st_atime = _gl_convert_FILETIME_to_POSIX (&info.ftLastAccessTime); buf 336 maint/gnulib/lib/stat.c buf->st_mtime = _gl_convert_FILETIME_to_POSIX (&info.ftLastWriteTime); buf 337 maint/gnulib/lib/stat.c buf->st_ctime = _gl_convert_FILETIME_to_POSIX (&info.ftCreationTime); buf 346 maint/gnulib/lib/stat.c if (ret >= 0 && check_dir && !S_ISDIR (buf->st_mode)) buf 420 maint/gnulib/lib/stat.c int result = orig_stat (name, buf); buf 426 maint/gnulib/lib/stat.c if (!S_ISDIR (buf->st_mode)) buf 436 maint/gnulib/lib/stat.c result = stat_time_normalize (result, buf); buf 398 maint/gnulib/lib/stdlib.in.h _GL_CXXALIAS_MDA (gcvt, char *, (double number, int ndigits, char *buf)); buf 401 maint/gnulib/lib/stdlib.in.h _GL_CXXALIAS_SYS (gcvt, char *, (double number, int ndigits, char *buf)); buf 771 maint/gnulib/lib/stdlib.in.h _GL_FUNCDECL_RPL (ptsname_r, int, (int fd, char *buf, size_t len)); buf 772 maint/gnulib/lib/stdlib.in.h _GL_CXXALIAS_RPL (ptsname_r, int, (int fd, char *buf, size_t len)); buf 775 maint/gnulib/lib/stdlib.in.h _GL_FUNCDECL_SYS (ptsname_r, int, (int fd, char *buf, size_t len)); buf 777 maint/gnulib/lib/stdlib.in.h _GL_CXXALIAS_SYS (ptsname_r, int, (int fd, char *buf, size_t len)); buf 932 maint/gnulib/lib/stdlib.in.h (unsigned int seed, char *buf, size_t buf_size) buf 935 maint/gnulib/lib/stdlib.in.h (unsigned int seed, char *buf, size_t buf_size)); buf 939 maint/gnulib/lib/stdlib.in.h (unsigned int seed, char *buf, size_t buf_size) buf 945 maint/gnulib/lib/stdlib.in.h (unsigned int seed, char *buf, size_t buf_size)); buf 988 maint/gnulib/lib/stdlib.in.h _GL_FUNCDECL_RPL (random_r, int, (struct random_data *buf, int32_t *result) buf 990 maint/gnulib/lib/stdlib.in.h _GL_CXXALIAS_RPL (random_r, int, (struct random_data *buf, int32_t *result)); buf 993 maint/gnulib/lib/stdlib.in.h _GL_FUNCDECL_SYS (random_r, int, (struct random_data *buf, int32_t *result) buf 996 maint/gnulib/lib/stdlib.in.h _GL_CXXALIAS_SYS (random_r, int, (struct random_data *buf, int32_t *result)); buf 1043 maint/gnulib/lib/stdlib.in.h (unsigned int seed, char *buf, size_t buf_size, buf 1047 maint/gnulib/lib/stdlib.in.h (unsigned int seed, char *buf, size_t buf_size, buf 1052 maint/gnulib/lib/stdlib.in.h (unsigned int seed, char *buf, size_t buf_size, buf 1059 maint/gnulib/lib/stdlib.in.h (unsigned int seed, char *buf, size_t buf_size, buf 39 maint/gnulib/lib/strerror.c static char buf[STACKBUF_LEN]; buf 58 maint/gnulib/lib/strerror.c verify (sizeof buf >= sizeof (fmt) + INT_STRLEN_BOUND (n)); buf 59 maint/gnulib/lib/strerror.c sprintf (buf, fmt, n); buf 61 maint/gnulib/lib/strerror.c return buf; buf 66 maint/gnulib/lib/strerror.c if (sizeof buf <= len) buf 69 maint/gnulib/lib/strerror.c memcpy (buf, msg, len + 1); buf 70 maint/gnulib/lib/strerror.c return buf; buf 40 maint/gnulib/lib/strerror_r.c _GL_EXTERN_C int __xpg_strerror_r (int errnum, char *buf, size_t buflen); buf 104 maint/gnulib/lib/strerror_r.c local_snprintf (char *buf, size_t buflen, const char *format, ...) buf 110 maint/gnulib/lib/strerror_r.c result = _vsnprintf (buf, buflen, format, args); buf 113 maint/gnulib/lib/strerror_r.c buf[buflen - 1] = '\0'; buf 123 maint/gnulib/lib/strerror_r.c safe_copy (char *buf, size_t buflen, const char *msg) buf 130 maint/gnulib/lib/strerror_r.c memmove (buf, msg, moved); buf 131 maint/gnulib/lib/strerror_r.c buf[moved] = '\0'; buf 137 maint/gnulib/lib/strerror_r.c strerror_r (int errnum, char *buf, size_t buflen) buf 145 maint/gnulib/lib/strerror_r.c *buf = '\0'; buf 148 maint/gnulib/lib/strerror_r.c *buf = '\0'; buf 155 maint/gnulib/lib/strerror_r.c return safe_copy (buf, buflen, msg); buf 168 maint/gnulib/lib/strerror_r.c ret = __xpg_strerror_r (errnum, buf, buflen); buf 173 maint/gnulib/lib/strerror_r.c if (!*buf) buf 178 maint/gnulib/lib/strerror_r.c char *errstring = strerror_r (errnum, buf, buflen); buf 179 maint/gnulib/lib/strerror_r.c ret = errstring ? safe_copy (buf, buflen, errstring) : errno; buf 198 maint/gnulib/lib/strerror_r.c ret = safe_copy (buf, buflen, stackbuf); buf 201 maint/gnulib/lib/strerror_r.c ret = strerror_r (errnum, buf, buflen); buf 204 maint/gnulib/lib/strerror_r.c ret = strerror_r (errnum, buf, buflen); buf 217 maint/gnulib/lib/strerror_r.c if (!ret && strlen (buf) == buflen - 1) buf 236 maint/gnulib/lib/strerror_r.c if (ret == ERANGE && strlen (buf) < buflen - 1) buf 243 maint/gnulib/lib/strerror_r.c safe_copy (buf, buflen, stackbuf); buf 282 maint/gnulib/lib/strerror_r.c ret = safe_copy (buf, buflen, errmsg); buf 302 maint/gnulib/lib/strerror_r.c ret = safe_copy (buf, buflen, errmsg); buf 320 maint/gnulib/lib/strerror_r.c ret = safe_copy (buf, buflen, errmsg); buf 434 maint/gnulib/lib/strerror_r.c ret = safe_copy (buf, buflen, errmsg); buf 438 maint/gnulib/lib/strerror_r.c if (ret == EINVAL && !*buf) buf 442 maint/gnulib/lib/strerror_r.c snprintf (buf, buflen, "Unknown Application Error (%d)", errnum); buf 444 maint/gnulib/lib/strerror_r.c snprintf (buf, buflen, "Unknown error %d", errnum); buf 28 maint/gnulib/lib/strftime-fixes.c rpl_strftime (char *buf, size_t bufsize, const char *format, const struct tm *tp) buf 58 maint/gnulib/lib/strftime-fixes.c return strftime (buf, bufsize, format, tp); buf 63 maint/gnulib/lib/striconv.c union { unsigned int align; char buf[tmpbufsize]; } tmp; buf 64 maint/gnulib/lib/striconv.c # define tmpbuf tmp.buf buf 365 maint/gnulib/lib/striconveh.c union { unsigned int align; char buf[tmpbufsize]; } tmp; buf 366 maint/gnulib/lib/striconveh.c # define tmpbuf tmp.buf buf 1124 maint/gnulib/lib/string.in.h _GL_FUNCDECL_RPL (strerror_r, int, (int errnum, char *buf, size_t buflen) buf 1126 maint/gnulib/lib/string.in.h _GL_CXXALIAS_RPL (strerror_r, int, (int errnum, char *buf, size_t buflen)); buf 1129 maint/gnulib/lib/string.in.h _GL_FUNCDECL_SYS (strerror_r, int, (int errnum, char *buf, size_t buflen) buf 1132 maint/gnulib/lib/string.in.h _GL_CXXALIAS_SYS (strerror_r, int, (int errnum, char *buf, size_t buflen)); buf 1145 maint/gnulib/lib/strptime.c strptime (buf, format, tm LOCALE_PARAM) buf 1146 maint/gnulib/lib/strptime.c const char *restrict buf; buf 1158 maint/gnulib/lib/strptime.c return __strptime_internal (buf, format, tm, &decided, -1 LOCALE_ARG); buf 526 maint/gnulib/lib/sys_socket.in.h _GL_FUNCDECL_RPL (recv, ssize_t, (int fd, void *buf, size_t len, int flags) buf 528 maint/gnulib/lib/sys_socket.in.h _GL_CXXALIAS_RPL (recv, ssize_t, (int fd, void *buf, size_t len, int flags)); buf 533 maint/gnulib/lib/sys_socket.in.h _GL_CXXALIAS_SYS_CAST (recv, ssize_t, (int fd, void *buf, size_t len, int flags)); buf 554 maint/gnulib/lib/sys_socket.in.h (int fd, const void *buf, size_t len, int flags) buf 557 maint/gnulib/lib/sys_socket.in.h (int fd, const void *buf, size_t len, int flags)); buf 563 maint/gnulib/lib/sys_socket.in.h (int fd, const void *buf, size_t len, int flags)); buf 584 maint/gnulib/lib/sys_socket.in.h (int fd, void *restrict buf, size_t len, int flags, buf 589 maint/gnulib/lib/sys_socket.in.h (int fd, void *restrict buf, size_t len, int flags, buf 596 maint/gnulib/lib/sys_socket.in.h (int fd, void *restrict buf, size_t len, int flags, buf 619 maint/gnulib/lib/sys_socket.in.h (int fd, const void *buf, size_t len, int flags, buf 623 maint/gnulib/lib/sys_socket.in.h (int fd, const void *buf, size_t len, int flags, buf 629 maint/gnulib/lib/sys_socket.in.h (int fd, const void *buf, size_t len, int flags, buf 448 maint/gnulib/lib/sys_stat.in.h _GL_FUNCDECL_RPL (fstat, int, (int fd, struct stat *buf) _GL_ARG_NONNULL ((2))); buf 449 maint/gnulib/lib/sys_stat.in.h _GL_CXXALIAS_RPL (fstat, int, (int fd, struct stat *buf)); buf 451 maint/gnulib/lib/sys_stat.in.h _GL_CXXALIAS_SYS (fstat, int, (int fd, struct stat *buf)); buf 581 maint/gnulib/lib/sys_stat.in.h (const char *restrict name, struct stat *restrict buf)); buf 588 maint/gnulib/lib/sys_stat.in.h (const char *restrict name, struct stat *restrict buf) buf 591 maint/gnulib/lib/sys_stat.in.h (const char *restrict name, struct stat *restrict buf)); buf 594 maint/gnulib/lib/sys_stat.in.h (const char *restrict name, struct stat *restrict buf)); buf 856 maint/gnulib/lib/sys_stat.in.h _GL_EXTERN_C int stat (const char *restrict name, struct stat *restrict buf) buf 92 maint/gnulib/lib/sys_utsname.in.h extern int uname (struct utsname *buf) _GL_ARG_NONNULL ((1)); buf 65 maint/gnulib/lib/tempname.c # define __lstat64(file, buf) lstat (file, buf) buf 66 maint/gnulib/lib/tempname.c # define __stat64(file, buf) stat (file, buf) buf 101 maint/gnulib/lib/tempname.c struct_stat64 buf; buf 102 maint/gnulib/lib/tempname.c return __stat64 (dir, &buf) == 0 && S_ISDIR (buf.st_mode); buf 123 maint/gnulib/lib/term-style-control.c char buf[20]; buf 135 maint/gnulib/lib/term-style-control.c p = buf + sizeof (buf); buf 142 maint/gnulib/lib/term-style-control.c n = buf + sizeof (buf) - p; buf 63 maint/gnulib/lib/tmpdir.c # define __xstat64(version, path, buf) stat (path, buf) buf 82 maint/gnulib/lib/tmpdir.c struct_stat64 buf; buf 83 maint/gnulib/lib/tmpdir.c return __xstat64 (_STAT_VER, dir, &buf) == 0 && S_ISDIR (buf.st_mode); buf 159 maint/gnulib/lib/tmpfile.c char buf[PATH_MAX]; buf 166 maint/gnulib/lib/tmpfile.c if (path_search (buf, sizeof buf, NULL, "tmpf", true)) buf 169 maint/gnulib/lib/tmpfile.c fd = gen_tempname (buf, 0, 0, GT_FILE); buf 175 maint/gnulib/lib/tmpfile.c (void) unlink (buf); buf 32 maint/gnulib/lib/ttyname_r.c ttyname_r (int fd, char *buf, size_t buflen) buf 50 maint/gnulib/lib/ttyname_r.c : readlink (procfile, buf, buflen <= INT_MAX ? buflen : INT_MAX)); buf 56 maint/gnulib/lib/ttyname_r.c memcpy (buf, largerbuf, (size_t) ret); buf 57 maint/gnulib/lib/ttyname_r.c buf[(size_t) ret] = '\0'; buf 71 maint/gnulib/lib/ttyname_r.c : ttyname_r (fd, buf, buflen <= INT_MAX ? buflen : INT_MAX)); buf 79 maint/gnulib/lib/ttyname_r.c memcpy (buf, largerbuf, namelen); buf 85 maint/gnulib/lib/ttyname_r.c : ttyname_r (fd, buf, buflen <= INT_MAX ? buflen : INT_MAX)); buf 88 maint/gnulib/lib/ttyname_r.c if (name != buf) buf 93 maint/gnulib/lib/ttyname_r.c memmove (buf, name, namelen); buf 108 maint/gnulib/lib/ttyname_r.c memcpy (buf, name, namelen); buf 56 maint/gnulib/lib/uname.c uname (struct utsname *buf) buf 80 maint/gnulib/lib/uname.c if (gethostname (buf->nodename, sizeof (buf->nodename)) < 0) buf 81 maint/gnulib/lib/uname.c strcpy (buf->nodename, "localhost"); buf 123 maint/gnulib/lib/uname.c sprintf (buf->sysname, "MINGW32_%s-%u.%u", super_version, buf 127 maint/gnulib/lib/uname.c sprintf (buf->sysname, "Windows%s", super_version); buf 179 maint/gnulib/lib/uname.c sprintf (buf->release, "%s %u.%u", buf 184 maint/gnulib/lib/uname.c strcpy (buf->release, base); buf 189 maint/gnulib/lib/uname.c sprintf (buf->release, "Windows CE %u.%u", buf 196 maint/gnulib/lib/uname.c sprintf (buf->release, "Windows %s", super_version); buf 198 maint/gnulib/lib/uname.c strcpy (buf->version, version.szCSDVersion); buf 214 maint/gnulib/lib/uname.c strcpy (buf->machine, "x86_64"); buf 217 maint/gnulib/lib/uname.c strcpy (buf->machine, "ia64"); buf 220 maint/gnulib/lib/uname.c strcpy (buf->machine, "i386"); buf 222 maint/gnulib/lib/uname.c buf->machine[1] = buf 226 maint/gnulib/lib/uname.c strcpy (buf->machine, "i686"); buf 229 maint/gnulib/lib/uname.c strcpy (buf->machine, "mips"); buf 233 maint/gnulib/lib/uname.c strcpy (buf->machine, "alpha"); buf 236 maint/gnulib/lib/uname.c strcpy (buf->machine, "powerpc"); buf 239 maint/gnulib/lib/uname.c strcpy (buf->machine, "sh"); buf 242 maint/gnulib/lib/uname.c strcpy (buf->machine, "arm"); buf 245 maint/gnulib/lib/uname.c strcpy (buf->machine, "unknown"); buf 255 maint/gnulib/lib/uname.c strcpy (buf->machine, "x86_64"); buf 258 maint/gnulib/lib/uname.c strcpy (buf->machine, "ia64"); buf 262 maint/gnulib/lib/uname.c sprintf (buf->machine, "i%u", buf 265 maint/gnulib/lib/uname.c strcpy (buf->machine, "unknown"); buf 50 maint/gnulib/lib/unicase/u8-casefold.c char *buf = NULL; buf 62 maint/gnulib/lib/unicase/u8-casefold.c buf = realloc (buf, alloc); buf 63 maint/gnulib/lib/unicase/u8-casefold.c if (buf == NULL) buf 69 maint/gnulib/lib/unicase/u8-casefold.c count = fread (buf + size, 1, BUFSIZE, stream); buf 81 maint/gnulib/lib/unicase/u8-casefold.c buf = realloc (buf, size + 1); buf 82 maint/gnulib/lib/unicase/u8-casefold.c if (buf == NULL) buf 87 maint/gnulib/lib/unicase/u8-casefold.c buf[size] = '\0'; buf 88 maint/gnulib/lib/unicase/u8-casefold.c return buf; buf 63 maint/gnulib/lib/unicase/u8-tolower.c char *buf = NULL; buf 75 maint/gnulib/lib/unicase/u8-tolower.c buf = realloc (buf, alloc); buf 76 maint/gnulib/lib/unicase/u8-tolower.c if (buf == NULL) buf 82 maint/gnulib/lib/unicase/u8-tolower.c count = fread (buf + size, 1, BUFSIZE, stream); buf 94 maint/gnulib/lib/unicase/u8-tolower.c buf = realloc (buf, size + 1); buf 95 maint/gnulib/lib/unicase/u8-tolower.c if (buf == NULL) buf 100 maint/gnulib/lib/unicase/u8-tolower.c buf[size] = '\0'; buf 101 maint/gnulib/lib/unicase/u8-tolower.c return buf; buf 50 maint/gnulib/lib/unicase/u8-totitle.c char *buf = NULL; buf 62 maint/gnulib/lib/unicase/u8-totitle.c buf = realloc (buf, alloc); buf 63 maint/gnulib/lib/unicase/u8-totitle.c if (buf == NULL) buf 69 maint/gnulib/lib/unicase/u8-totitle.c count = fread (buf + size, 1, BUFSIZE, stream); buf 81 maint/gnulib/lib/unicase/u8-totitle.c buf = realloc (buf, size + 1); buf 82 maint/gnulib/lib/unicase/u8-totitle.c if (buf == NULL) buf 87 maint/gnulib/lib/unicase/u8-totitle.c buf[size] = '\0'; buf 88 maint/gnulib/lib/unicase/u8-totitle.c return buf; buf 63 maint/gnulib/lib/unicase/u8-toupper.c char *buf = NULL; buf 75 maint/gnulib/lib/unicase/u8-toupper.c buf = realloc (buf, alloc); buf 76 maint/gnulib/lib/unicase/u8-toupper.c if (buf == NULL) buf 82 maint/gnulib/lib/unicase/u8-toupper.c count = fread (buf + size, 1, BUFSIZE, stream); buf 94 maint/gnulib/lib/unicase/u8-toupper.c buf = realloc (buf, size + 1); buf 95 maint/gnulib/lib/unicase/u8-toupper.c if (buf == NULL) buf 100 maint/gnulib/lib/unicase/u8-toupper.c buf[size] = '\0'; buf 101 maint/gnulib/lib/unicase/u8-toupper.c return buf; buf 65 maint/gnulib/lib/unicodeio.c long (*success) (const char *buf, size_t buflen, buf 180 maint/gnulib/lib/unicodeio.c fwrite_success_callback (const char *buf, size_t buflen, void *callback_arg) buf 188 maint/gnulib/lib/unicodeio.c fwrite (buf, 1, buflen, stream); buf 31 maint/gnulib/lib/unicodeio.h long (*success) (const char *buf, size_t buflen, buf 45 maint/gnulib/lib/unicodeio.h extern long fwrite_success_callback (const char *buf, size_t buflen, buf 43 maint/gnulib/lib/unictype/bidi_byname.c char buf[MAX_WORD_LENGTH + 1]; buf 49 maint/gnulib/lib/unictype/bidi_byname.c char *q = buf; buf 65 maint/gnulib/lib/unictype/bidi_byname.c found = uc_bidi_class_lookup (buf, len); buf 89 maint/gnulib/lib/unictype/categ_byname.c char buf[MAX_WORD_LENGTH + 1]; buf 95 maint/gnulib/lib/unictype/categ_byname.c char *q = buf; buf 111 maint/gnulib/lib/unictype/categ_byname.c found = uc_general_category_lookup (buf, len); buf 43 maint/gnulib/lib/unictype/combiningclass_byname.c char buf[MAX_WORD_LENGTH + 1]; buf 49 maint/gnulib/lib/unictype/combiningclass_byname.c char *q = buf; buf 65 maint/gnulib/lib/unictype/combiningclass_byname.c found = uc_combining_class_lookup (buf, len); buf 43 maint/gnulib/lib/unictype/joininggroup_byname.c char buf[MAX_WORD_LENGTH + 1]; buf 49 maint/gnulib/lib/unictype/joininggroup_byname.c char *q = buf; buf 65 maint/gnulib/lib/unictype/joininggroup_byname.c found = uc_joining_group_lookup (buf, len); buf 43 maint/gnulib/lib/unictype/joiningtype_byname.c char buf[MAX_WORD_LENGTH + 1]; buf 49 maint/gnulib/lib/unictype/joiningtype_byname.c char *q = buf; buf 65 maint/gnulib/lib/unictype/joiningtype_byname.c found = uc_joining_type_lookup (buf, len); buf 143 maint/gnulib/lib/unictype/pr_byname.c char buf[MAX_WORD_LENGTH + 1]; buf 149 maint/gnulib/lib/unictype/pr_byname.c for (cp = property_name, bp = buf, count = MAX_WORD_LENGTH + 1; ; cp++, bp++) buf 164 maint/gnulib/lib/unictype/pr_byname.c found = uc_property_lookup (buf, bp - buf); buf 190 maint/gnulib/lib/unilbrk/u8-possible-linebreaks.c char *buf = NULL; buf 202 maint/gnulib/lib/unilbrk/u8-possible-linebreaks.c buf = realloc (buf, alloc); buf 203 maint/gnulib/lib/unilbrk/u8-possible-linebreaks.c if (buf == NULL) buf 209 maint/gnulib/lib/unilbrk/u8-possible-linebreaks.c count = fread (buf + size, 1, BUFSIZE, stream); buf 221 maint/gnulib/lib/unilbrk/u8-possible-linebreaks.c buf = realloc (buf, size + 1); buf 222 maint/gnulib/lib/unilbrk/u8-possible-linebreaks.c if (buf == NULL) buf 227 maint/gnulib/lib/unilbrk/u8-possible-linebreaks.c buf[size] = '\0'; buf 228 maint/gnulib/lib/unilbrk/u8-possible-linebreaks.c return buf; buf 131 maint/gnulib/lib/unilbrk/u8-width-linebreaks.c char *buf = NULL; buf 143 maint/gnulib/lib/unilbrk/u8-width-linebreaks.c buf = realloc (buf, alloc); buf 144 maint/gnulib/lib/unilbrk/u8-width-linebreaks.c if (buf == NULL) buf 150 maint/gnulib/lib/unilbrk/u8-width-linebreaks.c count = fread (buf + size, 1, BUFSIZE, stream); buf 162 maint/gnulib/lib/unilbrk/u8-width-linebreaks.c buf = realloc (buf, size + 1); buf 163 maint/gnulib/lib/unilbrk/u8-width-linebreaks.c if (buf == NULL) buf 168 maint/gnulib/lib/unilbrk/u8-width-linebreaks.c buf[size] = '\0'; buf 169 maint/gnulib/lib/unilbrk/u8-width-linebreaks.c return buf; buf 139 maint/gnulib/lib/unilbrk/ulc-possible-linebreaks.c char *buf = NULL; buf 151 maint/gnulib/lib/unilbrk/ulc-possible-linebreaks.c buf = realloc (buf, alloc); buf 152 maint/gnulib/lib/unilbrk/ulc-possible-linebreaks.c if (buf == NULL) buf 158 maint/gnulib/lib/unilbrk/ulc-possible-linebreaks.c count = fread (buf + size, 1, BUFSIZE, stream); buf 170 maint/gnulib/lib/unilbrk/ulc-possible-linebreaks.c buf = realloc (buf, size + 1); buf 171 maint/gnulib/lib/unilbrk/ulc-possible-linebreaks.c if (buf == NULL) buf 176 maint/gnulib/lib/unilbrk/ulc-possible-linebreaks.c buf[size] = '\0'; buf 177 maint/gnulib/lib/unilbrk/ulc-possible-linebreaks.c return buf; buf 157 maint/gnulib/lib/unilbrk/ulc-width-linebreaks.c char *buf = NULL; buf 169 maint/gnulib/lib/unilbrk/ulc-width-linebreaks.c buf = realloc (buf, alloc); buf 170 maint/gnulib/lib/unilbrk/ulc-width-linebreaks.c if (buf == NULL) buf 176 maint/gnulib/lib/unilbrk/ulc-width-linebreaks.c count = fread (buf + size, 1, BUFSIZE, stream); buf 188 maint/gnulib/lib/unilbrk/ulc-width-linebreaks.c buf = realloc (buf, size + 1); buf 189 maint/gnulib/lib/unilbrk/ulc-width-linebreaks.c if (buf == NULL) buf 194 maint/gnulib/lib/unilbrk/ulc-width-linebreaks.c buf[size] = '\0'; buf 195 maint/gnulib/lib/unilbrk/ulc-width-linebreaks.c return buf; buf 41 maint/gnulib/lib/uniname.in.h unicode_character_name (ucs4_t uc, char *buf); buf 237 maint/gnulib/lib/uniname/uniname.c unicode_character_name (ucs4_t c, char *buf) buf 250 maint/gnulib/lib/uniname/uniname.c memcpy (buf, "HANGUL SYLLABLE ", 16); buf 251 maint/gnulib/lib/uniname/uniname.c ptr = buf + 16; buf 268 maint/gnulib/lib/uniname/uniname.c return buf; buf 279 maint/gnulib/lib/uniname/uniname.c memcpy (buf, "CJK COMPATIBILITY IDEOGRAPH-", 28); buf 280 maint/gnulib/lib/uniname/uniname.c ptr = buf + 28; buf 288 maint/gnulib/lib/uniname/uniname.c return buf; buf 296 maint/gnulib/lib/uniname/uniname.c sprintf (buf, "VARIATION SELECTOR-%d", buf 298 maint/gnulib/lib/uniname/uniname.c return buf; buf 344 maint/gnulib/lib/uniname/uniname.c char *ptr = buf; buf 358 maint/gnulib/lib/uniname/uniname.c return buf; buf 373 maint/gnulib/lib/uniname/uniname.c char buf[UNICODE_CHARNAME_MAX_LENGTH]; buf 374 maint/gnulib/lib/uniname/uniname.c char *ptr = buf; buf 390 maint/gnulib/lib/uniname/uniname.c const char *p1 = buf; buf 391 maint/gnulib/lib/uniname/uniname.c if (ptr >= buf + 3 && *p1++ == 'V') buf 423 maint/gnulib/lib/uniname/uniname.c const char *p1 = buf; buf 1067 maint/gnulib/lib/unistd.in.h _GL_FUNCDECL_RPL (getcwd, char *, (char *buf, size_t size)); buf 1068 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_RPL (getcwd, char *, (char *buf, size_t size)); buf 1074 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_MDA (getcwd, char *, (char *buf, size_t size)); buf 1078 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_SYS_CAST (getcwd, char *, (char *buf, size_t size)); buf 1098 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_MDA_CAST (getcwd, char *, (char *buf, size_t size)); buf 1100 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_SYS_CAST (getcwd, char *, (char *buf, size_t size)); buf 1760 maint/gnulib/lib/unistd.in.h (int fd, void *buf, size_t bufsize, off_t offset) buf 1763 maint/gnulib/lib/unistd.in.h (int fd, void *buf, size_t bufsize, off_t offset)); buf 1767 maint/gnulib/lib/unistd.in.h (int fd, void *buf, size_t bufsize, off_t offset) buf 1771 maint/gnulib/lib/unistd.in.h (int fd, void *buf, size_t bufsize, off_t offset)); buf 1795 maint/gnulib/lib/unistd.in.h (int fd, const void *buf, size_t bufsize, off_t offset) buf 1798 maint/gnulib/lib/unistd.in.h (int fd, const void *buf, size_t bufsize, off_t offset)); buf 1802 maint/gnulib/lib/unistd.in.h (int fd, const void *buf, size_t bufsize, off_t offset) buf 1806 maint/gnulib/lib/unistd.in.h (int fd, const void *buf, size_t bufsize, off_t offset)); buf 1827 maint/gnulib/lib/unistd.in.h _GL_FUNCDECL_RPL (read, ssize_t, (int fd, void *buf, size_t count) buf 1829 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_RPL (read, ssize_t, (int fd, void *buf, size_t count)); buf 1835 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_MDA (read, ssize_t, (int fd, void *buf, size_t count)); buf 1837 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_SYS (read, ssize_t, (int fd, void *buf, size_t count)); buf 1850 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_MDA (read, int, (int fd, void *buf, unsigned int count)); buf 1852 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_MDA (read, ssize_t, (int fd, void *buf, unsigned int count)); buf 1855 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_SYS (read, ssize_t, (int fd, void *buf, size_t count)); buf 1873 maint/gnulib/lib/unistd.in.h char *restrict buf, size_t bufsize) buf 1877 maint/gnulib/lib/unistd.in.h char *restrict buf, size_t bufsize)); buf 1882 maint/gnulib/lib/unistd.in.h char *restrict buf, size_t bufsize) buf 1887 maint/gnulib/lib/unistd.in.h char *restrict buf, size_t bufsize)); buf 1906 maint/gnulib/lib/unistd.in.h char *restrict buf, size_t len) buf 1910 maint/gnulib/lib/unistd.in.h char *restrict buf, size_t len)); buf 1915 maint/gnulib/lib/unistd.in.h char *restrict buf, size_t len) buf 1920 maint/gnulib/lib/unistd.in.h char *restrict buf, size_t len)); buf 2148 maint/gnulib/lib/unistd.in.h (int fd, char *buf, size_t buflen) _GL_ARG_NONNULL ((2))); buf 2150 maint/gnulib/lib/unistd.in.h (int fd, char *buf, size_t buflen)); buf 2154 maint/gnulib/lib/unistd.in.h (int fd, char *buf, size_t buflen) _GL_ARG_NONNULL ((2))); buf 2157 maint/gnulib/lib/unistd.in.h (int fd, char *buf, size_t buflen)); buf 2275 maint/gnulib/lib/unistd.in.h _GL_FUNCDECL_RPL (write, ssize_t, (int fd, const void *buf, size_t count) buf 2277 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_RPL (write, ssize_t, (int fd, const void *buf, size_t count)); buf 2283 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_MDA (write, ssize_t, (int fd, const void *buf, size_t count)); buf 2285 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_SYS (write, ssize_t, (int fd, const void *buf, size_t count)); buf 2298 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_MDA (write, int, (int fd, const void *buf, unsigned int count)); buf 2300 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_MDA (write, ssize_t, (int fd, const void *buf, unsigned int count)); buf 2303 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_SYS (write, ssize_t, (int fd, const void *buf, size_t count)); buf 72 maint/gnulib/lib/unistdio.in.h ulc_sprintf (char *_UC_RESTRICT buf, buf 75 maint/gnulib/lib/unistdio.in.h ulc_snprintf (char *_UC_RESTRICT buf, size_t size, buf 84 maint/gnulib/lib/unistdio.in.h ulc_vsprintf (char *_UC_RESTRICT buf, buf 87 maint/gnulib/lib/unistdio.in.h ulc_vsnprintf (char *_UC_RESTRICT buf, size_t size, buf 98 maint/gnulib/lib/unistdio.in.h u8_sprintf (uint8_t *buf, buf 101 maint/gnulib/lib/unistdio.in.h u8_snprintf (uint8_t *buf, size_t size, buf 110 maint/gnulib/lib/unistdio.in.h u8_vsprintf (uint8_t *buf, buf 113 maint/gnulib/lib/unistdio.in.h u8_vsnprintf (uint8_t *buf, size_t size, buf 124 maint/gnulib/lib/unistdio.in.h u8_u8_sprintf (uint8_t *_UC_RESTRICT buf, buf 127 maint/gnulib/lib/unistdio.in.h u8_u8_snprintf (uint8_t *_UC_RESTRICT buf, size_t size, buf 136 maint/gnulib/lib/unistdio.in.h u8_u8_vsprintf (uint8_t *_UC_RESTRICT buf, buf 139 maint/gnulib/lib/unistdio.in.h u8_u8_vsnprintf (uint8_t *_UC_RESTRICT buf, size_t size, buf 150 maint/gnulib/lib/unistdio.in.h u16_sprintf (uint16_t *buf, buf 153 maint/gnulib/lib/unistdio.in.h u16_snprintf (uint16_t *buf, size_t size, buf 162 maint/gnulib/lib/unistdio.in.h u16_vsprintf (uint16_t *buf, buf 165 maint/gnulib/lib/unistdio.in.h u16_vsnprintf (uint16_t *buf, size_t size, buf 176 maint/gnulib/lib/unistdio.in.h u16_u16_sprintf (uint16_t *_UC_RESTRICT buf, buf 179 maint/gnulib/lib/unistdio.in.h u16_u16_snprintf (uint16_t *_UC_RESTRICT buf, size_t size, buf 188 maint/gnulib/lib/unistdio.in.h u16_u16_vsprintf (uint16_t *_UC_RESTRICT buf, buf 191 maint/gnulib/lib/unistdio.in.h u16_u16_vsnprintf (uint16_t *_UC_RESTRICT buf, size_t size, buf 202 maint/gnulib/lib/unistdio.in.h u32_sprintf (uint32_t *buf, buf 205 maint/gnulib/lib/unistdio.in.h u32_snprintf (uint32_t *buf, size_t size, buf 214 maint/gnulib/lib/unistdio.in.h u32_vsprintf (uint32_t *buf, buf 217 maint/gnulib/lib/unistdio.in.h u32_vsnprintf (uint32_t *buf, size_t size, buf 228 maint/gnulib/lib/unistdio.in.h u32_u32_sprintf (uint32_t *_UC_RESTRICT buf, buf 231 maint/gnulib/lib/unistdio.in.h u32_u32_snprintf (uint32_t *_UC_RESTRICT buf, size_t size, buf 240 maint/gnulib/lib/unistdio.in.h u32_u32_vsprintf (uint32_t *_UC_RESTRICT buf, buf 243 maint/gnulib/lib/unistdio.in.h u32_u32_vsnprintf (uint32_t *_UC_RESTRICT buf, size_t size, buf 27 maint/gnulib/lib/unistdio/u-snprintf.h SNPRINTF (DCHAR_T *buf, size_t size, const FCHAR_T *format, ...) buf 33 maint/gnulib/lib/unistdio/u-snprintf.h result = VSNPRINTF (buf, size, format, args); buf 27 maint/gnulib/lib/unistdio/u-sprintf.h SPRINTF (DCHAR_T *buf, const FCHAR_T *format, ...) buf 33 maint/gnulib/lib/unistdio/u-sprintf.h result = VSPRINTF (buf, format, args); buf 26 maint/gnulib/lib/unistdio/u-vsnprintf.h VSNPRINTF (DCHAR_T *buf, size_t size, const FCHAR_T *format, va_list args) buf 32 maint/gnulib/lib/unistdio/u-vsnprintf.h buf = NULL; buf 35 maint/gnulib/lib/unistdio/u-vsnprintf.h result = VASNPRINTF (buf, &length, format, args); buf 39 maint/gnulib/lib/unistdio/u-vsnprintf.h if (result != buf) buf 46 maint/gnulib/lib/unistdio/u-vsnprintf.h DCHAR_CPY (buf, result, n); buf 47 maint/gnulib/lib/unistdio/u-vsnprintf.h buf[n] = '\0'; buf 30 maint/gnulib/lib/unistdio/u-vsprintf.h VSPRINTF (DCHAR_T *buf, const FCHAR_T *format, va_list args) buf 42 maint/gnulib/lib/unistdio/u-vsprintf.h if (length > (~ (uintptr_t) buf) / sizeof (DCHAR_T)) buf 43 maint/gnulib/lib/unistdio/u-vsprintf.h length = (~ (uintptr_t) buf) / sizeof (DCHAR_T); buf 45 maint/gnulib/lib/unistdio/u-vsprintf.h result = VASNPRINTF (buf, &length, format, args); buf 50 maint/gnulib/lib/unistdio/u-vsprintf.h if (result != buf) buf 46 maint/gnulib/lib/unistdio/ulc-fprintf.c char buf[2000]; buf 49 maint/gnulib/lib/unistdio/ulc-fprintf.c size_t lenbuf = sizeof (buf); buf 53 maint/gnulib/lib/unistdio/ulc-fprintf.c output = ulc_vasnprintf (buf, &lenbuf, format, args); buf 65 maint/gnulib/lib/unistdio/ulc-fprintf.c if (output != buf) buf 46 maint/gnulib/lib/unistdio/ulc-vfprintf.c char buf[2000]; buf 49 maint/gnulib/lib/unistdio/ulc-vfprintf.c size_t lenbuf = sizeof (buf); buf 51 maint/gnulib/lib/unistdio/ulc-vfprintf.c output = ulc_vasnprintf (buf, &lenbuf, format, args); buf 62 maint/gnulib/lib/unistdio/ulc-vfprintf.c if (output != buf) buf 53 maint/gnulib/lib/uniwbrk/u8-wordbreaks.c char *buf = NULL; buf 65 maint/gnulib/lib/uniwbrk/u8-wordbreaks.c buf = realloc (buf, alloc); buf 66 maint/gnulib/lib/uniwbrk/u8-wordbreaks.c if (buf == NULL) buf 72 maint/gnulib/lib/uniwbrk/u8-wordbreaks.c count = fread (buf + size, 1, BUFSIZE, stream); buf 84 maint/gnulib/lib/uniwbrk/u8-wordbreaks.c buf = realloc (buf, size + 1); buf 85 maint/gnulib/lib/uniwbrk/u8-wordbreaks.c if (buf == NULL) buf 90 maint/gnulib/lib/uniwbrk/u8-wordbreaks.c buf[size] = '\0'; buf 91 maint/gnulib/lib/uniwbrk/u8-wordbreaks.c return buf; buf 130 maint/gnulib/lib/uniwbrk/ulc-wordbreaks.c char *buf = NULL; buf 142 maint/gnulib/lib/uniwbrk/ulc-wordbreaks.c buf = realloc (buf, alloc); buf 143 maint/gnulib/lib/uniwbrk/ulc-wordbreaks.c if (buf == NULL) buf 149 maint/gnulib/lib/uniwbrk/ulc-wordbreaks.c count = fread (buf + size, 1, BUFSIZE, stream); buf 161 maint/gnulib/lib/uniwbrk/ulc-wordbreaks.c buf = realloc (buf, size + 1); buf 162 maint/gnulib/lib/uniwbrk/ulc-wordbreaks.c if (buf == NULL) buf 167 maint/gnulib/lib/uniwbrk/ulc-wordbreaks.c buf[size] = '\0'; buf 168 maint/gnulib/lib/uniwbrk/ulc-wordbreaks.c return buf; buf 188 maint/gnulib/lib/userspec.c char buf[INT_BUFSIZE_BOUND (uintmax_t)]; buf 191 maint/gnulib/lib/userspec.c gname = xstrdup (grp ? grp->gr_name : umaxtostr (gnum, buf)); buf 278 maint/gnulib/lib/utime.c struct stat buf; buf 280 maint/gnulib/lib/utime.c if (stat (name, &buf) == -1 && errno != EOVERFLOW) buf 1884 maint/gnulib/lib/vasnprintf.c TCHAR_T *buf; buf 1901 maint/gnulib/lib/vasnprintf.c buf = (TCHAR_T *) alloca (buf_neededlength * sizeof (TCHAR_T)); buf 1910 maint/gnulib/lib/vasnprintf.c buf = (TCHAR_T *) malloc (buf_memsize); buf 1911 maint/gnulib/lib/vasnprintf.c if (buf == NULL) buf 1913 maint/gnulib/lib/vasnprintf.c buf_malloced = buf; buf 5021 maint/gnulib/lib/vasnprintf.c fbp = buf; buf 5226 maint/gnulib/lib/vasnprintf.c maxlen, buf, \ buf 5231 maint/gnulib/lib/vasnprintf.c maxlen, buf, \ buf 5236 maint/gnulib/lib/vasnprintf.c maxlen, buf, \ buf 5248 maint/gnulib/lib/vasnprintf.c count = sprintf (tmp, buf, arg); \ buf 5251 maint/gnulib/lib/vasnprintf.c count = sprintf (tmp, buf, prefixes[0], arg); \ buf 5254 maint/gnulib/lib/vasnprintf.c count = sprintf (tmp, buf, prefixes[0], prefixes[1],\ buf 35 maint/gnulib/lib/vdprintf.c char buf[2000]; buf 38 maint/gnulib/lib/vdprintf.c size_t lenbuf = sizeof (buf); buf 40 maint/gnulib/lib/vdprintf.c output = vasnprintf (buf, &lenbuf, format, args); buf 48 maint/gnulib/lib/vdprintf.c if (output != buf) buf 53 maint/gnulib/lib/vdprintf.c if (output != buf) buf 38 maint/gnulib/lib/vfprintf.c char buf[2000]; buf 41 maint/gnulib/lib/vfprintf.c size_t lenbuf = sizeof (buf); buf 43 maint/gnulib/lib/vfprintf.c output = vasnprintf (buf, &lenbuf, format, args); buf 54 maint/gnulib/lib/vfprintf.c if (output != buf) buf 59 maint/gnulib/lib/vfprintf.c if (output != buf) buf 29 maint/gnulib/lib/wcsftime.c rpl_wcsftime (wchar_t *buf, size_t bufsize, const wchar_t *format, const struct tm *tp) buf 59 maint/gnulib/lib/wcsftime.c return wcsftime (buf, bufsize, format, tp); buf 26 maint/gnulib/lib/wcsnrtombs-impl.h char buf[64]; buf 28 maint/gnulib/lib/wcsnrtombs-impl.h if (!(cur_max <= sizeof (buf))) buf 38 maint/gnulib/lib/wcsnrtombs-impl.h size_t ret = WCRTOMB (len >= cur_max ? destptr : buf, wc, ps); buf 47 maint/gnulib/lib/wcsnrtombs-impl.h memcpy (destptr, buf, ret); buf 70 maint/gnulib/lib/wcsnrtombs-impl.h size_t ret = WCRTOMB (buf, wc, &state); buf 26 maint/gnulib/lib/wcsrtombs-impl.h char buf[64]; buf 28 maint/gnulib/lib/wcsrtombs-impl.h if (!(cur_max <= sizeof (buf))) buf 38 maint/gnulib/lib/wcsrtombs-impl.h size_t ret = WCRTOMB (len >= cur_max ? destptr : buf, wc, ps); buf 47 maint/gnulib/lib/wcsrtombs-impl.h memcpy (destptr, buf, ret); buf 70 maint/gnulib/lib/wcsrtombs-impl.h size_t ret = WCRTOMB (buf, wc, &state); buf 29 maint/gnulib/lib/wctob.c char buf[64]; buf 31 maint/gnulib/lib/wctob.c if (!(MB_CUR_MAX <= sizeof (buf))) buf 35 maint/gnulib/lib/wctob.c if (wctomb (buf, (wchar_t)wc) == 1) buf 36 maint/gnulib/lib/wctob.c return (unsigned char) buf[0]; buf 54 maint/gnulib/lib/write.c write_nothrow (int fd, const void *buf, size_t count) buf 60 maint/gnulib/lib/write.c result = _write (fd, buf, count); buf 76 maint/gnulib/lib/write.c rpl_write (int fd, const void *buf, size_t count) buf 80 maint/gnulib/lib/write.c ssize_t ret = write_nothrow (fd, buf, count); buf 34 maint/gnulib/lib/xgetaname-impl.h char buf[100]; buf 35 maint/gnulib/lib/xgetaname-impl.h idx_t size = sizeof buf; buf 36 maint/gnulib/lib/xgetaname-impl.h char *name = buf; buf 43 maint/gnulib/tests/qemu.h char buf[4096 + 1]; buf 50 maint/gnulib/tests/qemu.h int n = read (fd, buf, sizeof (buf) - 1); buf 54 maint/gnulib/tests/qemu.h buf[n] = '\0'; buf 55 maint/gnulib/tests/qemu.h if (strstr (buf, "qemu") != NULL) buf 64 maint/gnulib/tests/qemu.h int n = read (fd, buf, sizeof (buf) - 1); buf 68 maint/gnulib/tests/qemu.h buf[n] = '\0'; buf 70 maint/gnulib/tests/qemu.h if (strstr (buf, "QEMU") != NULL) buf 74 maint/gnulib/tests/qemu.h if (strstr (buf, "AuthenticAMD") != NULL buf 75 maint/gnulib/tests/qemu.h || strstr (buf, "GenuineIntel") != NULL) buf 79 maint/gnulib/tests/qemu.h if (strstr (buf, "ARM") != NULL buf 80 maint/gnulib/tests/qemu.h || strcasestr (buf, "aarch64") != NULL) buf 84 maint/gnulib/tests/qemu.h if (strcasestr (buf, "SPARC") != NULL) buf 88 maint/gnulib/tests/qemu.h if (strstr (buf, "POWER") != NULL) buf 69 maint/gnulib/tests/test-areadlink.h char *buf = func (BASE "link", 1); buf 70 maint/gnulib/tests/test-areadlink.h ASSERT (buf); buf 71 maint/gnulib/tests/test-areadlink.h ASSERT (strcmp (buf, BASE "dir") == 0); buf 72 maint/gnulib/tests/test-areadlink.h free (buf); buf 74 maint/gnulib/tests/test-areadlink.h buf = func (BASE "link", 10000000); buf 75 maint/gnulib/tests/test-areadlink.h ASSERT (buf); buf 76 maint/gnulib/tests/test-areadlink.h ASSERT (strcmp (buf, BASE "dir") == 0); buf 77 maint/gnulib/tests/test-areadlink.h free (buf); buf 68 maint/gnulib/tests/test-areadlinkat-with-size.c char *buf; buf 72 maint/gnulib/tests/test-areadlinkat-with-size.c buf = areadlinkat_with_size (dfd, BASE "link", strlen (BASE "link")); buf 73 maint/gnulib/tests/test-areadlinkat-with-size.c ASSERT (buf); buf 74 maint/gnulib/tests/test-areadlinkat-with-size.c ASSERT (strcmp (buf, "nowhere") == 0); buf 75 maint/gnulib/tests/test-areadlinkat-with-size.c free (buf); buf 68 maint/gnulib/tests/test-areadlinkat.c char *buf; buf 72 maint/gnulib/tests/test-areadlinkat.c buf = areadlinkat (dfd, BASE "link"); buf 73 maint/gnulib/tests/test-areadlinkat.c ASSERT (buf); buf 74 maint/gnulib/tests/test-areadlinkat.c ASSERT (strcmp (buf, "nowhere") == 0); buf 75 maint/gnulib/tests/test-areadlinkat.c free (buf); buf 57 maint/gnulib/tests/test-astrxfrm.c char buf[1]; buf 60 maint/gnulib/tests/test-astrxfrm.c buf[0] = '@'; buf 61 maint/gnulib/tests/test-astrxfrm.c transform = astrxfrm (input, buf, &length); buf 63 maint/gnulib/tests/test-astrxfrm.c ASSERT (transform != buf); buf 66 maint/gnulib/tests/test-astrxfrm.c ASSERT (buf[0] == '@'); buf 72 maint/gnulib/tests/test-astrxfrm.c char buf[3]; buf 73 maint/gnulib/tests/test-astrxfrm.c size_t length = sizeof (buf) - 1; buf 75 maint/gnulib/tests/test-astrxfrm.c buf[sizeof (buf) - 1] = '@'; buf 76 maint/gnulib/tests/test-astrxfrm.c transform = astrxfrm (input, buf, &length); buf 78 maint/gnulib/tests/test-astrxfrm.c ASSERT (transform != buf); buf 81 maint/gnulib/tests/test-astrxfrm.c ASSERT (buf[sizeof (buf) - 1] == '@'); buf 87 maint/gnulib/tests/test-astrxfrm.c char buf[200]; buf 88 maint/gnulib/tests/test-astrxfrm.c size_t length = sizeof (buf) - 1; buf 90 maint/gnulib/tests/test-astrxfrm.c buf[sizeof (buf) - 1] = '@'; buf 91 maint/gnulib/tests/test-astrxfrm.c transform = astrxfrm (input, buf, &length); buf 93 maint/gnulib/tests/test-astrxfrm.c ASSERT (transform == buf); buf 96 maint/gnulib/tests/test-astrxfrm.c ASSERT (buf[sizeof (buf) - 1] == '@'); buf 51 maint/gnulib/tests/test-c-dtoastr.c char buf[DBL_BUFSIZE_BOUND]; buf 53 maint/gnulib/tests/test-c-dtoastr.c c_dtoastr (buf, sizeof buf, 0, 0, 0.1); buf 54 maint/gnulib/tests/test-c-dtoastr.c ASSERT (!strcmp (buf, "0.1")); buf 51 maint/gnulib/tests/test-c-ldtoastr.c char buf[DBL_BUFSIZE_BOUND]; buf 53 maint/gnulib/tests/test-c-ldtoastr.c c_ldtoastr (buf, sizeof buf, 0, 0, 0.1L); buf 54 maint/gnulib/tests/test-c-ldtoastr.c ASSERT (!strcmp (buf, "0.1")); buf 31 maint/gnulib/tests/test-c-vsnprintf.c my_c_snprintf (char *buf, int size, const char *format, ...) buf 37 maint/gnulib/tests/test-c-vsnprintf.c ret = c_vsnprintf (buf, size, format, args); buf 51 maint/gnulib/tests/test-c32isalnum.c char buf[4]; buf 99 maint/gnulib/tests/test-c32isalnum.c buf[0] = (unsigned char) c; buf 100 maint/gnulib/tests/test-c32isalnum.c is = for_character (buf, 1); buf 51 maint/gnulib/tests/test-c32isalpha.c char buf[4]; buf 99 maint/gnulib/tests/test-c32isalpha.c buf[0] = (unsigned char) c; buf 100 maint/gnulib/tests/test-c32isalpha.c is = for_character (buf, 1); buf 51 maint/gnulib/tests/test-c32isblank.c char buf[4]; buf 102 maint/gnulib/tests/test-c32isblank.c buf[0] = (unsigned char) c; buf 103 maint/gnulib/tests/test-c32isblank.c is = for_character (buf, 1); buf 51 maint/gnulib/tests/test-c32iscntrl.c char buf[4]; buf 93 maint/gnulib/tests/test-c32iscntrl.c buf[0] = (unsigned char) c; buf 94 maint/gnulib/tests/test-c32iscntrl.c is = for_character (buf, 1); buf 51 maint/gnulib/tests/test-c32isdigit.c char buf[4]; buf 92 maint/gnulib/tests/test-c32isdigit.c buf[0] = (unsigned char) c; buf 93 maint/gnulib/tests/test-c32isdigit.c is = for_character (buf, 1); buf 51 maint/gnulib/tests/test-c32isgraph.c char buf[4]; buf 93 maint/gnulib/tests/test-c32isgraph.c buf[0] = (unsigned char) c; buf 94 maint/gnulib/tests/test-c32isgraph.c is = for_character (buf, 1); buf 51 maint/gnulib/tests/test-c32islower.c char buf[4]; buf 98 maint/gnulib/tests/test-c32islower.c buf[0] = (unsigned char) c; buf 99 maint/gnulib/tests/test-c32islower.c is = for_character (buf, 1); buf 51 maint/gnulib/tests/test-c32isprint.c char buf[4]; buf 95 maint/gnulib/tests/test-c32isprint.c buf[0] = (unsigned char) c; buf 96 maint/gnulib/tests/test-c32isprint.c is = for_character (buf, 1); buf 51 maint/gnulib/tests/test-c32ispunct.c char buf[4]; buf 93 maint/gnulib/tests/test-c32ispunct.c buf[0] = (unsigned char) c; buf 94 maint/gnulib/tests/test-c32ispunct.c is = for_character (buf, 1); buf 51 maint/gnulib/tests/test-c32isspace.c char buf[4]; buf 100 maint/gnulib/tests/test-c32isspace.c buf[0] = (unsigned char) c; buf 101 maint/gnulib/tests/test-c32isspace.c is = for_character (buf, 1); buf 51 maint/gnulib/tests/test-c32isupper.c char buf[4]; buf 98 maint/gnulib/tests/test-c32isupper.c buf[0] = (unsigned char) c; buf 99 maint/gnulib/tests/test-c32isupper.c is = for_character (buf, 1); buf 51 maint/gnulib/tests/test-c32isxdigit.c char buf[4]; buf 92 maint/gnulib/tests/test-c32isxdigit.c buf[0] = (unsigned char) c; buf 93 maint/gnulib/tests/test-c32isxdigit.c is = for_character (buf, 1); buf 34 maint/gnulib/tests/test-c32rtomb-w32.c char buf[64]; buf 93 maint/gnulib/tests/test-c32rtomb-w32.c buf[0] = 'x'; buf 94 maint/gnulib/tests/test-c32rtomb-w32.c ret = c32rtomb (buf, 0, NULL); buf 96 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (buf[0] == '\0'); buf 128 maint/gnulib/tests/test-c32rtomb-w32.c ret = c32rtomb (buf, btoc32 (c), NULL); buf 130 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (buf[0] == (char) c); buf 149 maint/gnulib/tests/test-c32rtomb-w32.c memset (buf, 'x', 8); buf 150 maint/gnulib/tests/test-c32rtomb-w32.c ret = c32rtomb (buf, 0x00FC, NULL); buf 152 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (memcmp (buf, "\374", 1) == 0); buf 153 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (buf[1] == 'x'); buf 155 maint/gnulib/tests/test-c32rtomb-w32.c memset (buf, 'x', 8); buf 156 maint/gnulib/tests/test-c32rtomb-w32.c ret = c32rtomb (buf, 0x00DF, NULL); buf 158 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (memcmp (buf, "\337", 1) == 0); buf 159 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (buf[1] == 'x'); buf 167 maint/gnulib/tests/test-c32rtomb-w32.c memset (buf, 'x', 8); buf 168 maint/gnulib/tests/test-c32rtomb-w32.c ret = c32rtomb (buf, 0x0622, NULL); buf 170 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (memcmp (buf, "\302", 1) == 0); buf 171 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (buf[1] == 'x'); buf 173 maint/gnulib/tests/test-c32rtomb-w32.c memset (buf, 'x', 8); buf 174 maint/gnulib/tests/test-c32rtomb-w32.c ret = c32rtomb (buf, 0x0644, NULL); buf 176 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (memcmp (buf, "\341", 1) == 0); buf 177 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (buf[1] == 'x'); buf 179 maint/gnulib/tests/test-c32rtomb-w32.c memset (buf, 'x', 8); buf 180 maint/gnulib/tests/test-c32rtomb-w32.c ret = c32rtomb (buf, 0x0648, NULL); buf 182 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (memcmp (buf, "\346", 1) == 0); buf 183 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (buf[1] == 'x'); buf 191 maint/gnulib/tests/test-c32rtomb-w32.c memset (buf, 'x', 8); buf 192 maint/gnulib/tests/test-c32rtomb-w32.c ret = c32rtomb (buf, 0x65E5, NULL); buf 194 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (memcmp (buf, "\223\372", 2) == 0); buf 195 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (buf[2] == 'x'); buf 197 maint/gnulib/tests/test-c32rtomb-w32.c memset (buf, 'x', 8); buf 198 maint/gnulib/tests/test-c32rtomb-w32.c ret = c32rtomb (buf, 0x672C, NULL); buf 200 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (memcmp (buf, "\226\173", 2) == 0); buf 201 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (buf[2] == 'x'); buf 203 maint/gnulib/tests/test-c32rtomb-w32.c memset (buf, 'x', 8); buf 204 maint/gnulib/tests/test-c32rtomb-w32.c ret = c32rtomb (buf, 0x8A9E, NULL); buf 206 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (memcmp (buf, "\214\352", 2) == 0); buf 207 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (buf[2] == 'x'); buf 215 maint/gnulib/tests/test-c32rtomb-w32.c memset (buf, 'x', 8); buf 216 maint/gnulib/tests/test-c32rtomb-w32.c ret = c32rtomb (buf, 0x65E5, NULL); buf 218 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (memcmp (buf, "\244\351", 2) == 0); buf 219 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (buf[2] == 'x'); buf 221 maint/gnulib/tests/test-c32rtomb-w32.c memset (buf, 'x', 8); buf 222 maint/gnulib/tests/test-c32rtomb-w32.c ret = c32rtomb (buf, 0x672C, NULL); buf 224 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (memcmp (buf, "\245\273", 2) == 0); buf 225 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (buf[2] == 'x'); buf 227 maint/gnulib/tests/test-c32rtomb-w32.c memset (buf, 'x', 8); buf 228 maint/gnulib/tests/test-c32rtomb-w32.c ret = c32rtomb (buf, 0x8A9E, NULL); buf 230 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (memcmp (buf, "\273\171", 2) == 0); buf 231 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (buf[2] == 'x'); buf 239 maint/gnulib/tests/test-c32rtomb-w32.c memset (buf, 'x', 8); buf 240 maint/gnulib/tests/test-c32rtomb-w32.c ret = c32rtomb (buf, 0x65E5, NULL); buf 242 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (memcmp (buf, "\310\325", 2) == 0); buf 243 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (buf[2] == 'x'); buf 245 maint/gnulib/tests/test-c32rtomb-w32.c memset (buf, 'x', 8); buf 246 maint/gnulib/tests/test-c32rtomb-w32.c ret = c32rtomb (buf, 0x672C, NULL); buf 248 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (memcmp (buf, "\261\276", 2) == 0); buf 249 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (buf[2] == 'x'); buf 251 maint/gnulib/tests/test-c32rtomb-w32.c memset (buf, 'x', 8); buf 252 maint/gnulib/tests/test-c32rtomb-w32.c ret = c32rtomb (buf, 0x8A9E, NULL); buf 254 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (memcmp (buf, "\325\132", 2) == 0); buf 255 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (buf[2] == 'x'); buf 265 maint/gnulib/tests/test-c32rtomb-w32.c memset (buf, 'x', 8); buf 266 maint/gnulib/tests/test-c32rtomb-w32.c ret = c32rtomb (buf, 0x00FC, NULL); buf 268 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (memcmp (buf, "\250\271", 2) == 0); buf 269 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (buf[2] == 'x'); buf 271 maint/gnulib/tests/test-c32rtomb-w32.c memset (buf, 'x', 8); buf 272 maint/gnulib/tests/test-c32rtomb-w32.c ret = c32rtomb (buf, 0x00DF, NULL); buf 274 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (memcmp (buf, "\201\060\211\070", 4) == 0); buf 275 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (buf[4] == 'x'); buf 277 maint/gnulib/tests/test-c32rtomb-w32.c memset (buf, 'x', 8); buf 278 maint/gnulib/tests/test-c32rtomb-w32.c ret = c32rtomb (buf, 0x1F60B, NULL); buf 280 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (memcmp (buf, "\224\071\375\067", 4) == 0); buf 281 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (buf[4] == 'x'); buf 291 maint/gnulib/tests/test-c32rtomb-w32.c memset (buf, 'x', 8); buf 292 maint/gnulib/tests/test-c32rtomb-w32.c ret = c32rtomb (buf, 0x00FC, NULL); buf 294 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (memcmp (buf, "\303\274", 2) == 0); buf 295 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (buf[2] == 'x'); buf 297 maint/gnulib/tests/test-c32rtomb-w32.c memset (buf, 'x', 8); buf 298 maint/gnulib/tests/test-c32rtomb-w32.c ret = c32rtomb (buf, 0x00DF, NULL); buf 300 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (memcmp (buf, "\303\237", 2) == 0); buf 301 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (buf[2] == 'x'); buf 303 maint/gnulib/tests/test-c32rtomb-w32.c memset (buf, 'x', 8); buf 304 maint/gnulib/tests/test-c32rtomb-w32.c ret = c32rtomb (buf, 0x1F60B, NULL); buf 306 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (memcmp (buf, "\360\237\230\213", 4) == 0); buf 307 maint/gnulib/tests/test-c32rtomb-w32.c ASSERT (buf[4] == 'x'); buf 38 maint/gnulib/tests/test-c32rtomb.c char buf[64]; buf 47 maint/gnulib/tests/test-c32rtomb.c ret = c32rtomb (buf, wc, NULL); buf 49 maint/gnulib/tests/test-c32rtomb.c ASSERT (memcmp (buf, s, n) == 0); buf 59 maint/gnulib/tests/test-c32rtomb.c char buf[64]; buf 68 maint/gnulib/tests/test-c32rtomb.c buf[0] = 'x'; buf 69 maint/gnulib/tests/test-c32rtomb.c ret = c32rtomb (buf, 0, NULL); buf 71 maint/gnulib/tests/test-c32rtomb.c ASSERT (buf[0] == '\0'); buf 103 maint/gnulib/tests/test-c32rtomb.c ret = c32rtomb (buf, btoc32 (c), NULL); buf 105 maint/gnulib/tests/test-c32rtomb.c ASSERT (buf[0] == (char) c); buf 46 maint/gnulib/tests/test-c32snrtombs.c char buf[BUFSIZE]; buf 52 maint/gnulib/tests/test-c32snrtombs.c buf[i] = '_'; buf 73 maint/gnulib/tests/test-c32snrtombs.c ret = c32snrtombs (buf, &src, 6, n, NULL); buf 76 maint/gnulib/tests/test-c32snrtombs.c ASSERT (memcmp (buf, original, ret) == 0); buf 78 maint/gnulib/tests/test-c32snrtombs.c ASSERT (buf[ret] == '\0'); buf 79 maint/gnulib/tests/test-c32snrtombs.c ASSERT (buf[ret + (src == NULL) + 0] == '_'); buf 80 maint/gnulib/tests/test-c32snrtombs.c ASSERT (buf[ret + (src == NULL) + 1] == '_'); buf 81 maint/gnulib/tests/test-c32snrtombs.c ASSERT (buf[ret + (src == NULL) + 2] == '_'); buf 102 maint/gnulib/tests/test-c32snrtombs.c ret = c32snrtombs (buf, &src, 6, n, NULL); buf 113 maint/gnulib/tests/test-c32snrtombs.c ASSERT (memcmp (buf, original, ret) == 0); buf 115 maint/gnulib/tests/test-c32snrtombs.c ASSERT (buf[ret] == '\0'); buf 116 maint/gnulib/tests/test-c32snrtombs.c ASSERT (buf[ret + (src == NULL) + 0] == '_'); buf 117 maint/gnulib/tests/test-c32snrtombs.c ASSERT (buf[ret + (src == NULL) + 1] == '_'); buf 118 maint/gnulib/tests/test-c32snrtombs.c ASSERT (buf[ret + (src == NULL) + 2] == '_'); buf 139 maint/gnulib/tests/test-c32snrtombs.c ret = c32snrtombs (buf, &src, 6, n, NULL); buf 150 maint/gnulib/tests/test-c32snrtombs.c ASSERT (memcmp (buf, original, ret) == 0); buf 152 maint/gnulib/tests/test-c32snrtombs.c ASSERT (buf[ret] == '\0'); buf 153 maint/gnulib/tests/test-c32snrtombs.c ASSERT (buf[ret + (src == NULL) + 0] == '_'); buf 154 maint/gnulib/tests/test-c32snrtombs.c ASSERT (buf[ret + (src == NULL) + 1] == '_'); buf 155 maint/gnulib/tests/test-c32snrtombs.c ASSERT (buf[ret + (src == NULL) + 2] == '_'); buf 177 maint/gnulib/tests/test-c32snrtombs.c ret = c32snrtombs (buf, &src, 6, n, NULL); buf 188 maint/gnulib/tests/test-c32snrtombs.c ASSERT (memcmp (buf, original, ret) == 0); buf 190 maint/gnulib/tests/test-c32snrtombs.c ASSERT (buf[ret] == '\0'); buf 191 maint/gnulib/tests/test-c32snrtombs.c ASSERT (buf[ret + (src == NULL) + 0] == '_'); buf 192 maint/gnulib/tests/test-c32snrtombs.c ASSERT (buf[ret + (src == NULL) + 1] == '_'); buf 193 maint/gnulib/tests/test-c32snrtombs.c ASSERT (buf[ret + (src == NULL) + 2] == '_'); buf 46 maint/gnulib/tests/test-c32srtombs.c char buf[BUFSIZE]; buf 52 maint/gnulib/tests/test-c32srtombs.c buf[i] = '_'; buf 73 maint/gnulib/tests/test-c32srtombs.c ret = c32srtombs (buf, &src, n, NULL); buf 76 maint/gnulib/tests/test-c32srtombs.c ASSERT (memcmp (buf, original, ret) == 0); buf 78 maint/gnulib/tests/test-c32srtombs.c ASSERT (buf[ret] == '\0'); buf 79 maint/gnulib/tests/test-c32srtombs.c ASSERT (buf[ret + (src == NULL) + 0] == '_'); buf 80 maint/gnulib/tests/test-c32srtombs.c ASSERT (buf[ret + (src == NULL) + 1] == '_'); buf 81 maint/gnulib/tests/test-c32srtombs.c ASSERT (buf[ret + (src == NULL) + 2] == '_'); buf 102 maint/gnulib/tests/test-c32srtombs.c ret = c32srtombs (buf, &src, n, NULL); buf 113 maint/gnulib/tests/test-c32srtombs.c ASSERT (memcmp (buf, original, ret) == 0); buf 115 maint/gnulib/tests/test-c32srtombs.c ASSERT (buf[ret] == '\0'); buf 116 maint/gnulib/tests/test-c32srtombs.c ASSERT (buf[ret + (src == NULL) + 0] == '_'); buf 117 maint/gnulib/tests/test-c32srtombs.c ASSERT (buf[ret + (src == NULL) + 1] == '_'); buf 118 maint/gnulib/tests/test-c32srtombs.c ASSERT (buf[ret + (src == NULL) + 2] == '_'); buf 139 maint/gnulib/tests/test-c32srtombs.c ret = c32srtombs (buf, &src, n, NULL); buf 150 maint/gnulib/tests/test-c32srtombs.c ASSERT (memcmp (buf, original, ret) == 0); buf 152 maint/gnulib/tests/test-c32srtombs.c ASSERT (buf[ret] == '\0'); buf 153 maint/gnulib/tests/test-c32srtombs.c ASSERT (buf[ret + (src == NULL) + 0] == '_'); buf 154 maint/gnulib/tests/test-c32srtombs.c ASSERT (buf[ret + (src == NULL) + 1] == '_'); buf 155 maint/gnulib/tests/test-c32srtombs.c ASSERT (buf[ret + (src == NULL) + 2] == '_'); buf 177 maint/gnulib/tests/test-c32srtombs.c ret = c32srtombs (buf, &src, n, NULL); buf 188 maint/gnulib/tests/test-c32srtombs.c ASSERT (memcmp (buf, original, ret) == 0); buf 190 maint/gnulib/tests/test-c32srtombs.c ASSERT (buf[ret] == '\0'); buf 191 maint/gnulib/tests/test-c32srtombs.c ASSERT (buf[ret + (src == NULL) + 0] == '_'); buf 192 maint/gnulib/tests/test-c32srtombs.c ASSERT (buf[ret + (src == NULL) + 1] == '_'); buf 193 maint/gnulib/tests/test-c32srtombs.c ASSERT (buf[ret + (src == NULL) + 2] == '_'); buf 45 maint/gnulib/tests/test-c32stombs.c char buf[BUFSIZE]; buf 51 maint/gnulib/tests/test-c32stombs.c buf[i] = '_'; buf 69 maint/gnulib/tests/test-c32stombs.c ret = c32stombs (buf, input, n); buf 71 maint/gnulib/tests/test-c32stombs.c ASSERT (memcmp (buf, original, ret) == 0); buf 73 maint/gnulib/tests/test-c32stombs.c ASSERT (buf[ret] == '\0'); buf 74 maint/gnulib/tests/test-c32stombs.c ASSERT (buf[ret + (n > 5) + 0] == '_'); buf 75 maint/gnulib/tests/test-c32stombs.c ASSERT (buf[ret + (n > 5) + 1] == '_'); buf 76 maint/gnulib/tests/test-c32stombs.c ASSERT (buf[ret + (n > 5) + 2] == '_'); buf 94 maint/gnulib/tests/test-c32stombs.c ret = c32stombs (buf, input, n); buf 100 maint/gnulib/tests/test-c32stombs.c ASSERT (memcmp (buf, original, ret) == 0); buf 102 maint/gnulib/tests/test-c32stombs.c ASSERT (buf[ret] == '\0'); buf 103 maint/gnulib/tests/test-c32stombs.c ASSERT (buf[ret + (n > 10) + 0] == '_'); buf 104 maint/gnulib/tests/test-c32stombs.c ASSERT (buf[ret + (n > 10) + 1] == '_'); buf 105 maint/gnulib/tests/test-c32stombs.c ASSERT (buf[ret + (n > 10) + 2] == '_'); buf 123 maint/gnulib/tests/test-c32stombs.c ret = c32stombs (buf, input, n); buf 129 maint/gnulib/tests/test-c32stombs.c ASSERT (memcmp (buf, original, ret) == 0); buf 131 maint/gnulib/tests/test-c32stombs.c ASSERT (buf[ret] == '\0'); buf 132 maint/gnulib/tests/test-c32stombs.c ASSERT (buf[ret + (n > 8) + 0] == '_'); buf 133 maint/gnulib/tests/test-c32stombs.c ASSERT (buf[ret + (n > 8) + 1] == '_'); buf 134 maint/gnulib/tests/test-c32stombs.c ASSERT (buf[ret + (n > 8) + 2] == '_'); buf 153 maint/gnulib/tests/test-c32stombs.c ret = c32stombs (buf, input, n); buf 159 maint/gnulib/tests/test-c32stombs.c ASSERT (memcmp (buf, original, ret) == 0); buf 161 maint/gnulib/tests/test-c32stombs.c ASSERT (buf[ret] == '\0'); buf 162 maint/gnulib/tests/test-c32stombs.c ASSERT (buf[ret + (n > 12) + 0] == '_'); buf 163 maint/gnulib/tests/test-c32stombs.c ASSERT (buf[ret + (n > 12) + 1] == '_'); buf 164 maint/gnulib/tests/test-c32stombs.c ASSERT (buf[ret + (n > 12) + 2] == '_'); buf 36 maint/gnulib/tests/test-closein.c char buf[7]; buf 47 maint/gnulib/tests/test-closein.c ignore_value (fread (buf, 1, 6, stdin)); buf 179 maint/gnulib/tests/test-execute-child.c char buf[300]; buf 180 maint/gnulib/tests/test-execute-child.c buf[0] = '\0'; buf 181 maint/gnulib/tests/test-execute-child.c char *p = buf; buf 190 maint/gnulib/tests/test-execute-child.c if (strcmp (buf, expected) == 0) buf 194 maint/gnulib/tests/test-execute-child.c fprintf (stderr, "Test case %d: %s\n", test, buf); fflush (stderr); buf 202 maint/gnulib/tests/test-execute-child.c char buf[6]; buf 203 maint/gnulib/tests/test-execute-child.c int n = read (10, buf, sizeof (buf)); buf 204 maint/gnulib/tests/test-execute-child.c return !(n == 4 && memcmp (buf, "obar", 4) == 0); buf 359 maint/gnulib/tests/test-execute-main.c char buf[2]; buf 360 maint/gnulib/tests/test-execute-main.c ASSERT (read (fd, buf, sizeof (buf)) == sizeof (buf)); buf 36 maint/gnulib/tests/test-fbufmode.c char buf[5]; buf 49 maint/gnulib/tests/test-fbufmode.c ASSERT (setvbuf (fp, buf, _IOLBF, 5) == 0); buf 56 maint/gnulib/tests/test-fbufmode.c ASSERT (setvbuf (fp, buf, _IOFBF, 5) == 0); buf 39 maint/gnulib/tests/test-fclose.c const char buf[] = "hello world"; buf 47 maint/gnulib/tests/test-fclose.c ASSERT (write (fd, buf, sizeof buf) == sizeof buf); buf 57 maint/gnulib/tests/test-fclose.c ASSERT (fputc (buf[1], f) == buf[1]); buf 69 maint/gnulib/tests/test-fclose.c ASSERT (fgetc (f) == buf[2]); buf 41 maint/gnulib/tests/test-fopen-gnu.c char buf[16]; buf 80 maint/gnulib/tests/test-fopen-gnu.c ASSERT (fread (buf, 1, sizeof (buf), f) == sizeof (DATA)-1); buf 79 maint/gnulib/tests/test-fpurge.c char buf[8]; buf 80 maint/gnulib/tests/test-fpurge.c if (fread (buf, 1, 7, fp) < 7) buf 82 maint/gnulib/tests/test-fpurge.c ASSERT (memcmp (buf, "foogars", 7) == 0); buf 118 maint/gnulib/tests/test-fpurge.c char buf[10]; buf 119 maint/gnulib/tests/test-fpurge.c ASSERT (fread (buf, 1, 10, fp) == 9); buf 120 maint/gnulib/tests/test-fpurge.c ASSERT (memcmp (buf, "foogarsh!", 9) == 0); buf 59 maint/gnulib/tests/test-fread.c char buf[5]; buf 63 maint/gnulib/tests/test-fread.c ASSERT (fread (buf, 1, sizeof (buf), fp) == 0); buf 75 maint/gnulib/tests/test-fread.c char buf[1]; buf 77 maint/gnulib/tests/test-fread.c ASSERT (fread (buf, 1, 1, fp) == 0); buf 89 maint/gnulib/tests/test-fread.c char buf[1]; buf 91 maint/gnulib/tests/test-fread.c ASSERT (fread (buf, 1, 1, fp) == 0); buf 34 maint/gnulib/tests/test-freadahead.c void *buf = malloc (nbytes); buf 35 maint/gnulib/tests/test-freadahead.c ASSERT (fread (buf, 1, nbytes, stdin) == nbytes); buf 36 maint/gnulib/tests/test-freadahead.c free (buf); buf 34 maint/gnulib/tests/test-freadptr.c void *buf = malloc (nbytes); buf 35 maint/gnulib/tests/test-freadptr.c ASSERT (fread (buf, 1, nbytes, stdin) == nbytes); buf 36 maint/gnulib/tests/test-freadptr.c free (buf); buf 44 maint/gnulib/tests/test-freadptr2.c void *buf = malloc (nbytes); buf 45 maint/gnulib/tests/test-freadptr2.c ASSERT (fread (buf, 1, nbytes, stdin) == nbytes); buf 46 maint/gnulib/tests/test-freadptr2.c free (buf); buf 73 maint/gnulib/tests/test-fsync.c char buf[1]; buf 74 maint/gnulib/tests/test-fsync.c ASSERT (read (fd, buf, sizeof buf) == sizeof buf); buf 63 maint/gnulib/tests/test-ftell3.c char buf[10]; buf 64 maint/gnulib/tests/test-ftell3.c ASSERT (fread (buf, 1, 10, fp) == 9); buf 65 maint/gnulib/tests/test-ftell3.c ASSERT (memcmp (buf, "foogarsh!", 9) == 0); buf 63 maint/gnulib/tests/test-ftello3.c char buf[10]; buf 64 maint/gnulib/tests/test-ftello3.c ASSERT (fread (buf, 1, 10, fp) == 9); buf 65 maint/gnulib/tests/test-ftello3.c ASSERT (memcmp (buf, "foogarsh!", 9) == 0); buf 94 maint/gnulib/tests/test-fts.c char buf[sizeof BASE + 100]; buf 114 maint/gnulib/tests/test-fts.c sprintf (buf, "%s/d/%i", base, i); buf 115 maint/gnulib/tests/test-fts.c if (mkdir (buf, 0777) != 0) buf 120 maint/gnulib/tests/test-fts.c perror_exit (buf, 77); buf 131 maint/gnulib/tests/test-fts.c sprintf (buf, "%s/d/%d/needle", base, i); buf 132 maint/gnulib/tests/test-fts.c fd = open (buf, O_WRONLY | O_CREAT, 0666); buf 134 maint/gnulib/tests/test-fts.c perror_exit (buf, 77); buf 50 maint/gnulib/tests/test-fwrite.c char buf[5] = "world"; buf 55 maint/gnulib/tests/test-fwrite.c ASSERT (fwrite (buf, 1, sizeof (buf), fp) == 0); buf 67 maint/gnulib/tests/test-fwrite.c char buf[5] = "world"; buf 70 maint/gnulib/tests/test-fwrite.c ASSERT (fwrite (buf, 1, sizeof (buf), fp) == 0); buf 82 maint/gnulib/tests/test-fwrite.c char buf[5] = "world"; buf 85 maint/gnulib/tests/test-fwrite.c ASSERT (fwrite (buf, 1, sizeof (buf), fp) == 0); buf 38 maint/gnulib/tests/test-gc-rijndael.c char buf[16]; buf 56 maint/gnulib/tests/test-gc-rijndael.c memcpy (buf, pt, 16); buf 60 maint/gnulib/tests/test-gc-rijndael.c rc = gc_cipher_encrypt_inline (ctx, 16, buf); buf 68 maint/gnulib/tests/test-gc-rijndael.c if (memcmp (buf, ct, 16) != 0) buf 76 maint/gnulib/tests/test-gc-rijndael.c printf ("%02x ", buf[i] & 0xFF); buf 83 maint/gnulib/tests/test-gc-rijndael.c rc = gc_cipher_decrypt_inline (ctx, 16, buf); buf 91 maint/gnulib/tests/test-gc-rijndael.c if (memcmp (buf, pt, 16) != 0) buf 99 maint/gnulib/tests/test-gc-rijndael.c printf ("%02x ", buf[i] & 0xFF); buf 109 maint/gnulib/tests/test-gc-rijndael.c char buf[16]; buf 133 maint/gnulib/tests/test-gc-rijndael.c memcpy (buf, pt, 16); buf 137 maint/gnulib/tests/test-gc-rijndael.c rc = gc_cipher_encrypt_inline (ctx, 16, buf); buf 145 maint/gnulib/tests/test-gc-rijndael.c if (memcmp (buf, ct, 16) != 0) buf 153 maint/gnulib/tests/test-gc-rijndael.c printf ("%02x ", buf[i] & 0xFF); buf 65 maint/gnulib/tests/test-getaddrinfo.c char buf[BUFSIZ]; buf 134 maint/gnulib/tests/test-getaddrinfo.c buf, sizeof (buf) - 1)); buf 149 maint/gnulib/tests/test-getcwd.c char buf[PATH_MAX * (DIR_NAME_SIZE / DOTDOTSLASH_LEN + 1) buf 151 maint/gnulib/tests/test-getcwd.c char *cwd = getcwd (buf, PATH_MAX); buf 196 maint/gnulib/tests/test-getcwd.c c = getcwd (buf, PATH_MAX); buf 218 maint/gnulib/tests/test-getcwd.c c = getcwd (buf, cwd_len + 1); buf 37 maint/gnulib/tests/test-getdomainname.c char buf[YPMAXDOMAIN]; buf 46 maint/gnulib/tests/test-getdomainname.c strcpy (buf, NODOMAINNAME); buf 48 maint/gnulib/tests/test-getdomainname.c rc = getdomainname (buf, sizeof (buf)); buf 56 maint/gnulib/tests/test-getdomainname.c if (strcmp (buf, NODOMAINNAME) == 0) buf 63 maint/gnulib/tests/test-getdomainname.c printf ("domainname: %s\n", buf); buf 31 maint/gnulib/tests/test-getentropy.c char buf[256]; buf 37 maint/gnulib/tests/test-getentropy.c ASSERT (getentropy (buf, sizeof buf) == 0); buf 40 maint/gnulib/tests/test-getentropy.c ASSERT (memcmp (buf, empty_buf, sizeof buf) != 0); buf 38 maint/gnulib/tests/test-gethostname.c char buf[HOST_NAME_MAX]; buf 47 maint/gnulib/tests/test-gethostname.c strcpy (buf, NOHOSTNAME); buf 49 maint/gnulib/tests/test-gethostname.c rc = gethostname (buf, sizeof (buf)); buf 57 maint/gnulib/tests/test-gethostname.c if (strcmp (buf, NOHOSTNAME) == 0) buf 64 maint/gnulib/tests/test-gethostname.c printf ("hostname: %s\n", buf); buf 32 maint/gnulib/tests/test-getlogin.c char *buf = getlogin (); buf 33 maint/gnulib/tests/test-getlogin.c int err = buf ? 0 : errno; buf 35 maint/gnulib/tests/test-getlogin.c if (buf == NULL && err == 0) buf 42 maint/gnulib/tests/test-getlogin.c test_getlogin_result (buf, err); buf 34 maint/gnulib/tests/test-getlogin.h test_getlogin_result (const char *buf, int err) buf 72 maint/gnulib/tests/test-getlogin.h pwd = getpwnam (buf); buf 75 maint/gnulib/tests/test-getlogin.h fprintf (stderr, "Skipping test: %s: no such user\n", buf); buf 89 maint/gnulib/tests/test-getlogin.h ASSERT (strcmp (buf, name) == 0); buf 33 maint/gnulib/tests/test-getlogin_r.c char buf[1024]; buf 34 maint/gnulib/tests/test-getlogin_r.c int err = getlogin_r (buf, sizeof buf); buf 43 maint/gnulib/tests/test-getlogin_r.c test_getlogin_result (buf, err); buf 48 maint/gnulib/tests/test-getlogin_r.c size_t n = strlen (buf); buf 66 maint/gnulib/tests/test-getlogin_r.c ASSERT (strcmp (hugebuf, buf) == 0); buf 130 maint/gnulib/tests/test-hash.c void *buf[5] = { NULL }; buf 132 maint/gnulib/tests/test-hash.c ASSERT (hash_get_entries (ht, buf, 5) == 3); buf 133 maint/gnulib/tests/test-hash.c ASSERT (STREQ (buf[0], "a") || STREQ (buf[0], "b") || STREQ (buf[0], "c")); buf 209 maint/gnulib/tests/test-hash.c char buf[50]; buf 210 maint/gnulib/tests/test-hash.c char const *p = uinttostr (i, buf); buf 63 maint/gnulib/tests/test-iconv-utf.c char buf[100]; buf 75 maint/gnulib/tests/test-iconv-utf.c outptr = buf; buf 76 maint/gnulib/tests/test-iconv-utf.c outbytesleft = sizeof (buf); buf 81 maint/gnulib/tests/test-iconv-utf.c ASSERT (outptr == buf + (sizeof (expected) - 1)); buf 82 maint/gnulib/tests/test-iconv-utf.c ASSERT (memcmp (buf, expected, sizeof (expected) - 1) == 0); buf 95 maint/gnulib/tests/test-iconv-utf.c char buf[100]; buf 107 maint/gnulib/tests/test-iconv-utf.c outptr = buf; buf 108 maint/gnulib/tests/test-iconv-utf.c outbytesleft = sizeof (buf); buf 113 maint/gnulib/tests/test-iconv-utf.c ASSERT (outptr == buf + (sizeof (expected) - 1)); buf 114 maint/gnulib/tests/test-iconv-utf.c ASSERT (memcmp (buf, expected, sizeof (expected) - 1) == 0); buf 127 maint/gnulib/tests/test-iconv-utf.c char buf[100]; buf 139 maint/gnulib/tests/test-iconv-utf.c outptr = buf; buf 140 maint/gnulib/tests/test-iconv-utf.c outbytesleft = sizeof (buf); buf 145 maint/gnulib/tests/test-iconv-utf.c ASSERT (outptr == buf + (sizeof (expected) - 1)); buf 146 maint/gnulib/tests/test-iconv-utf.c ASSERT (memcmp (buf, expected, sizeof (expected) - 1) == 0); buf 159 maint/gnulib/tests/test-iconv-utf.c char buf[100]; buf 171 maint/gnulib/tests/test-iconv-utf.c outptr = buf; buf 172 maint/gnulib/tests/test-iconv-utf.c outbytesleft = sizeof (buf); buf 177 maint/gnulib/tests/test-iconv-utf.c ASSERT (outptr == buf + (sizeof (expected) - 1)); buf 178 maint/gnulib/tests/test-iconv-utf.c ASSERT (memcmp (buf, expected, sizeof (expected) - 1) == 0); buf 191 maint/gnulib/tests/test-iconv-utf.c char buf[100]; buf 203 maint/gnulib/tests/test-iconv-utf.c outptr = buf; buf 204 maint/gnulib/tests/test-iconv-utf.c outbytesleft = sizeof (buf); buf 209 maint/gnulib/tests/test-iconv-utf.c ASSERT (outptr == buf + (sizeof (expected) - 1)); buf 210 maint/gnulib/tests/test-iconv-utf.c ASSERT (memcmp (buf, expected, sizeof (expected) - 1) == 0); buf 223 maint/gnulib/tests/test-iconv-utf.c char buf[100]; buf 235 maint/gnulib/tests/test-iconv-utf.c outptr = buf; buf 236 maint/gnulib/tests/test-iconv-utf.c outbytesleft = sizeof (buf); buf 241 maint/gnulib/tests/test-iconv-utf.c ASSERT (outptr == buf + (sizeof (expected) - 1)); buf 242 maint/gnulib/tests/test-iconv-utf.c ASSERT (memcmp (buf, expected, sizeof (expected) - 1) == 0); buf 255 maint/gnulib/tests/test-iconv-utf.c char buf[100]; buf 267 maint/gnulib/tests/test-iconv-utf.c outptr = buf; buf 268 maint/gnulib/tests/test-iconv-utf.c outbytesleft = sizeof (buf); buf 273 maint/gnulib/tests/test-iconv-utf.c ASSERT (outptr == buf + (sizeof (expected) - 1)); buf 274 maint/gnulib/tests/test-iconv-utf.c ASSERT (memcmp (buf, expected, sizeof (expected) - 1) == 0); buf 287 maint/gnulib/tests/test-iconv-utf.c char buf[100]; buf 299 maint/gnulib/tests/test-iconv-utf.c outptr = buf; buf 300 maint/gnulib/tests/test-iconv-utf.c outbytesleft = sizeof (buf); buf 305 maint/gnulib/tests/test-iconv-utf.c ASSERT (outptr == buf + (sizeof (expected) - 1)); buf 306 maint/gnulib/tests/test-iconv-utf.c ASSERT (memcmp (buf, expected, sizeof (expected) - 1) == 0); buf 63 maint/gnulib/tests/test-iconv.c char buf[50]; buf 66 maint/gnulib/tests/test-iconv.c char *outptr = buf; buf 67 maint/gnulib/tests/test-iconv.c size_t outbytesleft = sizeof (buf); buf 72 maint/gnulib/tests/test-iconv.c ASSERT (outptr == buf + strlen (expected)); buf 73 maint/gnulib/tests/test-iconv.c ASSERT (memcmp (buf, expected, strlen (expected)) == 0); buf 79 maint/gnulib/tests/test-iconv.c static char buf[2] = { (char)0xDE, (char)0xAD }; buf 82 maint/gnulib/tests/test-iconv.c char *outptr = buf; buf 90 maint/gnulib/tests/test-iconv.c ASSERT ((unsigned char) buf[1] == 0xAD); buf 91 maint/gnulib/tests/test-iconv.c ASSERT ((unsigned char) buf[0] == 0xDE); buf 98 maint/gnulib/tests/test-iconv.c char buf[50]; buf 101 maint/gnulib/tests/test-iconv.c char *outptr = buf; buf 102 maint/gnulib/tests/test-iconv.c size_t outbytesleft = sizeof (buf); buf 107 maint/gnulib/tests/test-iconv.c ASSERT (outptr == buf + strlen (expected)); buf 108 maint/gnulib/tests/test-iconv.c ASSERT (memcmp (buf, expected, strlen (expected)) == 0); buf 114 maint/gnulib/tests/test-iconv.c char buf[10]; buf 117 maint/gnulib/tests/test-iconv.c char *outptr = buf; buf 118 maint/gnulib/tests/test-iconv.c size_t outbytesleft = sizeof (buf); buf 125 maint/gnulib/tests/test-iconv.c ASSERT (inbytesleft == strlen (input) && outptr == buf); buf 137 maint/gnulib/tests/test-iconv.c char buf[10]; buf 140 maint/gnulib/tests/test-iconv.c char *outptr = buf; buf 141 maint/gnulib/tests/test-iconv.c size_t outbytesleft = sizeof (buf); buf 146 maint/gnulib/tests/test-iconv.c ASSERT (inbytesleft == 1 && outptr == buf); buf 44 maint/gnulib/tests/test-inttostr.c char *buf = malloc (INT_BUFSIZE_BOUND (T)); \ buf 46 maint/gnulib/tests/test-inttostr.c ASSERT (buf); \ buf 47 maint/gnulib/tests/test-inttostr.c *buf = '\0'; \ buf 53 maint/gnulib/tests/test-inttostr.c ASSERT (STREQ ((p = Fn (TYPE_MINIMUM (T), buf)), ref)); \ buf 55 maint/gnulib/tests/test-inttostr.c ASSERT (! TYPE_SIGNED (T) || (p == buf && *p == '-')); \ buf 61 maint/gnulib/tests/test-inttostr.c ASSERT (STREQ ((p = Fn (TYPE_MAXIMUM (T), buf)), ref)); \ buf 64 maint/gnulib/tests/test-inttostr.c || (p == buf && ISDIGIT (*p))); \ buf 65 maint/gnulib/tests/test-inttostr.c free (buf); \ buf 52 maint/gnulib/tests/test-iswdigit.c char buf[4]; buf 93 maint/gnulib/tests/test-iswdigit.c buf[0] = (unsigned char) c; buf 94 maint/gnulib/tests/test-iswdigit.c is = for_character (buf, 1); buf 52 maint/gnulib/tests/test-iswxdigit.c char buf[4]; buf 93 maint/gnulib/tests/test-iswxdigit.c buf[0] = (unsigned char) c; buf 94 maint/gnulib/tests/test-iswxdigit.c is = for_character (buf, 1); buf 81 maint/gnulib/tests/test-link.h char buf[11] = { 0 }; buf 84 maint/gnulib/tests/test-link.h ASSERT (read (fd, buf, 10) == 10); buf 85 maint/gnulib/tests/test-link.h ASSERT (strcmp (buf, "helloworld") == 0); buf 90 maint/gnulib/tests/test-link.h ASSERT (read (fd, buf, 10) == 10); buf 91 maint/gnulib/tests/test-link.h ASSERT (strcmp (buf, "helloworld") == 0); buf 116 maint/gnulib/tests/test-mbrtoc32-w32.c char buf[1]; buf 144 maint/gnulib/tests/test-mbrtoc32-w32.c buf[0] = c; buf 146 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, buf, 1, &state); buf 150 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (NULL, buf, 1, &state); buf 69 maint/gnulib/tests/test-mbrtoc32.c char buf[1]; buf 102 maint/gnulib/tests/test-mbrtoc32.c buf[0] = c; buf 104 maint/gnulib/tests/test-mbrtoc32.c ret = mbrtoc32 (&wc, buf, 1, &state); buf 116 maint/gnulib/tests/test-mbrtoc32.c ret = mbrtoc32 (NULL, buf, 1, &state); buf 116 maint/gnulib/tests/test-mbrtowc-w32.c char buf[1]; buf 144 maint/gnulib/tests/test-mbrtowc-w32.c buf[0] = c; buf 146 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, buf, 1, &state); buf 150 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (NULL, buf, 1, &state); buf 69 maint/gnulib/tests/test-mbrtowc.c char buf[1]; buf 102 maint/gnulib/tests/test-mbrtowc.c buf[0] = c; buf 104 maint/gnulib/tests/test-mbrtowc.c ret = mbrtowc (&wc, buf, 1, &state); buf 116 maint/gnulib/tests/test-mbrtowc.c ret = mbrtowc (NULL, buf, 1, &state); buf 82 maint/gnulib/tests/test-mbsnrtoc32s.c char32_t buf[BUFSIZE]; buf 89 maint/gnulib/tests/test-mbsnrtoc32s.c buf[i] = (char32_t) 0xBADFACE; buf 122 maint/gnulib/tests/test-mbsnrtoc32s.c ret = mbsnrtoc32s (buf, &src, 4, unlimited ? BUFSIZE : 1, &state); buf 125 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (c32tob (buf[0]) == (unsigned char) '\337'); buf 128 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (buf[1] == 'e'); buf 129 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (buf[2] == 'r'); buf 130 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (buf[3] == 0); buf 131 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (buf[4] == (char32_t) 0xBADFACE); buf 134 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (buf[1] == (char32_t) 0xBADFACE); buf 167 maint/gnulib/tests/test-mbsnrtoc32s.c ret = mbsnrtoc32s (buf, &src, 9, unlimited ? BUFSIZE : 2, &state); buf 170 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (c32tob (buf[0]) == EOF); buf 171 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (c32tob (buf[1]) == EOF); buf 174 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (buf[2] == 0x1F60B); /* expect Unicode encoding */ buf 175 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (buf[3] == '!'); buf 176 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (buf[4] == 0); buf 177 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (buf[5] == (char32_t) 0xBADFACE); buf 180 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (buf[2] == (char32_t) 0xBADFACE); buf 221 maint/gnulib/tests/test-mbsnrtoc32s.c ret = mbsnrtoc32s (buf, &src, 5, unlimited ? BUFSIZE : 2, &state); buf 224 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (c32tob (buf[0]) == EOF); buf 225 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (c32tob (buf[1]) == EOF); buf 228 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (buf[2] == '>'); buf 229 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (buf[3] == 0); buf 230 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (buf[4] == (char32_t) 0xBADFACE); buf 233 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (buf[2] == (char32_t) 0xBADFACE); buf 266 maint/gnulib/tests/test-mbsnrtoc32s.c ret = mbsnrtoc32s (buf, &src, 11, unlimited ? BUFSIZE : 2, &state); buf 269 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (c32tob (buf[0]) == EOF); buf 270 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (c32tob (buf[1]) == EOF); buf 273 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (c32tob (buf[2]) == EOF); buf 274 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (buf[3] == '!'); buf 275 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (buf[4] == 0); buf 276 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (buf[5] == (char32_t) 0xBADFACE); buf 279 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (buf[2] == (char32_t) 0xBADFACE); buf 82 maint/gnulib/tests/test-mbsnrtowcs.c wchar_t buf[BUFSIZE]; buf 89 maint/gnulib/tests/test-mbsnrtowcs.c buf[i] = (wchar_t) 0xBADFACE; buf 122 maint/gnulib/tests/test-mbsnrtowcs.c ret = mbsnrtowcs (buf, &src, 4, unlimited ? BUFSIZE : 1, &state); buf 125 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (wctob (buf[0]) == (unsigned char) '\337'); buf 128 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (buf[1] == 'e'); buf 129 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (buf[2] == 'r'); buf 130 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (buf[3] == 0); buf 131 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (buf[4] == (wchar_t) 0xBADFACE); buf 134 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (buf[1] == (wchar_t) 0xBADFACE); buf 167 maint/gnulib/tests/test-mbsnrtowcs.c ret = mbsnrtowcs (buf, &src, 6, unlimited ? BUFSIZE : 2, &state); buf 170 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (wctob (buf[0]) == EOF); buf 171 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (wctob (buf[1]) == EOF); buf 174 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (buf[2] == 'e'); buf 175 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (buf[3] == 'r'); buf 176 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (buf[4] == 0); buf 177 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (buf[5] == (wchar_t) 0xBADFACE); buf 180 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (buf[2] == (wchar_t) 0xBADFACE); buf 221 maint/gnulib/tests/test-mbsnrtowcs.c ret = mbsnrtowcs (buf, &src, 5, unlimited ? BUFSIZE : 2, &state); buf 224 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (wctob (buf[0]) == EOF); buf 225 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (wctob (buf[1]) == EOF); buf 228 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (buf[2] == '>'); buf 229 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (buf[3] == 0); buf 230 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (buf[4] == (wchar_t) 0xBADFACE); buf 233 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (buf[2] == (wchar_t) 0xBADFACE); buf 266 maint/gnulib/tests/test-mbsnrtowcs.c ret = mbsnrtowcs (buf, &src, 8, unlimited ? BUFSIZE : 2, &state); buf 269 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (wctob (buf[0]) == EOF); buf 270 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (wctob (buf[1]) == EOF); buf 273 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (buf[2] == 'e'); buf 274 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (buf[3] == 'r'); buf 275 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (buf[4] == 0); buf 276 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (buf[5] == (wchar_t) 0xBADFACE); buf 279 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (buf[2] == (wchar_t) 0xBADFACE); buf 82 maint/gnulib/tests/test-mbsrtoc32s.c char32_t buf[BUFSIZE]; buf 89 maint/gnulib/tests/test-mbsrtoc32s.c buf[i] = (char32_t) 0xBADFACE; buf 122 maint/gnulib/tests/test-mbsrtoc32s.c ret = mbsrtoc32s (buf, &src, unlimited ? BUFSIZE : 1, &state); buf 125 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (c32tob (buf[0]) == (unsigned char) '\337'); buf 128 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (buf[1] == 'e'); buf 129 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (buf[2] == 'r'); buf 130 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (buf[3] == 0); buf 131 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (buf[4] == (char32_t) 0xBADFACE); buf 134 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (buf[1] == (char32_t) 0xBADFACE); buf 167 maint/gnulib/tests/test-mbsrtoc32s.c ret = mbsrtoc32s (buf, &src, unlimited ? BUFSIZE : 2, &state); buf 170 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (c32tob (buf[0]) == EOF); buf 171 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (c32tob (buf[1]) == EOF); buf 174 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (buf[2] == 0x1F60B); /* expect Unicode encoding */ buf 175 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (buf[3] == '!'); buf 176 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (buf[4] == 0); buf 177 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (buf[5] == (char32_t) 0xBADFACE); buf 180 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (buf[2] == (char32_t) 0xBADFACE); buf 221 maint/gnulib/tests/test-mbsrtoc32s.c ret = mbsrtoc32s (buf, &src, unlimited ? BUFSIZE : 2, &state); buf 224 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (c32tob (buf[0]) == EOF); buf 225 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (c32tob (buf[1]) == EOF); buf 228 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (buf[2] == '>'); buf 229 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (buf[3] == 0); buf 230 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (buf[4] == (char32_t) 0xBADFACE); buf 233 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (buf[2] == (char32_t) 0xBADFACE); buf 266 maint/gnulib/tests/test-mbsrtoc32s.c ret = mbsrtoc32s (buf, &src, unlimited ? BUFSIZE : 2, &state); buf 269 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (c32tob (buf[0]) == EOF); buf 270 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (c32tob (buf[1]) == EOF); buf 273 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (c32tob (buf[2]) == EOF); buf 274 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (buf[3] == '!'); buf 275 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (buf[4] == 0); buf 276 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (buf[5] == (char32_t) 0xBADFACE); buf 279 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (buf[2] == (char32_t) 0xBADFACE); buf 82 maint/gnulib/tests/test-mbsrtowcs.c wchar_t buf[BUFSIZE]; buf 89 maint/gnulib/tests/test-mbsrtowcs.c buf[i] = (wchar_t) 0xBADFACE; buf 122 maint/gnulib/tests/test-mbsrtowcs.c ret = mbsrtowcs (buf, &src, unlimited ? BUFSIZE : 1, &state); buf 125 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (wctob (buf[0]) == (unsigned char) '\337'); buf 128 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (buf[1] == 'e'); buf 129 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (buf[2] == 'r'); buf 130 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (buf[3] == 0); buf 131 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (buf[4] == (wchar_t) 0xBADFACE); buf 134 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (buf[1] == (wchar_t) 0xBADFACE); buf 167 maint/gnulib/tests/test-mbsrtowcs.c ret = mbsrtowcs (buf, &src, unlimited ? BUFSIZE : 2, &state); buf 170 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (wctob (buf[0]) == EOF); buf 171 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (wctob (buf[1]) == EOF); buf 174 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (buf[2] == 'e'); buf 175 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (buf[3] == 'r'); buf 176 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (buf[4] == 0); buf 177 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (buf[5] == (wchar_t) 0xBADFACE); buf 180 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (buf[2] == (wchar_t) 0xBADFACE); buf 221 maint/gnulib/tests/test-mbsrtowcs.c ret = mbsrtowcs (buf, &src, unlimited ? BUFSIZE : 2, &state); buf 224 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (wctob (buf[0]) == EOF); buf 225 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (wctob (buf[1]) == EOF); buf 228 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (buf[2] == '>'); buf 229 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (buf[3] == 0); buf 230 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (buf[4] == (wchar_t) 0xBADFACE); buf 233 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (buf[2] == (wchar_t) 0xBADFACE); buf 266 maint/gnulib/tests/test-mbsrtowcs.c ret = mbsrtowcs (buf, &src, unlimited ? BUFSIZE : 2, &state); buf 269 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (wctob (buf[0]) == EOF); buf 270 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (wctob (buf[1]) == EOF); buf 273 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (buf[2] == 'e'); buf 274 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (buf[3] == 'r'); buf 275 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (buf[4] == 0); buf 276 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (buf[5] == (wchar_t) 0xBADFACE); buf 279 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (buf[2] == (wchar_t) 0xBADFACE); buf 74 maint/gnulib/tests/test-mbstoc32s.c char32_t buf[BUFSIZE]; buf 80 maint/gnulib/tests/test-mbstoc32s.c buf[i] = (char32_t) 0xBADFACE; buf 107 maint/gnulib/tests/test-mbstoc32s.c ret = mbstoc32s (buf, src, unlimited ? BUFSIZE : 1); buf 109 maint/gnulib/tests/test-mbstoc32s.c ASSERT (c32tob (buf[0]) == (unsigned char) '\337'); buf 112 maint/gnulib/tests/test-mbstoc32s.c ASSERT (buf[1] == 'e'); buf 113 maint/gnulib/tests/test-mbstoc32s.c ASSERT (buf[2] == 'r'); buf 114 maint/gnulib/tests/test-mbstoc32s.c ASSERT (buf[3] == 0); buf 115 maint/gnulib/tests/test-mbstoc32s.c ASSERT (buf[4] == (char32_t) 0xBADFACE); buf 118 maint/gnulib/tests/test-mbstoc32s.c ASSERT (buf[1] == (char32_t) 0xBADFACE); buf 145 maint/gnulib/tests/test-mbstoc32s.c ret = mbstoc32s (buf, src, unlimited ? BUFSIZE : 2); buf 147 maint/gnulib/tests/test-mbstoc32s.c ASSERT (buf[0] == 0x00DF); /* expect Unicode encoding */ buf 148 maint/gnulib/tests/test-mbstoc32s.c ASSERT (buf[1] == 0x1F60B); /* expect Unicode encoding */ buf 151 maint/gnulib/tests/test-mbstoc32s.c ASSERT (buf[2] == '!'); buf 152 maint/gnulib/tests/test-mbstoc32s.c ASSERT (buf[3] == 0); buf 153 maint/gnulib/tests/test-mbstoc32s.c ASSERT (buf[4] == (char32_t) 0xBADFACE); buf 156 maint/gnulib/tests/test-mbstoc32s.c ASSERT (buf[2] == (char32_t) 0xBADFACE); buf 183 maint/gnulib/tests/test-mbstoc32s.c ret = mbstoc32s (buf, src, unlimited ? BUFSIZE : 2); buf 185 maint/gnulib/tests/test-mbstoc32s.c ASSERT (c32tob (buf[0]) == EOF); buf 186 maint/gnulib/tests/test-mbstoc32s.c ASSERT (c32tob (buf[1]) == EOF); buf 189 maint/gnulib/tests/test-mbstoc32s.c ASSERT (buf[2] == '>'); buf 190 maint/gnulib/tests/test-mbstoc32s.c ASSERT (buf[3] == 0); buf 191 maint/gnulib/tests/test-mbstoc32s.c ASSERT (buf[4] == (char32_t) 0xBADFACE); buf 194 maint/gnulib/tests/test-mbstoc32s.c ASSERT (buf[2] == (char32_t) 0xBADFACE); buf 220 maint/gnulib/tests/test-mbstoc32s.c ret = mbstoc32s (buf, src, unlimited ? BUFSIZE : 2); buf 222 maint/gnulib/tests/test-mbstoc32s.c ASSERT (c32tob (buf[0]) == EOF); buf 223 maint/gnulib/tests/test-mbstoc32s.c ASSERT (c32tob (buf[1]) == EOF); buf 226 maint/gnulib/tests/test-mbstoc32s.c ASSERT (buf[2] == '!'); buf 227 maint/gnulib/tests/test-mbstoc32s.c ASSERT (buf[3] == 0); buf 228 maint/gnulib/tests/test-mbstoc32s.c ASSERT (buf[4] == (char32_t) 0xBADFACE); buf 231 maint/gnulib/tests/test-mbstoc32s.c ASSERT (buf[2] == (char32_t) 0xBADFACE); buf 35 maint/gnulib/tests/test-md2-buffer.c char buf[MD2_DIGEST_SIZE]; buf 37 maint/gnulib/tests/test-md2-buffer.c if (memcmp (md2_buffer (in1, strlen (in1), buf), out1, MD2_DIGEST_SIZE) != buf 46 maint/gnulib/tests/test-md2-buffer.c printf ("%02x ", buf[i] & 0xFF); buf 51 maint/gnulib/tests/test-md2-buffer.c if (memcmp (md2_buffer (in2, strlen (in2), buf), out2, MD2_DIGEST_SIZE) != buf 60 maint/gnulib/tests/test-md2-buffer.c printf ("%02x ", buf[i] & 0xFF); buf 36 maint/gnulib/tests/test-md4-buffer.c char buf[MD4_DIGEST_SIZE]; buf 38 maint/gnulib/tests/test-md4-buffer.c if (memcmp (md4_buffer (in1, strlen (in1), buf), out1, MD4_DIGEST_SIZE) != buf 47 maint/gnulib/tests/test-md4-buffer.c printf ("%02x ", buf[i] & 0xFF); buf 52 maint/gnulib/tests/test-md4-buffer.c if (memcmp (md4_buffer (in2, strlen (in2), buf), out2, MD4_DIGEST_SIZE) != buf 61 maint/gnulib/tests/test-md4-buffer.c printf ("%02x ", buf[i] & 0xFF); buf 38 maint/gnulib/tests/test-md5-buffer.c char buf[MD5_DIGEST_SIZE]; buf 40 maint/gnulib/tests/test-md5-buffer.c if (memcmp (md5_buffer (in1, strlen (in1), buf), out1, MD5_DIGEST_SIZE) != 0) buf 48 maint/gnulib/tests/test-md5-buffer.c printf ("%02x ", buf[i] & 0xFFu); buf 53 maint/gnulib/tests/test-md5-buffer.c if (memcmp (md5_buffer (in2, strlen (in2), buf), out2, MD5_DIGEST_SIZE) != 0) buf 61 maint/gnulib/tests/test-md5-buffer.c printf ("%02x ", buf[i] & 0xFFu); buf 52 maint/gnulib/tests/test-net_if.c char buf[IF_NAMESIZE]; buf 66 maint/gnulib/tests/test-net_if.c q = if_indextoname (p->if_index, buf); buf 72 maint/gnulib/tests/test-net_if.c if (q != buf) buf 88 maint/gnulib/tests/test-nonblocking-misc.h static char buf[256]; buf 91 maint/gnulib/tests/test-nonblocking-misc.h sprintf (buf, " %d %s", err, strerror (err)); buf 92 maint/gnulib/tests/test-nonblocking-misc.h return buf; buf 58 maint/gnulib/tests/test-nonblocking-reader.h full_read (size_t fd, void *buf, size_t count) buf 72 maint/gnulib/tests/test-nonblocking-reader.h ret = read (fd, (char *) buf + bytes_read, count - bytes_read); buf 89 maint/gnulib/tests/test-nonblocking-reader.h full_read_from_nonblocking_fd (size_t fd, void *buf, size_t count) buf 103 maint/gnulib/tests/test-nonblocking-reader.h ret = read (fd, (char *) buf + bytes_read, count - bytes_read); buf 62 maint/gnulib/tests/test-nstrftime.c char buf[1000]; buf 69 maint/gnulib/tests/test-nstrftime.c n = nstrftime (buf, sizeof buf, T[i].fmt, tm, 0, T[i].in_ns); buf 76 maint/gnulib/tests/test-nstrftime.c if (! STREQ (buf, T[i].exp)) buf 80 maint/gnulib/tests/test-nstrftime.c T[i].fmt, buf, T[i].exp); buf 167 maint/gnulib/tests/test-nstrftime.c char buf[1000]; buf 193 maint/gnulib/tests/test-nstrftime.c n = nstrftime (buf, sizeof buf, format, &tm, tz, 0); buf 201 maint/gnulib/tests/test-nstrftime.c if (! (STREQ (buf, LT[i].exp) buf 203 maint/gnulib/tests/test-nstrftime.c && memcmp (buf, LT[i].exp, n - sizeof "(GMT)" + 1) == 0 buf 204 maint/gnulib/tests/test-nstrftime.c && STREQ (buf + n - sizeof "(GMT)" + 1, "(GMT)")))) buf 211 maint/gnulib/tests/test-nstrftime.c setting, LT[i].exp, buf); buf 258 maint/gnulib/tests/test-nstrftime.c char buf[INT_BUFSIZE_BOUND (time_t)]; buf 263 maint/gnulib/tests/test-nstrftime.c n = nstrftime (buf, 0, "%m", &tm, 0, 0); buf 271 maint/gnulib/tests/test-nstrftime.c n = nstrftime (buf, sizeof buf, "", &tm, 0, 0); buf 281 maint/gnulib/tests/test-nstrftime.c n = nstrftime (buf, sizeof buf, "%s", &tm, 0, 0); buf 299 maint/gnulib/tests/test-nstrftime.c long long int text_seconds = atoll (buf); buf 312 maint/gnulib/tests/test-nstrftime.c char buf1[sizeof buf]; buf 315 maint/gnulib/tests/test-nstrftime.c if (! STREQ (buf, buf1)) buf 319 maint/gnulib/tests/test-nstrftime.c buf, buf1); buf 47 maint/gnulib/tests/test-openat-safer.c char buf[2]; buf 115 maint/gnulib/tests/test-openat-safer.c ASSERT (read (fd, buf, 2) == 2); buf 116 maint/gnulib/tests/test-openat-safer.c ASSERT (buf[0] == 'h' && buf[1] == 'i'); buf 87 maint/gnulib/tests/test-openpty.c char buf[100]; buf 88 maint/gnulib/tests/test-openpty.c int res = read (slave, buf, sizeof (buf)); buf 97 maint/gnulib/tests/test-openpty.c && memcmp (buf, expected, strlen (expected)) == 0)) buf 455 maint/gnulib/tests/test-parse-datetime.c char buf[bufsize]; buf 456 maint/gnulib/tests/test-parse-datetime.c memcpy (buf, bufprefix, sizeof bufprefix - 1); buf 457 maint/gnulib/tests/test-parse-datetime.c memset (buf + sizeof bufprefix - 1, 'X', tzname_len); buf 458 maint/gnulib/tests/test-parse-datetime.c strcpy (buf + sizeof bufprefix - 1 + tzname_len, bufsuffix); buf 459 maint/gnulib/tests/test-parse-datetime.c ASSERT (parse_datetime (&result, buf, &now)); buf 460 maint/gnulib/tests/test-parse-datetime.c LOG (buf, now, result); buf 96 maint/gnulib/tests/test-perror2.c char buf[256]; buf 100 maint/gnulib/tests/test-perror2.c ASSERT (strlen (err) < sizeof buf); buf 107 maint/gnulib/tests/test-perror2.c ASSERT (fgets (buf, sizeof buf, stderr) == buf); buf 108 maint/gnulib/tests/test-perror2.c ASSERT (strstr (buf, err)); buf 36 maint/gnulib/tests/test-pipe-filter-gi1.c char buf[19]; buf 43 maint/gnulib/tests/test-pipe-filter-gi1.c *num_bytes_p = sizeof (l->buf); buf 44 maint/gnulib/tests/test-pipe-filter-gi1.c return l->buf; buf 38 maint/gnulib/tests/test-pipe-filter-ii1.c char buf[19]; buf 65 maint/gnulib/tests/test-pipe-filter-ii1.c *num_bytes_p = sizeof (l->buf); buf 66 maint/gnulib/tests/test-pipe-filter-ii1.c return l->buf; buf 39 maint/gnulib/tests/test-pipe-filter-ii2-main.c char buf[5]; buf 66 maint/gnulib/tests/test-pipe-filter-ii2-main.c *num_bytes_p = sizeof (l->buf); buf 67 maint/gnulib/tests/test-pipe-filter-ii2-main.c return l->buf; buf 250 maint/gnulib/tests/test-poll.c char buf[3]; buf 264 maint/gnulib/tests/test-poll.c ASSERT (read (c, buf, 3) == 3); buf 281 maint/gnulib/tests/test-poll.c ASSERT (read (c, buf, 3) == 3); buf 301 maint/gnulib/tests/test-poll.c char buf[3]; buf 319 maint/gnulib/tests/test-poll.c ASSERT (read (rd, buf, 3) == 3); buf 112 maint/gnulib/tests/test-posix_spawn-inherit0.c char buf[1024]; buf 113 maint/gnulib/tests/test-posix_spawn-inherit0.c int nread = fread (buf, 1, sizeof (buf), stdin); buf 114 maint/gnulib/tests/test-posix_spawn-inherit0.c if (!(nread == 5 && memcmp (buf, "Potta", 5) == 0)) buf 96 maint/gnulib/tests/test-posix_spawn-inherit1.c char buf[1024]; buf 97 maint/gnulib/tests/test-posix_spawn-inherit1.c int nread = fread (buf, 1, sizeof (buf), fp); buf 98 maint/gnulib/tests/test-posix_spawn-inherit1.c if (!(nread == 11 && memcmp (buf, "Halle Potta", 11) == 0)) buf 118 maint/gnulib/tests/test-posix_spawn-open1.c char buf[1024]; buf 121 maint/gnulib/tests/test-posix_spawn-open1.c if (fread (buf, 1, sizeof (buf), stdin) == 11 buf 122 maint/gnulib/tests/test-posix_spawn-open1.c && memcmp (buf, "Halle Potta", 11) == 0) buf 101 maint/gnulib/tests/test-posix_spawn-open2.c char buf[1024]; buf 102 maint/gnulib/tests/test-posix_spawn-open2.c int nread = fread (buf, 1, sizeof (buf), fp); buf 103 maint/gnulib/tests/test-posix_spawn-open2.c if (!(nread == 11 && memcmp (buf, "Halle Potta", 11) == 0)) buf 137 maint/gnulib/tests/test-posix_spawn-script.c char buf[1024]; buf 138 maint/gnulib/tests/test-posix_spawn-script.c int nread = fread (buf, 1, sizeof (buf), fp); buf 139 maint/gnulib/tests/test-posix_spawn-script.c if (!(nread == 11 && memcmp (buf, "Halle Potta", 11) == 0)) buf 137 maint/gnulib/tests/test-posix_spawnp-script.c char buf[1024]; buf 138 maint/gnulib/tests/test-posix_spawnp-script.c int nread = fread (buf, 1, sizeof (buf), fp); buf 139 maint/gnulib/tests/test-posix_spawnp-script.c if (!(nread == 11 && memcmp (buf, "Halle Potta", 11) == 0)) buf 32 maint/gnulib/tests/test-pread.c #define N (sizeof buf - 1) buf 39 maint/gnulib/tests/test-pread.c char buf[] = "0123456789"; buf 46 maint/gnulib/tests/test-pread.c ASSERT (write (fd, buf, N) == N); buf 62 maint/gnulib/tests/test-pread.c ASSERT (byte_buf == buf[i]); buf 31 maint/gnulib/tests/test-pwrite.c #define N (sizeof buf - 1) buf 38 maint/gnulib/tests/test-pwrite.c char buf[] = "0123456789"; buf 47 maint/gnulib/tests/test-pwrite.c ASSERT (write (fd, buf, N) == N); buf 75 maint/gnulib/tests/test-pwrite.c ASSERT (read (fd, buf, N) == N); buf 77 maint/gnulib/tests/test-pwrite.c ASSERT (strcmp ("W1W3W5W7W9",buf) == 0); buf 37 maint/gnulib/tests/test-qsort_r.c char buf[] = "thequickbrownfoxjumpedoverthelazydogs"; buf 40 maint/gnulib/tests/test-qsort_r.c qsort_r (buf, sizeof buf - 1, 1, cmp, &forward); buf 41 maint/gnulib/tests/test-qsort_r.c if (strcmp (buf, "abcddeeeefghhijklmnoooopqrrsttuuvwxyz") != 0) buf 43 maint/gnulib/tests/test-qsort_r.c qsort_r (buf, sizeof buf - 1, 1, cmp, &reverse); buf 44 maint/gnulib/tests/test-qsort_r.c if (strcmp (buf, "zyxwvuuttsrrqpoooonmlkjihhgfeeeeddcba") != 0) buf 340 maint/gnulib/tests/test-quotearg-simple.c char buf[10]; buf 356 maint/gnulib/tests/test-quotearg-simple.c size_t n = quotearg_buffer (buf, sizeof buf, z, SIZE_MAX, NULL); buf 358 maint/gnulib/tests/test-quotearg-simple.c ASSERT (memcmp (buf, q, sizeof buf) == 0); buf 104 maint/gnulib/tests/test-quotearg.h static char buf[100]; buf 106 maint/gnulib/tests/test-quotearg.h memset (buf, 0xa5, 100); buf 107 maint/gnulib/tests/test-quotearg.h size = quotearg_buffer (buf, 100, str, *len, NULL); buf 109 maint/gnulib/tests/test-quotearg.h ASSERT ((unsigned char) buf[size + 1] == 0xa5); buf 110 maint/gnulib/tests/test-quotearg.h return buf; buf 34 maint/gnulib/tests/test-random.c char buf[128]; buf 38 maint/gnulib/tests/test-random.c initstate (time (NULL), buf, sizeof buf); buf 36 maint/gnulib/tests/test-random_r.c char buf[128 + sizeof (int32_t)]; buf 41 maint/gnulib/tests/test-random_r.c if (initstate_r (time (NULL), buf + alignment, sizeof buf - alignment, buf 47 maint/gnulib/tests/test-read.c char buf[10]; buf 48 maint/gnulib/tests/test-read.c ssize_t ret = read (fd, buf, 10); buf 50 maint/gnulib/tests/test-read.c ASSERT (memcmp (buf, "World", 5) == 0); buf 28 maint/gnulib/tests/test-readlink.h char buf[80]; buf 32 maint/gnulib/tests/test-readlink.h memset (buf, 0xff, sizeof buf); buf 34 maint/gnulib/tests/test-readlink.h ASSERT (func ("no_such", buf, sizeof buf) == -1); buf 37 maint/gnulib/tests/test-readlink.h ASSERT (func ("no_such/", buf, sizeof buf) == -1); buf 40 maint/gnulib/tests/test-readlink.h ASSERT (func ("", buf, sizeof buf) == -1); buf 43 maint/gnulib/tests/test-readlink.h ASSERT (func (".", buf, sizeof buf) == -1); buf 46 maint/gnulib/tests/test-readlink.h ASSERT (func ("./", buf, sizeof buf) == -1); buf 50 maint/gnulib/tests/test-readlink.h ASSERT (func (BASE "file", buf, sizeof buf) == -1); buf 53 maint/gnulib/tests/test-readlink.h ASSERT (func (BASE "file/", buf, sizeof buf) == -1); buf 67 maint/gnulib/tests/test-readlink.h ASSERT (func (BASE "link/", buf, sizeof buf) == -1); buf 71 maint/gnulib/tests/test-readlink.h ASSERT (func (BASE "link2/", buf, sizeof buf) == -1); buf 76 maint/gnulib/tests/test-readlink.h ASSERT (func (BASE "link2/", buf, sizeof buf) == -1); buf 84 maint/gnulib/tests/test-readlink.h for (i = 0; i < sizeof buf; i++) buf 85 maint/gnulib/tests/test-readlink.h ASSERT (buf[i] == (char) 0xff); buf 94 maint/gnulib/tests/test-readlink.h result = readlink (BASE "link", buf, 1); buf 98 maint/gnulib/tests/test-readlink.h ASSERT (buf[0] == (char) 0xff); buf 103 maint/gnulib/tests/test-readlink.h ASSERT (buf[0] == BASE[0]); buf 105 maint/gnulib/tests/test-readlink.h ASSERT (buf[1] == (char) 0xff); buf 106 maint/gnulib/tests/test-readlink.h ASSERT (func (BASE "link", buf, len) == len); buf 107 maint/gnulib/tests/test-readlink.h ASSERT (strncmp (buf, BASE "dir", len) == 0); buf 108 maint/gnulib/tests/test-readlink.h ASSERT (buf[len] == (char) 0xff); buf 109 maint/gnulib/tests/test-readlink.h ASSERT (func (BASE "link", buf, sizeof buf) == len); buf 110 maint/gnulib/tests/test-readlink.h ASSERT (strncmp (buf, BASE "dir", len) == 0); buf 113 maint/gnulib/tests/test-readlink.h ASSERT (buf[len] == '\0' || buf[len] == (char) 0xff); buf 48 maint/gnulib/tests/test-readlinkat.c do_readlink (char const *name, char *buf, size_t len) buf 50 maint/gnulib/tests/test-readlinkat.c return readlinkat (dfd, name, buf, len); buf 56 maint/gnulib/tests/test-readlinkat.c char buf[80]; buf 65 maint/gnulib/tests/test-readlinkat.c ASSERT (readlinkat (-1, "foo", buf, sizeof buf) == -1); buf 71 maint/gnulib/tests/test-readlinkat.c ASSERT (readlinkat (99, "foo", buf, sizeof buf) == -1); buf 95 maint/gnulib/tests/test-readlinkat.c ASSERT (readlinkat (AT_FDCWD, BASE "link", buf, sizeof buf) == -1); buf 97 maint/gnulib/tests/test-readlinkat.c ASSERT (readlinkat (dfd, BASE "link", buf, sizeof buf) == exp); buf 98 maint/gnulib/tests/test-readlinkat.c ASSERT (strncmp (contents, buf, exp) == 0); buf 107 maint/gnulib/tests/test-readlinkat.c buf[0] = '\0'; buf 108 maint/gnulib/tests/test-readlinkat.c ASSERT (readlinkat (AT_FDCWD, BASE "link", buf, sizeof buf) == exp); buf 109 maint/gnulib/tests/test-readlinkat.c ASSERT (strncmp (contents, buf, exp) == 0); buf 110 maint/gnulib/tests/test-readlinkat.c buf[0] = '\0'; buf 111 maint/gnulib/tests/test-readlinkat.c ASSERT (readlinkat (dfd, BASE "link", buf, sizeof buf) == exp); buf 112 maint/gnulib/tests/test-readlinkat.c ASSERT (strncmp (contents, buf, exp) == 0); buf 138 maint/gnulib/tests/test-regex.c char buf[500]; buf 139 maint/gnulib/tests/test-regex.c regerror (n, &re, buf, sizeof (buf)); buf 140 maint/gnulib/tests/test-regex.c report_error ("%s: regcomp %zd failed: %s", tests[i].pattern, i, buf); buf 42 maint/gnulib/tests/test-scratch-buffer.c struct scratch_buffer buf; buf 46 maint/gnulib/tests/test-scratch-buffer.c scratch_buffer_init (&buf); buf 48 maint/gnulib/tests/test-scratch-buffer.c ok = scratch_buffer_set_array_size (&buf, size, 1); buf 52 maint/gnulib/tests/test-scratch-buffer.c ((unsigned char *) buf.data)[i] = byte_at (i); buf 54 maint/gnulib/tests/test-scratch-buffer.c memset (buf.data, 'x', buf.length); buf 55 maint/gnulib/tests/test-scratch-buffer.c memset (buf.data, 'y', size); buf 57 maint/gnulib/tests/test-scratch-buffer.c scratch_buffer_free (&buf); buf 68 maint/gnulib/tests/test-scratch-buffer.c struct scratch_buffer buf; buf 72 maint/gnulib/tests/test-scratch-buffer.c scratch_buffer_init (&buf); buf 74 maint/gnulib/tests/test-scratch-buffer.c while (buf.length < size) buf 76 maint/gnulib/tests/test-scratch-buffer.c ok = scratch_buffer_grow (&buf); buf 81 maint/gnulib/tests/test-scratch-buffer.c ((unsigned char *) buf.data)[i] = byte_at (i); buf 83 maint/gnulib/tests/test-scratch-buffer.c memset (buf.data, 'x', buf.length); buf 84 maint/gnulib/tests/test-scratch-buffer.c memset (buf.data, 'y', size); buf 86 maint/gnulib/tests/test-scratch-buffer.c scratch_buffer_free (&buf); buf 93 maint/gnulib/tests/test-scratch-buffer.c struct scratch_buffer buf; buf 99 maint/gnulib/tests/test-scratch-buffer.c scratch_buffer_init (&buf); buf 103 maint/gnulib/tests/test-scratch-buffer.c ok = scratch_buffer_set_array_size (&buf, size, 1); buf 107 maint/gnulib/tests/test-scratch-buffer.c ((unsigned char *) buf.data)[i] = byte_at (i); buf 114 maint/gnulib/tests/test-scratch-buffer.c while (buf.length < size) buf 116 maint/gnulib/tests/test-scratch-buffer.c ok = scratch_buffer_grow_preserve (&buf); buf 121 maint/gnulib/tests/test-scratch-buffer.c ASSERT(((unsigned char *) buf.data)[i] == byte_at (i)); buf 123 maint/gnulib/tests/test-scratch-buffer.c ((unsigned char *) buf.data)[i] = byte_at (i); buf 126 maint/gnulib/tests/test-scratch-buffer.c scratch_buffer_free (&buf); buf 354 maint/gnulib/tests/test-select.h char buf[3]; buf 367 maint/gnulib/tests/test-select.h ASSERT (read (c, buf, 3) == 3); buf 382 maint/gnulib/tests/test-select.h ASSERT (read (c, buf, 3) == 3); buf 395 maint/gnulib/tests/test-select.h char buf[3]; buf 407 maint/gnulib/tests/test-select.h ASSERT (read (rd, buf, 3) == 3); buf 74 maint/gnulib/tests/test-setlocale_null-mt-all.c char buf[SETLOCALE_NULL_ALL_MAX]; buf 76 maint/gnulib/tests/test-setlocale_null-mt-all.c if (setlocale_null_r (LC_ALL, buf, sizeof (buf))) buf 78 maint/gnulib/tests/test-setlocale_null-mt-all.c if (strcmp (expected, buf) != 0) buf 93 maint/gnulib/tests/test-setlocale_null-mt-all.c char buf[SETLOCALE_NULL_ALL_MAX]; buf 95 maint/gnulib/tests/test-setlocale_null-mt-all.c setlocale_null_r (LC_NUMERIC, buf, sizeof (buf)); buf 96 maint/gnulib/tests/test-setlocale_null-mt-all.c setlocale_null_r (LC_ALL, buf, sizeof (buf)); buf 74 maint/gnulib/tests/test-setlocale_null-mt-one.c char buf[SETLOCALE_NULL_MAX]; buf 76 maint/gnulib/tests/test-setlocale_null-mt-one.c if (setlocale_null_r (LC_NUMERIC, buf, sizeof (buf))) buf 78 maint/gnulib/tests/test-setlocale_null-mt-one.c if (strcmp (expected, buf) != 0) buf 93 maint/gnulib/tests/test-setlocale_null-mt-one.c char buf[SETLOCALE_NULL_MAX]; buf 95 maint/gnulib/tests/test-setlocale_null-mt-one.c setlocale_null_r (LC_NUMERIC, buf, sizeof (buf)); buf 96 maint/gnulib/tests/test-setlocale_null-mt-one.c setlocale_null_r (LC_TIME, buf, sizeof (buf)); buf 25 maint/gnulib/tests/test-setlocale_null.c static char buf[SETLOCALE_NULL_ALL_MAX]; buf 31 maint/gnulib/tests/test-setlocale_null.c return setlocale_null_r (LC_ALL, buf, sizeof (buf)) != 0; buf 32 maint/gnulib/tests/test-sh-quote.c char buf[1000]; buf 42 maint/gnulib/tests/test-sh-quote.c ASSERT (output_len <= sizeof (buf) - 2); buf 43 maint/gnulib/tests/test-sh-quote.c memset (buf, '\0', output_len + 1); buf 44 maint/gnulib/tests/test-sh-quote.c buf[output_len + 1] = '%'; buf 45 maint/gnulib/tests/test-sh-quote.c bufend = shell_quote_copy (buf, input); buf 46 maint/gnulib/tests/test-sh-quote.c ASSERT (bufend == buf + output_len); buf 47 maint/gnulib/tests/test-sh-quote.c ASSERT (memcmp (buf, output, output_len + 1) == 0); buf 48 maint/gnulib/tests/test-sh-quote.c ASSERT (buf[output_len + 1] == '%'); buf 31 maint/gnulib/tests/test-sha1-buffer.c char buf[SHA1_DIGEST_SIZE]; buf 33 maint/gnulib/tests/test-sha1-buffer.c if (memcmp (sha1_buffer (in1, strlen (in1), buf), buf 42 maint/gnulib/tests/test-sha1-buffer.c printf ("%02x ", buf[i] & 0xFFu); buf 28 maint/gnulib/tests/test-sm3-buffer.c char buf[SM3_DIGEST_SIZE]; buf 30 maint/gnulib/tests/test-sm3-buffer.c if (memcmp (sm3_buffer (in, strlen (in), buf), buf 39 maint/gnulib/tests/test-sm3-buffer.c printf ("%02x ", buf[i] & 0xFFu); buf 80 maint/gnulib/tests/test-snprintf-posix.h char buf[8]; buf 90 maint/gnulib/tests/test-snprintf-posix.h memcpy (buf, "DEADBEEF", 8); buf 91 maint/gnulib/tests/test-snprintf-posix.h retval = my_snprintf (buf, size, "%d", 12345); buf 97 maint/gnulib/tests/test-snprintf-posix.h ASSERT (memcmp (buf, "12345", size - 1) == 0); buf 98 maint/gnulib/tests/test-snprintf-posix.h ASSERT (buf[size - 1] == '\0'); buf 100 maint/gnulib/tests/test-snprintf-posix.h ASSERT (memcmp (buf + size, &"DEADBEEF"[size], 8 - size) == 0); buf 104 maint/gnulib/tests/test-snprintf-posix.h ASSERT (memcmp (buf, "12345\0EF", 8) == 0); buf 33 maint/gnulib/tests/test-snprintf.c char buf[8]; buf 42 maint/gnulib/tests/test-snprintf.c memcpy (buf, "DEADBEEF", 8); buf 43 maint/gnulib/tests/test-snprintf.c retval = snprintf (buf, size, "%d", 12345); buf 49 maint/gnulib/tests/test-snprintf.c ASSERT (memcmp (buf, "12345", size - 1) == 0); buf 50 maint/gnulib/tests/test-snprintf.c ASSERT (buf[size - 1] == '\0' || buf[size - 1] == '0' + size); buf 55 maint/gnulib/tests/test-snprintf.c ASSERT (memcmp (buf + size, &"DEADBEEF"[size], 8 - size) == 0); buf 59 maint/gnulib/tests/test-snprintf.c ASSERT (memcmp (buf, "12345\0EF", 8) == 0); buf 81 maint/gnulib/tests/test-sprintf-posix.h char buf[8]; buf 88 maint/gnulib/tests/test-sprintf-posix.h memcpy (buf, "DEADBEEF", 8); buf 89 maint/gnulib/tests/test-sprintf-posix.h retval = my_sprintf (buf, "%d", 12345); buf 91 maint/gnulib/tests/test-sprintf-posix.h ASSERT (memcmp (buf, "12345\0EF", 8) == 0); buf 31 maint/gnulib/tests/test-strerror_r.c char buf[100]; buf 37 maint/gnulib/tests/test-strerror_r.c buf[0] = '\0'; buf 38 maint/gnulib/tests/test-strerror_r.c ASSERT (strerror_r (EACCES, buf, sizeof buf) == 0); buf 39 maint/gnulib/tests/test-strerror_r.c ASSERT (buf[0] != '\0'); buf 41 maint/gnulib/tests/test-strerror_r.c ASSERT (strlen (buf) < sizeof buf); buf 44 maint/gnulib/tests/test-strerror_r.c buf[0] = '\0'; buf 45 maint/gnulib/tests/test-strerror_r.c ASSERT (strerror_r (ETIMEDOUT, buf, sizeof buf) == 0); buf 46 maint/gnulib/tests/test-strerror_r.c ASSERT (buf[0] != '\0'); buf 48 maint/gnulib/tests/test-strerror_r.c ASSERT (strlen (buf) < sizeof buf); buf 51 maint/gnulib/tests/test-strerror_r.c buf[0] = '\0'; buf 52 maint/gnulib/tests/test-strerror_r.c ASSERT (strerror_r (EOVERFLOW, buf, sizeof buf) == 0); buf 53 maint/gnulib/tests/test-strerror_r.c ASSERT (buf[0] != '\0'); buf 55 maint/gnulib/tests/test-strerror_r.c ASSERT (strlen (buf) < sizeof buf); buf 62 maint/gnulib/tests/test-strerror_r.c buf[0] = '\0'; buf 63 maint/gnulib/tests/test-strerror_r.c ret = strerror_r (0, buf, sizeof buf); buf 65 maint/gnulib/tests/test-strerror_r.c ASSERT (buf[0]); buf 67 maint/gnulib/tests/test-strerror_r.c ASSERT (strstr (buf, "nknown") == NULL); buf 68 maint/gnulib/tests/test-strerror_r.c ASSERT (strstr (buf, "ndefined") == NULL); buf 74 maint/gnulib/tests/test-strerror_r.c buf[0] = '^'; buf 75 maint/gnulib/tests/test-strerror_r.c ret = strerror_r (-3, buf, sizeof buf); buf 77 maint/gnulib/tests/test-strerror_r.c ASSERT (buf[0] != '^'); buf 78 maint/gnulib/tests/test-strerror_r.c ASSERT (*buf); buf 80 maint/gnulib/tests/test-strerror_r.c ASSERT (strlen (buf) < sizeof buf); buf 93 maint/gnulib/tests/test-strerror_r.c buf[sizeof buf - 1] = '\0'; buf 97 maint/gnulib/tests/test-strerror_r.c char buf2[sizeof buf] = ""; buf 103 maint/gnulib/tests/test-strerror_r.c ASSERT (len < sizeof buf); buf 107 maint/gnulib/tests/test-strerror_r.c memset (buf, '^', sizeof buf - 1); buf 109 maint/gnulib/tests/test-strerror_r.c ret = strerror_r (err, buf, i); buf 117 maint/gnulib/tests/test-strerror_r.c ASSERT (strncmp (buf, buf2, i - 1) == 0); buf 118 maint/gnulib/tests/test-strerror_r.c ASSERT (buf[i - 1] == '\0'); buf 120 maint/gnulib/tests/test-strerror_r.c ASSERT (strspn (buf + i, "^") == sizeof buf - 1 - i); buf 123 maint/gnulib/tests/test-strerror_r.c strcpy (buf, "BADFACE"); buf 125 maint/gnulib/tests/test-strerror_r.c ret = strerror_r (err, buf, len + 1); buf 128 maint/gnulib/tests/test-strerror_r.c ASSERT (strcmp (buf, buf2) == 0); buf 166 maint/gnulib/tests/test-strerror_r.c strerror_r (EACCES, buf, sizeof buf); buf 167 maint/gnulib/tests/test-strerror_r.c strerror_r (-5, buf, sizeof buf); buf 41 maint/gnulib/tests/test-strfmon_l.c char buf[80]; buf 47 maint/gnulib/tests/test-strfmon_l.c ret = strfmon_l (buf, sizeof (buf), loc, "%^#5.0n", 123.4); buf 48 maint/gnulib/tests/test-strfmon_l.c ASSERT ( (ret == 5 && strcmp (buf, " 123") == 0) /* AIX, Solaris */ buf 49 maint/gnulib/tests/test-strfmon_l.c || (ret == 6 && strcmp (buf, " 123") == 0) /* glibc */ buf 50 maint/gnulib/tests/test-strfmon_l.c || (ret == 7 && strcmp (buf, " 123 ") == 0) /* Mac OS X */ buf 69 maint/gnulib/tests/test-strfmon_l.c char buf[80]; buf 75 maint/gnulib/tests/test-strfmon_l.c ASSERT (strfmon_l (buf, sizeof (buf), loc, "%.2n", 123.5) >= 0); buf 76 maint/gnulib/tests/test-strfmon_l.c ASSERT (strcmp (buf, expected_buf) == 0); buf 82 maint/gnulib/tests/test-strfmon_l.c char buf[80]; buf 88 maint/gnulib/tests/test-strfmon_l.c ASSERT (strfmon_l (buf, sizeof (buf), loc, "%.2n", 123.5) >= 0); buf 89 maint/gnulib/tests/test-strfmon_l.c ASSERT (strcmp (buf, expected_buf) == 0); buf 28 maint/gnulib/tests/test-sys_utsname.c struct utsname buf; buf 30 maint/gnulib/tests/test-sys_utsname.c strcpy (buf.sysname, "Linux"); buf 31 maint/gnulib/tests/test-sys_utsname.c strcpy (buf.nodename, "hobbybox"); buf 32 maint/gnulib/tests/test-sys_utsname.c strcpy (buf.release, "3.141.592"); buf 33 maint/gnulib/tests/test-sys_utsname.c strcpy (buf.version, "GENERIC"); buf 34 maint/gnulib/tests/test-sys_utsname.c strcpy (buf.machine, "i586"); buf 49 maint/gnulib/tests/test-system-quote-main.c char buf[1000]; buf 59 maint/gnulib/tests/test-system-quote-main.c ASSERT (output_len <= sizeof (buf) - 2); buf 60 maint/gnulib/tests/test-system-quote-main.c memset (buf, '\0', output_len + 1); buf 61 maint/gnulib/tests/test-system-quote-main.c buf[output_len + 1] = '%'; buf 62 maint/gnulib/tests/test-system-quote-main.c bufend = system_quote_copy (buf, interpreter, input); buf 63 maint/gnulib/tests/test-system-quote-main.c ASSERT (bufend == buf + output_len); buf 64 maint/gnulib/tests/test-system-quote-main.c ASSERT (memcmp (buf, output, output_len + 1) == 0); buf 65 maint/gnulib/tests/test-system-quote-main.c ASSERT (buf[output_len + 1] == '%'); buf 35 maint/gnulib/tests/test-ttyname_r.c char buf[100]; buf 45 maint/gnulib/tests/test-ttyname_r.c ASSERT (ttyname_r (fd, buf, 1) == ERANGE); buf 47 maint/gnulib/tests/test-ttyname_r.c ASSERT (ttyname_r (fd, buf, sizeof (buf)) == 0); buf 48 maint/gnulib/tests/test-ttyname_r.c ASSERT (memcmp (buf, "/dev/", 5) == 0); buf 52 maint/gnulib/tests/test-ttyname_r.c int err = ttyname_r (-1, buf, sizeof (buf)); buf 60 maint/gnulib/tests/test-ttyname_r.c err = ttyname_r (99, buf, sizeof (buf)); buf 39 maint/gnulib/tests/test-uname.c struct utsname buf; buf 41 maint/gnulib/tests/test-uname.c memset (&buf, '?', sizeof (buf)); buf 43 maint/gnulib/tests/test-uname.c ASSERT (uname (&buf) >= 0); buf 46 maint/gnulib/tests/test-uname.c ASSERT (strlen (buf.sysname) < sizeof (buf.sysname)); buf 47 maint/gnulib/tests/test-uname.c ASSERT (strlen (buf.nodename) < sizeof (buf.nodename)); buf 48 maint/gnulib/tests/test-uname.c ASSERT (strlen (buf.release) < sizeof (buf.release)); buf 49 maint/gnulib/tests/test-uname.c ASSERT (strlen (buf.version) < sizeof (buf.version)); buf 50 maint/gnulib/tests/test-uname.c ASSERT (strlen (buf.machine) < sizeof (buf.machine)); buf 56 maint/gnulib/tests/test-uname.c printf ("uname -n = nodename = %s\n", buf.nodename); buf 57 maint/gnulib/tests/test-uname.c printf ("uname -s = sysname = %s\n", buf.sysname); buf 58 maint/gnulib/tests/test-uname.c printf ("uname -r = release = %s\n", buf.release); buf 59 maint/gnulib/tests/test-uname.c printf ("uname -v = version = %s\n", buf.version); buf 60 maint/gnulib/tests/test-uname.c printf ("uname -m = machine or cpu = %s\n", buf.machine); buf 37 maint/gnulib/tests/test-unicodeio.c success_callback (const char *buf, size_t buflen, void *callback_arg) buf 39 maint/gnulib/tests/test-unicodeio.c memcpy (result, buf, buflen); buf 256 maint/gnulib/tests/test-unistd-c++.cc (int fd, char *buf, size_t buflen)); buf 93 maint/gnulib/tests/test-vasnprintf-posix.c char buf[8]; buf 113 maint/gnulib/tests/test-vasnprintf-posix.c memcpy (buf, "DEADBEEF", 8); buf 115 maint/gnulib/tests/test-vasnprintf-posix.c result = my_asnprintf (buf, &length, "%d", 12345); buf 120 maint/gnulib/tests/test-vasnprintf-posix.c ASSERT (result != buf); buf 121 maint/gnulib/tests/test-vasnprintf-posix.c ASSERT (memcmp (buf + size, &"DEADBEEF"[size], 8 - size) == 0); buf 122 maint/gnulib/tests/test-vasnprintf-posix.c if (result != buf) buf 32 maint/gnulib/tests/test-vasnprintf.c char buf[8]; buf 50 maint/gnulib/tests/test-vasnprintf.c memcpy (buf, "DEADBEEF", 8); buf 52 maint/gnulib/tests/test-vasnprintf.c result = my_asnprintf (buf, &length, "%d", 12345); buf 57 maint/gnulib/tests/test-vasnprintf.c ASSERT (result != buf); buf 58 maint/gnulib/tests/test-vasnprintf.c ASSERT (memcmp (buf + size, &"DEADBEEF"[size], 8 - size) == 0); buf 59 maint/gnulib/tests/test-vasnprintf.c if (result != buf) buf 69 maint/gnulib/tests/test-vasnprintf.c memcpy (buf, "DEADBEEF", 8); buf 71 maint/gnulib/tests/test-vasnprintf.c result = my_asnprintf (buf, &length, "%2.0f", 1.6314159265358979e+125); buf 84 maint/gnulib/tests/test-vasnprintf.c ASSERT (result != buf); buf 85 maint/gnulib/tests/test-vasnprintf.c ASSERT (memcmp (buf + size, &"DEADBEEF"[size], 8 - size) == 0); buf 86 maint/gnulib/tests/test-vasnprintf.c if (result != buf) buf 32 maint/gnulib/tests/test-vsnprintf.c my_snprintf (char *buf, int size, const char *format, ...) buf 38 maint/gnulib/tests/test-vsnprintf.c ret = vsnprintf (buf, size, format, args); buf 46 maint/gnulib/tests/test-vsnprintf.c char buf[8]; buf 55 maint/gnulib/tests/test-vsnprintf.c memcpy (buf, "DEADBEEF", 8); buf 56 maint/gnulib/tests/test-vsnprintf.c retval = my_snprintf (buf, size, "%d", 12345); buf 62 maint/gnulib/tests/test-vsnprintf.c ASSERT (memcmp (buf, "12345", size - 1) == 0); buf 63 maint/gnulib/tests/test-vsnprintf.c ASSERT (buf[size - 1] == '\0' || buf[size - 1] == '0' + size); buf 68 maint/gnulib/tests/test-vsnprintf.c ASSERT (memcmp (buf + size, &"DEADBEEF"[size], 8 - size) == 0); buf 72 maint/gnulib/tests/test-vsnprintf.c ASSERT (memcmp (buf, "12345\0EF", 8) == 0); buf 34 maint/gnulib/tests/test-wcrtomb-w32.c char buf[64]; buf 93 maint/gnulib/tests/test-wcrtomb-w32.c buf[0] = 'x'; buf 94 maint/gnulib/tests/test-wcrtomb-w32.c ret = wcrtomb (buf, 0, NULL); buf 96 maint/gnulib/tests/test-wcrtomb-w32.c ASSERT (buf[0] == '\0'); buf 128 maint/gnulib/tests/test-wcrtomb-w32.c ret = wcrtomb (buf, btowc (c), NULL); buf 130 maint/gnulib/tests/test-wcrtomb-w32.c ASSERT (buf[0] == (char) c); buf 149 maint/gnulib/tests/test-wcrtomb-w32.c memset (buf, 'x', 8); buf 150 maint/gnulib/tests/test-wcrtomb-w32.c ret = wcrtomb (buf, 0x00FC, NULL); buf 152 maint/gnulib/tests/test-wcrtomb-w32.c ASSERT (memcmp (buf, "\374", 1) == 0); buf 153 maint/gnulib/tests/test-wcrtomb-w32.c ASSERT (buf[1] == 'x'); buf 155 maint/gnulib/tests/test-wcrtomb-w32.c memset (buf, 'x', 8); buf 156 maint/gnulib/tests/test-wcrtomb-w32.c ret = wcrtomb (buf, 0x00DF, NULL); buf 158 maint/gnulib/tests/test-wcrtomb-w32.c ASSERT (memcmp (buf, "\337", 1) == 0); buf 159 maint/gnulib/tests/test-wcrtomb-w32.c ASSERT (buf[1] == 'x'); buf 167 maint/gnulib/tests/test-wcrtomb-w32.c memset (buf, 'x', 8); buf 168 maint/gnulib/tests/test-wcrtomb-w32.c ret = wcrtomb (buf, 0x0622, NULL); buf 170 maint/gnulib/tests/test-wcrtomb-w32.c ASSERT (memcmp (buf, "\302", 1) == 0); buf 171 maint/gnulib/tests/test-wcrtomb-w32.c ASSERT (buf[1] == 'x'); buf 173 maint/gnulib/tests/test-wcrtomb-w32.c memset (buf, 'x', 8); buf 174 maint/gnulib/tests/test-wcrtomb-w32.c ret = wcrtomb (buf, 0x0644, NULL); buf 176 maint/gnulib/tests/test-wcrtomb-w32.c ASSERT (memcmp (buf, "\341", 1) == 0); buf 177 maint/gnulib/tests/test-wcrtomb-w32.c ASSERT (buf[1] == 'x'); buf 179 maint/gnulib/tests/test-wcrtomb-w32.c memset (buf, 'x', 8); buf 180 maint/gnulib/tests/test-wcrtomb-w32.c ret = wcrtomb (buf, 0x0648, NULL); buf 182 maint/gnulib/tests/test-wcrtomb-w32.c ASSERT (memcmp (buf, "\346", 1) == 0); buf 183 maint/gnulib/tests/test-wcrtomb-w32.c ASSERT (buf[1] == 'x'); buf 191 maint/gnulib/tests/test-wcrtomb-w32.c memset (buf, 'x', 8); buf 192 maint/gnulib/tests/test-wcrtomb-w32.c ret = wcrtomb (buf, 0x65E5, NULL); buf 194 maint/gnulib/tests/test-wcrtomb-w32.c ASSERT (memcmp (buf, "\223\372", 2) == 0); buf 195 maint/gnulib/tests/test-wcrtomb-w32.c ASSERT (buf[2] == 'x'); buf 197 maint/gnulib/tests/test-wcrtomb-w32.c memset (buf, 'x', 8); buf 198 maint/gnulib/tests/test-wcrtomb-w32.c ret = wcrtomb (buf, 0x672C, NULL); buf 200 maint/gnulib/tests/test-wcrtomb-w32.c ASSERT (memcmp (buf, "\226\173", 2) == 0); buf 201 maint/gnulib/tests/test-wcrtomb-w32.c ASSERT (buf[2] == 'x'); buf 203 maint/gnulib/tests/test-wcrtomb-w32.c memset (buf, 'x', 8); buf 204 maint/gnulib/tests/test-wcrtomb-w32.c ret = wcrtomb (buf, 0x8A9E, NULL); buf 206 maint/gnulib/tests/test-wcrtomb-w32.c ASSERT (memcmp (buf, "\214\352", 2) == 0); buf 207 maint/gnulib/tests/test-wcrtomb-w32.c ASSERT (buf[2] == 'x'); buf 215 maint/gnulib/tests/test-wcrtomb-w32.c memset (buf, 'x', 8); buf 216 maint/gnulib/tests/test-wcrtomb-w32.c ret = wcrtomb (buf, 0x65E5, NULL); buf 218 maint/gnulib/tests/test-wcrtomb-w32.c ASSERT (memcmp (buf, "\244\351", 2) == 0); buf 219 maint/gnulib/tests/test-wcrtomb-w32.c ASSERT (buf[2] == 'x'); buf 221 maint/gnulib/tests/test-wcrtomb-w32.c memset (buf, 'x', 8); buf 222 maint/gnulib/tests/test-wcrtomb-w32.c ret = wcrtomb (buf, 0x672C, NULL); buf 224 maint/gnulib/tests/test-wcrtomb-w32.c ASSERT (memcmp (buf, "\245\273", 2) == 0); buf 225 maint/gnulib/tests/test-wcrtomb-w32.c ASSERT (buf[2] == 'x'); buf 227 maint/gnulib/tests/test-wcrtomb-w32.c memset (buf, 'x', 8); buf 228 maint/gnulib/tests/test-wcrtomb-w32.c ret = wcrtomb (buf, 0x8A9E, NULL); buf 230 maint/gnulib/tests/test-wcrtomb-w32.c ASSERT (memcmp (buf, "\273\171", 2) == 0); buf 231 maint/gnulib/tests/test-wcrtomb-w32.c ASSERT (buf[2] == 'x'); buf 239 maint/gnulib/tests/test-wcrtomb-w32.c memset (buf, 'x', 8); buf 240 maint/gnulib/tests/test-wcrtomb-w32.c ret = wcrtomb (buf, 0x65E5, NULL); buf 242 maint/gnulib/tests/test-wcrtomb-w32.c ASSERT (memcmp (buf, "\310\325", 2) == 0); buf 243 maint/gnulib/tests/test-wcrtomb-w32.c ASSERT (buf[2] == 'x'); buf 245 maint/gnulib/tests/test-wcrtomb-w32.c memset (buf, 'x', 8); buf 246 maint/gnulib/tests/test-wcrtomb-w32.c ret = wcrtomb (buf, 0x672C, NULL); buf 248 maint/gnulib/tests/test-wcrtomb-w32.c ASSERT (memcmp (buf, "\261\276", 2) == 0); buf 249 maint/gnulib/tests/test-wcrtomb-w32.c ASSERT (buf[2] == 'x'); buf 251 maint/gnulib/tests/test-wcrtomb-w32.c memset (buf, 'x', 8); buf 252 maint/gnulib/tests/test-wcrtomb-w32.c ret = wcrtomb (buf, 0x8A9E, NULL); buf 254 maint/gnulib/tests/test-wcrtomb-w32.c ASSERT (memcmp (buf, "\325\132", 2) == 0); buf 255 maint/gnulib/tests/test-wcrtomb-w32.c ASSERT (buf[2] == 'x'); buf 265 maint/gnulib/tests/test-wcrtomb-w32.c memset (buf, 'x', 8); buf 266 maint/gnulib/tests/test-wcrtomb-w32.c ret = wcrtomb (buf, 0x00FC, NULL); buf 268 maint/gnulib/tests/test-wcrtomb-w32.c ASSERT (memcmp (buf, "\250\271", 2) == 0); buf 269 maint/gnulib/tests/test-wcrtomb-w32.c ASSERT (buf[2] == 'x'); buf 271 maint/gnulib/tests/test-wcrtomb-w32.c memset (buf, 'x', 8); buf 272 maint/gnulib/tests/test-wcrtomb-w32.c ret = wcrtomb (buf, 0x00DF, NULL); buf 274 maint/gnulib/tests/test-wcrtomb-w32.c ASSERT (memcmp (buf, "\201\060\211\070", 4) == 0); buf 275 maint/gnulib/tests/test-wcrtomb-w32.c ASSERT (buf[4] == 'x'); buf 285 maint/gnulib/tests/test-wcrtomb-w32.c memset (buf, 'x', 8); buf 286 maint/gnulib/tests/test-wcrtomb-w32.c ret = wcrtomb (buf, 0x00FC, NULL); buf 288 maint/gnulib/tests/test-wcrtomb-w32.c ASSERT (memcmp (buf, "\303\274", 2) == 0); buf 289 maint/gnulib/tests/test-wcrtomb-w32.c ASSERT (buf[2] == 'x'); buf 291 maint/gnulib/tests/test-wcrtomb-w32.c memset (buf, 'x', 8); buf 292 maint/gnulib/tests/test-wcrtomb-w32.c ret = wcrtomb (buf, 0x00DF, NULL); buf 294 maint/gnulib/tests/test-wcrtomb-w32.c ASSERT (memcmp (buf, "\303\237", 2) == 0); buf 295 maint/gnulib/tests/test-wcrtomb-w32.c ASSERT (buf[2] == 'x'); buf 37 maint/gnulib/tests/test-wcrtomb.c char buf[64]; buf 45 maint/gnulib/tests/test-wcrtomb.c ret = wcrtomb (buf, wc, NULL); buf 47 maint/gnulib/tests/test-wcrtomb.c ASSERT (memcmp (buf, s, n) == 0); buf 57 maint/gnulib/tests/test-wcrtomb.c char buf[64]; buf 66 maint/gnulib/tests/test-wcrtomb.c buf[0] = 'x'; buf 67 maint/gnulib/tests/test-wcrtomb.c ret = wcrtomb (buf, 0, NULL); buf 69 maint/gnulib/tests/test-wcrtomb.c ASSERT (buf[0] == '\0'); buf 101 maint/gnulib/tests/test-wcrtomb.c ret = wcrtomb (buf, btowc (c), NULL); buf 103 maint/gnulib/tests/test-wcrtomb.c ASSERT (buf[0] == (char) c); buf 46 maint/gnulib/tests/test-wcsnrtombs.c char buf[BUFSIZE]; buf 52 maint/gnulib/tests/test-wcsnrtombs.c buf[i] = '_'; buf 73 maint/gnulib/tests/test-wcsnrtombs.c ret = wcsnrtombs (buf, &src, 6, n, NULL); buf 76 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (memcmp (buf, original, ret) == 0); buf 78 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (buf[ret] == '\0'); buf 79 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (buf[ret + (src == NULL) + 0] == '_'); buf 80 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (buf[ret + (src == NULL) + 1] == '_'); buf 81 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (buf[ret + (src == NULL) + 2] == '_'); buf 102 maint/gnulib/tests/test-wcsnrtombs.c ret = wcsnrtombs (buf, &src, 6, n, NULL); buf 111 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (memcmp (buf, original, ret) == 0); buf 113 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (buf[ret] == '\0'); buf 114 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (buf[ret + (src == NULL) + 0] == '_'); buf 115 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (buf[ret + (src == NULL) + 1] == '_'); buf 116 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (buf[ret + (src == NULL) + 2] == '_'); buf 137 maint/gnulib/tests/test-wcsnrtombs.c ret = wcsnrtombs (buf, &src, 6, n, NULL); buf 148 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (memcmp (buf, original, ret) == 0); buf 150 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (buf[ret] == '\0'); buf 151 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (buf[ret + (src == NULL) + 0] == '_'); buf 152 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (buf[ret + (src == NULL) + 1] == '_'); buf 153 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (buf[ret + (src == NULL) + 2] == '_'); buf 175 maint/gnulib/tests/test-wcsnrtombs.c ret = wcsnrtombs (buf, &src, 6, n, NULL); buf 184 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (memcmp (buf, original, ret) == 0); buf 186 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (buf[ret] == '\0'); buf 187 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (buf[ret + (src == NULL) + 0] == '_'); buf 188 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (buf[ret + (src == NULL) + 1] == '_'); buf 189 maint/gnulib/tests/test-wcsnrtombs.c ASSERT (buf[ret + (src == NULL) + 2] == '_'); buf 46 maint/gnulib/tests/test-wcsrtombs.c char buf[BUFSIZE]; buf 52 maint/gnulib/tests/test-wcsrtombs.c buf[i] = '_'; buf 73 maint/gnulib/tests/test-wcsrtombs.c ret = wcsrtombs (buf, &src, n, NULL); buf 76 maint/gnulib/tests/test-wcsrtombs.c ASSERT (memcmp (buf, original, ret) == 0); buf 78 maint/gnulib/tests/test-wcsrtombs.c ASSERT (buf[ret] == '\0'); buf 79 maint/gnulib/tests/test-wcsrtombs.c ASSERT (buf[ret + (src == NULL) + 0] == '_'); buf 80 maint/gnulib/tests/test-wcsrtombs.c ASSERT (buf[ret + (src == NULL) + 1] == '_'); buf 81 maint/gnulib/tests/test-wcsrtombs.c ASSERT (buf[ret + (src == NULL) + 2] == '_'); buf 102 maint/gnulib/tests/test-wcsrtombs.c ret = wcsrtombs (buf, &src, n, NULL); buf 111 maint/gnulib/tests/test-wcsrtombs.c ASSERT (memcmp (buf, original, ret) == 0); buf 113 maint/gnulib/tests/test-wcsrtombs.c ASSERT (buf[ret] == '\0'); buf 114 maint/gnulib/tests/test-wcsrtombs.c ASSERT (buf[ret + (src == NULL) + 0] == '_'); buf 115 maint/gnulib/tests/test-wcsrtombs.c ASSERT (buf[ret + (src == NULL) + 1] == '_'); buf 116 maint/gnulib/tests/test-wcsrtombs.c ASSERT (buf[ret + (src == NULL) + 2] == '_'); buf 137 maint/gnulib/tests/test-wcsrtombs.c ret = wcsrtombs (buf, &src, n, NULL); buf 148 maint/gnulib/tests/test-wcsrtombs.c ASSERT (memcmp (buf, original, ret) == 0); buf 150 maint/gnulib/tests/test-wcsrtombs.c ASSERT (buf[ret] == '\0'); buf 151 maint/gnulib/tests/test-wcsrtombs.c ASSERT (buf[ret + (src == NULL) + 0] == '_'); buf 152 maint/gnulib/tests/test-wcsrtombs.c ASSERT (buf[ret + (src == NULL) + 1] == '_'); buf 153 maint/gnulib/tests/test-wcsrtombs.c ASSERT (buf[ret + (src == NULL) + 2] == '_'); buf 175 maint/gnulib/tests/test-wcsrtombs.c ret = wcsrtombs (buf, &src, n, NULL); buf 184 maint/gnulib/tests/test-wcsrtombs.c ASSERT (memcmp (buf, original, ret) == 0); buf 186 maint/gnulib/tests/test-wcsrtombs.c ASSERT (buf[ret] == '\0'); buf 187 maint/gnulib/tests/test-wcsrtombs.c ASSERT (buf[ret + (src == NULL) + 0] == '_'); buf 188 maint/gnulib/tests/test-wcsrtombs.c ASSERT (buf[ret + (src == NULL) + 1] == '_'); buf 189 maint/gnulib/tests/test-wcsrtombs.c ASSERT (buf[ret + (src == NULL) + 2] == '_'); buf 50 maint/gnulib/tests/test-write.c char buf[64]; buf 53 maint/gnulib/tests/test-write.c ASSERT (read (rfd, buf, sizeof (buf)) == 17); buf 55 maint/gnulib/tests/test-write.c ASSERT (memcmp (buf, "Hello fascination", 17) == 0); buf 203 maint/gnulib/tests/uniname/test-uninames.c char buf[UNINAME_MAX]; buf 207 maint/gnulib/tests/uniname/test-uninames.c char *result = unicode_character_name (i, buf); buf 236 maint/gnulib/tests/uniname/test-uninames.c char *result = unicode_character_name (i, buf); buf 282 maint/gnulib/tests/uniname/test-uninames.c char buf[2*UNINAME_MAX]; buf 306 maint/gnulib/tests/uniname/test-uninames.c memcpy (buf, s1, j1); buf 307 maint/gnulib/tests/uniname/test-uninames.c buf[j1] = ' '; buf 308 maint/gnulib/tests/uniname/test-uninames.c memcpy (buf + j1 + 1, s2 + j2, l2 - j2 + 1); buf 310 maint/gnulib/tests/uniname/test-uninames.c result = unicode_name_character (buf); buf 314 maint/gnulib/tests/uniname/test-uninames.c && strcmp (unicode_names[result], buf) == 0)) buf 337 maint/gnulib/tests/uniname/test-uninames.c char buf[UNINAME_MAX]; buf 344 maint/gnulib/tests/uniname/test-uninames.c && unicode_character_name (unicode_aliases[i].uc, buf)) buf 87 maint/gnulib/tests/uninorm/test-u32-normalize-big.c char buf[1000+1]; buf 96 maint/gnulib/tests/uninorm/test-u32-normalize-big.c ptr = buf; buf 104 maint/gnulib/tests/uninorm/test-u32-normalize-big.c while (ptr < buf + 1000); buf 110 maint/gnulib/tests/uninorm/test-u32-normalize-big.c if (buf[0] == '\0' || buf[0] == '#') buf 114 maint/gnulib/tests/uninorm/test-u32-normalize-big.c if (buf[0] == '@') buf 139 maint/gnulib/tests/uninorm/test-u32-normalize-big.c ptr = buf; buf 22 maint/gnulib/tests/unistdio/test-u16-asnprintf1.h uint16_t buf[8]; buf 48 maint/gnulib/tests/unistdio/test-u16-asnprintf1.h u16_cpy (buf, initializer, 8); buf 50 maint/gnulib/tests/unistdio/test-u16-asnprintf1.h result = my_asnprintf (buf, &length, "%d", 12345); buf 55 maint/gnulib/tests/unistdio/test-u16-asnprintf1.h ASSERT (result != buf); buf 56 maint/gnulib/tests/unistdio/test-u16-asnprintf1.h ASSERT (u16_cmp (buf + size, initializer + size, 8 - size) == 0); buf 57 maint/gnulib/tests/unistdio/test-u16-asnprintf1.h if (result != buf) buf 40 maint/gnulib/tests/unistdio/test-u16-vsnprintf1.c uint16_t buf[1000]; buf 46 maint/gnulib/tests/unistdio/test-u16-vsnprintf1.c retval = u16_vsnprintf (buf, sizeof (buf), format, args); buf 48 maint/gnulib/tests/unistdio/test-u16-vsnprintf1.c if (retval < 0 || retval >= (int) sizeof (buf)) buf 50 maint/gnulib/tests/unistdio/test-u16-vsnprintf1.c length = u16_strlen (buf); buf 52 maint/gnulib/tests/unistdio/test-u16-vsnprintf1.c u16_cpy (result, buf, length + 1); buf 40 maint/gnulib/tests/unistdio/test-u16-vsprintf1.c uint16_t buf[1000]; buf 46 maint/gnulib/tests/unistdio/test-u16-vsprintf1.c retval = u16_vsprintf (buf, format, args); buf 48 maint/gnulib/tests/unistdio/test-u16-vsprintf1.c if (retval < 0 || retval >= (int) sizeof (buf)) buf 50 maint/gnulib/tests/unistdio/test-u16-vsprintf1.c length = u16_strlen (buf); buf 52 maint/gnulib/tests/unistdio/test-u16-vsprintf1.c u16_cpy (result, buf, length + 1); buf 22 maint/gnulib/tests/unistdio/test-u32-asnprintf1.h uint32_t buf[8]; buf 48 maint/gnulib/tests/unistdio/test-u32-asnprintf1.h u32_cpy (buf, initializer, 8); buf 50 maint/gnulib/tests/unistdio/test-u32-asnprintf1.h result = my_asnprintf (buf, &length, "%d", 12345); buf 55 maint/gnulib/tests/unistdio/test-u32-asnprintf1.h ASSERT (result != buf); buf 56 maint/gnulib/tests/unistdio/test-u32-asnprintf1.h ASSERT (u32_cmp (buf + size, initializer + size, 8 - size) == 0); buf 57 maint/gnulib/tests/unistdio/test-u32-asnprintf1.h if (result != buf) buf 40 maint/gnulib/tests/unistdio/test-u32-vsnprintf1.c uint32_t buf[1000]; buf 46 maint/gnulib/tests/unistdio/test-u32-vsnprintf1.c retval = u32_vsnprintf (buf, sizeof (buf), format, args); buf 48 maint/gnulib/tests/unistdio/test-u32-vsnprintf1.c if (retval < 0 || retval >= (int) sizeof (buf)) buf 50 maint/gnulib/tests/unistdio/test-u32-vsnprintf1.c length = u32_strlen (buf); buf 52 maint/gnulib/tests/unistdio/test-u32-vsnprintf1.c u32_cpy (result, buf, length + 1); buf 40 maint/gnulib/tests/unistdio/test-u32-vsprintf1.c uint32_t buf[1000]; buf 46 maint/gnulib/tests/unistdio/test-u32-vsprintf1.c retval = u32_vsprintf (buf, format, args); buf 48 maint/gnulib/tests/unistdio/test-u32-vsprintf1.c if (retval < 0 || retval >= (int) sizeof (buf)) buf 50 maint/gnulib/tests/unistdio/test-u32-vsprintf1.c length = u32_strlen (buf); buf 52 maint/gnulib/tests/unistdio/test-u32-vsprintf1.c u32_cpy (result, buf, length + 1); buf 22 maint/gnulib/tests/unistdio/test-u8-asnprintf1.h uint8_t buf[8]; buf 45 maint/gnulib/tests/unistdio/test-u8-asnprintf1.h u8_cpy (buf, initializer, 8); buf 47 maint/gnulib/tests/unistdio/test-u8-asnprintf1.h result = my_asnprintf (buf, &length, "%d", 12345); buf 52 maint/gnulib/tests/unistdio/test-u8-asnprintf1.h ASSERT (result != buf); buf 53 maint/gnulib/tests/unistdio/test-u8-asnprintf1.h ASSERT (u8_cmp (buf + size, initializer + size, 8 - size) == 0); buf 54 maint/gnulib/tests/unistdio/test-u8-asnprintf1.h if (result != buf) buf 40 maint/gnulib/tests/unistdio/test-u8-vsnprintf1.c uint8_t buf[1000]; buf 46 maint/gnulib/tests/unistdio/test-u8-vsnprintf1.c retval = u8_vsnprintf (buf, sizeof (buf), format, args); buf 48 maint/gnulib/tests/unistdio/test-u8-vsnprintf1.c if (retval < 0 || retval >= (int) sizeof (buf)) buf 50 maint/gnulib/tests/unistdio/test-u8-vsnprintf1.c length = u8_strlen (buf); buf 52 maint/gnulib/tests/unistdio/test-u8-vsnprintf1.c u8_cpy (result, buf, length + 1); buf 40 maint/gnulib/tests/unistdio/test-u8-vsprintf1.c uint8_t buf[1000]; buf 46 maint/gnulib/tests/unistdio/test-u8-vsprintf1.c retval = u8_vsprintf (buf, format, args); buf 48 maint/gnulib/tests/unistdio/test-u8-vsprintf1.c if (retval < 0 || retval >= (int) sizeof (buf)) buf 50 maint/gnulib/tests/unistdio/test-u8-vsprintf1.c length = u8_strlen (buf); buf 52 maint/gnulib/tests/unistdio/test-u8-vsprintf1.c u8_cpy (result, buf, length + 1); buf 22 maint/gnulib/tests/unistdio/test-ulc-asnprintf1.h char buf[8]; buf 42 maint/gnulib/tests/unistdio/test-ulc-asnprintf1.h memcpy (buf, "DEADBEEF", 8); buf 44 maint/gnulib/tests/unistdio/test-ulc-asnprintf1.h result = my_asnprintf (buf, &length, "%d", 12345); buf 49 maint/gnulib/tests/unistdio/test-ulc-asnprintf1.h ASSERT (result != buf); buf 50 maint/gnulib/tests/unistdio/test-ulc-asnprintf1.h ASSERT (memcmp (buf + size, &"DEADBEEF"[size], 8 - size) == 0); buf 51 maint/gnulib/tests/unistdio/test-ulc-asnprintf1.h if (result != buf) buf 47 maint/gnulib/tests/unistr/test-u16-mblen.c uint16_t buf[1]; buf 51 maint/gnulib/tests/unistr/test-u16-mblen.c buf[0] = c; buf 52 maint/gnulib/tests/unistr/test-u16-mblen.c ret = u16_mblen (buf, 1); buf 37 maint/gnulib/tests/unistr/test-u16-mbtouc.h uint16_t buf[1]; buf 41 maint/gnulib/tests/unistr/test-u16-mbtouc.h buf[0] = c; buf 43 maint/gnulib/tests/unistr/test-u16-mbtouc.h ret = my_u16_mbtouc (&uc, buf, 1); buf 43 maint/gnulib/tests/unistr/test-u16-mbtoucr.c uint16_t buf[1]; buf 47 maint/gnulib/tests/unistr/test-u16-mbtoucr.c buf[0] = c; buf 49 maint/gnulib/tests/unistr/test-u16-mbtoucr.c ret = u16_mbtoucr (&uc, buf, 1); buf 43 maint/gnulib/tests/unistr/test-u16-next.c uint16_t buf[2]; buf 47 maint/gnulib/tests/unistr/test-u16-next.c buf[0] = c; buf 48 maint/gnulib/tests/unistr/test-u16-next.c buf[1] = 0; buf 50 maint/gnulib/tests/unistr/test-u16-next.c ret = u16_next (&uc, buf); buf 51 maint/gnulib/tests/unistr/test-u16-next.c ASSERT (ret == buf + 1); buf 36 maint/gnulib/tests/unistr/test-u16-prev.c uint16_t buf[100]; buf 41 maint/gnulib/tests/unistr/test-u16-prev.c ptr = buf; buf 46 maint/gnulib/tests/unistr/test-u16-prev.c if (u16_prev (&uc1, ptr + input_length, buf) != ptr) buf 54 maint/gnulib/tests/unistr/test-u16-prev.c uint16_t buf[100]; buf 59 maint/gnulib/tests/unistr/test-u16-prev.c ptr = buf; buf 65 maint/gnulib/tests/unistr/test-u16-prev.c if (u16_prev (&uc1, ptr + input_length, buf) != ptr) buf 89 maint/gnulib/tests/unistr/test-u16-prev.c uint16_t buf[100]; buf 93 maint/gnulib/tests/unistr/test-u16-prev.c ptr = buf; buf 99 maint/gnulib/tests/unistr/test-u16-prev.c if (u16_prev (&uc, ptr + input_length, buf) != NULL) buf 107 maint/gnulib/tests/unistr/test-u16-prev.c uint16_t buf[100]; buf 111 maint/gnulib/tests/unistr/test-u16-prev.c ptr = buf; buf 118 maint/gnulib/tests/unistr/test-u16-prev.c if (u16_prev (&uc, ptr + input_length, buf) != NULL) buf 135 maint/gnulib/tests/unistr/test-u16-prev.c uint16_t buf[1]; buf 139 maint/gnulib/tests/unistr/test-u16-prev.c buf[0] = c; buf 141 maint/gnulib/tests/unistr/test-u16-prev.c ASSERT (check (buf, 1, &uc) == 0); buf 40 maint/gnulib/tests/unistr/test-u16-strmblen.c uint16_t buf[2]; buf 44 maint/gnulib/tests/unistr/test-u16-strmblen.c buf[0] = c; buf 45 maint/gnulib/tests/unistr/test-u16-strmblen.c buf[1] = 0; buf 46 maint/gnulib/tests/unistr/test-u16-strmblen.c ret = u16_strmblen (buf); buf 43 maint/gnulib/tests/unistr/test-u16-strmbtouc.c uint16_t buf[2]; buf 47 maint/gnulib/tests/unistr/test-u16-strmbtouc.c buf[0] = c; buf 48 maint/gnulib/tests/unistr/test-u16-strmbtouc.c buf[1] = 0; buf 50 maint/gnulib/tests/unistr/test-u16-strmbtouc.c ret = u16_strmbtouc (&uc, buf); buf 36 maint/gnulib/tests/unistr/test-u16-uctomb.c uint16_t buf[3] = { MAGIC, MAGIC, MAGIC }; buf 39 maint/gnulib/tests/unistr/test-u16-uctomb.c ret = u16_uctomb (buf, uc, 0); buf 41 maint/gnulib/tests/unistr/test-u16-uctomb.c ASSERT (buf[0] == MAGIC); buf 43 maint/gnulib/tests/unistr/test-u16-uctomb.c ret = u16_uctomb (buf, uc, 1); buf 45 maint/gnulib/tests/unistr/test-u16-uctomb.c ASSERT (buf[0] == uc); buf 46 maint/gnulib/tests/unistr/test-u16-uctomb.c ASSERT (buf[1] == MAGIC); buf 53 maint/gnulib/tests/unistr/test-u16-uctomb.c uint16_t buf[3] = { MAGIC, MAGIC, MAGIC }; buf 56 maint/gnulib/tests/unistr/test-u16-uctomb.c ret = u16_uctomb (buf, uc, 0); buf 58 maint/gnulib/tests/unistr/test-u16-uctomb.c ASSERT (buf[0] == MAGIC); buf 60 maint/gnulib/tests/unistr/test-u16-uctomb.c ret = u16_uctomb (buf, uc, 1); buf 62 maint/gnulib/tests/unistr/test-u16-uctomb.c ASSERT (buf[0] == uc); buf 63 maint/gnulib/tests/unistr/test-u16-uctomb.c ASSERT (buf[1] == MAGIC); buf 69 maint/gnulib/tests/unistr/test-u16-uctomb.c uint16_t buf[3] = { MAGIC, MAGIC, MAGIC }; buf 72 maint/gnulib/tests/unistr/test-u16-uctomb.c ret = u16_uctomb (buf, uc, 0); buf 74 maint/gnulib/tests/unistr/test-u16-uctomb.c ASSERT (buf[0] == MAGIC); buf 76 maint/gnulib/tests/unistr/test-u16-uctomb.c ret = u16_uctomb (buf, uc, 1); buf 78 maint/gnulib/tests/unistr/test-u16-uctomb.c ASSERT (buf[0] == MAGIC); buf 80 maint/gnulib/tests/unistr/test-u16-uctomb.c ret = u16_uctomb (buf, uc, 2); buf 82 maint/gnulib/tests/unistr/test-u16-uctomb.c ASSERT (buf[0] == 0xDBFF); buf 83 maint/gnulib/tests/unistr/test-u16-uctomb.c ASSERT (buf[1] == 0xDFFD); buf 84 maint/gnulib/tests/unistr/test-u16-uctomb.c ASSERT (buf[2] == MAGIC); buf 90 maint/gnulib/tests/unistr/test-u16-uctomb.c uint16_t buf[3] = { MAGIC, MAGIC, MAGIC }; buf 100 maint/gnulib/tests/unistr/test-u16-uctomb.c int ret = u16_uctomb (buf, uc, n); buf 102 maint/gnulib/tests/unistr/test-u16-uctomb.c ASSERT (buf[0] == MAGIC); buf 103 maint/gnulib/tests/unistr/test-u16-uctomb.c ASSERT (buf[1] == MAGIC); buf 104 maint/gnulib/tests/unistr/test-u16-uctomb.c ASSERT (buf[2] == MAGIC); buf 47 maint/gnulib/tests/unistr/test-u32-mblen.c uint32_t buf[1]; buf 51 maint/gnulib/tests/unistr/test-u32-mblen.c buf[0] = c; buf 52 maint/gnulib/tests/unistr/test-u32-mblen.c ret = u32_mblen (buf, 1); buf 37 maint/gnulib/tests/unistr/test-u32-mbtouc.h uint32_t buf[1]; buf 41 maint/gnulib/tests/unistr/test-u32-mbtouc.h buf[0] = c; buf 43 maint/gnulib/tests/unistr/test-u32-mbtouc.h ret = my_u32_mbtouc (&uc, buf, 1); buf 43 maint/gnulib/tests/unistr/test-u32-mbtoucr.c uint32_t buf[1]; buf 47 maint/gnulib/tests/unistr/test-u32-mbtoucr.c buf[0] = c; buf 49 maint/gnulib/tests/unistr/test-u32-mbtoucr.c ret = u32_mbtoucr (&uc, buf, 1); buf 43 maint/gnulib/tests/unistr/test-u32-next.c uint32_t buf[2]; buf 47 maint/gnulib/tests/unistr/test-u32-next.c buf[0] = c; buf 48 maint/gnulib/tests/unistr/test-u32-next.c buf[1] = 0; buf 50 maint/gnulib/tests/unistr/test-u32-next.c ret = u32_next (&uc, buf); buf 51 maint/gnulib/tests/unistr/test-u32-next.c ASSERT (ret == buf + 1); buf 36 maint/gnulib/tests/unistr/test-u32-prev.c uint32_t buf[100]; buf 41 maint/gnulib/tests/unistr/test-u32-prev.c ptr = buf; buf 46 maint/gnulib/tests/unistr/test-u32-prev.c if (u32_prev (&uc1, ptr + input_length, buf) != ptr) buf 70 maint/gnulib/tests/unistr/test-u32-prev.c uint32_t buf[100]; buf 74 maint/gnulib/tests/unistr/test-u32-prev.c ptr = buf; buf 80 maint/gnulib/tests/unistr/test-u32-prev.c if (u32_prev (&uc, ptr + input_length, buf) != NULL) buf 97 maint/gnulib/tests/unistr/test-u32-prev.c uint32_t buf[1]; buf 101 maint/gnulib/tests/unistr/test-u32-prev.c buf[0] = c; buf 103 maint/gnulib/tests/unistr/test-u32-prev.c ASSERT (check (buf, 1, &uc) == 0); buf 40 maint/gnulib/tests/unistr/test-u32-strmblen.c uint32_t buf[2]; buf 44 maint/gnulib/tests/unistr/test-u32-strmblen.c buf[0] = c; buf 45 maint/gnulib/tests/unistr/test-u32-strmblen.c buf[1] = 0; buf 46 maint/gnulib/tests/unistr/test-u32-strmblen.c ret = u32_strmblen (buf); buf 43 maint/gnulib/tests/unistr/test-u32-strmbtouc.c uint32_t buf[2]; buf 47 maint/gnulib/tests/unistr/test-u32-strmbtouc.c buf[0] = c; buf 48 maint/gnulib/tests/unistr/test-u32-strmbtouc.c buf[1] = 0; buf 50 maint/gnulib/tests/unistr/test-u32-strmbtouc.c ret = u32_strmbtouc (&uc, buf); buf 36 maint/gnulib/tests/unistr/test-u32-uctomb.c uint32_t buf[2] = { MAGIC, MAGIC }; buf 39 maint/gnulib/tests/unistr/test-u32-uctomb.c ret = u32_uctomb (buf, uc, 0); buf 41 maint/gnulib/tests/unistr/test-u32-uctomb.c ASSERT (buf[0] == MAGIC); buf 43 maint/gnulib/tests/unistr/test-u32-uctomb.c ret = u32_uctomb (buf, uc, 1); buf 45 maint/gnulib/tests/unistr/test-u32-uctomb.c ASSERT (buf[0] == uc); buf 46 maint/gnulib/tests/unistr/test-u32-uctomb.c ASSERT (buf[1] == MAGIC); buf 53 maint/gnulib/tests/unistr/test-u32-uctomb.c uint32_t buf[2] = { MAGIC, MAGIC }; buf 56 maint/gnulib/tests/unistr/test-u32-uctomb.c ret = u32_uctomb (buf, uc, 0); buf 58 maint/gnulib/tests/unistr/test-u32-uctomb.c ASSERT (buf[0] == MAGIC); buf 60 maint/gnulib/tests/unistr/test-u32-uctomb.c ret = u32_uctomb (buf, uc, 1); buf 62 maint/gnulib/tests/unistr/test-u32-uctomb.c ASSERT (buf[0] == uc); buf 63 maint/gnulib/tests/unistr/test-u32-uctomb.c ASSERT (buf[1] == MAGIC); buf 69 maint/gnulib/tests/unistr/test-u32-uctomb.c uint32_t buf[2] = { MAGIC, MAGIC }; buf 72 maint/gnulib/tests/unistr/test-u32-uctomb.c ret = u32_uctomb (buf, uc, 0); buf 74 maint/gnulib/tests/unistr/test-u32-uctomb.c ASSERT (buf[0] == MAGIC); buf 76 maint/gnulib/tests/unistr/test-u32-uctomb.c ret = u32_uctomb (buf, uc, 1); buf 78 maint/gnulib/tests/unistr/test-u32-uctomb.c ASSERT (buf[0] == uc); buf 79 maint/gnulib/tests/unistr/test-u32-uctomb.c ASSERT (buf[1] == MAGIC); buf 85 maint/gnulib/tests/unistr/test-u32-uctomb.c uint32_t buf[2] = { MAGIC, MAGIC }; buf 95 maint/gnulib/tests/unistr/test-u32-uctomb.c int ret = u32_uctomb (buf, uc, n); buf 97 maint/gnulib/tests/unistr/test-u32-uctomb.c ASSERT (buf[0] == MAGIC); buf 98 maint/gnulib/tests/unistr/test-u32-uctomb.c ASSERT (buf[1] == MAGIC); buf 47 maint/gnulib/tests/unistr/test-u8-mblen.c uint8_t buf[1]; buf 51 maint/gnulib/tests/unistr/test-u8-mblen.c buf[0] = c; buf 52 maint/gnulib/tests/unistr/test-u8-mblen.c ret = u8_mblen (buf, 1); buf 37 maint/gnulib/tests/unistr/test-u8-mbtouc.h uint8_t buf[1]; buf 41 maint/gnulib/tests/unistr/test-u8-mbtouc.h buf[0] = c; buf 43 maint/gnulib/tests/unistr/test-u8-mbtouc.h ret = my_u8_mbtouc (&uc, buf, 1); buf 43 maint/gnulib/tests/unistr/test-u8-mbtoucr.c uint8_t buf[1]; buf 47 maint/gnulib/tests/unistr/test-u8-mbtoucr.c buf[0] = c; buf 49 maint/gnulib/tests/unistr/test-u8-mbtoucr.c ret = u8_mbtoucr (&uc, buf, 1); buf 43 maint/gnulib/tests/unistr/test-u8-next.c uint8_t buf[2]; buf 47 maint/gnulib/tests/unistr/test-u8-next.c buf[0] = c; buf 48 maint/gnulib/tests/unistr/test-u8-next.c buf[1] = 0; buf 50 maint/gnulib/tests/unistr/test-u8-next.c ret = u8_next (&uc, buf); buf 51 maint/gnulib/tests/unistr/test-u8-next.c ASSERT (ret == buf + 1); buf 36 maint/gnulib/tests/unistr/test-u8-prev.c uint8_t buf[100]; buf 41 maint/gnulib/tests/unistr/test-u8-prev.c ptr = buf; buf 46 maint/gnulib/tests/unistr/test-u8-prev.c if (u8_prev (&uc1, ptr + input_length, buf) != ptr) buf 54 maint/gnulib/tests/unistr/test-u8-prev.c uint8_t buf[100]; buf 59 maint/gnulib/tests/unistr/test-u8-prev.c ptr = buf; buf 65 maint/gnulib/tests/unistr/test-u8-prev.c if (u8_prev (&uc1, ptr + input_length, buf) != ptr) buf 73 maint/gnulib/tests/unistr/test-u8-prev.c uint8_t buf[100]; buf 78 maint/gnulib/tests/unistr/test-u8-prev.c ptr = buf; buf 85 maint/gnulib/tests/unistr/test-u8-prev.c if (u8_prev (&uc1, ptr + input_length, buf) != ptr) buf 93 maint/gnulib/tests/unistr/test-u8-prev.c uint8_t buf[100]; buf 98 maint/gnulib/tests/unistr/test-u8-prev.c ptr = buf; buf 106 maint/gnulib/tests/unistr/test-u8-prev.c if (u8_prev (&uc1, ptr + input_length, buf) != ptr) buf 130 maint/gnulib/tests/unistr/test-u8-prev.c uint8_t buf[100]; buf 134 maint/gnulib/tests/unistr/test-u8-prev.c ptr = buf; buf 140 maint/gnulib/tests/unistr/test-u8-prev.c if (u8_prev (&uc, ptr + input_length, buf) != NULL) buf 148 maint/gnulib/tests/unistr/test-u8-prev.c uint8_t buf[100]; buf 152 maint/gnulib/tests/unistr/test-u8-prev.c ptr = buf; buf 159 maint/gnulib/tests/unistr/test-u8-prev.c if (u8_prev (&uc, ptr + input_length, buf) != NULL) buf 167 maint/gnulib/tests/unistr/test-u8-prev.c uint8_t buf[100]; buf 171 maint/gnulib/tests/unistr/test-u8-prev.c ptr = buf; buf 179 maint/gnulib/tests/unistr/test-u8-prev.c if (u8_prev (&uc, ptr + input_length, buf) != NULL) buf 187 maint/gnulib/tests/unistr/test-u8-prev.c uint8_t buf[100]; buf 191 maint/gnulib/tests/unistr/test-u8-prev.c ptr = buf; buf 200 maint/gnulib/tests/unistr/test-u8-prev.c if (u8_prev (&uc, ptr + input_length, buf) != NULL) buf 217 maint/gnulib/tests/unistr/test-u8-prev.c uint8_t buf[1]; buf 221 maint/gnulib/tests/unistr/test-u8-prev.c buf[0] = c; buf 223 maint/gnulib/tests/unistr/test-u8-prev.c ASSERT (check (buf, 1, &uc) == 0); buf 40 maint/gnulib/tests/unistr/test-u8-strmblen.c uint8_t buf[2]; buf 44 maint/gnulib/tests/unistr/test-u8-strmblen.c buf[0] = c; buf 45 maint/gnulib/tests/unistr/test-u8-strmblen.c buf[1] = 0; buf 46 maint/gnulib/tests/unistr/test-u8-strmblen.c ret = u8_strmblen (buf); buf 43 maint/gnulib/tests/unistr/test-u8-strmbtouc.c uint8_t buf[2]; buf 47 maint/gnulib/tests/unistr/test-u8-strmbtouc.c buf[0] = c; buf 48 maint/gnulib/tests/unistr/test-u8-strmbtouc.c buf[1] = 0; buf 50 maint/gnulib/tests/unistr/test-u8-strmbtouc.c ret = u8_strmbtouc (&uc, buf); buf 36 maint/gnulib/tests/unistr/test-u8-uctomb.c uint8_t buf[5] = { MAGIC, MAGIC, MAGIC, MAGIC, MAGIC }; buf 39 maint/gnulib/tests/unistr/test-u8-uctomb.c ret = u8_uctomb (buf, uc, 0); buf 41 maint/gnulib/tests/unistr/test-u8-uctomb.c ASSERT (buf[0] == MAGIC); buf 43 maint/gnulib/tests/unistr/test-u8-uctomb.c ret = u8_uctomb (buf, uc, 1); buf 45 maint/gnulib/tests/unistr/test-u8-uctomb.c ASSERT (buf[0] == uc); buf 46 maint/gnulib/tests/unistr/test-u8-uctomb.c ASSERT (buf[1] == MAGIC); buf 53 maint/gnulib/tests/unistr/test-u8-uctomb.c uint8_t buf[5] = { MAGIC, MAGIC, MAGIC, MAGIC, MAGIC }; buf 56 maint/gnulib/tests/unistr/test-u8-uctomb.c ret = u8_uctomb (buf, uc, 0); buf 58 maint/gnulib/tests/unistr/test-u8-uctomb.c ASSERT (buf[0] == MAGIC); buf 60 maint/gnulib/tests/unistr/test-u8-uctomb.c ret = u8_uctomb (buf, uc, 1); buf 62 maint/gnulib/tests/unistr/test-u8-uctomb.c ASSERT (buf[0] == MAGIC); buf 64 maint/gnulib/tests/unistr/test-u8-uctomb.c ret = u8_uctomb (buf, uc, 2); buf 66 maint/gnulib/tests/unistr/test-u8-uctomb.c ASSERT (buf[0] == 0xC3); buf 67 maint/gnulib/tests/unistr/test-u8-uctomb.c ASSERT (buf[1] == 0x97); buf 68 maint/gnulib/tests/unistr/test-u8-uctomb.c ASSERT (buf[2] == MAGIC); buf 74 maint/gnulib/tests/unistr/test-u8-uctomb.c uint8_t buf[5] = { MAGIC, MAGIC, MAGIC, MAGIC, MAGIC }; buf 77 maint/gnulib/tests/unistr/test-u8-uctomb.c ret = u8_uctomb (buf, uc, 0); buf 79 maint/gnulib/tests/unistr/test-u8-uctomb.c ASSERT (buf[0] == MAGIC); buf 81 maint/gnulib/tests/unistr/test-u8-uctomb.c ret = u8_uctomb (buf, uc, 1); buf 83 maint/gnulib/tests/unistr/test-u8-uctomb.c ASSERT (buf[0] == MAGIC); buf 85 maint/gnulib/tests/unistr/test-u8-uctomb.c ret = u8_uctomb (buf, uc, 2); buf 87 maint/gnulib/tests/unistr/test-u8-uctomb.c ASSERT (buf[0] == MAGIC); buf 88 maint/gnulib/tests/unistr/test-u8-uctomb.c ASSERT (buf[1] == MAGIC); buf 90 maint/gnulib/tests/unistr/test-u8-uctomb.c ret = u8_uctomb (buf, uc, 3); buf 92 maint/gnulib/tests/unistr/test-u8-uctomb.c ASSERT (buf[0] == 0xE2); buf 93 maint/gnulib/tests/unistr/test-u8-uctomb.c ASSERT (buf[1] == 0x82); buf 94 maint/gnulib/tests/unistr/test-u8-uctomb.c ASSERT (buf[2] == 0xAC); buf 95 maint/gnulib/tests/unistr/test-u8-uctomb.c ASSERT (buf[3] == MAGIC); buf 101 maint/gnulib/tests/unistr/test-u8-uctomb.c uint8_t buf[5] = { MAGIC, MAGIC, MAGIC, MAGIC, MAGIC }; buf 104 maint/gnulib/tests/unistr/test-u8-uctomb.c ret = u8_uctomb (buf, uc, 0); buf 106 maint/gnulib/tests/unistr/test-u8-uctomb.c ASSERT (buf[0] == MAGIC); buf 108 maint/gnulib/tests/unistr/test-u8-uctomb.c ret = u8_uctomb (buf, uc, 1); buf 110 maint/gnulib/tests/unistr/test-u8-uctomb.c ASSERT (buf[0] == MAGIC); buf 112 maint/gnulib/tests/unistr/test-u8-uctomb.c ret = u8_uctomb (buf, uc, 2); buf 114 maint/gnulib/tests/unistr/test-u8-uctomb.c ASSERT (buf[0] == MAGIC); buf 115 maint/gnulib/tests/unistr/test-u8-uctomb.c ASSERT (buf[1] == MAGIC); buf 117 maint/gnulib/tests/unistr/test-u8-uctomb.c ret = u8_uctomb (buf, uc, 3); buf 119 maint/gnulib/tests/unistr/test-u8-uctomb.c ASSERT (buf[0] == MAGIC); buf 120 maint/gnulib/tests/unistr/test-u8-uctomb.c ASSERT (buf[1] == MAGIC); buf 121 maint/gnulib/tests/unistr/test-u8-uctomb.c ASSERT (buf[2] == MAGIC); buf 123 maint/gnulib/tests/unistr/test-u8-uctomb.c ret = u8_uctomb (buf, uc, 4); buf 125 maint/gnulib/tests/unistr/test-u8-uctomb.c ASSERT (buf[0] == 0xF4); buf 126 maint/gnulib/tests/unistr/test-u8-uctomb.c ASSERT (buf[1] == 0x8F); buf 127 maint/gnulib/tests/unistr/test-u8-uctomb.c ASSERT (buf[2] == 0xBF); buf 128 maint/gnulib/tests/unistr/test-u8-uctomb.c ASSERT (buf[3] == 0xBD); buf 129 maint/gnulib/tests/unistr/test-u8-uctomb.c ASSERT (buf[4] == MAGIC); buf 135 maint/gnulib/tests/unistr/test-u8-uctomb.c uint8_t buf[5] = { MAGIC, MAGIC, MAGIC, MAGIC, MAGIC }; buf 145 maint/gnulib/tests/unistr/test-u8-uctomb.c int ret = u8_uctomb (buf, uc, n); buf 147 maint/gnulib/tests/unistr/test-u8-uctomb.c ASSERT (buf[0] == MAGIC); buf 148 maint/gnulib/tests/unistr/test-u8-uctomb.c ASSERT (buf[1] == MAGIC); buf 149 maint/gnulib/tests/unistr/test-u8-uctomb.c ASSERT (buf[2] == MAGIC); buf 150 maint/gnulib/tests/unistr/test-u8-uctomb.c ASSERT (buf[3] == MAGIC); buf 151 maint/gnulib/tests/unistr/test-u8-uctomb.c ASSERT (buf[4] == MAGIC); buf 96 tools/cibadmin.c GString *buf = g_string_sized_new(1024); buf 98 tools/cibadmin.c pcmk__xml_string(xml, pcmk__xml_fmt_pretty, buf, 0); buf 100 tools/cibadmin.c fprintf(stdout, "%s", buf->str); buf 101 tools/cibadmin.c g_string_free(buf, TRUE); buf 598 tools/cibadmin.c GString *buf = g_string_sized_new(1024); buf 603 tools/cibadmin.c pcmk__xml_string(output, pcmk__xml_fmt_pretty, buf, 0); buf 604 tools/cibadmin.c fprintf(stdout, "%s", buf->str); buf 605 tools/cibadmin.c g_string_free(buf, TRUE); buf 179 tools/crm_mon_curses.c curses_output_xml(pcmk__output_t *out, const char *name, const char *buf) { buf 181 tools/crm_mon_curses.c curses_indented_printf(out, "%s", buf); buf 357 tools/crm_resource_ban.c build_clear_xpath_string(GString *buf, const xmlNode *constraint_node, buf 368 tools/crm_resource_ban.c CRM_ASSERT(buf != NULL); buf 369 tools/crm_resource_ban.c g_string_truncate(buf, 0); buf 376 tools/crm_resource_ban.c g_string_append(buf, "//" PCMK_XE_RSC_LOCATION); buf 379 tools/crm_resource_ban.c g_string_append_c(buf, '['); buf 382 tools/crm_resource_ban.c pcmk__g_strcat(buf, "@" PCMK_XE_NODE "='", node, "'", NULL); buf 385 tools/crm_resource_ban.c g_string_append(buf, " and "); buf 406 tools/crm_resource_ban.c g_string_append(buf, rsc_role_substr->str); buf 408 tools/crm_resource_ban.c g_string_append_c(buf, ']'); buf 412 tools/crm_resource_ban.c g_string_append(buf, "|//" PCMK_XE_RSC_LOCATION); buf 415 tools/crm_resource_ban.c pcmk__g_strcat(buf, "[", rsc_role_substr, "]", NULL); buf 417 tools/crm_resource_ban.c pcmk__g_strcat(buf, buf 423 tools/crm_resource_ban.c g_string_append(buf, "//" PCMK_XE_DATE_EXPRESSION "[@" PCMK_XA_ID "='"); buf 425 tools/crm_resource_ban.c pcmk__g_strcat(buf, cons_id, "-lifetime']", NULL); buf 428 tools/crm_resource_ban.c pcmk__g_strcat(buf, buf 442 tools/crm_resource_ban.c GString *buf = NULL; buf 458 tools/crm_resource_ban.c if (buf == NULL) { buf 459 tools/crm_resource_ban.c buf = g_string_sized_new(1024); buf 462 tools/crm_resource_ban.c build_clear_xpath_string(buf, constraint_node, rsc, node, buf 464 tools/crm_resource_ban.c if (buf->len == 0) { buf 468 tools/crm_resource_ban.c date_expr_node = get_xpath_object((const char *) buf->str, buf 508 tools/crm_resource_ban.c if (buf != NULL) { buf 509 tools/crm_resource_ban.c g_string_free(buf, TRUE); buf 172 tools/crm_shadow.c GString *buf = g_string_sized_new(1024); buf 176 tools/crm_shadow.c buf, 0); buf 178 tools/crm_shadow.c str = g_string_free(buf, FALSE); buf 248 tools/crm_shadow.c GString *buf = g_string_sized_new(1024); buf 252 tools/crm_shadow.c buf, 0); buf 254 tools/crm_shadow.c str = g_string_free(buf, FALSE); buf 303 tools/crm_shadow.c GString *buf = g_string_sized_new(1024); buf 305 tools/crm_shadow.c pcmk__xml_string(content, pcmk__xml_fmt_pretty|pcmk__xml_fmt_text, buf, buf 308 tools/crm_shadow.c out->output_xml(out, PCMK_XE_CONTENT, buf->str); buf 309 tools/crm_shadow.c g_string_free(buf, TRUE); buf 411 tools/crm_shadow.c struct stat buf; buf 413 tools/crm_shadow.c if (!should_exist && (stat(filename, &buf) == 0)) { buf 423 tools/crm_shadow.c if (should_exist && (stat(filename, &buf) < 0)) { buf 128 tools/crm_verify.c char *buf = NULL; buf 132 tools/crm_verify.c CRM_ASSERT(vasprintf(&buf, msg, ap) > 0); buf 134 tools/crm_verify.c out->err(out, "error: %s", buf); buf 152 tools/crm_verify.c char *buf = NULL; buf 156 tools/crm_verify.c CRM_ASSERT(vasprintf(&buf, msg, ap) > 0); buf 158 tools/crm_verify.c out->err(out, "warning: %s", buf);