s 105 daemons/based/based_io.c struct stat s; s 108 daemons/based/based_io.c if(stat(a_path, &s) != 0) { s 113 daemons/based/based_io.c } else if ((s.st_mode & S_IFREG) != S_IFREG) { s 118 daemons/based/based_io.c switch (s.st_mode & S_IFMT) { s 666 daemons/controld/controld_control.c char *s = pcmk__format_option_metadata("pacemaker-controld", s 671 daemons/controld/controld_control.c printf("%s", s); s 672 daemons/controld/controld_control.c free(s); s 70 daemons/pacemakerd/pacemakerd.c for (char **s = feature_list; *s != NULL; s++) { s 71 daemons/pacemakerd/pacemakerd.c pcmk__output_create_xml_text_node(out, "feature", *s); s 203 include/crm/common/ipc_internal.h void pcmk__drop_all_clients(qb_ipcs_service_t *s); s 83 include/crm/common/iso8601.h int crm_time_get_timeofday(crm_time_t * dt, uint32_t * h, uint32_t * m, uint32_t * s); s 25 include/crm/common/remote_internal.h void pcmk__sockaddr2str(void *sa, char *s); s 37 include/crm/common/strings_internal.h bool pcmk__ends_with(const char *s, const char *match); s 38 include/crm/common/strings_internal.h bool pcmk__ends_with_ext(const char *s, const char *match); s 121 include/crm/common/strings_internal.h gboolean pcmk__str_in_list(const gchar *s, GList *lst, uint32_t flags); s 123 include/crm/common/strings_internal.h bool pcmk__strcase_any_of(const char *s, ...) G_GNUC_NULL_TERMINATED; s 124 include/crm/common/strings_internal.h bool pcmk__str_any_of(const char *s, ...) G_GNUC_NULL_TERMINATED; s 168 include/crm/common/strings_internal.h pcmk__str_empty(const char *s) s 170 include/crm/common/strings_internal.h return (s == NULL) || (s[0] == '\0'); s 55 include/crm/common/util.h gboolean crm_is_true(const char *s); s 56 include/crm/common/util.h int crm_str_to_boolean(const char *s, int *ret); s 143 include/crm/common/util.h bool pcmk_str_is_infinity(const char *s); s 144 include/crm/common/util.h bool pcmk_str_is_minus_infinity(const char *s); s 569 include/crm/pengine/internal.h GList * pe__build_node_name_list(pe_working_set_t *data_set, const char *s); s 570 include/crm/pengine/internal.h GList * pe__build_rsc_list(pe_working_set_t *data_set, const char *s); s 49 include/portability.h char *strchrnul(const char *s, int c_in); s 58 include/portability.h size_t strnlen(const char *s, size_t maxlen); s 574 lib/cib/cib_utils.c char *s = pcmk__format_option_metadata("pacemaker-based", s 579 lib/cib/cib_utils.c printf("%s", s); s 580 lib/cib/cib_utils.c free(s); s 267 lib/common/iso8601.c crm_time_get_sec(int sec, uint * h, uint * m, uint * s) s 287 lib/common/iso8601.c *s = seconds; s 291 lib/common/iso8601.c crm_time_get_timeofday(crm_time_t * dt, uint * h, uint * m, uint * s) s 293 lib/common/iso8601.c crm_time_get_sec(dt->seconds, h, m, s); s 300 lib/common/iso8601.c uint s; s 302 lib/common/iso8601.c crm_time_get_sec(dt->seconds, h, m, &s); s 474 lib/common/iso8601.c uint h = 0, m = 0, s = 0; s 478 lib/common/iso8601.c crm_time_get_sec(dt->seconds, &h, &m, &s); s 481 lib/common/iso8601.c h, pcmk__plural_s(h), ((m || s)? " " : "")); s 485 lib/common/iso8601.c m, pcmk__plural_s(m), (s? " " : "")); s 487 lib/common/iso8601.c if (s) { s 489 lib/common/iso8601.c s, pcmk__plural_s(s)); s 567 lib/common/iso8601.c uint h = 0, m = 0, s = 0; s 573 lib/common/iso8601.c if (crm_time_get_timeofday(dt, &h, &m, &s)) { s 575 lib/common/iso8601.c "%.2u:%.2u:%.2u", h, m, s); s 579 lib/common/iso8601.c crm_time_get_sec(dt->offset, &h, &m, &s); s 716 lib/common/iso8601.c uint h, m, s; s 739 lib/common/iso8601.c crm_time_get_sec(a_time->offset, &h, &m, &s); s 363 lib/common/md5.c #define OP(a, b, c, d, s, T) \ s 368 lib/common/md5.c CYCLIC (a, s); \ s 375 lib/common/md5.c #define CYCLIC(w, s) (w = (w << s) | (w >> (32 - s))) s 409 lib/common/md5.c #define OP(f, a, b, c, d, k, s, T) \ s 413 lib/common/md5.c CYCLIC (a, s); \ s 483 lib/common/nvpair.c char s[LLSTRSIZE] = { '\0', }; s 485 lib/common/nvpair.c if (snprintf(s, LLSTRSIZE, "%lld", (long long) value) == LLSTRSIZE) { s 488 lib/common/nvpair.c return crm_xml_add(xml, name, s); s 53 lib/common/operations.c convert_interval(const char *s, guint *interval_ms) s 58 lib/common/operations.c l = strtoul(s, NULL, 10); s 566 lib/common/options.c add_desc(GString *s, const char *tag, const char *desc, const char *values, const char *spaces) s 570 lib/common/options.c g_string_append_printf(s, "<%s lang=\"en\">%s", s 573 lib/common/options.c g_string_append_printf(s, " Allowed values: %s", values); s 575 lib/common/options.c g_string_append_printf(s, "</%s>\n", tag); s 589 lib/common/options.c g_string_append_printf(s, "%s", spaces); s 591 lib/common/options.c g_string_append_printf(s, "<%s lang=\"%s\">%s", s 594 lib/common/options.c g_string_append(s, _(" Allowed values: ")); s 595 lib/common/options.c g_string_append_printf(s, "%s", _(values)); s 597 lib/common/options.c g_string_append_printf(s, "</%s>\n", tag); s 613 lib/common/options.c GString *s = g_string_sized_new(13000); s 616 lib/common/options.c g_string_append_printf(s, "<?xml version=\"1.0\"?>" s 622 lib/common/options.c g_string_append(s, " "); s 623 lib/common/options.c add_desc(s, "longdesc", desc_long, NULL, " "); s 625 lib/common/options.c g_string_append(s, " "); s 626 lib/common/options.c add_desc(s, "shortdesc", desc_short, NULL, " "); s 628 lib/common/options.c g_string_append(s, " <parameters>\n"); s 640 lib/common/options.c g_string_append_printf(s, " <parameter name=\"%s\">\n", s 643 lib/common/options.c g_string_append(s, " "); s 644 lib/common/options.c add_desc(s, "longdesc", long_desc, option_list[lpc].values, " "); s 646 lib/common/options.c g_string_append(s, " "); s 647 lib/common/options.c add_desc(s, "shortdesc", option_list[lpc].description_short, NULL, " "); s 654 lib/common/options.c g_string_append_printf(s, " <content type=\"%s\" default=\"%s\">\n", s 659 lib/common/options.c g_string_append_printf(s, " <option value=\"%s\" />\n", ptr); s 663 lib/common/options.c g_string_append_printf(s, " </content>\n"); s 667 lib/common/options.c g_string_append_printf(s, " <content type=\"%s\" default=\"%s\"/>\n", s 673 lib/common/options.c g_string_append_printf(s, " </parameter>\n"); s 675 lib/common/options.c g_string_append_printf(s, " </parameters>\n</resource-agent>\n"); s 677 lib/common/options.c retval = s->str; s 678 lib/common/options.c g_string_free(s, FALSE); s 306 lib/common/output_xml.c for (subst_t *s = substitutions; s->from != NULL; s++) { s 307 lib/common/output_xml.c if (!strcmp(s->from, buf)) { s 308 lib/common/output_xml.c name = g_strdup(s->to); s 1166 lib/common/remote.c pcmk__sockaddr2str(void *sa, char *s) s 1171 lib/common/remote.c s, INET6_ADDRSTRLEN); s 1176 lib/common/remote.c s, INET6_ADDRSTRLEN); s 1180 lib/common/remote.c strcpy(s, "<invalid>"); s 35 lib/common/schemas.c #define schema_scanf(s, prefix, version, suffix) \ s 36 lib/common/schemas.c sscanf((s), prefix "%hhu.%hhu" suffix, &((version).v[0]), &((version).v[1])) s 271 lib/common/schemas.c struct stat s; s 287 lib/common/schemas.c } else if (stat(xslt, &s) == 0) { s 293 lib/common/schemas.c if (stat(xslt, &s) != 0) { s 301 lib/common/schemas.c if (stat(xslt, &s) != 0) { s 311 lib/common/schemas.c transform_onleave = (stat(xslt, &s) == 0); s 416 lib/common/strings.c crm_is_true(const char *s) s 420 lib/common/strings.c if (s != NULL) { s 421 lib/common/strings.c crm_str_to_boolean(s, &ret); s 427 lib/common/strings.c crm_str_to_boolean(const char *s, int *ret) s 429 lib/common/strings.c if (s == NULL) { s 432 lib/common/strings.c } else if (strcasecmp(s, "true") == 0 s 433 lib/common/strings.c || strcasecmp(s, "on") == 0 s 434 lib/common/strings.c || strcasecmp(s, "yes") == 0 || strcasecmp(s, "y") == 0 || strcasecmp(s, "1") == 0) { s 438 lib/common/strings.c } else if (strcasecmp(s, "false") == 0 s 439 lib/common/strings.c || strcasecmp(s, "off") == 0 s 440 lib/common/strings.c || strcasecmp(s, "no") == 0 || strcasecmp(s, "n") == 0 || strcasecmp(s, "0") == 0) { s 486 lib/common/strings.c const char *s = str; s 489 lib/common/strings.c if (!s || !p) { s 492 lib/common/strings.c while (*s && *p) { s 493 lib/common/strings.c if (*s++ != *p++) { s 501 lib/common/strings.c ends_with(const char *s, const char *match, bool as_extension) s 505 lib/common/strings.c } else if (s == NULL) { s 514 lib/common/strings.c s = strrchr(s, match[0]); s 515 lib/common/strings.c return (s == NULL)? false : !strcmp(s, match); s 519 lib/common/strings.c slen = strlen(s); s 520 lib/common/strings.c return ((slen >= mlen) && !strcmp(s + slen - mlen, match)); s 536 lib/common/strings.c pcmk__ends_with(const char *s, const char *match) s 538 lib/common/strings.c return ends_with(s, match, false); s 563 lib/common/strings.c pcmk__ends_with_ext(const char *s, const char *match) s 565 lib/common/strings.c return ends_with(s, match, true); s 886 lib/common/strings.c pcmk__str_in_list(const gchar *s, GList *lst, uint32_t flags) s 889 lib/common/strings.c if (pcmk__str_eq(s, ele->data, flags)) { s 898 lib/common/strings.c str_any_of(const char *s, va_list args, uint32_t flags) s 900 lib/common/strings.c if (s == NULL) { s 909 lib/common/strings.c } else if (pcmk__str_eq(s, ele, flags)) { s 931 lib/common/strings.c pcmk__strcase_any_of(const char *s, ...) s 936 lib/common/strings.c va_start(ap, s); s 937 lib/common/strings.c rc = str_any_of(s, ap, pcmk__str_casei); s 955 lib/common/strings.c pcmk__str_any_of(const char *s, ...) s 960 lib/common/strings.c va_start(ap, s); s 961 lib/common/strings.c rc = str_any_of(s, ap, pcmk__str_none); s 23 lib/common/tests/strings/pcmk__trim_test.c char *s = strdup(""); s 26 lib/common/tests/strings/pcmk__trim_test.c assert_string_equal(pcmk__trim(s), ""); s 28 lib/common/tests/strings/pcmk__trim_test.c free(s); s 34 lib/common/tests/strings/pcmk__trim_test.c char *s = strdup("\nabcd"); s 36 lib/common/tests/strings/pcmk__trim_test.c assert_string_equal(pcmk__trim(s), "\nabcd"); s 37 lib/common/tests/strings/pcmk__trim_test.c free(s); s 43 lib/common/tests/strings/pcmk__trim_test.c char *s = strdup("ab\ncd"); s 45 lib/common/tests/strings/pcmk__trim_test.c assert_string_equal(pcmk__trim(s), "ab\ncd"); s 46 lib/common/tests/strings/pcmk__trim_test.c free(s); s 52 lib/common/tests/strings/pcmk__trim_test.c char *s = strdup("abcd\n\n"); s 54 lib/common/tests/strings/pcmk__trim_test.c assert_string_equal(pcmk__trim(s), "abcd"); s 55 lib/common/tests/strings/pcmk__trim_test.c free(s); s 57 lib/common/tests/strings/pcmk__trim_test.c s = strdup("abcd\n "); s 58 lib/common/tests/strings/pcmk__trim_test.c assert_string_equal(pcmk__trim(s), "abcd\n "); s 59 lib/common/tests/strings/pcmk__trim_test.c free(s); s 65 lib/common/tests/strings/pcmk__trim_test.c char *s = strdup(" ab\t\ncd \t"); s 67 lib/common/tests/strings/pcmk__trim_test.c assert_string_equal(pcmk__trim(s), " ab\t\ncd \t"); s 68 lib/common/tests/strings/pcmk__trim_test.c free(s); s 28 lib/common/tests/utils/crm_meta_name_test.c char *s = NULL; s 30 lib/common/tests/utils/crm_meta_name_test.c s = crm_meta_name(XML_RSC_ATTR_NOTIFY); s 31 lib/common/tests/utils/crm_meta_name_test.c assert_string_equal(s, "CRM_meta_notify"); s 32 lib/common/tests/utils/crm_meta_name_test.c free(s); s 34 lib/common/tests/utils/crm_meta_name_test.c s = crm_meta_name(XML_RSC_ATTR_STICKINESS); s 35 lib/common/tests/utils/crm_meta_name_test.c assert_string_equal(s, "CRM_meta_resource_stickiness"); s 36 lib/common/tests/utils/crm_meta_name_test.c free(s); s 38 lib/common/tests/utils/crm_meta_name_test.c s = crm_meta_name("blah"); s 39 lib/common/tests/utils/crm_meta_name_test.c assert_string_equal(s, "CRM_meta_blah"); s 40 lib/common/tests/utils/crm_meta_name_test.c free(s); s 38 lib/common/tests/xpath/pcmk__xpath_node_id_test.c char *s = NULL; s 40 lib/common/tests/xpath/pcmk__xpath_node_id_test.c s = pcmk__xpath_node_id("/some/xpath/containing/lrm[@id='xyz']", "lrm"); s 41 lib/common/tests/xpath/pcmk__xpath_node_id_test.c assert_int_equal(strcmp(s, "xyz"), 0); s 42 lib/common/tests/xpath/pcmk__xpath_node_id_test.c free(s); s 44 lib/common/tests/xpath/pcmk__xpath_node_id_test.c s = pcmk__xpath_node_id("/some/other/lrm[@id='xyz']/xpath", "lrm"); s 45 lib/common/tests/xpath/pcmk__xpath_node_id_test.c assert_int_equal(strcmp(s, "xyz"), 0); s 46 lib/common/tests/xpath/pcmk__xpath_node_id_test.c free(s); s 513 lib/common/utils.c pcmk_str_is_infinity(const char *s) { s 514 lib/common/utils.c return pcmk__str_any_of(s, CRM_INFINITY_S, CRM_PLUS_INFINITY_S, NULL); s 518 lib/common/utils.c pcmk_str_is_minus_infinity(const char *s) { s 519 lib/common/utils.c return pcmk__str_eq(s, CRM_MINUS_INFINITY_S, pcmk__str_none); s 363 lib/gnu/md5.c #define OP(a, b, c, d, s, T) \ s 368 lib/gnu/md5.c CYCLIC (a, s); \ s 375 lib/gnu/md5.c #define CYCLIC(w, s) (w = (w << s) | (w >> (32 - s))) s 409 lib/gnu/md5.c #define OP(f, a, b, c, d, k, s, T) \ s 413 lib/gnu/md5.c CYCLIC (a, s); \ s 1810 lib/pacemaker/pcmk_output.c GString *s = g_string_sized_new(50); s 1813 lib/pacemaker/pcmk_output.c g_string_append_printf(s, "scope=\"%s\" ", scope); s 1817 lib/pacemaker/pcmk_output.c g_string_append_printf(s, "id=\"%s\" ", instance); s 1820 lib/pacemaker/pcmk_output.c g_string_append_printf(s, "name=\"%s\" ", name); s 1823 lib/pacemaker/pcmk_output.c g_string_append_printf(s, "host=\"%s\" ", host); s 1826 lib/pacemaker/pcmk_output.c g_string_append_printf(s, "value=\"%s\"", value ? value : ""); s 1828 lib/pacemaker/pcmk_output.c out->info(out, "%s", s->str); s 1829 lib/pacemaker/pcmk_output.c g_string_free(s, TRUE); s 29 lib/pacemaker/pcmk_sched_utilization.c utilization_value(const char *s) s 33 lib/pacemaker/pcmk_sched_utilization.c if ((s != NULL) && (pcmk__scan_min_int(s, &value, INT_MIN) == EINVAL)) { s 322 lib/pacemaker/pcmk_status.c char *s = crm_strdup_printf("offline node: %s", node->details->uname); s 324 lib/pacemaker/pcmk_status.c pcmk__add_word(&offline_nodes, &offline_nodes_len, s); s 325 lib/pacemaker/pcmk_status.c free(s); s 290 lib/pengine/common.c char *s = pcmk__format_option_metadata("pacemaker-schedulerd", s 294 lib/pengine/common.c out->output_xml(out, "metadata", s); s 295 lib/pengine/common.c free(s); s 512 lib/pengine/native.c add_output_flag(GString *s, const char *flag_desc, bool have_flags) s 514 lib/pengine/native.c g_string_append(s, (have_flags? ", " : " (")); s 515 lib/pengine/native.c g_string_append(s, flag_desc); s 521 lib/pengine/native.c add_output_node(GString *s, const char *node, bool have_nodes) s 523 lib/pengine/native.c g_string_append(s, (have_nodes? " " : " [ ")); s 524 lib/pengine/native.c g_string_append(s, node); s 730 lib/pengine/native.c gchar *s = pcmk__native_output_string(rsc, name, node, show_opts, s 734 lib/pengine/native.c pcmk_create_html_node(list_node, "span", NULL, cl, s); s 735 lib/pengine/native.c g_free(s); s 762 lib/pengine/native.c gchar *s = pcmk__native_output_string(rsc, name, node, show_opts, s 765 lib/pengine/native.c out->list_item(out, NULL, "%s", s); s 766 lib/pengine/native.c g_free(s); s 663 lib/pengine/pe_output.c char *s = crm_strdup_printf("%d resource instance%s configured (%d ", s 666 lib/pengine/pe_output.c pcmk_create_html_node(resources_node, "span", NULL, NULL, s); s 667 lib/pengine/pe_output.c free(s); s 671 lib/pengine/pe_output.c s = crm_strdup_printf(", %d ", nblocked); s 672 lib/pengine/pe_output.c pcmk_create_html_node(resources_node, "span", NULL, NULL, s); s 673 lib/pengine/pe_output.c free(s); s 679 lib/pengine/pe_output.c char *s = crm_strdup_printf("%d resource instance%s configured (%d ", s 682 lib/pengine/pe_output.c pcmk_create_html_node(resources_node, "span", NULL, NULL, s); s 683 lib/pengine/pe_output.c free(s); s 688 lib/pengine/pe_output.c char *s = crm_strdup_printf("%d resource instance%s configured (%d ", s 691 lib/pengine/pe_output.c pcmk_create_html_node(resources_node, "span", NULL, NULL, s); s 692 lib/pengine/pe_output.c free(s); s 698 lib/pengine/pe_output.c char *s = crm_strdup_printf("%d resource instance%s configured", s 700 lib/pengine/pe_output.c pcmk_create_html_node(resources_node, "span", NULL, NULL, s); s 701 lib/pengine/pe_output.c free(s); s 752 lib/pengine/pe_output.c char *s = pcmk__itoa(nnodes); s 753 lib/pengine/pe_output.c crm_xml_add(nodes_node, "number", s); s 754 lib/pengine/pe_output.c free(s); s 756 lib/pengine/pe_output.c s = pcmk__itoa(nresources); s 757 lib/pengine/pe_output.c crm_xml_add(resources_node, "number", s); s 758 lib/pengine/pe_output.c free(s); s 760 lib/pengine/pe_output.c s = pcmk__itoa(ndisabled); s 761 lib/pengine/pe_output.c crm_xml_add(resources_node, "disabled", s); s 762 lib/pengine/pe_output.c free(s); s 764 lib/pengine/pe_output.c s = pcmk__itoa(nblocked); s 765 lib/pengine/pe_output.c crm_xml_add(resources_node, "blocked", s); s 766 lib/pengine/pe_output.c free(s); s 1323 lib/pengine/pe_output.c char *s = NULL; s 1328 lib/pengine/pe_output.c s = pcmk__itoa(interval_ms); s 1336 lib/pengine/pe_output.c "interval", s, s 1340 lib/pengine/pe_output.c free(s); s 1771 lib/pengine/pe_output.c char *s = crm_strdup_printf("%s: %s", name, value); s 1780 lib/pengine/pe_output.c pcmk_create_html_node(item_node, "span", NULL, NULL, s); s 1781 lib/pengine/pe_output.c free(s); s 2389 lib/pengine/pe_output.c char *s = crm_strdup_printf("%sms", interval_ms_s); s 2390 lib/pengine/pe_output.c crm_xml_add(node, "interval", s); s 2391 lib/pengine/pe_output.c free(s); s 2405 lib/pengine/pe_output.c char *s = crm_strdup_printf("%sms", value); s 2406 lib/pengine/pe_output.c crm_xml_add(node, XML_RSC_OP_T_EXEC, s); s 2407 lib/pengine/pe_output.c free(s); s 2411 lib/pengine/pe_output.c char *s = crm_strdup_printf("%sms", value); s 2412 lib/pengine/pe_output.c crm_xml_add(node, XML_RSC_OP_T_QUEUE, s); s 2413 lib/pengine/pe_output.c free(s); s 2523 lib/pengine/pe_output.c char *s = pcmk__itoa(failcount); s 2525 lib/pengine/pe_output.c crm_xml_add(node, PCMK__FAIL_COUNT_PREFIX, s); s 2526 lib/pengine/pe_output.c free(s); s 245 lib/pengine/rules.c uint32_t h, m, s, y, d, w; s 254 lib/pengine/rules.c crm_time_get_timeofday(now, &h, &m, &s); s 257 lib/pengine/rules.c CHECK_ONE(cron_spec, "seconds", s); s 1600 lib/pengine/unpack.c for (const char *s = end; s > id; --s) { s 1601 lib/pengine/unpack.c switch (*s) { s 1614 lib/pengine/unpack.c return (s == end)? s : (s - 1); s 2505 lib/pengine/utils.c pe__build_node_name_list(pe_working_set_t *data_set, const char *s) { s 2508 lib/pengine/utils.c if (pcmk__str_eq(s, "*", pcmk__str_null_matches)) { s 2515 lib/pengine/utils.c pe_node_t *node = pe_find_node(data_set->nodes, s); s 2521 lib/pengine/utils.c nodes = g_list_prepend(nodes, strdup(s)); s 2529 lib/pengine/utils.c nodes = pe__unames_with_tag(data_set, s); s 2537 lib/pengine/utils.c pe__build_rsc_list(pe_working_set_t *data_set, const char *s) { s 2540 lib/pengine/utils.c if (pcmk__str_eq(s, "*", pcmk__str_null_matches)) { s 2543 lib/pengine/utils.c pe_resource_t *rsc = pe_find_resource_with_flags(data_set->resources, s, s 2552 lib/pengine/utils.c if (strstr(s, ":") != NULL) { s 2562 lib/pengine/utils.c resources = pe__rscs_with_tag(data_set, s); s 104 lib/services/services_linux.c ssize_t s; s 109 lib/services/services_linux.c s = read(fd, &fdsi, sizeof(struct signalfd_siginfo)); s 110 lib/services/services_linux.c if (s != sizeof(struct signalfd_siginfo)) { s 230 lib/services/systemd.c char *s = NULL; s 232 lib/services/systemd.c if (asprintf(&s, "%.*spacemaker%s", (int) (dot-name), name, dot) == -1) { s 237 lib/services/systemd.c return s; s 44 libltdl/ltdl.h #define LT_STRLEN(s) (((s) && (s)[0]) ? strlen (s) : 0) s 28 maint/gnulib/lib/amemxfrm.c amemxfrm (char *s, size_t n, char *resultbuf, size_t *lengthp) s 53 maint/gnulib/lib/amemxfrm.c orig_sentinel = s[n]; s 54 maint/gnulib/lib/amemxfrm.c s[n] = '\0'; s 60 maint/gnulib/lib/amemxfrm.c const char *p_end = s + n + 1; s 63 maint/gnulib/lib/amemxfrm.c p = s; s 159 maint/gnulib/lib/amemxfrm.c s[n] = orig_sentinel; s 166 maint/gnulib/lib/amemxfrm.c s[n] = orig_sentinel; s 172 maint/gnulib/lib/amemxfrm.c s[n] = orig_sentinel; s 41 maint/gnulib/lib/amemxfrm.h extern char * amemxfrm (char *restrict s, size_t n, s 44 maint/gnulib/lib/argp-fmtstream.c # define __vsnprintf(s, l, f, a) _IO_vsnprintf (s, l, f, a) s 1989 maint/gnulib/lib/argp-help.c char const *s = NULL; s 1994 maint/gnulib/lib/argp-help.c s = __strerror_r (errnum, buf, sizeof buf); s 1997 maint/gnulib/lib/argp-help.c s = buf; s 2000 maint/gnulib/lib/argp-help.c if (! s && ! (s = strerror (errnum))) s 2001 maint/gnulib/lib/argp-help.c s = dgettext (state->root_argp->argp_domain, s 2003 maint/gnulib/lib/argp-help.c fputs_unlocked (s, stream); s 28 maint/gnulib/lib/astrxfrm.c astrxfrm (const char *s, char *resultbuf, size_t *lengthp) s 48 maint/gnulib/lib/astrxfrm.c size_t l = strlen (s); s 82 maint/gnulib/lib/astrxfrm.c k = strxfrm (result, s, allocated); s 111 maint/gnulib/lib/astrxfrm.c if (strxfrm (result, s, allocated) != k) s 40 maint/gnulib/lib/astrxfrm.h extern char * astrxfrm (const char *s, s 84 maint/gnulib/lib/backupfile.c set_simple_backup_suffix (char const *s) s 86 maint/gnulib/lib/backupfile.c if (!s) s 87 maint/gnulib/lib/backupfile.c s = getenv ("SIMPLE_BACKUP_SUFFIX"); s 88 maint/gnulib/lib/backupfile.c simple_backup_suffix = s && *s && s == last_component (s) ? s : "~"; s 330 maint/gnulib/lib/backupfile.c char *s = imalloc (ssize); s 331 maint/gnulib/lib/backupfile.c if (!s) s 332 maint/gnulib/lib/backupfile.c return s; s 340 maint/gnulib/lib/backupfile.c memcpy (s, file, filelen); s 343 maint/gnulib/lib/backupfile.c memcpy (s + filelen, simple_backup_suffix, simple_backup_suffix_size); s 345 maint/gnulib/lib/backupfile.c switch (numbered_backup (dir_fd, &s, ssize, filelen, base_offset, s 355 maint/gnulib/lib/backupfile.c memcpy (s + filelen, simple_backup_suffix, s 360 maint/gnulib/lib/backupfile.c extended = check_extension (s, filelen, '~', sdir, &base_max); s 366 maint/gnulib/lib/backupfile.c free (s); s 380 maint/gnulib/lib/backupfile.c if (renameatu (AT_FDCWD, file, sdir, s + base_offset, flags) == 0) s 387 maint/gnulib/lib/backupfile.c free (s); s 395 maint/gnulib/lib/backupfile.c return s; s 78 maint/gnulib/lib/bitset.h } s; s 315 maint/gnulib/lib/bitset/stats.c bitset bset = dst->s.bset; s 334 maint/gnulib/lib/bitset/stats.c bitset bset = dst->s.bset; s 354 maint/gnulib/lib/bitset/stats.c return BITSET_TOGGLE_ (src->s.bset, bitno); s 361 maint/gnulib/lib/bitset/stats.c bitset bset = src->s.bset; s 380 maint/gnulib/lib/bitset/stats.c return BITSET_RESIZE_ (src->s.bset, size); s 387 maint/gnulib/lib/bitset/stats.c return BITSET_SIZE_ (src->s.bset); s 394 maint/gnulib/lib/bitset/stats.c return BITSET_COUNT_ (src->s.bset); s 401 maint/gnulib/lib/bitset/stats.c return BITSET_EMPTY_P_ (dst->s.bset); s 408 maint/gnulib/lib/bitset/stats.c BITSET_ONES_ (dst->s.bset); s 415 maint/gnulib/lib/bitset/stats.c BITSET_ZERO_ (dst->s.bset); s 423 maint/gnulib/lib/bitset/stats.c BITSET_COPY_ (dst->s.bset, src->s.bset); s 431 maint/gnulib/lib/bitset/stats.c return BITSET_DISJOINT_P_ (dst->s.bset, src->s.bset); s 439 maint/gnulib/lib/bitset/stats.c return BITSET_EQUAL_P_ (dst->s.bset, src->s.bset); s 447 maint/gnulib/lib/bitset/stats.c BITSET_NOT_ (dst->s.bset, src->s.bset); s 455 maint/gnulib/lib/bitset/stats.c return BITSET_SUBSET_P_ (dst->s.bset, src->s.bset); s 463 maint/gnulib/lib/bitset/stats.c BITSET_AND_ (dst->s.bset, src1->s.bset, src2->s.bset); s 471 maint/gnulib/lib/bitset/stats.c return BITSET_AND_CMP_ (dst->s.bset, src1->s.bset, src2->s.bset); s 479 maint/gnulib/lib/bitset/stats.c BITSET_ANDN_ (dst->s.bset, src1->s.bset, src2->s.bset); s 487 maint/gnulib/lib/bitset/stats.c return BITSET_ANDN_CMP_ (dst->s.bset, src1->s.bset, src2->s.bset); s 495 maint/gnulib/lib/bitset/stats.c BITSET_OR_ (dst->s.bset, src1->s.bset, src2->s.bset); s 503 maint/gnulib/lib/bitset/stats.c return BITSET_OR_CMP_ (dst->s.bset, src1->s.bset, src2->s.bset); s 511 maint/gnulib/lib/bitset/stats.c BITSET_XOR_ (dst->s.bset, src1->s.bset, src2->s.bset); s 519 maint/gnulib/lib/bitset/stats.c return BITSET_XOR_CMP_ (dst->s.bset, src1->s.bset, src2->s.bset); s 527 maint/gnulib/lib/bitset/stats.c BITSET_AND_OR_ (dst->s.bset, src1->s.bset, src2->s.bset, src3->s.bset); s 535 maint/gnulib/lib/bitset/stats.c return BITSET_AND_OR_CMP_ (dst->s.bset, src1->s.bset, src2->s.bset, src3->s.bset); s 543 maint/gnulib/lib/bitset/stats.c BITSET_ANDN_OR_ (dst->s.bset, src1->s.bset, src2->s.bset, src3->s.bset); s 551 maint/gnulib/lib/bitset/stats.c return BITSET_ANDN_OR_CMP_ (dst->s.bset, src1->s.bset, src2->s.bset, src3->s.bset); s 559 maint/gnulib/lib/bitset/stats.c BITSET_OR_AND_ (dst->s.bset, src1->s.bset, src2->s.bset, src3->s.bset); s 567 maint/gnulib/lib/bitset/stats.c return BITSET_OR_AND_CMP_ (dst->s.bset, src1->s.bset, src2->s.bset, src3->s.bset); s 575 maint/gnulib/lib/bitset/stats.c bitset_bindex count = BITSET_LIST_ (bset->s.bset, list, num, next); s 577 maint/gnulib/lib/bitset/stats.c BITSET_STATS_LISTS_INC (bset->s.bset); s 587 maint/gnulib/lib/bitset/stats.c BITSET_STATS_LIST_COUNTS_INC (bset->s.bset, i); s 591 maint/gnulib/lib/bitset/stats.c bitset_bindex size = BITSET_SIZE_ (bset->s.bset); s 599 maint/gnulib/lib/bitset/stats.c BITSET_STATS_LIST_SIZES_INC (bset->s.bset, i); s 607 maint/gnulib/lib/bitset/stats.c BITSET_STATS_LIST_DENSITY_INC (bset->s.bset, i); s 617 maint/gnulib/lib/bitset/stats.c return BITSET_LIST_REVERSE_ (bset->s.bset, list, num, next); s 624 maint/gnulib/lib/bitset/stats.c BITSET_STATS_FREES_INC (bset->s.bset); s 625 maint/gnulib/lib/bitset/stats.c BITSET_FREE_ (bset->s.bset); s 670 maint/gnulib/lib/bitset/stats.c return BITSET_TYPE_ (bset->s.bset); s 703 maint/gnulib/lib/bitset/stats.c bset->s.bset = xzalloc (bytes); s 704 maint/gnulib/lib/bitset/stats.c abitset_init (bset->s.bset, n_bits); s 711 maint/gnulib/lib/bitset/stats.c bset->s.bset = xzalloc (bytes); s 712 maint/gnulib/lib/bitset/stats.c lbitset_init (bset->s.bset, n_bits); s 719 maint/gnulib/lib/bitset/stats.c bset->s.bset = xzalloc (bytes); s 720 maint/gnulib/lib/bitset/stats.c tbitset_init (bset->s.bset, n_bits); s 727 maint/gnulib/lib/bitset/stats.c bset->s.bset = xzalloc (bytes); s 728 maint/gnulib/lib/bitset/stats.c vbitset_init (bset->s.bset, n_bits); s 36 maint/gnulib/lib/btoc32.c char s[1]; s 40 maint/gnulib/lib/btoc32.c s[0] = (unsigned char) c; s 41 maint/gnulib/lib/btoc32.c if (mbrtoc32 (&wc, s, 1, &state) <= 1) s 32 maint/gnulib/lib/c32rtomb.c c32rtomb (char *s, char32_t wc, mbstate_t *ps) s 38 maint/gnulib/lib/c32rtomb.c if (s == NULL) s 43 maint/gnulib/lib/c32rtomb.c return c32rtomb (s, wc, ps); s 47 maint/gnulib/lib/c32rtomb.c if (s == NULL) s 60 maint/gnulib/lib/c32rtomb.c s[0] = (unsigned char) wc; s 89 maint/gnulib/lib/c32rtomb.c case 4: s[3] = 0x80 | (wc & 0x3f); wc = wc >> 6; wc |= 0x10000; s 91 maint/gnulib/lib/c32rtomb.c case 3: s[2] = 0x80 | (wc & 0x3f); wc = wc >> 6; wc |= 0x800; s 93 maint/gnulib/lib/c32rtomb.c case 2: s[1] = 0x80 | (wc & 0x3f); wc = wc >> 6; wc |= 0xc0; s 94 maint/gnulib/lib/c32rtomb.c /*case 1:*/ s[0] = wc; s 102 maint/gnulib/lib/c32rtomb.c return wcrtomb (s, (wchar_t) wc, ps); s 114 maint/gnulib/lib/c32rtomb.c return wcrtomb (s, (wchar_t) wc, ps); s 36 maint/gnulib/lib/calloc.c rpl_calloc (size_t n, size_t s) s 38 maint/gnulib/lib/calloc.c if (n == 0 || s == 0) s 39 maint/gnulib/lib/calloc.c n = s = 1; s 41 maint/gnulib/lib/calloc.c if (xalloc_oversized (n, s)) s 47 maint/gnulib/lib/calloc.c void *result = calloc (n, s); s 670 maint/gnulib/lib/cdefs.h # define __fortified_attr_access(a, o, s) __attribute__ ((__access__ (a, o))) s 672 maint/gnulib/lib/cdefs.h # define __fortified_attr_access(a, o, s) __attr_access ((a, o, s)) s 680 maint/gnulib/lib/cdefs.h # define __fortified_attr_access(a, o, s) s 88 maint/gnulib/lib/chdir-long.c find_non_slash (char const *s) s 90 maint/gnulib/lib/chdir-long.c size_t n_slash = strspn (s, "/"); s 91 maint/gnulib/lib/chdir-long.c return (char *) s + n_slash; s 127 maint/gnulib/lib/clean-temp-simple.c const char *s = (const char *) x; s 130 maint/gnulib/lib/clean-temp-simple.c for (; *s; s++) s 131 maint/gnulib/lib/clean-temp-simple.c h = *s + ((h << 9) | (h >> (SIZE_BITS - 9))); s 603 maint/gnulib/lib/dfa.c accepting (state_num s, struct dfa const *r) s 605 maint/gnulib/lib/dfa.c return r->states[s].constraint != 0; s 635 maint/gnulib/lib/dfa.c mbs_to_wchar (wint_t *pwc, char const *s, idx_t n, struct dfa *d) s 637 maint/gnulib/lib/dfa.c unsigned char uc = s[0]; s 643 maint/gnulib/lib/dfa.c size_t nbytes = mbrtowc (&wch, s, n, &d->mbs); s 670 maint/gnulib/lib/dfa.c char const *s; s 674 maint/gnulib/lib/dfa.c s = "BEG"; s 677 maint/gnulib/lib/dfa.c s = "EMPTY"; s 680 maint/gnulib/lib/dfa.c s = "BACKREF"; s 683 maint/gnulib/lib/dfa.c s = "BEGLINE"; s 686 maint/gnulib/lib/dfa.c s = "ENDLINE"; s 689 maint/gnulib/lib/dfa.c s = "BEGWORD"; s 692 maint/gnulib/lib/dfa.c s = "ENDWORD"; s 695 maint/gnulib/lib/dfa.c s = "LIMWORD"; s 698 maint/gnulib/lib/dfa.c s = "NOTLIMWORD"; s 701 maint/gnulib/lib/dfa.c s = "QMARK"; s 704 maint/gnulib/lib/dfa.c s = "STAR"; s 707 maint/gnulib/lib/dfa.c s = "PLUS"; s 710 maint/gnulib/lib/dfa.c s = "CAT"; s 713 maint/gnulib/lib/dfa.c s = "OR"; s 716 maint/gnulib/lib/dfa.c s = "LPAREN"; s 719 maint/gnulib/lib/dfa.c s = "RPAREN"; s 722 maint/gnulib/lib/dfa.c s = "ANYCHAR"; s 725 maint/gnulib/lib/dfa.c s = "MBCSET"; s 728 maint/gnulib/lib/dfa.c s = "CSET"; s 731 maint/gnulib/lib/dfa.c fprintf (stderr, "%s", s); s 759 maint/gnulib/lib/dfa.c zeroset (charclass *s) s 761 maint/gnulib/lib/dfa.c memset (s, 0, sizeof *s); s 765 maint/gnulib/lib/dfa.c fillset (charclass *s) s 768 maint/gnulib/lib/dfa.c s->w[i] = CHARCLASS_WORD_MASK; s 772 maint/gnulib/lib/dfa.c notset (charclass *s) s 775 maint/gnulib/lib/dfa.c s->w[i] = CHARCLASS_WORD_MASK & ~s->w[i]; s 788 maint/gnulib/lib/dfa.c emptyset (charclass const *s) s 792 maint/gnulib/lib/dfa.c w |= s->w[i]; s 816 maint/gnulib/lib/dfa.c charclass_index (struct dfa *d, charclass const *s) s 821 maint/gnulib/lib/dfa.c if (equal (s, &d->charclasses[i])) s 826 maint/gnulib/lib/dfa.c d->charclasses[i] = *s; s 1172 maint/gnulib/lib/dfa.c push_lex_state (struct dfa *dfa, struct lexptr *ls, char const *s) s 1176 maint/gnulib/lib/dfa.c dfa->lex.ptr = s; s 1177 maint/gnulib/lib/dfa.c dfa->lex.left = strlen (s); s 1635 maint/gnulib/lib/dfa.c mbstate_t s = { 0 }; s 1636 maint/gnulib/lib/dfa.c size_t stored_bytes = wcrtomb ((char *) buf, wc, &s); s 1967 maint/gnulib/lib/dfa.c dfaparse (char const *s, idx_t len, struct dfa *d) s 1969 maint/gnulib/lib/dfa.c d->lex.ptr = s; s 2015 maint/gnulib/lib/dfa.c alloc_position_set (position_set *s, idx_t size) s 2017 maint/gnulib/lib/dfa.c s->elems = xnmalloc (size, sizeof *s->elems); s 2018 maint/gnulib/lib/dfa.c s->alloc = size; s 2019 maint/gnulib/lib/dfa.c s->nelem = 0; s 2027 maint/gnulib/lib/dfa.c insert (position p, position_set *s) s 2029 maint/gnulib/lib/dfa.c idx_t count = s->nelem; s 2034 maint/gnulib/lib/dfa.c if (s->elems[mid].index < p.index) s 2036 maint/gnulib/lib/dfa.c else if (s->elems[mid].index == p.index) s 2038 maint/gnulib/lib/dfa.c s->elems[mid].constraint |= p.constraint; s 2045 maint/gnulib/lib/dfa.c s->elems = maybe_realloc (s->elems, count, &s->alloc, -1, sizeof *s->elems); s 2047 maint/gnulib/lib/dfa.c s->elems[i] = s->elems[i - 1]; s 2048 maint/gnulib/lib/dfa.c s->elems[lo] = p; s 2049 maint/gnulib/lib/dfa.c ++s->nelem; s 2053 maint/gnulib/lib/dfa.c append (position p, position_set *s) s 2055 maint/gnulib/lib/dfa.c idx_t count = s->nelem; s 2056 maint/gnulib/lib/dfa.c s->elems = maybe_realloc (s->elems, count, &s->alloc, -1, sizeof *s->elems); s 2057 maint/gnulib/lib/dfa.c s->elems[s->nelem++] = p; s 2126 maint/gnulib/lib/dfa.c delete (idx_t del, position_set *s) s 2128 maint/gnulib/lib/dfa.c idx_t count = s->nelem; s 2133 maint/gnulib/lib/dfa.c if (s->elems[mid].index < del) s 2135 maint/gnulib/lib/dfa.c else if (s->elems[mid].index == del) s 2137 maint/gnulib/lib/dfa.c unsigned int c = s->elems[mid].constraint; s 2140 maint/gnulib/lib/dfa.c s->elems[i] = s->elems[i + 1]; s 2141 maint/gnulib/lib/dfa.c s->nelem = i; s 2168 maint/gnulib/lib/dfa.c state_index (struct dfa *d, position_set const *s, int context) s 2174 maint/gnulib/lib/dfa.c for (i = 0; i < s->nelem; ++i) s 2176 maint/gnulib/lib/dfa.c idx_t ind = s->elems[i].index; s 2177 maint/gnulib/lib/dfa.c hash ^= ind + s->elems[i].constraint; s 2183 maint/gnulib/lib/dfa.c if (hash != d->states[i].hash || s->nelem != d->states[i].elems.nelem s 2187 maint/gnulib/lib/dfa.c for (j = 0; j < s->nelem; ++j) s 2188 maint/gnulib/lib/dfa.c if (s->elems[j].constraint != d->states[i].elems.elems[j].constraint s 2189 maint/gnulib/lib/dfa.c || s->elems[j].index != d->states[i].elems.elems[j].index) s 2191 maint/gnulib/lib/dfa.c if (j == s->nelem) s 2197 maint/gnulib/lib/dfa.c for (state_num j = 0; j < s->nelem; j++) s 2199 maint/gnulib/lib/dfa.c fprintf (stderr, " %td:", s->elems[j].index); s 2200 maint/gnulib/lib/dfa.c prtok (d->tokens[s->elems[j].index]); s 2217 maint/gnulib/lib/dfa.c for (state_num j = 0; j < s->nelem; j++) s 2219 maint/gnulib/lib/dfa.c int c = d->constraints[s->elems[j].index]; s 2226 maint/gnulib/lib/dfa.c else if (d->tokens[s->elems[j].index] == BACKREF) s 2235 maint/gnulib/lib/dfa.c alloc_position_set (&d->states[i].elems, s->nelem); s 2236 maint/gnulib/lib/dfa.c copy (s, &d->states[i].elems); s 2331 maint/gnulib/lib/dfa.c state_separate_contexts (struct dfa *d, position_set const *s) s 2335 maint/gnulib/lib/dfa.c for (idx_t j = 0; j < s->nelem; j++) s 2336 maint/gnulib/lib/dfa.c separate_contexts |= d->separates[s->elems[j].index]; s 2916 maint/gnulib/lib/dfa.c build_state (state_num s, struct dfa *d, unsigned char uc) s 2927 maint/gnulib/lib/dfa.c fprintf (stderr, "build state %td\n", s); s 2931 maint/gnulib/lib/dfa.c state_num **ptrans = (accepting (s, d) ? d->fails : d->trans) + s; s 2961 maint/gnulib/lib/dfa.c d->success[s] = 0; s 2962 maint/gnulib/lib/dfa.c if (accepts_in_context (d->states[s].context, CTX_NEWLINE, s, d)) s 2963 maint/gnulib/lib/dfa.c d->success[s] |= CTX_NEWLINE; s 2964 maint/gnulib/lib/dfa.c if (accepts_in_context (d->states[s].context, CTX_LETTER, s, d)) s 2965 maint/gnulib/lib/dfa.c d->success[s] |= CTX_LETTER; s 2966 maint/gnulib/lib/dfa.c if (accepts_in_context (d->states[s].context, CTX_NONE, s, d)) s 2967 maint/gnulib/lib/dfa.c d->success[s] |= CTX_NONE; s 2973 maint/gnulib/lib/dfa.c for (idx_t j = 0; j < d->states[s].elems.nelem; j++) s 2975 maint/gnulib/lib/dfa.c k < d->follows[d->states[s].elems.elems[j].index].nelem; ++k) s 2976 maint/gnulib/lib/dfa.c insert (d->follows[d->states[s].elems.elems[j].index].elems[k], s 3016 maint/gnulib/lib/dfa.c if (succeeds_in_context (pos.constraint, d->states[s].context, s 3019 maint/gnulib/lib/dfa.c if (d->states[s].mbps.nelem == 0) s 3020 maint/gnulib/lib/dfa.c alloc_position_set (&d->states[s].mbps, 1); s 3021 maint/gnulib/lib/dfa.c insert (pos, &d->states[s].mbps); s 3032 maint/gnulib/lib/dfa.c d->states[s].context, CTX_NEWLINE)) s 3036 maint/gnulib/lib/dfa.c d->states[s].context, CTX_LETTER)) s 3040 maint/gnulib/lib/dfa.c d->states[s].context, CTX_NONE)) s 3171 maint/gnulib/lib/dfa.c fprintf (stderr, "trans table %td", s); s 3189 maint/gnulib/lib/dfa.c d->newlines[s] = trans[d->syntax.eolbyte]; s 3203 maint/gnulib/lib/dfa.c transit_state_singlebyte (struct dfa *d, state_num s, unsigned char const **pp) s 3207 maint/gnulib/lib/dfa.c if (d->trans[s]) s 3208 maint/gnulib/lib/dfa.c t = d->trans[s]; s 3209 maint/gnulib/lib/dfa.c else if (d->fails[s]) s 3210 maint/gnulib/lib/dfa.c t = d->fails[s]; s 3213 maint/gnulib/lib/dfa.c build_state (s, d, **pp); s 3214 maint/gnulib/lib/dfa.c if (d->trans[s]) s 3215 maint/gnulib/lib/dfa.c t = d->trans[s]; s 3218 maint/gnulib/lib/dfa.c t = d->fails[s]; s 3224 maint/gnulib/lib/dfa.c build_state (s, d, **pp); s 3233 maint/gnulib/lib/dfa.c transit_state (struct dfa *d, state_num s, unsigned char const **pp, s 3245 maint/gnulib/lib/dfa.c state_num s1 = s; s 3247 maint/gnulib/lib/dfa.c for (mbci = 0; mbci < mbclen && (mbci == 0 || d->min_trcount <= s); mbci++) s 3248 maint/gnulib/lib/dfa.c s = transit_state_singlebyte (d, s, pp); s 3254 maint/gnulib/lib/dfa.c return s; s 3278 maint/gnulib/lib/dfa.c if (! d->mb_trans[s]) s 3280 maint/gnulib/lib/dfa.c enum { TRANSPTR_SIZE = sizeof *d->mb_trans[s] }; s 3282 maint/gnulib/lib/dfa.c d->mb_trans[s] = xmalloc (TRANSALLOC_SIZE); s 3284 maint/gnulib/lib/dfa.c d->mb_trans[s][i] = -1; s 3286 maint/gnulib/lib/dfa.c else if (d->mb_trans[s][d->states[s1].mb_trindex] >= 0) s 3287 maint/gnulib/lib/dfa.c return d->mb_trans[s][d->states[s1].mb_trindex]; s 3289 maint/gnulib/lib/dfa.c if (s == -1) s 3292 maint/gnulib/lib/dfa.c merge (&d->states[s1].mbps, &d->states[s].elems, &d->mb_follows); s 3298 maint/gnulib/lib/dfa.c d->mb_trans[s][d->states[s1].mb_trindex] = s2; s 3359 maint/gnulib/lib/dfa.c for (state_num s = d->min_trcount; s < d->sindex; s++) s 3361 maint/gnulib/lib/dfa.c free (d->states[s].elems.elems); s 3362 maint/gnulib/lib/dfa.c free (d->states[s].mbps.elems); s 3368 maint/gnulib/lib/dfa.c for (state_num s = 0; s < d->tralloc; s++) s 3370 maint/gnulib/lib/dfa.c free (d->trans[s]); s 3371 maint/gnulib/lib/dfa.c free (d->fails[s]); s 3372 maint/gnulib/lib/dfa.c d->trans[s] = d->fails[s] = NULL; s 3379 maint/gnulib/lib/dfa.c for (state_num s = -1; s < d->tralloc; s++) s 3381 maint/gnulib/lib/dfa.c free (d->mb_trans[s]); s 3382 maint/gnulib/lib/dfa.c d->mb_trans[s] = NULL; s 3384 maint/gnulib/lib/dfa.c for (state_num s = 0; s < d->min_trcount; s++) s 3385 maint/gnulib/lib/dfa.c d->states[s].mb_trindex = -1; s 3394 maint/gnulib/lib/dfa.c state_num s = 0, s1 = 0; s 3417 maint/gnulib/lib/dfa.c while ((t = trans[s]) != NULL) s 3419 maint/gnulib/lib/dfa.c if (s < d->min_trcount) s 3421 maint/gnulib/lib/dfa.c if (!multibyte || d->states[s].mbps.nelem == 0) s 3423 maint/gnulib/lib/dfa.c while (t[*p] == s) s 3432 maint/gnulib/lib/dfa.c s1 = s; s 3434 maint/gnulib/lib/dfa.c if (d->states[s].mbps.nelem == 0 s 3439 maint/gnulib/lib/dfa.c s = t[*p++]; s 3443 maint/gnulib/lib/dfa.c s = transit_state (d, s, &p, (unsigned char *) end); s 3454 maint/gnulib/lib/dfa.c state_num tmp = s; s 3455 maint/gnulib/lib/dfa.c s = s1; s 3459 maint/gnulib/lib/dfa.c if (s < d->min_trcount) s 3464 maint/gnulib/lib/dfa.c s = t[*p++]; s 3468 maint/gnulib/lib/dfa.c if (s < 0) s 3470 maint/gnulib/lib/dfa.c if (s == -2) s 3472 maint/gnulib/lib/dfa.c s = build_state (s1, d, p[-1]); s 3482 maint/gnulib/lib/dfa.c s = (allow_nl ? d->newlines[s1] s 3493 maint/gnulib/lib/dfa.c else if (d->fails[s]) s 3495 maint/gnulib/lib/dfa.c if ((d->success[s] & d->syntax.sbit[*p]) s 3497 maint/gnulib/lib/dfa.c && accepts_in_context (d->states[s].context, CTX_NEWLINE, s, s 3501 maint/gnulib/lib/dfa.c if (multibyte && s < d->min_trcount) s 3504 maint/gnulib/lib/dfa.c s1 = s; s 3505 maint/gnulib/lib/dfa.c if (!multibyte || d->states[s].mbps.nelem == 0 s 3510 maint/gnulib/lib/dfa.c s = d->fails[s][*p++]; s 3514 maint/gnulib/lib/dfa.c s = transit_state (d, s, &p, (unsigned char *) end); s 3521 maint/gnulib/lib/dfa.c build_state (s, d, p[0]); s 3592 maint/gnulib/lib/dfa.c state_num s; s 3593 maint/gnulib/lib/dfa.c for (s = -1; s < d->tralloc; s++) s 3594 maint/gnulib/lib/dfa.c free (d->mb_trans[s]); s 3750 maint/gnulib/lib/dfa.c dfacomp (char const *s, idx_t len, struct dfa *d, bool searchflag) s 3752 maint/gnulib/lib/dfa.c if (s != NULL) s 3753 maint/gnulib/lib/dfa.c dfaparse (s, len, d); s 38 maint/gnulib/lib/dtotimespec.c time_t s = sec; s 39 maint/gnulib/lib/dtotimespec.c double frac = TIMESPEC_HZ * (sec - s); s 42 maint/gnulib/lib/dtotimespec.c s += ns / TIMESPEC_HZ; s 47 maint/gnulib/lib/dtotimespec.c s--; s 51 maint/gnulib/lib/dtotimespec.c return make_timespec (s, ns); s 85 maint/gnulib/lib/error.c # define fflush(s) _IO_fflush (s) s 177 maint/gnulib/lib/error.c char const *s; s 182 maint/gnulib/lib/error.c s = __strerror_r (errnum, errbuf, sizeof errbuf); s 185 maint/gnulib/lib/error.c s = errbuf; s 187 maint/gnulib/lib/error.c s = 0; s 190 maint/gnulib/lib/error.c s = strerror (errnum); s 194 maint/gnulib/lib/error.c if (! s) s 195 maint/gnulib/lib/error.c s = _("Unknown system error"); s 199 maint/gnulib/lib/error.c __fxprintf (NULL, ": %s", s); s 201 maint/gnulib/lib/error.c fprintf (stderr, ": %s", s); s 49 maint/gnulib/lib/explicit_bzero.c explicit_bzero (void *s, size_t len) s 52 maint/gnulib/lib/explicit_bzero.c (void) SecureZeroMemory (s, len); s 54 maint/gnulib/lib/explicit_bzero.c explicit_memset (s, '\0', len); s 56 maint/gnulib/lib/explicit_bzero.c (void) memset_s (s, len, '\0', len); s 58 maint/gnulib/lib/explicit_bzero.c memset (s, '\0', len); s 62 maint/gnulib/lib/explicit_bzero.c memset (s, '\0', len); s 67 maint/gnulib/lib/explicit_bzero.c __asm__ volatile ("" : : "g"(s) : "memory"); s 72 maint/gnulib/lib/explicit_bzero.c (void) volatile_memset (s, '\0', len); s 417 maint/gnulib/lib/expm1.c double s = ldexp (1.0, n) - 1.0; s 420 maint/gnulib/lib/expm1.c return s + (1.0 + s) * p_minus_1; s 430 maint/gnulib/lib/expm1l.c long double s = ldexpl (1.0L, n) - 1.0L; s 433 maint/gnulib/lib/expm1l.c return s + (1.0L + s) * p_minus_1; s 179 maint/gnulib/lib/fnmatch.c char s[CHAR_CLASS_MAX_LENGTH + 1]; s 180 maint/gnulib/lib/fnmatch.c char *cp = s; s 219 maint/gnulib/lib/fnmatch.c if (cp == s + CHAR_CLASS_MAX_LENGTH) s 228 maint/gnulib/lib/fnmatch.c return wctype (s); s 4707 maint/gnulib/lib/gen-uni-tables.c unsigned int ch, s, i; s 4736 maint/gnulib/lib/gen-uni-tables.c for (s = 0; s < numscripts; s++) s 4738 maint/gnulib/lib/gen-uni-tables.c char *lcp = strdup (scripts[s]); s 4745 maint/gnulib/lib/gen-uni-tables.c scriptinfo[s].lowercase_name = lcp; s 4748 maint/gnulib/lib/gen-uni-tables.c for (s = 0; s < numscripts; s++) s 4751 maint/gnulib/lib/gen-uni-tables.c scriptinfo[s].lowercase_name); s 4755 maint/gnulib/lib/gen-uni-tables.c if (unicode_scripts[ch] == s) s 4761 maint/gnulib/lib/gen-uni-tables.c while (ch + 1 < 0x110000 && unicode_scripts[ch + 1] == s) s 4780 maint/gnulib/lib/gen-uni-tables.c for (s = 0; s < numscripts; s++) s 4784 maint/gnulib/lib/gen-uni-tables.c scriptinfo[s].lowercase_name); s 4786 maint/gnulib/lib/gen-uni-tables.c scriptinfo[s].lowercase_name); s 4787 maint/gnulib/lib/gen-uni-tables.c fprintf (stream, " \"%s\"\n", scripts[s]); s 4789 maint/gnulib/lib/gen-uni-tables.c if (s+1 < numscripts) s 4801 maint/gnulib/lib/gen-uni-tables.c unsigned int s = unicode_scripts[ch]; s 4802 maint/gnulib/lib/gen-uni-tables.c if (s != (uint8_t)~(uint8_t)0) s 4803 maint/gnulib/lib/gen-uni-tables.c script_table_add (&t, ch, s); s 4899 maint/gnulib/lib/gen-uni-tables.c unsigned int s; s 4930 maint/gnulib/lib/gen-uni-tables.c for (s = 0; s < numscripts; s++) s 4931 maint/gnulib/lib/gen-uni-tables.c fprintf (stream, "%s, %u\n", scripts[s], s); s 92 maint/gnulib/lib/getpass.c struct termios s, t; s 123 maint/gnulib/lib/getpass.c s = t; s 170 maint/gnulib/lib/getpass.c tcsetattr (fileno (in), TCSAFLUSH | TCSASOFT, &s); s 215 maint/gnulib/lib/getprogname.c char *s = strdup (last_component (buf.ps_pathptr)); s 216 maint/gnulib/lib/getprogname.c if (s) s 217 maint/gnulib/lib/getprogname.c p = s; s 167 maint/gnulib/lib/getusershell.c char *s; s 169 maint/gnulib/lib/getusershell.c while (s = getusershell ()) s 170 maint/gnulib/lib/getusershell.c puts (s); s 236 maint/gnulib/lib/git-merge-changelog.c const char *s; s 240 maint/gnulib/lib/git-merge-changelog.c for (s = entry->string, n = entry->length; n > 0; s++, n--) s 241 maint/gnulib/lib/git-merge-changelog.c h = (unsigned char) *s + ((h << 9) | (h >> (sizeof (size_t) * CHAR_BIT - 9))); s 648 maint/gnulib/lib/glob.c struct scratch_buffer s; s 649 maint/gnulib/lib/glob.c scratch_buffer_init (&s); s 653 maint/gnulib/lib/glob.c err = __getlogin_r (s.data, s.length); s 657 maint/gnulib/lib/glob.c size_t ssize = strlen (s.data) + 1; s 658 maint/gnulib/lib/glob.c char *sdata = s.data; s 660 maint/gnulib/lib/glob.c s.length - ssize, &p); s 662 maint/gnulib/lib/glob.c p = getpwnam (s.data); s 669 maint/gnulib/lib/glob.c if (!scratch_buffer_grow (&s)) s 680 maint/gnulib/lib/glob.c scratch_buffer_free (&s); s 34 maint/gnulib/lib/hash-pjw-bare.c const unsigned char *s = x; s 39 maint/gnulib/lib/hash-pjw-bare.c h = s[i] + ((h << 9) | (h >> (SIZE_BITS - 9))); s 33 maint/gnulib/lib/hash-pjw.c const char *s; s 36 maint/gnulib/lib/hash-pjw.c for (s = x; *s; s++) s 37 maint/gnulib/lib/hash-pjw.c h = *s + ((h << 9) | (h >> (SIZE_BITS - 9))); s 1098 maint/gnulib/lib/hash.c char const *s = cursor->data; s 1100 maint/gnulib/lib/hash.c if (s) s 1101 maint/gnulib/lib/hash.c printf (" %s\n", s); s 49 maint/gnulib/lib/ialloc.h imalloc (idx_t s) s 51 maint/gnulib/lib/ialloc.h return s <= SIZE_MAX ? malloc (s) : _gl_alloc_nomem (); s 57 maint/gnulib/lib/ialloc.h irealloc (void *p, idx_t s) s 61 maint/gnulib/lib/ialloc.h return s <= SIZE_MAX ? realloc (p, s | !s) : _gl_alloc_nomem (); s 67 maint/gnulib/lib/ialloc.h icalloc (idx_t n, idx_t s) s 71 maint/gnulib/lib/ialloc.h if (s != 0) s 75 maint/gnulib/lib/ialloc.h if (SIZE_MAX < s) s 79 maint/gnulib/lib/ialloc.h s = 0; s 81 maint/gnulib/lib/ialloc.h return calloc (n, s); s 85 maint/gnulib/lib/ialloc.h ireallocarray (void *p, idx_t n, idx_t s) s 89 maint/gnulib/lib/ialloc.h if (n == 0 || s == 0) s 90 maint/gnulib/lib/ialloc.h n = s = 1; s 91 maint/gnulib/lib/ialloc.h return (n <= SIZE_MAX && s <= SIZE_MAX s 92 maint/gnulib/lib/ialloc.h ? reallocarray (p, n, s) s 52 maint/gnulib/lib/iconv.c utf16be_mbtowc (ucs4_t *pwc, const unsigned char *s, size_t n) s 56 maint/gnulib/lib/iconv.c ucs4_t wc = (s[0] << 8) + s[1]; s 61 maint/gnulib/lib/iconv.c ucs4_t wc2 = (s[2] << 8) + s[3]; s 123 maint/gnulib/lib/iconv.c utf16le_mbtowc (ucs4_t *pwc, const unsigned char *s, size_t n) s 127 maint/gnulib/lib/iconv.c ucs4_t wc = s[0] + (s[1] << 8); s 132 maint/gnulib/lib/iconv.c ucs4_t wc2 = s[2] + (s[3] << 8); s 194 maint/gnulib/lib/iconv.c utf32be_mbtowc (ucs4_t *pwc, const unsigned char *s, size_t n) s 198 maint/gnulib/lib/iconv.c ucs4_t wc = (s[0] << 24) + (s[1] << 16) + (s[2] << 8) + s[3]; s 236 maint/gnulib/lib/iconv.c utf32le_mbtowc (ucs4_t *pwc, const unsigned char *s, size_t n) s 240 maint/gnulib/lib/iconv.c ucs4_t wc = s[0] + (s[1] << 8) + (s[2] << 16) + (s[3] << 24); s 99 maint/gnulib/lib/localeinfo.c mbstate_t s = {0}; s 101 maint/gnulib/lib/localeinfo.c size_t len = mbrtowc (&wc, &c, 1, &s); s 2639 maint/gnulib/lib/localename.c const char *s = (const char *) x; s 2642 maint/gnulib/lib/localename.c for (; *s; s++) s 2643 maint/gnulib/lib/localename.c h = *s + ((h << 9) | (h >> (SIZE_BITS - 9))); s 83 maint/gnulib/lib/malloca.h #define nmalloca(n, s) \ s 84 maint/gnulib/lib/malloca.h (xalloc_oversized (n, s) ? NULL : malloca ((n) * (size_t) (s))) s 27 maint/gnulib/lib/mbrlen.c mbrlen (const char *s, size_t n, mbstate_t *ps) s 31 maint/gnulib/lib/mbrlen.c return mbrtowc (NULL, s, n, ps); s 63 maint/gnulib/lib/mbrtoc32.c mbrtoc32 (char32_t *pwc, const char *s, size_t n, mbstate_t *ps) s 86 maint/gnulib/lib/mbrtoc32.c mbrtoc32 (char32_t *pwc, const char *s, size_t n, mbstate_t *ps) s 91 maint/gnulib/lib/mbrtoc32.c if (s == NULL) s 94 maint/gnulib/lib/mbrtoc32.c s = ""; s 112 maint/gnulib/lib/mbrtoc32.c size_t ret = mbrtoc32 (&wc, s, n, ps); s 116 maint/gnulib/lib/mbrtoc32.c size_t ret = mbrtoc32 (pwc, s, n, ps); s 123 maint/gnulib/lib/mbrtoc32.c *pwc = (unsigned char) *s; s 150 maint/gnulib/lib/mbrtoc32.c p = s; s 163 maint/gnulib/lib/mbrtoc32.c buf[m++] = s[0]; s 166 maint/gnulib/lib/mbrtoc32.c buf[m++] = s[1]; s 168 maint/gnulib/lib/mbrtoc32.c buf[m++] = s[2]; s 207 maint/gnulib/lib/mbrtoc32.c pstate[++k] = s[0]; s 210 maint/gnulib/lib/mbrtoc32.c pstate[++k] = s[1]; s 212 maint/gnulib/lib/mbrtoc32.c pstate[++k] = s[2]; s 228 maint/gnulib/lib/mbrtoc32.c size_t ret = mbrtowc (&wc, s, n, ps); s 238 maint/gnulib/lib/mbrtoc32.c size_t ret = mbrtowc (&wc, s, n, ps); s 24 maint/gnulib/lib/mbrtowc-impl.h if (s == NULL) s 27 maint/gnulib/lib/mbrtowc-impl.h s = ""; s 50 maint/gnulib/lib/mbrtowc-impl.h p = s; s 63 maint/gnulib/lib/mbrtowc-impl.h buf[m++] = s[0]; s 66 maint/gnulib/lib/mbrtowc-impl.h buf[m++] = s[1]; s 68 maint/gnulib/lib/mbrtowc-impl.h buf[m++] = s[2]; s 245 maint/gnulib/lib/mbrtowc-impl.h pstate[++k] = s[0]; s 248 maint/gnulib/lib/mbrtowc-impl.h pstate[++k] = s[1]; s 250 maint/gnulib/lib/mbrtowc-impl.h pstate[++k] = s[2]; s 62 maint/gnulib/lib/mbrtowc.c mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps) s 79 maint/gnulib/lib/mbrtowc.c rpl_mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps) s 85 maint/gnulib/lib/mbrtowc.c if (s == NULL) s 88 maint/gnulib/lib/mbrtowc.c s = ""; s 114 maint/gnulib/lib/mbrtowc.c for (; n > 0; s++, n--) s 116 maint/gnulib/lib/mbrtowc.c ret = mbrtowc (&wc, s, 1, ps); s 134 maint/gnulib/lib/mbrtowc.c ret = mbrtowc (&wc, s, n, ps); s 138 maint/gnulib/lib/mbrtowc.c ret = mbrtowc (pwc, s, n, ps); s 149 maint/gnulib/lib/mbrtowc.c unsigned char uc = *s; s 23 maint/gnulib/lib/mbtowc-impl.h mbtowc (wchar_t *pwc, const char *s, size_t n) s 25 maint/gnulib/lib/mbtowc-impl.h if (s == NULL) s 34 maint/gnulib/lib/mbtowc-impl.h result = mbrtowc (&wc, s, n, &state); s 204 maint/gnulib/lib/md4.c #define R1(a,b,c,d,k,s) a=rol(a+F(b,c,d)+x[k],s); s 205 maint/gnulib/lib/md4.c #define R2(a,b,c,d,k,s) a=rol(a+G(b,c,d)+x[k]+K1,s); s 206 maint/gnulib/lib/md4.c #define R3(a,b,c,d,k,s) a=rol(a+H(b,c,d)+x[k]+K2,s); s 265 maint/gnulib/lib/md5.c #define OP(a, b, c, d, s, T) \ s 270 maint/gnulib/lib/md5.c CYCLIC (a, s); \ s 277 maint/gnulib/lib/md5.c #define CYCLIC(w, s) (w = (w << s) | (w >> (32 - s))) s 311 maint/gnulib/lib/md5.c #define OP(f, a, b, c, d, k, s, T) \ s 315 maint/gnulib/lib/md5.c CYCLIC (a, s); \ s 59 maint/gnulib/lib/memchr.c __memchr (void const *s, int c_in, size_t n) s 78 maint/gnulib/lib/memchr.c for (char_ptr = (const unsigned char *) s; s 36 maint/gnulib/lib/memchr2.c memchr2 (void const *s, int c1_in, int c2_in, size_t n) s 58 maint/gnulib/lib/memchr2.c return memchr (s, c1, n); s 62 maint/gnulib/lib/memchr2.c for (void_ptr = s; s 27 maint/gnulib/lib/memchr2.h extern void *memchr2 (void const *s, int c1, int c2, size_t n) s 46 maint/gnulib/lib/memrchr.c __memrchr (void const *s, int c_in, size_t n) s 65 maint/gnulib/lib/memrchr.c for (char_ptr = (const unsigned char *) s + n; s 27 maint/gnulib/lib/memxor.c char const *s = src; s 31 maint/gnulib/lib/memxor.c *d++ ^= *s++; s 382 maint/gnulib/lib/mini-gmp.c mpn_copyi (mp_ptr d, mp_srcptr s, mp_size_t n) s 386 maint/gnulib/lib/mini-gmp.c d[i] = s[i]; s 390 maint/gnulib/lib/mini-gmp.c mpn_copyd (mp_ptr d, mp_srcptr s, mp_size_t n) s 393 maint/gnulib/lib/mini-gmp.c d[n] = s[n]; s 2799 maint/gnulib/lib/mini-gmp.c mpz_gcdext (mpz_t g, mpz_t s, mpz_t t, const mpz_t u, const mpz_t v) s 2810 maint/gnulib/lib/mini-gmp.c if (s) s 2811 maint/gnulib/lib/mini-gmp.c s->_mp_size = 0; s 2822 maint/gnulib/lib/mini-gmp.c if (s) s 2823 maint/gnulib/lib/mini-gmp.c mpz_set_si (s, sign); s 2850 maint/gnulib/lib/mini-gmp.c MPZ_PTR_SWAP (s, t); s 2968 maint/gnulib/lib/mini-gmp.c if (s) s 2969 maint/gnulib/lib/mini-gmp.c mpz_swap (s, s0); s 3277 maint/gnulib/lib/mini-gmp.c mpz_sqrtrem (mpz_t s, mpz_t r, const mpz_t u) s 3279 maint/gnulib/lib/mini-gmp.c mpz_rootrem (s, r, u, 2); s 3283 maint/gnulib/lib/mini-gmp.c mpz_sqrt (mpz_t s, const mpz_t u) s 3285 maint/gnulib/lib/mini-gmp.c mpz_rootrem (s, NULL, u, 2); s 3310 maint/gnulib/lib/mini-gmp.c mpz_t s, r, u; s 3317 maint/gnulib/lib/mini-gmp.c mpz_init (s); s 3318 maint/gnulib/lib/mini-gmp.c mpz_rootrem (s, r, mpz_roinit_normal_n (u, p, n), 2); s 3320 maint/gnulib/lib/mini-gmp.c assert (s->_mp_size == (n+1)/2); s 3321 maint/gnulib/lib/mini-gmp.c mpn_copyd (sp, s->_mp_d, s->_mp_size); s 3322 maint/gnulib/lib/mini-gmp.c mpz_clear (s); s 85 maint/gnulib/lib/monetary.in.h (char *restrict s, size_t maxsize, locale_t locale, s 90 maint/gnulib/lib/monetary.in.h (char *restrict s, size_t maxsize, locale_t locale, s 95 maint/gnulib/lib/monetary.in.h (char *restrict s, size_t maxsize, locale_t locale, s 443 maint/gnulib/lib/mountlist.c char *s = strchr (str, ' '); s 444 maint/gnulib/lib/mountlist.c if (s) s 445 maint/gnulib/lib/mountlist.c *s = '\0'; s 446 maint/gnulib/lib/mountlist.c return s; s 80 maint/gnulib/lib/nstrftime.c # define MEMCPY(d, s, n) __wmemcpy (d, s, n) s 81 maint/gnulib/lib/nstrftime.c # define STRLEN(s) __wcslen (s) s 90 maint/gnulib/lib/nstrftime.c # define MEMCPY(d, s, n) memcpy (d, s, n) s 91 maint/gnulib/lib/nstrftime.c # define STRLEN(s) strlen (s) s 192 maint/gnulib/lib/nstrftime.c #define cpy(n, s) width_cpy (width, n, s) s 194 maint/gnulib/lib/nstrftime.c # define width_cpy(width, n, s) \ s 199 maint/gnulib/lib/nstrftime.c fwrite_lowcase (p, (s), _n); \ s 201 maint/gnulib/lib/nstrftime.c fwrite_uppcase (p, (s), _n); \ s 209 maint/gnulib/lib/nstrftime.c fwrite (s, _n, 1, p); \ s 215 maint/gnulib/lib/nstrftime.c # define width_cpy(width, n, s) \ s 218 maint/gnulib/lib/nstrftime.c memcpy_lowcase (p, (s), _n LOCALE_ARG); \ s 220 maint/gnulib/lib/nstrftime.c memcpy_uppcase (p, (s), _n LOCALE_ARG); \ s 222 maint/gnulib/lib/nstrftime.c MEMCPY ((void *) p, (void const *) (s), _n)) s 228 maint/gnulib/lib/nstrftime.c # define __mbsrtowcs_l(d, s, l, st, loc) __mbsrtowcs (d, s, l, st) s 423 maint/gnulib/lib/nstrftime.c my_strftime (STREAM_OR_CHAR_T *s, STRFTIME_ARG (size_t maxsize) s 428 maint/gnulib/lib/nstrftime.c return __strftime_internal (s, STRFTIME_ARG (maxsize) format, tp, false, s 440 maint/gnulib/lib/nstrftime.c __strftime_internal (STREAM_OR_CHAR_T *s, STRFTIME_ARG (size_t maxsize) s 494 maint/gnulib/lib/nstrftime.c STREAM_OR_CHAR_T *p = s; s 1208 maint/gnulib/lib/parse-datetime.y time_zone_hhmm (parser_control *pc, textint s, intmax_t mm) s 1215 maint/gnulib/lib/parse-datetime.y if (s.digits <= 2 && mm < 0) s 1216 maint/gnulib/lib/parse-datetime.y s.value *= 100; s 1219 maint/gnulib/lib/parse-datetime.y n_minutes = (s.value / 100) * 60 + s.value % 100; s 1222 maint/gnulib/lib/parse-datetime.y overflow |= INT_MULTIPLY_WRAPV (s.value, 60, &n_minutes); s 1223 maint/gnulib/lib/parse-datetime.y overflow |= (s.negative s 1452 maint/gnulib/lib/parse-datetime.y time_t s = value; s 1481 maint/gnulib/lib/parse-datetime.y if (INT_SUBTRACT_WRAPV (s, 1, &s)) s 1486 maint/gnulib/lib/parse-datetime.y lvalp->timespec.tv_sec = s; s 1548 maint/gnulib/lib/parse-datetime.y _GL_UNUSED char const *s) s 1753 maint/gnulib/lib/parse-datetime.y char const *s; s 1755 maint/gnulib/lib/parse-datetime.y for (s = tzbase; *s; s++, tzsize++) s 1756 maint/gnulib/lib/parse-datetime.y if (*s == '\\') s 1758 maint/gnulib/lib/parse-datetime.y s++; s 1759 maint/gnulib/lib/parse-datetime.y if (! (*s == '\\' || *s == '"')) s 1762 maint/gnulib/lib/parse-datetime.y else if (*s == '"') s 1775 maint/gnulib/lib/parse-datetime.y for (s = tzbase; *s != '"'; s++) s 1776 maint/gnulib/lib/parse-datetime.y *z++ = *(s += *s == '\\'); s 1784 maint/gnulib/lib/parse-datetime.y p = s + 1; s 61 maint/gnulib/lib/pipe-filter-ii.c _beginthreadex (void *s, unsigned n, unsigned int WINAPI (*start) (void *), s 92 maint/gnulib/lib/posixtm.c posix_time_parse (struct tm *tm, const char *s, unsigned int syntax_bits) s 97 maint/gnulib/lib/posixtm.c idx_t s_len = strlen (s); s 102 maint/gnulib/lib/posixtm.c dot = strchr (s, '.'); s 105 maint/gnulib/lib/posixtm.c len = dot - s; s 115 maint/gnulib/lib/posixtm.c if (!c_isdigit (s[i])) s 120 maint/gnulib/lib/posixtm.c pair[i] = 10 * (s[2*i] - '0') + s[2*i + 1] - '0'; s 159 maint/gnulib/lib/posixtm.c posixtime (time_t *p, const char *s, unsigned int syntax_bits) s 164 maint/gnulib/lib/posixtm.c if (! posix_time_parse (&tm0, s, syntax_bits)) s 37 maint/gnulib/lib/posixtm.h bool posixtime (time_t *p, const char *s, unsigned int syntax_bits); s 43 maint/gnulib/lib/posixver.c char const *s = getenv ("_POSIX2_VERSION"); s 45 maint/gnulib/lib/posixver.c if (s && *s) s 48 maint/gnulib/lib/posixver.c long int i = strtol (s, &e, 10); s 134 maint/gnulib/lib/quotearg.c set_quoting_style (struct quoting_options *o, enum quoting_style s) s 136 maint/gnulib/lib/quotearg.c (o ? o : &default_quoting_options)->style = s; s 200 maint/gnulib/lib/quotearg.c gettext_quote (char const *msgid, enum quoting_style s) s 232 maint/gnulib/lib/quotearg.c return (s == clocale_quoting_style ? "\"" : "'"); s 947 maint/gnulib/lib/quotearg.c quotearg_n_style (int n, enum quoting_style s, char const *arg) s 949 maint/gnulib/lib/quotearg.c struct quoting_options const o = quoting_options_from_style (s); s 954 maint/gnulib/lib/quotearg.c quotearg_n_style_mem (int n, enum quoting_style s, s 957 maint/gnulib/lib/quotearg.c struct quoting_options const o = quoting_options_from_style (s); s 962 maint/gnulib/lib/quotearg.c quotearg_style (enum quoting_style s, char const *arg) s 964 maint/gnulib/lib/quotearg.c return quotearg_n_style (0, s, arg); s 968 maint/gnulib/lib/quotearg.c quotearg_style_mem (enum quoting_style s, char const *arg, size_t argsize) s 970 maint/gnulib/lib/quotearg.c return quotearg_n_style_mem (0, s, arg, argsize); s 1001 maint/gnulib/lib/quotearg.c quotearg_n_style_colon (int n, enum quoting_style s, char const *arg) s 1004 maint/gnulib/lib/quotearg.c options = quoting_options_from_style (s); s 287 maint/gnulib/lib/quotearg.h void set_quoting_style (struct quoting_options *o, enum quoting_style s); s 374 maint/gnulib/lib/quotearg.h char *quotearg_n_style (int n, enum quoting_style s, char const *arg); s 379 maint/gnulib/lib/quotearg.h char *quotearg_n_style_mem (int n, enum quoting_style s, s 383 maint/gnulib/lib/quotearg.h char *quotearg_style (enum quoting_style s, char const *arg); s 386 maint/gnulib/lib/quotearg.h char *quotearg_style_mem (enum quoting_style s, s 403 maint/gnulib/lib/quotearg.h char *quotearg_n_style_colon (int n, enum quoting_style s, char const *arg); s 33 maint/gnulib/lib/rawmemchr.c rawmemchr (const void *s, int c_in) s 46 maint/gnulib/lib/rawmemchr.c for (char_ptr = (const unsigned char *) s; s 52 maint/gnulib/lib/rawmemchr.c longword const *longword_ptr = s = char_ptr; s 111 maint/gnulib/lib/rawmemchr.c char_ptr = s = longword_ptr; s 55 maint/gnulib/lib/readtokens0.c char const *s = obstack_finish (&t->o_data); s 56 maint/gnulib/lib/readtokens0.c obstack_ptr_grow (&t->o_tok, s); s 642 maint/gnulib/lib/regcomp.c re_comp (const char *s) s 647 maint/gnulib/lib/regcomp.c if (!s) s 677 maint/gnulib/lib/regcomp.c ret = re_compile_internal (&re_comp_buf, s, strlen (s), re_syntax_options); s 324 maint/gnulib/lib/regexec.c char *s = NULL; s 334 maint/gnulib/lib/regexec.c s = re_malloc (char, len); s 336 maint/gnulib/lib/regexec.c if (__glibc_unlikely (s == NULL)) s 339 maint/gnulib/lib/regexec.c memcpy (__mempcpy (s, string1, length1), string2, length2); s 341 maint/gnulib/lib/regexec.c memcpy (s, string1, length1); s 342 maint/gnulib/lib/regexec.c memcpy (s + length1, string2, length2); s 344 maint/gnulib/lib/regexec.c str = s; s 353 maint/gnulib/lib/regexec.c re_free (s); s 561 maint/gnulib/lib/regexec.c re_exec (const char *s) s 563 maint/gnulib/lib/regexec.c return 0 == regexec (&re_comp_buf, s, 0, NULL, 0); s 285 maint/gnulib/lib/savewd.c int s = act (file[i], &wd, options); s 286 maint/gnulib/lib/savewd.c if (exit_status < s) s 287 maint/gnulib/lib/savewd.c exit_status = s; s 302 maint/gnulib/lib/savewd.c int s = act (file[i], &wd, options); s 303 maint/gnulib/lib/savewd.c if (exit_status < s) s 304 maint/gnulib/lib/savewd.c exit_status = s; s 47 maint/gnulib/lib/se-context.in.h context_new (_GL_ATTRIBUTE_MAYBE_UNUSED char const *s) s 56 maint/gnulib/lib/se-context.in.h _GL_ATTRIBUTE_MAYBE_UNUSED char const *s) s 60 maint/gnulib/lib/se-context.in.h _GL_ATTRIBUTE_MAYBE_UNUSED char const *s) s 64 maint/gnulib/lib/se-context.in.h _GL_ATTRIBUTE_MAYBE_UNUSED char const *s) s 68 maint/gnulib/lib/se-context.in.h _GL_ATTRIBUTE_MAYBE_UNUSED char const *s) s 533 maint/gnulib/lib/select.c SOCKET s = (SOCKET) h; s 534 maint/gnulib/lib/select.c WSAEventSelect (s, NULL, 0); s 535 maint/gnulib/lib/select.c if (FD_ISSET (s, &handle_rfds)) s 537 maint/gnulib/lib/select.c if (FD_ISSET (s, &handle_wfds)) s 539 maint/gnulib/lib/select.c if (FD_ISSET (s, &handle_xfds)) s 196 maint/gnulib/lib/spawni.c sigisempty (const sigset_t *s) s 198 maint/gnulib/lib/spawni.c return memiszero (s, sizeof (sigset_t)); s 152 maint/gnulib/lib/stdio-read.c fgets (char *s, int n, FILE *stream) s 155 maint/gnulib/lib/stdio-read.c CALL_WITH_ERRNO_FIX (char *, fgets (s, n, stream), ret == NULL) s 161 maint/gnulib/lib/stdio-read.c fread (void *ptr, size_t s, size_t n, FILE *stream) s 164 maint/gnulib/lib/stdio-read.c CALL_WITH_ERRNO_FIX (size_t, fread (ptr, s, n, stream), ret < n) s 199 maint/gnulib/lib/stdio-write.c fwrite (const void *ptr, size_t s, size_t n, FILE *stream) s 202 maint/gnulib/lib/stdio-write.c CALL_WITH_SIGPIPE_EMULATION (size_t, fwrite (ptr, s, n, stream), ret < n) s 372 maint/gnulib/lib/stdio.in.h (char *restrict s, int n, FILE *restrict stream) s 375 maint/gnulib/lib/stdio.in.h (char *restrict s, int n, FILE *restrict stream)); s 378 maint/gnulib/lib/stdio.in.h (char *restrict s, int n, FILE *restrict stream)); s 549 maint/gnulib/lib/stdio.in.h (void *restrict ptr, size_t s, size_t n, s 553 maint/gnulib/lib/stdio.in.h (void *restrict ptr, size_t s, size_t n, s 557 maint/gnulib/lib/stdio.in.h (void *restrict ptr, size_t s, size_t n, s 779 maint/gnulib/lib/stdio.in.h (const void *restrict ptr, size_t s, size_t n, s 783 maint/gnulib/lib/stdio.in.h (const void *restrict ptr, size_t s, size_t n, s 787 maint/gnulib/lib/stdio.in.h (const void *restrict ptr, size_t s, size_t n, s 522 maint/gnulib/lib/stdlib.in.h (wchar_t *restrict pwc, const char *restrict s, size_t n)); s 524 maint/gnulib/lib/stdlib.in.h (wchar_t *restrict pwc, const char *restrict s, size_t n)); s 528 maint/gnulib/lib/stdlib.in.h (wchar_t *restrict pwc, const char *restrict s, size_t n)); s 531 maint/gnulib/lib/stdlib.in.h (wchar_t *restrict pwc, const char *restrict s, size_t n)); s 1533 maint/gnulib/lib/stdlib.in.h _GL_FUNCDECL_RPL (wctomb, int, (char *s, wchar_t wc)); s 1534 maint/gnulib/lib/stdlib.in.h _GL_CXXALIAS_RPL (wctomb, int, (char *s, wchar_t wc)); s 1536 maint/gnulib/lib/stdlib.in.h _GL_CXXALIAS_SYS (wctomb, int, (char *s, wchar_t wc)); s 39 maint/gnulib/lib/stpcpy.c register const char *s = src; s 42 maint/gnulib/lib/stpcpy.c *d++ = *s; s 43 maint/gnulib/lib/stpcpy.c while (*s++ != '\0'); s 37 maint/gnulib/lib/stpncpy.c char *s = dest; s 64 maint/gnulib/lib/stpncpy.c n -= dest - s; s 24 maint/gnulib/lib/strchrnul.c strchrnul (const char *s, int c_in) s 41 maint/gnulib/lib/strchrnul.c return rawmemchr (s, 0); s 45 maint/gnulib/lib/strchrnul.c for (char_ptr = (const unsigned char *) s; s 32 maint/gnulib/lib/strcspn.c strcspn (const char *s, const char *reject) s 36 maint/gnulib/lib/strcspn.c while (*s != '\0') s 37 maint/gnulib/lib/strcspn.c if (strchr (reject, *s++) == NULL) s 39 maint/gnulib/lib/strdup.c __strdup (const char *s) s 41 maint/gnulib/lib/strdup.c size_t len = strlen (s) + 1; s 47 maint/gnulib/lib/strdup.c return (char *) memcpy (new, s, len); s 121 maint/gnulib/lib/strfmon_l.c rpl_strfmon_l (char *s, size_t maxsize, locale_t locale, const char *format, ...) s 202 maint/gnulib/lib/strfmon_l.c result = strfmon_l (s, maxsize, locale, ld_format, s 222 maint/gnulib/lib/strfmon_l.c result = strfmon_l (s, maxsize, locale, format, s 834 maint/gnulib/lib/string.in.h (char *restrict s, char const *restrict delim, s 838 maint/gnulib/lib/string.in.h (char *restrict s, char const *restrict delim, s 846 maint/gnulib/lib/string.in.h (char *restrict s, char const *restrict delim, s 851 maint/gnulib/lib/string.in.h (char *restrict s, char const *restrict delim, s 26 maint/gnulib/lib/strndup.c strndup (char const *s, size_t n) s 28 maint/gnulib/lib/strndup.c size_t len = strnlen (s, n); s 35 maint/gnulib/lib/strndup.c return memcpy (new, s, len); s 31 maint/gnulib/lib/strpbrk.c strpbrk (const char *s, const char *accept) s 33 maint/gnulib/lib/strpbrk.c while (*s != '\0') s 37 maint/gnulib/lib/strpbrk.c if (*a++ == *s) s 38 maint/gnulib/lib/strpbrk.c return (char *) s; s 39 maint/gnulib/lib/strpbrk.c ++s; s 183 maint/gnulib/lib/strtod.c const char *s = nptr; s 191 maint/gnulib/lib/strtod.c digits_start = s; s 193 maint/gnulib/lib/strtod.c for (;; ++s) s 195 maint/gnulib/lib/strtod.c if (base == 16 ? c_isxdigit (*s) : c_isdigit (*s)) s 197 maint/gnulib/lib/strtod.c else if (radixchar_ptr == NULL && *s == radixchar) s 200 maint/gnulib/lib/strtod.c radixchar_ptr = s; s 206 maint/gnulib/lib/strtod.c digits_end = s; s 232 maint/gnulib/lib/strtod.c : (long int) (s - digits_end)); s 272 maint/gnulib/lib/strtod.c if (c_tolower (*s) == expchar && ! locale_isspace (s[1])) s 277 maint/gnulib/lib/strtod.c long int value = strtol (s + 1, &end, 10); s 280 maint/gnulib/lib/strtod.c if (s + 1 != end) s 284 maint/gnulib/lib/strtod.c s = end; s 292 maint/gnulib/lib/strtod.c *endptr = (char *) s; s 334 maint/gnulib/lib/strtod.c const char *s = nptr; s 342 maint/gnulib/lib/strtod.c while (locale_isspace (*s)) s 343 maint/gnulib/lib/strtod.c ++s; s 346 maint/gnulib/lib/strtod.c negative = *s == '-'; s 347 maint/gnulib/lib/strtod.c if (*s == '-' || *s == '+') s 348 maint/gnulib/lib/strtod.c ++s; s 350 maint/gnulib/lib/strtod.c num = STRTOD (s, &endbuf); s 353 maint/gnulib/lib/strtod.c if (c_isdigit (s[*s == radixchar])) s 359 maint/gnulib/lib/strtod.c if (*s == '0' && c_tolower (s[1]) == 'x') s 361 maint/gnulib/lib/strtod.c if (! c_isxdigit (s[2 + (s[2] == radixchar)])) s 363 maint/gnulib/lib/strtod.c end = s + 1; s 368 maint/gnulib/lib/strtod.c else if (end <= s + 2) s 370 maint/gnulib/lib/strtod.c num = parse_number (s + 2, 16, 2, 4, radixchar, 'p', &endbuf); s 375 maint/gnulib/lib/strtod.c const char *p = s + 2; s 380 maint/gnulib/lib/strtod.c char *dup = strdup (s); s 387 maint/gnulib/lib/strtod.c parse_number (s + 2, 16, 2, 4, radixchar, 'p', &endbuf); s 391 maint/gnulib/lib/strtod.c dup[p - s] = '\0'; s 406 maint/gnulib/lib/strtod.c const char *e = s + 1; s 411 maint/gnulib/lib/strtod.c char *dup = strdup (s); s 417 maint/gnulib/lib/strtod.c num = parse_number (s, 10, 10, 1, radixchar, 'e', &endbuf); s 421 maint/gnulib/lib/strtod.c dup[e - s] = '\0'; s 431 maint/gnulib/lib/strtod.c s = end; s 435 maint/gnulib/lib/strtod.c else if (c_tolower (*s) == 'i' s 436 maint/gnulib/lib/strtod.c && c_tolower (s[1]) == 'n' s 437 maint/gnulib/lib/strtod.c && c_tolower (s[2]) == 'f') s 439 maint/gnulib/lib/strtod.c s += 3; s 440 maint/gnulib/lib/strtod.c if (c_tolower (*s) == 'i' s 441 maint/gnulib/lib/strtod.c && c_tolower (s[1]) == 'n' s 442 maint/gnulib/lib/strtod.c && c_tolower (s[2]) == 'i' s 443 maint/gnulib/lib/strtod.c && c_tolower (s[3]) == 't' s 444 maint/gnulib/lib/strtod.c && c_tolower (s[4]) == 'y') s 445 maint/gnulib/lib/strtod.c s += 5; s 449 maint/gnulib/lib/strtod.c else if (c_tolower (*s) == 'n' s 450 maint/gnulib/lib/strtod.c && c_tolower (s[1]) == 'a' s 451 maint/gnulib/lib/strtod.c && c_tolower (s[2]) == 'n') s 453 maint/gnulib/lib/strtod.c s += 3; s 454 maint/gnulib/lib/strtod.c if (*s == '(') s 456 maint/gnulib/lib/strtod.c const char *p = s + 1; s 460 maint/gnulib/lib/strtod.c s = p + 1; s 468 maint/gnulib/lib/strtod.c if (s != end || num == num) s 476 maint/gnulib/lib/strtod.c s = nptr; s 480 maint/gnulib/lib/strtod.c *endptr = (char *) s; s 44 maint/gnulib/lib/strtok_r.c __strtok_r (char *s, const char *delim, char **save_ptr) s 48 maint/gnulib/lib/strtok_r.c if (s == NULL) s 49 maint/gnulib/lib/strtok_r.c s = *save_ptr; s 52 maint/gnulib/lib/strtok_r.c s += strspn (s, delim); s 53 maint/gnulib/lib/strtok_r.c if (*s == '\0') s 55 maint/gnulib/lib/strtok_r.c *save_ptr = s; s 60 maint/gnulib/lib/strtok_r.c token = s; s 61 maint/gnulib/lib/strtok_r.c s = strpbrk (token, delim); s 62 maint/gnulib/lib/strtok_r.c if (s == NULL) s 68 maint/gnulib/lib/strtok_r.c *s = '\0'; s 69 maint/gnulib/lib/strtok_r.c *save_ptr = s + 1; s 219 maint/gnulib/lib/strtol.c register const STRING_TYPE *s; s 261 maint/gnulib/lib/strtol.c save = s = nptr; s 264 maint/gnulib/lib/strtol.c while (ISSPACE (*s)) s 265 maint/gnulib/lib/strtol.c ++s; s 266 maint/gnulib/lib/strtol.c if (*s == L_('\0')) s 270 maint/gnulib/lib/strtol.c if (*s == L_('-')) s 273 maint/gnulib/lib/strtol.c ++s; s 275 maint/gnulib/lib/strtol.c else if (*s == L_('+')) s 278 maint/gnulib/lib/strtol.c ++s; s 284 maint/gnulib/lib/strtol.c if (*s == L_('0')) s 286 maint/gnulib/lib/strtol.c if ((base == 0 || base == 16) && TOUPPER (s[1]) == L_('X')) s 288 maint/gnulib/lib/strtol.c s += 2; s 298 maint/gnulib/lib/strtol.c save = s; s 304 maint/gnulib/lib/strtol.c end = s; s 310 maint/gnulib/lib/strtol.c if (*s == thousands) s 311 maint/gnulib/lib/strtol.c end = s; s 313 maint/gnulib/lib/strtol.c end = correctly_grouped_prefix (s, end, thousands, grouping); s 324 maint/gnulib/lib/strtol.c for (c = *s; c != L_('\0'); c = *++s) s 326 maint/gnulib/lib/strtol.c if (s == end) s 347 maint/gnulib/lib/strtol.c if (s == save) s 353 maint/gnulib/lib/strtol.c *endptr = (STRING_TYPE *) s; s 151 maint/gnulib/lib/tanl.c long double z, r, v, w, s, u, u1; s 186 maint/gnulib/lib/tanl.c s = z * x; s 187 maint/gnulib/lib/tanl.c r = y + z * (s * r + y); s 188 maint/gnulib/lib/tanl.c r += TH * s; s 208 maint/gnulib/lib/tanl.c s = 1.0 + u * u1; s 209 maint/gnulib/lib/tanl.c return u + z * (s + u * v); s 53 maint/gnulib/lib/timespec.h make_timespec (time_t s, long int ns) s 56 maint/gnulib/lib/timespec.h r.tv_sec = s; s 41 maint/gnulib/lib/trim.c trim2 (const char *s, int how) s 45 maint/gnulib/lib/trim.c d = strdup (s); s 27 maint/gnulib/lib/trim.h #define trim(s) trim2(s, TRIM_BOTH) s 30 maint/gnulib/lib/trim.h #define trim_trailing(s) trim2(s, TRIM_TRAILING) s 33 maint/gnulib/lib/trim.h #define trim_leading(s) trim2(s, TRIM_LEADING) s 165 maint/gnulib/lib/uchar.in.h _GL_FUNCDECL_RPL (c32rtomb, size_t, (char *s, char32_t wc, mbstate_t *ps)); s 166 maint/gnulib/lib/uchar.in.h _GL_CXXALIAS_RPL (c32rtomb, size_t, (char *s, char32_t wc, mbstate_t *ps)); s 169 maint/gnulib/lib/uchar.in.h _GL_FUNCDECL_SYS (c32rtomb, size_t, (char *s, char32_t wc, mbstate_t *ps)); s 171 maint/gnulib/lib/uchar.in.h _GL_CXXALIAS_SYS (c32rtomb, size_t, (char *s, char32_t wc, mbstate_t *ps)); s 237 maint/gnulib/lib/uchar.in.h (char32_t *pc, const char *s, size_t n, mbstate_t *ps)); s 239 maint/gnulib/lib/uchar.in.h (char32_t *pc, const char *s, size_t n, mbstate_t *ps)); s 243 maint/gnulib/lib/uchar.in.h (char32_t *pc, const char *s, size_t n, mbstate_t *ps)); s 246 maint/gnulib/lib/uchar.in.h (char32_t *pc, const char *s, size_t n, mbstate_t *ps)); s 105 maint/gnulib/lib/unicase.in.h u8_toupper (const uint8_t *s, size_t n, const char *iso639_language, s 109 maint/gnulib/lib/unicase.in.h u16_toupper (const uint16_t *s, size_t n, const char *iso639_language, s 113 maint/gnulib/lib/unicase.in.h u32_toupper (const uint32_t *s, size_t n, const char *iso639_language, s 121 maint/gnulib/lib/unicase.in.h u8_tolower (const uint8_t *s, size_t n, const char *iso639_language, s 125 maint/gnulib/lib/unicase.in.h u16_tolower (const uint16_t *s, size_t n, const char *iso639_language, s 129 maint/gnulib/lib/unicase.in.h u32_tolower (const uint32_t *s, size_t n, const char *iso639_language, s 137 maint/gnulib/lib/unicase.in.h u8_totitle (const uint8_t *s, size_t n, const char *iso639_language, s 141 maint/gnulib/lib/unicase.in.h u16_totitle (const uint16_t *s, size_t n, const char *iso639_language, s 145 maint/gnulib/lib/unicase.in.h u32_totitle (const uint32_t *s, size_t n, const char *iso639_language, s 161 maint/gnulib/lib/unicase.in.h u8_casing_prefix_context (const uint8_t *s, size_t n); s 163 maint/gnulib/lib/unicase.in.h u16_casing_prefix_context (const uint16_t *s, size_t n); s 165 maint/gnulib/lib/unicase.in.h u32_casing_prefix_context (const uint32_t *s, size_t n); s 169 maint/gnulib/lib/unicase.in.h u8_casing_prefixes_context (const uint8_t *s, size_t n, s 172 maint/gnulib/lib/unicase.in.h u16_casing_prefixes_context (const uint16_t *s, size_t n, s 175 maint/gnulib/lib/unicase.in.h u32_casing_prefixes_context (const uint32_t *s, size_t n, s 190 maint/gnulib/lib/unicase.in.h u8_casing_suffix_context (const uint8_t *s, size_t n); s 192 maint/gnulib/lib/unicase.in.h u16_casing_suffix_context (const uint16_t *s, size_t n); s 194 maint/gnulib/lib/unicase.in.h u32_casing_suffix_context (const uint32_t *s, size_t n); s 198 maint/gnulib/lib/unicase.in.h u8_casing_suffixes_context (const uint8_t *s, size_t n, s 201 maint/gnulib/lib/unicase.in.h u16_casing_suffixes_context (const uint16_t *s, size_t n, s 204 maint/gnulib/lib/unicase.in.h u32_casing_suffixes_context (const uint32_t *s, size_t n, s 210 maint/gnulib/lib/unicase.in.h u8_ct_toupper (const uint8_t *s, size_t n, s 217 maint/gnulib/lib/unicase.in.h u16_ct_toupper (const uint16_t *s, size_t n, s 224 maint/gnulib/lib/unicase.in.h u32_ct_toupper (const uint32_t *s, size_t n, s 234 maint/gnulib/lib/unicase.in.h u8_ct_tolower (const uint8_t *s, size_t n, s 241 maint/gnulib/lib/unicase.in.h u16_ct_tolower (const uint16_t *s, size_t n, s 248 maint/gnulib/lib/unicase.in.h u32_ct_tolower (const uint32_t *s, size_t n, s 258 maint/gnulib/lib/unicase.in.h u8_ct_totitle (const uint8_t *s, size_t n, s 265 maint/gnulib/lib/unicase.in.h u16_ct_totitle (const uint16_t *s, size_t n, s 272 maint/gnulib/lib/unicase.in.h u32_ct_totitle (const uint32_t *s, size_t n, s 285 maint/gnulib/lib/unicase.in.h u8_casefold (const uint8_t *s, size_t n, const char *iso639_language, s 289 maint/gnulib/lib/unicase.in.h u16_casefold (const uint16_t *s, size_t n, const char *iso639_language, s 293 maint/gnulib/lib/unicase.in.h u32_casefold (const uint32_t *s, size_t n, const char *iso639_language, s 298 maint/gnulib/lib/unicase.in.h u8_ct_casefold (const uint8_t *s, size_t n, s 305 maint/gnulib/lib/unicase.in.h u16_ct_casefold (const uint16_t *s, size_t n, s 312 maint/gnulib/lib/unicase.in.h u32_ct_casefold (const uint32_t *s, size_t n, s 346 maint/gnulib/lib/unicase.in.h u8_casexfrm (const uint8_t *s, size_t n, const char *iso639_language, s 350 maint/gnulib/lib/unicase.in.h u16_casexfrm (const uint16_t *s, size_t n, const char *iso639_language, s 354 maint/gnulib/lib/unicase.in.h u32_casexfrm (const uint32_t *s, size_t n, const char *iso639_language, s 358 maint/gnulib/lib/unicase.in.h ulc_casexfrm (const char *s, size_t n, const char *iso639_language, s 390 maint/gnulib/lib/unicase.in.h u8_is_uppercase (const uint8_t *s, size_t n, s 394 maint/gnulib/lib/unicase.in.h u16_is_uppercase (const uint16_t *s, size_t n, s 398 maint/gnulib/lib/unicase.in.h u32_is_uppercase (const uint32_t *s, size_t n, s 405 maint/gnulib/lib/unicase.in.h u8_is_lowercase (const uint8_t *s, size_t n, s 409 maint/gnulib/lib/unicase.in.h u16_is_lowercase (const uint16_t *s, size_t n, s 413 maint/gnulib/lib/unicase.in.h u32_is_lowercase (const uint32_t *s, size_t n, s 420 maint/gnulib/lib/unicase.in.h u8_is_titlecase (const uint8_t *s, size_t n, s 424 maint/gnulib/lib/unicase.in.h u16_is_titlecase (const uint16_t *s, size_t n, s 428 maint/gnulib/lib/unicase.in.h u32_is_titlecase (const uint32_t *s, size_t n, s 435 maint/gnulib/lib/unicase.in.h u8_is_casefolded (const uint8_t *s, size_t n, s 439 maint/gnulib/lib/unicase.in.h u16_is_casefolded (const uint16_t *s, size_t n, s 443 maint/gnulib/lib/unicase.in.h u32_is_casefolded (const uint32_t *s, size_t n, s 454 maint/gnulib/lib/unicase.in.h u8_is_cased (const uint8_t *s, size_t n, s 458 maint/gnulib/lib/unicase.in.h u16_is_cased (const uint16_t *s, size_t n, s 462 maint/gnulib/lib/unicase.in.h u32_is_cased (const uint32_t *s, size_t n, s 34 maint/gnulib/lib/unicase/invariant.h u8_is_invariant (const uint8_t *s, size_t n, s 35 maint/gnulib/lib/unicase/invariant.h uint8_t * (*mapping) (const uint8_t *s, size_t n, const char *iso639_language, s 41 maint/gnulib/lib/unicase/invariant.h u16_is_invariant (const uint16_t *s, size_t n, s 42 maint/gnulib/lib/unicase/invariant.h uint16_t * (*mapping) (const uint16_t *s, size_t n, const char *iso639_language, s 48 maint/gnulib/lib/unicase/invariant.h u32_is_invariant (const uint32_t *s, size_t n, s 49 maint/gnulib/lib/unicase/invariant.h uint32_t * (*mapping) (const uint32_t *s, size_t n, const char *iso639_language, s 27 maint/gnulib/lib/unicase/u-casefold.h FUNC (const UNIT *s, size_t n, const char *iso639_language, s 31 maint/gnulib/lib/unicase/u-casefold.h return U_CT_CASEFOLD (s, n, s 27 maint/gnulib/lib/unicase/u-casemap.h FUNC (const UNIT *s, size_t n, s 55 maint/gnulib/lib/unicase/u-casemap.h const UNIT *s_end = s + n; s 67 maint/gnulib/lib/unicase/u-casemap.h while (s < s_end) s 70 maint/gnulib/lib/unicase/u-casemap.h int count = U_MBTOUC_UNSAFE (&uc, s, s_end - s); s 122 maint/gnulib/lib/unicase/u-casemap.h const UNIT *s2 = s + count; s 163 maint/gnulib/lib/unicase/u-casemap.h const UNIT *s2 = s + count; s 198 maint/gnulib/lib/unicase/u-casemap.h const UNIT *s2 = s + count; s 373 maint/gnulib/lib/unicase/u-casemap.h s += count; s 28 maint/gnulib/lib/unicase/u-casexfrm.h FUNC (const UNIT *s, size_t n, const char *iso639_language, uninorm_t nf, s 41 maint/gnulib/lib/unicase/u-casexfrm.h foldeds = U_CASEFOLD (s, n, iso639_language, nf, foldedsbuf, &foldeds_length); s 27 maint/gnulib/lib/unicase/u-ct-casefold.h FUNC (const UNIT *s, size_t n, s 46 maint/gnulib/lib/unicase/u-ct-casefold.h return U_CASEMAP (s, n, prefix_context, suffix_context, iso639_language, s 64 maint/gnulib/lib/unicase/u-ct-casefold.h tmp1 = U_NORMALIZE (UNINORM_NFD, s, n, tmpbuf1, &tmp1_length); s 34 maint/gnulib/lib/unicase/u-ct-totitle.h FUNC (const UNIT *s, size_t n, s 70 maint/gnulib/lib/unicase/u-ct-totitle.h U_WORDBREAKS (s, n, wordbreaks); s 76 maint/gnulib/lib/unicase/u-ct-totitle.h const UNIT *s_end = s + n; s 99 maint/gnulib/lib/unicase/u-ct-totitle.h while (s < s_end) s 103 maint/gnulib/lib/unicase/u-ct-totitle.h int count = U_MBTOUC_UNSAFE (&uc, s, s_end - s); s 198 maint/gnulib/lib/unicase/u-ct-totitle.h const UNIT *s2 = s + count; s 239 maint/gnulib/lib/unicase/u-ct-totitle.h const UNIT *s2 = s + count; s 274 maint/gnulib/lib/unicase/u-ct-totitle.h const UNIT *s2 = s + count; s 449 maint/gnulib/lib/unicase/u-ct-totitle.h s += count; s 27 maint/gnulib/lib/unicase/u-is-cased.h FUNC (const UNIT *s, size_t n, const char *iso639_language, s 41 maint/gnulib/lib/unicase/u-is-cased.h norms = U_NORMALIZE (UNINORM_NFD, s, n, normsbuf, &norms_length); s 27 maint/gnulib/lib/unicase/u-is-invariant.h FUNC (const UNIT *s, size_t n, s 28 maint/gnulib/lib/unicase/u-is-invariant.h UNIT * (*mapping) (const UNIT *s, size_t n, const char *iso639_language, s 43 maint/gnulib/lib/unicase/u-is-invariant.h norms = U_NORMALIZE (UNINORM_NFD, s, n, normsbuf, &norms_length); s 27 maint/gnulib/lib/unicase/u-prefix-context.h FUNC1 (const UNIT *s, size_t n) s 29 maint/gnulib/lib/unicase/u-prefix-context.h return FUNC2 (s, n, unicase_empty_prefix_context); s 33 maint/gnulib/lib/unicase/u-prefix-context.h FUNC2 (const UNIT *s, size_t n, casing_prefix_context_t a_context) s 38 maint/gnulib/lib/unicase/u-prefix-context.h const UNIT *s_end = s + n; s 40 maint/gnulib/lib/unicase/u-prefix-context.h while (s < s_end) s 43 maint/gnulib/lib/unicase/u-prefix-context.h int count = U_MBTOUC_UNSAFE (&uc, s, s_end - s); s 54 maint/gnulib/lib/unicase/u-prefix-context.h s += count; s 63 maint/gnulib/lib/unicase/u-prefix-context.h const UNIT *p = s + n; s 68 maint/gnulib/lib/unicase/u-prefix-context.h p = U_PREV (&uc, p, s); s 27 maint/gnulib/lib/unicase/u-suffix-context.h FUNC1 (const UNIT *s, size_t n) s 29 maint/gnulib/lib/unicase/u-suffix-context.h return FUNC2 (s, n, unicase_empty_suffix_context); s 33 maint/gnulib/lib/unicase/u-suffix-context.h FUNC2 (const UNIT *s, size_t n, casing_suffix_context_t a_context) s 42 maint/gnulib/lib/unicase/u-suffix-context.h const UNIT *s_end = s + n; s 44 maint/gnulib/lib/unicase/u-suffix-context.h while (s < s_end) s 47 maint/gnulib/lib/unicase/u-suffix-context.h int count = U_MBTOUC_UNSAFE (&uc, s, s_end - s); s 81 maint/gnulib/lib/unicase/u-suffix-context.h s += count; s 27 maint/gnulib/lib/unicase/u-totitle.h FUNC (const UNIT *s, size_t n, const char *iso639_language, s 31 maint/gnulib/lib/unicase/u-totitle.h return U_CT_TOTITLE (s, n, s 37 maint/gnulib/lib/unicase/u16-ct-tolower.c u16_ct_tolower (const uint16_t *s, size_t n, s 44 maint/gnulib/lib/unicase/u16-ct-tolower.c return u16_casemap (s, n, prefix_context, suffix_context, iso639_language, s 37 maint/gnulib/lib/unicase/u16-ct-toupper.c u16_ct_toupper (const uint16_t *s, size_t n, s 44 maint/gnulib/lib/unicase/u16-ct-toupper.c return u16_casemap (s, n, prefix_context, suffix_context, iso639_language, s 34 maint/gnulib/lib/unicase/u16-is-casefolded.c u16_is_casefolded (const uint16_t *s, size_t n, const char *iso639_language, s 37 maint/gnulib/lib/unicase/u16-is-casefolded.c return u16_is_invariant (s, n, u16_casefold, iso639_language, resultp); s 34 maint/gnulib/lib/unicase/u16-is-lowercase.c u16_is_lowercase (const uint16_t *s, size_t n, const char *iso639_language, s 37 maint/gnulib/lib/unicase/u16-is-lowercase.c return u16_is_invariant (s, n, u16_tolower, iso639_language, resultp); s 34 maint/gnulib/lib/unicase/u16-is-titlecase.c u16_is_titlecase (const uint16_t *s, size_t n, const char *iso639_language, s 37 maint/gnulib/lib/unicase/u16-is-titlecase.c return u16_is_invariant (s, n, u16_totitle, iso639_language, resultp); s 34 maint/gnulib/lib/unicase/u16-is-uppercase.c u16_is_uppercase (const uint16_t *s, size_t n, const char *iso639_language, s 37 maint/gnulib/lib/unicase/u16-is-uppercase.c return u16_is_invariant (s, n, u16_toupper, iso639_language, resultp); s 37 maint/gnulib/lib/unicase/u16-tolower.c u16_tolower (const uint16_t *s, size_t n, const char *iso639_language, s 41 maint/gnulib/lib/unicase/u16-tolower.c return u16_casemap (s, n, s 37 maint/gnulib/lib/unicase/u16-toupper.c u16_toupper (const uint16_t *s, size_t n, const char *iso639_language, s 41 maint/gnulib/lib/unicase/u16-toupper.c return u16_casemap (s, n, s 37 maint/gnulib/lib/unicase/u32-ct-tolower.c u32_ct_tolower (const uint32_t *s, size_t n, s 44 maint/gnulib/lib/unicase/u32-ct-tolower.c return u32_casemap (s, n, prefix_context, suffix_context, iso639_language, s 37 maint/gnulib/lib/unicase/u32-ct-toupper.c u32_ct_toupper (const uint32_t *s, size_t n, s 44 maint/gnulib/lib/unicase/u32-ct-toupper.c return u32_casemap (s, n, prefix_context, suffix_context, iso639_language, s 34 maint/gnulib/lib/unicase/u32-is-casefolded.c u32_is_casefolded (const uint32_t *s, size_t n, const char *iso639_language, s 37 maint/gnulib/lib/unicase/u32-is-casefolded.c return u32_is_invariant (s, n, u32_casefold, iso639_language, resultp); s 34 maint/gnulib/lib/unicase/u32-is-lowercase.c u32_is_lowercase (const uint32_t *s, size_t n, const char *iso639_language, s 37 maint/gnulib/lib/unicase/u32-is-lowercase.c return u32_is_invariant (s, n, u32_tolower, iso639_language, resultp); s 34 maint/gnulib/lib/unicase/u32-is-titlecase.c u32_is_titlecase (const uint32_t *s, size_t n, const char *iso639_language, s 37 maint/gnulib/lib/unicase/u32-is-titlecase.c return u32_is_invariant (s, n, u32_totitle, iso639_language, resultp); s 34 maint/gnulib/lib/unicase/u32-is-uppercase.c u32_is_uppercase (const uint32_t *s, size_t n, const char *iso639_language, s 37 maint/gnulib/lib/unicase/u32-is-uppercase.c return u32_is_invariant (s, n, u32_toupper, iso639_language, resultp); s 37 maint/gnulib/lib/unicase/u32-tolower.c u32_tolower (const uint32_t *s, size_t n, const char *iso639_language, s 41 maint/gnulib/lib/unicase/u32-tolower.c return u32_casemap (s, n, s 37 maint/gnulib/lib/unicase/u32-toupper.c u32_toupper (const uint32_t *s, size_t n, const char *iso639_language, s 41 maint/gnulib/lib/unicase/u32-toupper.c return u32_casemap (s, n, s 37 maint/gnulib/lib/unicase/u8-ct-tolower.c u8_ct_tolower (const uint8_t *s, size_t n, s 44 maint/gnulib/lib/unicase/u8-ct-tolower.c return u8_casemap (s, n, prefix_context, suffix_context, iso639_language, s 37 maint/gnulib/lib/unicase/u8-ct-toupper.c u8_ct_toupper (const uint8_t *s, size_t n, s 44 maint/gnulib/lib/unicase/u8-ct-toupper.c return u8_casemap (s, n, prefix_context, suffix_context, iso639_language, s 34 maint/gnulib/lib/unicase/u8-is-casefolded.c u8_is_casefolded (const uint8_t *s, size_t n, const char *iso639_language, s 37 maint/gnulib/lib/unicase/u8-is-casefolded.c return u8_is_invariant (s, n, u8_casefold, iso639_language, resultp); s 34 maint/gnulib/lib/unicase/u8-is-lowercase.c u8_is_lowercase (const uint8_t *s, size_t n, const char *iso639_language, s 37 maint/gnulib/lib/unicase/u8-is-lowercase.c return u8_is_invariant (s, n, u8_tolower, iso639_language, resultp); s 34 maint/gnulib/lib/unicase/u8-is-titlecase.c u8_is_titlecase (const uint8_t *s, size_t n, const char *iso639_language, s 37 maint/gnulib/lib/unicase/u8-is-titlecase.c return u8_is_invariant (s, n, u8_totitle, iso639_language, resultp); s 34 maint/gnulib/lib/unicase/u8-is-uppercase.c u8_is_uppercase (const uint8_t *s, size_t n, const char *iso639_language, s 37 maint/gnulib/lib/unicase/u8-is-uppercase.c return u8_is_invariant (s, n, u8_toupper, iso639_language, resultp); s 37 maint/gnulib/lib/unicase/u8-tolower.c u8_tolower (const uint8_t *s, size_t n, const char *iso639_language, s 41 maint/gnulib/lib/unicase/u8-tolower.c return u8_casemap (s, n, s 37 maint/gnulib/lib/unicase/u8-toupper.c u8_toupper (const uint8_t *s, size_t n, const char *iso639_language, s 41 maint/gnulib/lib/unicase/u8-toupper.c return u8_casemap (s, n, s 40 maint/gnulib/lib/unicase/ulc-casecmp.c ulc_u8_casefold (const char *s, size_t n, const char *iso639_language, s 52 maint/gnulib/lib/unicase/ulc-casecmp.c u8_conv_from_encoding (locale_charset (), iconveh_error, s, n, NULL, s 37 maint/gnulib/lib/unicase/ulc-casexfrm.c ulc_casexfrm (const char *s, size_t n, const char *iso639_language, s 49 maint/gnulib/lib/unicase/ulc-casexfrm.c u8_conv_from_encoding (locale_charset (), iconveh_error, s, n, NULL, s 33 maint/gnulib/lib/unicase/unicasemap.h u8_casemap (const uint8_t *s, size_t n, s 43 maint/gnulib/lib/unicase/unicasemap.h u16_casemap (const uint16_t *s, size_t n, s 53 maint/gnulib/lib/unicase/unicasemap.h u32_casemap (const uint32_t *s, size_t n, s 61 maint/gnulib/lib/uniconv/u16-conv-to-enc.c FUNC (const SRC_UNIT *s, size_t n, DST_UNIT *resultbuf, size_t *lengthp) s 63 maint/gnulib/lib/uniconv/u16-conv-to-enc.c const SRC_UNIT *s_end = s + n; s 84 maint/gnulib/lib/uniconv/u16-conv-to-enc.c while (s < s_end) s 90 maint/gnulib/lib/uniconv/u16-conv-to-enc.c count = u16_mbtoucr (&uc, s, s_end - s); s 101 maint/gnulib/lib/uniconv/u16-conv-to-enc.c s += count; s 100 maint/gnulib/lib/unigbrk.in.h u8_grapheme_next (const uint8_t *s, const uint8_t *end) s 103 maint/gnulib/lib/unigbrk.in.h u16_grapheme_next (const uint16_t *s, const uint16_t *end) s 106 maint/gnulib/lib/unigbrk.in.h u32_grapheme_next (const uint32_t *s, const uint32_t *end) s 112 maint/gnulib/lib/unigbrk.in.h u8_grapheme_prev (const uint8_t *s, const uint8_t *start) s 115 maint/gnulib/lib/unigbrk.in.h u16_grapheme_prev (const uint16_t *s, const uint16_t *start) s 118 maint/gnulib/lib/unigbrk.in.h u32_grapheme_prev (const uint32_t *s, const uint32_t *start) s 127 maint/gnulib/lib/unigbrk.in.h u8_grapheme_breaks (const uint8_t *s, size_t n, char *p); s 129 maint/gnulib/lib/unigbrk.in.h u16_grapheme_breaks (const uint16_t *s, size_t n, char *p); s 131 maint/gnulib/lib/unigbrk.in.h u32_grapheme_breaks (const uint32_t *s, size_t n, char *p); s 133 maint/gnulib/lib/unigbrk.in.h ulc_grapheme_breaks (const char *s, size_t n, char *p); s 135 maint/gnulib/lib/unigbrk.in.h uc_grapheme_breaks (const ucs4_t *s, size_t n, char *p); s 27 maint/gnulib/lib/unigbrk/u-grapheme-breaks.h FUNC (const UNIT *s, size_t n, char *p) s 31 maint/gnulib/lib/unigbrk/u-grapheme-breaks.h const UNIT *s_end = s + n; s 46 maint/gnulib/lib/unigbrk/u-grapheme-breaks.h while (s < s_end) s 49 maint/gnulib/lib/unigbrk/u-grapheme-breaks.h int count = U_MBTOUC (&uc, s, s_end - s); s 126 maint/gnulib/lib/unigbrk/u-grapheme-breaks.h s += count; s 34 maint/gnulib/lib/unigbrk/u16-grapheme-next.c u16_grapheme_next (const uint16_t *s, const uint16_t *end) s 39 maint/gnulib/lib/unigbrk/u16-grapheme-next.c if (s == end) s 42 maint/gnulib/lib/unigbrk/u16-grapheme-next.c for (s += u16_mbtouc (&prev, s, end - s); s != end; s += mblen) s 46 maint/gnulib/lib/unigbrk/u16-grapheme-next.c mblen = u16_mbtouc (&next, s, end - s); s 53 maint/gnulib/lib/unigbrk/u16-grapheme-next.c return s; s 34 maint/gnulib/lib/unigbrk/u16-grapheme-prev.c u16_grapheme_prev (const uint16_t *s, const uint16_t *start) s 38 maint/gnulib/lib/unigbrk/u16-grapheme-prev.c if (s == start) s 41 maint/gnulib/lib/unigbrk/u16-grapheme-prev.c s = u16_prev (&next, s, start); s 42 maint/gnulib/lib/unigbrk/u16-grapheme-prev.c while (s != start) s 47 maint/gnulib/lib/unigbrk/u16-grapheme-prev.c prev_s = u16_prev (&prev, s, start); s 57 maint/gnulib/lib/unigbrk/u16-grapheme-prev.c s = prev_s; s 61 maint/gnulib/lib/unigbrk/u16-grapheme-prev.c return s; s 34 maint/gnulib/lib/unigbrk/u32-grapheme-next.c u32_grapheme_next (const uint32_t *s, const uint32_t *end) s 38 maint/gnulib/lib/unigbrk/u32-grapheme-next.c if (s == end) s 41 maint/gnulib/lib/unigbrk/u32-grapheme-next.c u32_mbtouc (&prev, s, end - s); s 42 maint/gnulib/lib/unigbrk/u32-grapheme-next.c for (s++; s != end; s++) s 46 maint/gnulib/lib/unigbrk/u32-grapheme-next.c u32_mbtouc (&next, s, end - s); s 53 maint/gnulib/lib/unigbrk/u32-grapheme-next.c return s; s 34 maint/gnulib/lib/unigbrk/u32-grapheme-prev.c u32_grapheme_prev (const uint32_t *s, const uint32_t *start) s 38 maint/gnulib/lib/unigbrk/u32-grapheme-prev.c if (s == start) s 41 maint/gnulib/lib/unigbrk/u32-grapheme-prev.c u32_prev (&next, s, start); s 42 maint/gnulib/lib/unigbrk/u32-grapheme-prev.c for (s--; s != start; s--) s 46 maint/gnulib/lib/unigbrk/u32-grapheme-prev.c if (u32_prev (&prev, s, start) == NULL) s 58 maint/gnulib/lib/unigbrk/u32-grapheme-prev.c return s; s 34 maint/gnulib/lib/unigbrk/u8-grapheme-next.c u8_grapheme_next (const uint8_t *s, const uint8_t *end) s 39 maint/gnulib/lib/unigbrk/u8-grapheme-next.c if (s == end) s 42 maint/gnulib/lib/unigbrk/u8-grapheme-next.c for (s += u8_mbtouc (&prev, s, end - s); s != end; s += mblen) s 46 maint/gnulib/lib/unigbrk/u8-grapheme-next.c mblen = u8_mbtouc (&next, s, end - s); s 53 maint/gnulib/lib/unigbrk/u8-grapheme-next.c return s; s 34 maint/gnulib/lib/unigbrk/u8-grapheme-prev.c u8_grapheme_prev (const uint8_t *s, const uint8_t *start) s 38 maint/gnulib/lib/unigbrk/u8-grapheme-prev.c if (s == start) s 41 maint/gnulib/lib/unigbrk/u8-grapheme-prev.c s = u8_prev (&next, s, start); s 42 maint/gnulib/lib/unigbrk/u8-grapheme-prev.c while (s != start) s 47 maint/gnulib/lib/unigbrk/u8-grapheme-prev.c prev_s = u8_prev (&prev, s, start); s 57 maint/gnulib/lib/unigbrk/u8-grapheme-prev.c s = prev_s; s 61 maint/gnulib/lib/unigbrk/u8-grapheme-prev.c return s; s 36 maint/gnulib/lib/unigbrk/uc-grapheme-breaks.c uc_grapheme_breaks_mbtouc (ucs4_t *puc, const ucs4_t *s, size_t n) s 38 maint/gnulib/lib/unigbrk/uc-grapheme-breaks.c *puc = *s; s 52 maint/gnulib/lib/unigbrk/ulc-grapheme-breaks.c ascii_grapheme_breaks (const char *s, size_t n, char *p) s 59 maint/gnulib/lib/unigbrk/ulc-grapheme-breaks.c bool is_ascii = c_isprint (s[i]) || c_isspace (s[i]); s 60 maint/gnulib/lib/unigbrk/ulc-grapheme-breaks.c p[i] = is_ascii && (s[i] != '\n' || s[i - 1] != '\r'); s 79 maint/gnulib/lib/unigbrk/ulc-grapheme-breaks.c ulc_grapheme_breaks (const char *s, size_t n, char *p) s 86 maint/gnulib/lib/unigbrk/ulc-grapheme-breaks.c u8_grapheme_breaks ((const uint8_t *) s, n, p); s 99 maint/gnulib/lib/unigbrk/ulc-grapheme-breaks.c s, n, offsets, NULL, &m); s 130 maint/gnulib/lib/unigbrk/ulc-grapheme-breaks.c ascii_grapheme_breaks (s, n, p); s 68 maint/gnulib/lib/unilbrk.in.h u8_possible_linebreaks (const uint8_t *s, size_t n, s 71 maint/gnulib/lib/unilbrk.in.h u16_possible_linebreaks (const uint16_t *s, size_t n, s 74 maint/gnulib/lib/unilbrk.in.h u32_possible_linebreaks (const uint32_t *s, size_t n, s 77 maint/gnulib/lib/unilbrk.in.h ulc_possible_linebreaks (const char *s, size_t n, s 92 maint/gnulib/lib/unilbrk.in.h u8_width_linebreaks (const uint8_t *s, size_t n, int width, s 97 maint/gnulib/lib/unilbrk.in.h u16_width_linebreaks (const uint16_t *s, size_t n, int width, s 102 maint/gnulib/lib/unilbrk.in.h u32_width_linebreaks (const uint32_t *s, size_t n, int width, s 107 maint/gnulib/lib/unilbrk.in.h ulc_width_linebreaks (const char *s, size_t n, int width, s 39 maint/gnulib/lib/unilbrk/u16-possible-linebreaks.c u16_possible_linebreaks (const uint16_t *s, size_t n, const char *encoding, char *p) s 44 maint/gnulib/lib/unilbrk/u16-possible-linebreaks.c const uint16_t *s_end = s + n; s 55 maint/gnulib/lib/unilbrk/u16-possible-linebreaks.c int count = u16_mbtouc_unsafe (&uc, s, s_end - s); s 171 maint/gnulib/lib/unilbrk/u16-possible-linebreaks.c s += count; s 174 maint/gnulib/lib/unilbrk/u16-possible-linebreaks.c while (s < s_end); s 35 maint/gnulib/lib/unilbrk/u16-width-linebreaks.c u16_width_linebreaks (const uint16_t *s, size_t n, s 45 maint/gnulib/lib/unilbrk/u16-width-linebreaks.c u16_possible_linebreaks (s, n, encoding, p); s 47 maint/gnulib/lib/unilbrk/u16-width-linebreaks.c s_end = s + n; s 51 maint/gnulib/lib/unilbrk/u16-width-linebreaks.c while (s < s_end) s 54 maint/gnulib/lib/unilbrk/u16-width-linebreaks.c int count = u16_mbtouc_unsafe (&uc, s, s_end - s); s 101 maint/gnulib/lib/unilbrk/u16-width-linebreaks.c s += count; s 37 maint/gnulib/lib/unilbrk/u32-possible-linebreaks.c u32_possible_linebreaks (const uint32_t *s, size_t n, const char *encoding, char *p) s 42 maint/gnulib/lib/unilbrk/u32-possible-linebreaks.c const uint32_t *s_end = s + n; s 49 maint/gnulib/lib/unilbrk/u32-possible-linebreaks.c ucs4_t uc = *s; s 165 maint/gnulib/lib/unilbrk/u32-possible-linebreaks.c s++; s 168 maint/gnulib/lib/unilbrk/u32-possible-linebreaks.c while (s < s_end); s 34 maint/gnulib/lib/unilbrk/u32-width-linebreaks.c u32_width_linebreaks (const uint32_t *s, size_t n, s 44 maint/gnulib/lib/unilbrk/u32-width-linebreaks.c u32_possible_linebreaks (s, n, encoding, p); s 46 maint/gnulib/lib/unilbrk/u32-width-linebreaks.c s_end = s + n; s 50 maint/gnulib/lib/unilbrk/u32-width-linebreaks.c while (s < s_end) s 52 maint/gnulib/lib/unilbrk/u32-width-linebreaks.c ucs4_t uc = *s; s 99 maint/gnulib/lib/unilbrk/u32-width-linebreaks.c s++; s 39 maint/gnulib/lib/unilbrk/u8-possible-linebreaks.c u8_possible_linebreaks (const uint8_t *s, size_t n, const char *encoding, char *p) s 44 maint/gnulib/lib/unilbrk/u8-possible-linebreaks.c const uint8_t *s_end = s + n; s 55 maint/gnulib/lib/unilbrk/u8-possible-linebreaks.c int count = u8_mbtouc_unsafe (&uc, s, s_end - s); s 171 maint/gnulib/lib/unilbrk/u8-possible-linebreaks.c s += count; s 174 maint/gnulib/lib/unilbrk/u8-possible-linebreaks.c while (s < s_end); s 35 maint/gnulib/lib/unilbrk/u8-width-linebreaks.c u8_width_linebreaks (const uint8_t *s, size_t n, s 45 maint/gnulib/lib/unilbrk/u8-width-linebreaks.c u8_possible_linebreaks (s, n, encoding, p); s 47 maint/gnulib/lib/unilbrk/u8-width-linebreaks.c s_end = s + n; s 51 maint/gnulib/lib/unilbrk/u8-width-linebreaks.c while (s < s_end) s 54 maint/gnulib/lib/unilbrk/u8-width-linebreaks.c int count = u8_mbtouc_unsafe (&uc, s, s_end - s); s 101 maint/gnulib/lib/unilbrk/u8-width-linebreaks.c s += count; s 47 maint/gnulib/lib/unilbrk/ulc-common.c is_all_ascii (const char *s, size_t n) s 49 maint/gnulib/lib/unilbrk/ulc-common.c for (; n > 0; s++, n--) s 51 maint/gnulib/lib/unilbrk/ulc-common.c unsigned char c = (unsigned char) *s; s 37 maint/gnulib/lib/unilbrk/ulc-common.h extern int is_all_ascii (const char *s, size_t n); s 52 maint/gnulib/lib/unilbrk/ulc-possible-linebreaks.c ulc_possible_linebreaks (const char *s, size_t n, const char *encoding, s 58 maint/gnulib/lib/unilbrk/ulc-possible-linebreaks.c u8_possible_linebreaks ((const uint8_t *) s, n, encoding, p); s 71 maint/gnulib/lib/unilbrk/ulc-possible-linebreaks.c s, n, offsets, NULL, &m); s 102 maint/gnulib/lib/unilbrk/ulc-possible-linebreaks.c if (is_all_ascii (s, n)) s 105 maint/gnulib/lib/unilbrk/ulc-possible-linebreaks.c u8_possible_linebreaks ((const uint8_t *) s, n, encoding, p); s 114 maint/gnulib/lib/unilbrk/ulc-possible-linebreaks.c const char *s_end = s + n; s 115 maint/gnulib/lib/unilbrk/ulc-possible-linebreaks.c while (s < s_end) s 117 maint/gnulib/lib/unilbrk/ulc-possible-linebreaks.c *p = (*s == '\n' ? UC_BREAK_MANDATORY : UC_BREAK_PROHIBITED); s 118 maint/gnulib/lib/unilbrk/ulc-possible-linebreaks.c s++; s 52 maint/gnulib/lib/unilbrk/ulc-width-linebreaks.c ulc_width_linebreaks (const char *s, size_t n, s 60 maint/gnulib/lib/unilbrk/ulc-width-linebreaks.c return u8_width_linebreaks ((const uint8_t *) s, n, width, start_column, at_end_columns, o, encoding, p); s 73 maint/gnulib/lib/unilbrk/ulc-width-linebreaks.c s, n, offsets, NULL, &m); s 116 maint/gnulib/lib/unilbrk/ulc-width-linebreaks.c if (is_all_ascii (s, n)) s 119 maint/gnulib/lib/unilbrk/ulc-width-linebreaks.c return u8_width_linebreaks ((const uint8_t *) s, n, width, start_column, at_end_columns, o, encoding, p); s 127 maint/gnulib/lib/unilbrk/ulc-width-linebreaks.c const char *s_end = s + n; s 128 maint/gnulib/lib/unilbrk/ulc-width-linebreaks.c while (s < s_end) s 130 maint/gnulib/lib/unilbrk/ulc-width-linebreaks.c *p = ((o != NULL && *o == UC_BREAK_MANDATORY) || *s == '\n' s 133 maint/gnulib/lib/unilbrk/ulc-width-linebreaks.c s++; s 145 maint/gnulib/lib/uninorm.in.h u8_normalize (uninorm_t nf, const uint8_t *s, size_t n, s 148 maint/gnulib/lib/uninorm.in.h u16_normalize (uninorm_t nf, const uint16_t *s, size_t n, s 151 maint/gnulib/lib/uninorm.in.h u32_normalize (uninorm_t nf, const uint32_t *s, size_t n, s 175 maint/gnulib/lib/uninorm.in.h u8_normxfrm (const uint8_t *s, size_t n, uninorm_t nf, s 178 maint/gnulib/lib/uninorm.in.h u16_normxfrm (const uint16_t *s, size_t n, uninorm_t nf, s 181 maint/gnulib/lib/uninorm.in.h u32_normxfrm (const uint32_t *s, size_t n, uninorm_t nf, s 19 maint/gnulib/lib/uninorm/u-normalize-internal.h FUNC (uninorm_t nf, const UNIT *s, size_t n, s 55 maint/gnulib/lib/uninorm/u-normalize-internal.h const UNIT *s_end = s + n; s 64 maint/gnulib/lib/uninorm/u-normalize-internal.h if (s < s_end) s 67 maint/gnulib/lib/uninorm/u-normalize-internal.h count = U_MBTOUC_UNSAFE (&decomposed[0], s, s_end - s); s 129 maint/gnulib/lib/uninorm/u-normalize-internal.h if (s < s_end) s 198 maint/gnulib/lib/uninorm/u-normalize-internal.h if (s < s_end && sortbuf_count == 1) s 299 maint/gnulib/lib/uninorm/u-normalize-internal.h if (!(s < s_end)) s 331 maint/gnulib/lib/uninorm/u-normalize-internal.h if (!(s < s_end)) s 335 maint/gnulib/lib/uninorm/u-normalize-internal.h s += count; s 27 maint/gnulib/lib/uninorm/u-normxfrm.h FUNC (const UNIT *s, size_t n, uninorm_t nf, s 40 maint/gnulib/lib/uninorm/u-normxfrm.h norms = U_NORMALIZE (nf, s, n, normsbuf, &norms_length); s 69 maint/gnulib/lib/unistr.in.h u8_check (const uint8_t *s, size_t n) s 75 maint/gnulib/lib/unistr.in.h u16_check (const uint16_t *s, size_t n) s 81 maint/gnulib/lib/unistr.in.h u32_check (const uint32_t *s, size_t n) s 89 maint/gnulib/lib/unistr.in.h u8_to_u16 (const uint8_t *s, size_t n, uint16_t *resultbuf, s 94 maint/gnulib/lib/unistr.in.h u8_to_u32 (const uint8_t *s, size_t n, uint32_t *resultbuf, s 99 maint/gnulib/lib/unistr.in.h u16_to_u8 (const uint16_t *s, size_t n, uint8_t *resultbuf, s 104 maint/gnulib/lib/unistr.in.h u16_to_u32 (const uint16_t *s, size_t n, uint32_t *resultbuf, s 109 maint/gnulib/lib/unistr.in.h u32_to_u8 (const uint32_t *s, size_t n, uint8_t *resultbuf, s 114 maint/gnulib/lib/unistr.in.h u32_to_u16 (const uint32_t *s, size_t n, uint16_t *resultbuf, s 125 maint/gnulib/lib/unistr.in.h u8_mblen (const uint8_t *s, size_t n) s 128 maint/gnulib/lib/unistr.in.h u16_mblen (const uint16_t *s, size_t n) s 131 maint/gnulib/lib/unistr.in.h u32_mblen (const uint32_t *s, size_t n) s 146 maint/gnulib/lib/unistr.in.h u8_mbtouc_unsafe (ucs4_t *puc, const uint8_t *s, size_t n); s 149 maint/gnulib/lib/unistr.in.h u8_mbtouc_unsafe_aux (ucs4_t *puc, const uint8_t *s, size_t n); s 151 maint/gnulib/lib/unistr.in.h u8_mbtouc_unsafe (ucs4_t *puc, const uint8_t *s, size_t n) s 153 maint/gnulib/lib/unistr.in.h uint8_t c = *s; s 161 maint/gnulib/lib/unistr.in.h return u8_mbtouc_unsafe_aux (puc, s, n); s 169 maint/gnulib/lib/unistr.in.h u16_mbtouc_unsafe (ucs4_t *puc, const uint16_t *s, size_t n); s 172 maint/gnulib/lib/unistr.in.h u16_mbtouc_unsafe_aux (ucs4_t *puc, const uint16_t *s, size_t n); s 174 maint/gnulib/lib/unistr.in.h u16_mbtouc_unsafe (ucs4_t *puc, const uint16_t *s, size_t n) s 176 maint/gnulib/lib/unistr.in.h uint16_t c = *s; s 184 maint/gnulib/lib/unistr.in.h return u16_mbtouc_unsafe_aux (puc, s, n); s 192 maint/gnulib/lib/unistr.in.h u32_mbtouc_unsafe (ucs4_t *puc, const uint32_t *s, size_t n); s 196 maint/gnulib/lib/unistr.in.h const uint32_t *s, _GL_ATTRIBUTE_MAYBE_UNUSED size_t n) s 198 maint/gnulib/lib/unistr.in.h uint32_t c = *s; s 213 maint/gnulib/lib/unistr.in.h u8_mbtouc (ucs4_t *puc, const uint8_t *s, size_t n); s 216 maint/gnulib/lib/unistr.in.h u8_mbtouc_aux (ucs4_t *puc, const uint8_t *s, size_t n); s 218 maint/gnulib/lib/unistr.in.h u8_mbtouc (ucs4_t *puc, const uint8_t *s, size_t n) s 220 maint/gnulib/lib/unistr.in.h uint8_t c = *s; s 228 maint/gnulib/lib/unistr.in.h return u8_mbtouc_aux (puc, s, n); s 236 maint/gnulib/lib/unistr.in.h u16_mbtouc (ucs4_t *puc, const uint16_t *s, size_t n); s 239 maint/gnulib/lib/unistr.in.h u16_mbtouc_aux (ucs4_t *puc, const uint16_t *s, size_t n); s 241 maint/gnulib/lib/unistr.in.h u16_mbtouc (ucs4_t *puc, const uint16_t *s, size_t n) s 243 maint/gnulib/lib/unistr.in.h uint16_t c = *s; s 251 maint/gnulib/lib/unistr.in.h return u16_mbtouc_aux (puc, s, n); s 259 maint/gnulib/lib/unistr.in.h u32_mbtouc (ucs4_t *puc, const uint32_t *s, size_t n); s 262 maint/gnulib/lib/unistr.in.h u32_mbtouc (ucs4_t *puc, const uint32_t *s, s 265 maint/gnulib/lib/unistr.in.h uint32_t c = *s; s 287 maint/gnulib/lib/unistr.in.h u8_mbtoucr (ucs4_t *puc, const uint8_t *s, size_t n); s 292 maint/gnulib/lib/unistr.in.h u16_mbtoucr (ucs4_t *puc, const uint16_t *s, size_t n); s 297 maint/gnulib/lib/unistr.in.h u32_mbtoucr (ucs4_t *puc, const uint32_t *s, size_t n); s 309 maint/gnulib/lib/unistr.in.h u8_uctomb_aux (uint8_t *s, ucs4_t uc, ptrdiff_t n); s 312 maint/gnulib/lib/unistr.in.h u8_uctomb (uint8_t *s, ucs4_t uc, ptrdiff_t n); s 315 maint/gnulib/lib/unistr.in.h u8_uctomb (uint8_t *s, ucs4_t uc, ptrdiff_t n) s 319 maint/gnulib/lib/unistr.in.h s[0] = uc; s 323 maint/gnulib/lib/unistr.in.h return u8_uctomb_aux (s, uc, n); s 331 maint/gnulib/lib/unistr.in.h u16_uctomb_aux (uint16_t *s, ucs4_t uc, ptrdiff_t n); s 334 maint/gnulib/lib/unistr.in.h u16_uctomb (uint16_t *s, ucs4_t uc, ptrdiff_t n); s 337 maint/gnulib/lib/unistr.in.h u16_uctomb (uint16_t *s, ucs4_t uc, ptrdiff_t n) s 341 maint/gnulib/lib/unistr.in.h s[0] = uc; s 345 maint/gnulib/lib/unistr.in.h return u16_uctomb_aux (s, uc, n); s 353 maint/gnulib/lib/unistr.in.h u32_uctomb (uint32_t *s, ucs4_t uc, ptrdiff_t n); s 356 maint/gnulib/lib/unistr.in.h u32_uctomb (uint32_t *s, ucs4_t uc, ptrdiff_t n) s 362 maint/gnulib/lib/unistr.in.h *s = uc; s 397 maint/gnulib/lib/unistr.in.h u8_set (uint8_t *s, ucs4_t uc, size_t n); s 399 maint/gnulib/lib/unistr.in.h u16_set (uint16_t *s, ucs4_t uc, size_t n); s 401 maint/gnulib/lib/unistr.in.h u32_set (uint32_t *s, ucs4_t uc, size_t n); s 430 maint/gnulib/lib/unistr.in.h u8_chr (const uint8_t *s, size_t n, ucs4_t uc) s 433 maint/gnulib/lib/unistr.in.h u16_chr (const uint16_t *s, size_t n, ucs4_t uc) s 436 maint/gnulib/lib/unistr.in.h u32_chr (const uint32_t *s, size_t n, ucs4_t uc) s 442 maint/gnulib/lib/unistr.in.h u8_mbsnlen (const uint8_t *s, size_t n) s 445 maint/gnulib/lib/unistr.in.h u16_mbsnlen (const uint16_t *s, size_t n) s 448 maint/gnulib/lib/unistr.in.h u32_mbsnlen (const uint32_t *s, size_t n) s 455 maint/gnulib/lib/unistr.in.h u8_cpy_alloc (const uint8_t *s, size_t n); s 457 maint/gnulib/lib/unistr.in.h u16_cpy_alloc (const uint16_t *s, size_t n); s 459 maint/gnulib/lib/unistr.in.h u32_cpy_alloc (const uint32_t *s, size_t n); s 466 maint/gnulib/lib/unistr.in.h u8_strmblen (const uint8_t *s) s 469 maint/gnulib/lib/unistr.in.h u16_strmblen (const uint16_t *s) s 472 maint/gnulib/lib/unistr.in.h u32_strmblen (const uint32_t *s) s 479 maint/gnulib/lib/unistr.in.h u8_strmbtouc (ucs4_t *puc, const uint8_t *s); s 481 maint/gnulib/lib/unistr.in.h u16_strmbtouc (ucs4_t *puc, const uint16_t *s); s 483 maint/gnulib/lib/unistr.in.h u32_strmbtouc (ucs4_t *puc, const uint32_t *s); s 489 maint/gnulib/lib/unistr.in.h u8_next (ucs4_t *puc, const uint8_t *s); s 491 maint/gnulib/lib/unistr.in.h u16_next (ucs4_t *puc, const uint16_t *s); s 493 maint/gnulib/lib/unistr.in.h u32_next (ucs4_t *puc, const uint32_t *s); s 499 maint/gnulib/lib/unistr.in.h u8_prev (ucs4_t *puc, const uint8_t *s, const uint8_t *start); s 501 maint/gnulib/lib/unistr.in.h u16_prev (ucs4_t *puc, const uint16_t *s, const uint16_t *start); s 503 maint/gnulib/lib/unistr.in.h u32_prev (ucs4_t *puc, const uint32_t *s, const uint32_t *start); s 508 maint/gnulib/lib/unistr.in.h u8_strlen (const uint8_t *s) s 511 maint/gnulib/lib/unistr.in.h u16_strlen (const uint16_t *s) s 514 maint/gnulib/lib/unistr.in.h u32_strlen (const uint32_t *s) s 520 maint/gnulib/lib/unistr.in.h u8_strnlen (const uint8_t *s, size_t maxlen) s 523 maint/gnulib/lib/unistr.in.h u16_strnlen (const uint16_t *s, size_t maxlen) s 526 maint/gnulib/lib/unistr.in.h u32_strnlen (const uint32_t *s, size_t maxlen) s 630 maint/gnulib/lib/unistr.in.h u8_strdup (const uint8_t *s) s 633 maint/gnulib/lib/unistr.in.h u16_strdup (const uint16_t *s) s 636 maint/gnulib/lib/unistr.in.h u32_strdup (const uint32_t *s) s 31 maint/gnulib/lib/unistr/u-cpy-alloc.h FUNC (const UNIT *s, size_t n) s 42 maint/gnulib/lib/unistr/u-cpy-alloc.h *destptr++ = *s++; s 45 maint/gnulib/lib/unistr/u-cpy-alloc.h memcpy ((char *) dest, (const char *) s, n * sizeof (UNIT)); s 29 maint/gnulib/lib/unistr/u-set.h FUNC (UNIT *s, ucs4_t uc, size_t n) s 35 maint/gnulib/lib/unistr/u-set.h UNIT *ptr = s; s 46 maint/gnulib/lib/unistr/u-set.h return s; s 31 maint/gnulib/lib/unistr/u-strdup.h FUNC (const UNIT *s) s 33 maint/gnulib/lib/unistr/u-strdup.h size_t n = U_STRLEN (s) + 1; s 43 maint/gnulib/lib/unistr/u-strdup.h *destptr++ = *s++; s 45 maint/gnulib/lib/unistr/u-strdup.h memcpy ((char *) dest, (const char *) s, n * sizeof (UNIT)); s 27 maint/gnulib/lib/unistr/u-strlen.h FUNC (const UNIT *s) s 31 maint/gnulib/lib/unistr/u-strlen.h for (ptr = s; *ptr != 0; ptr++) s 33 maint/gnulib/lib/unistr/u-strlen.h return ptr - s; s 27 maint/gnulib/lib/unistr/u-strnlen.h FUNC (const UNIT *s, size_t maxlen) s 31 maint/gnulib/lib/unistr/u-strnlen.h for (ptr = s; maxlen > 0 && *ptr != 0; ptr++, maxlen--) s 33 maint/gnulib/lib/unistr/u-strnlen.h return ptr - s; s 32 maint/gnulib/lib/unistr/u16-check.c u16_check (const uint16_t *s, size_t n) s 34 maint/gnulib/lib/unistr/u16-check.c const uint16_t *s_end = s + n; s 36 maint/gnulib/lib/unistr/u16-check.c while (s < s_end) s 39 maint/gnulib/lib/unistr/u16-check.c uint16_t c = *s; s 43 maint/gnulib/lib/unistr/u16-check.c s++; s 48 maint/gnulib/lib/unistr/u16-check.c if (s + 2 <= s_end s 49 maint/gnulib/lib/unistr/u16-check.c && s[1] >= 0xdc00 && s[1] < 0xe000) s 51 maint/gnulib/lib/unistr/u16-check.c s += 2; s 56 maint/gnulib/lib/unistr/u16-check.c return s; s 33 maint/gnulib/lib/unistr/u16-chr.c u16_chr (const uint16_t *s, size_t n, ucs4_t uc) s 41 maint/gnulib/lib/unistr/u16-chr.c for (; n > 0; s++, n--) s 43 maint/gnulib/lib/unistr/u16-chr.c if (*s == c0) s 44 maint/gnulib/lib/unistr/u16-chr.c return (uint16_t *) s; s 56 maint/gnulib/lib/unistr/u16-chr.c for (n--; n > 0; s++, n--) s 58 maint/gnulib/lib/unistr/u16-chr.c if (*s == c0 && s[1] == c1) s 59 maint/gnulib/lib/unistr/u16-chr.c return (uint16_t *) s; s 33 maint/gnulib/lib/unistr/u16-mblen.c u16_mblen (const uint16_t *s, size_t n) s 38 maint/gnulib/lib/unistr/u16-mblen.c uint16_t c = *s; s 45 maint/gnulib/lib/unistr/u16-mblen.c && s[1] >= 0xdc00 && s[1] < 0xe000) s 32 maint/gnulib/lib/unistr/u16-mbsnlen.c u16_mbsnlen (const uint16_t *s, size_t n) s 40 maint/gnulib/lib/unistr/u16-mbsnlen.c int count = u16_mbtoucr (&uc, s, n); s 46 maint/gnulib/lib/unistr/u16-mbsnlen.c s += count; s 34 maint/gnulib/lib/unistr/u16-mbtouc-aux.c u16_mbtouc_aux (ucs4_t *puc, const uint16_t *s, size_t n) s 36 maint/gnulib/lib/unistr/u16-mbtouc-aux.c uint16_t c = *s; s 42 maint/gnulib/lib/unistr/u16-mbtouc-aux.c if (s[1] >= 0xdc00 && s[1] < 0xe000) s 44 maint/gnulib/lib/unistr/u16-mbtouc-aux.c *puc = 0x10000 + ((c - 0xd800) << 10) + (s[1] - 0xdc00); s 34 maint/gnulib/lib/unistr/u16-mbtouc-unsafe-aux.c u16_mbtouc_unsafe_aux (ucs4_t *puc, const uint16_t *s, size_t n) s 36 maint/gnulib/lib/unistr/u16-mbtouc-unsafe-aux.c uint16_t c = *s; s 42 maint/gnulib/lib/unistr/u16-mbtouc-unsafe-aux.c if (s[1] >= 0xdc00 && s[1] < 0xe000) s 44 maint/gnulib/lib/unistr/u16-mbtouc-unsafe-aux.c *puc = 0x10000 + ((c - 0xd800) << 10) + (s[1] - 0xdc00); s 40 maint/gnulib/lib/unistr/u16-mbtouc-unsafe.c u16_mbtouc_unsafe (ucs4_t *puc, const uint16_t *s, size_t n) s 42 maint/gnulib/lib/unistr/u16-mbtouc-unsafe.c uint16_t c = *s; s 53 maint/gnulib/lib/unistr/u16-mbtouc-unsafe.c if (s[1] >= 0xdc00 && s[1] < 0xe000) s 55 maint/gnulib/lib/unistr/u16-mbtouc-unsafe.c *puc = 0x10000 + ((c - 0xd800) << 10) + (s[1] - 0xdc00); s 39 maint/gnulib/lib/unistr/u16-mbtouc.c u16_mbtouc (ucs4_t *puc, const uint16_t *s, size_t n) s 41 maint/gnulib/lib/unistr/u16-mbtouc.c uint16_t c = *s; s 52 maint/gnulib/lib/unistr/u16-mbtouc.c if (s[1] >= 0xdc00 && s[1] < 0xe000) s 54 maint/gnulib/lib/unistr/u16-mbtouc.c *puc = 0x10000 + ((c - 0xd800) << 10) + (s[1] - 0xdc00); s 32 maint/gnulib/lib/unistr/u16-mbtoucr.c u16_mbtoucr (ucs4_t *puc, const uint16_t *s, size_t n) s 34 maint/gnulib/lib/unistr/u16-mbtoucr.c uint16_t c = *s; s 45 maint/gnulib/lib/unistr/u16-mbtoucr.c if (s[1] >= 0xdc00 && s[1] < 0xe000) s 47 maint/gnulib/lib/unistr/u16-mbtoucr.c *puc = 0x10000 + ((c - 0xd800) << 10) + (s[1] - 0xdc00); s 32 maint/gnulib/lib/unistr/u16-next.c u16_next (ucs4_t *puc, const uint16_t *s) s 36 maint/gnulib/lib/unistr/u16-next.c count = u16_strmbtouc (puc, s); s 38 maint/gnulib/lib/unistr/u16-next.c return s + count; s 32 maint/gnulib/lib/unistr/u16-prev.c u16_prev (ucs4_t *puc, const uint16_t *s, const uint16_t *start) s 35 maint/gnulib/lib/unistr/u16-prev.c if (s != start) s 37 maint/gnulib/lib/unistr/u16-prev.c uint16_t c_1 = s[-1]; s 42 maint/gnulib/lib/unistr/u16-prev.c return s - 1; s 45 maint/gnulib/lib/unistr/u16-prev.c if (s - 1 != start) s 47 maint/gnulib/lib/unistr/u16-prev.c uint16_t c_2 = s[-2]; s 52 maint/gnulib/lib/unistr/u16-prev.c return s - 2; s 33 maint/gnulib/lib/unistr/u16-strchr.c u16_strchr (const uint16_t *s, ucs4_t uc) s 41 maint/gnulib/lib/unistr/u16-strchr.c for (;; s++) s 43 maint/gnulib/lib/unistr/u16-strchr.c if (*s == c0) s 45 maint/gnulib/lib/unistr/u16-strchr.c if (*s == 0) s 48 maint/gnulib/lib/unistr/u16-strchr.c return (uint16_t *) s; s 54 maint/gnulib/lib/unistr/u16-strchr.c if (*s == 0) s 60 maint/gnulib/lib/unistr/u16-strchr.c for (;; s++) s 62 maint/gnulib/lib/unistr/u16-strchr.c if (s[1] == 0) s 64 maint/gnulib/lib/unistr/u16-strchr.c if (*s == c0 && s[1] == c1) s 67 maint/gnulib/lib/unistr/u16-strchr.c return (uint16_t *) s; s 33 maint/gnulib/lib/unistr/u16-strmblen.c u16_strmblen (const uint16_t *s) s 36 maint/gnulib/lib/unistr/u16-strmblen.c uint16_t c = *s; s 42 maint/gnulib/lib/unistr/u16-strmblen.c if (s[1] >= 0xdc00 && s[1] < 0xe000) s 33 maint/gnulib/lib/unistr/u16-strmbtouc.c u16_strmbtouc (ucs4_t *puc, const uint16_t *s) s 36 maint/gnulib/lib/unistr/u16-strmbtouc.c uint16_t c = *s; s 45 maint/gnulib/lib/unistr/u16-strmbtouc.c if (s[1] >= 0xdc00 && s[1] < 0xe000) s 47 maint/gnulib/lib/unistr/u16-strmbtouc.c *puc = 0x10000 + ((c - 0xd800) << 10) + (s[1] - 0xdc00); s 33 maint/gnulib/lib/unistr/u16-strrchr.c u16_strrchr (const uint16_t *s, ucs4_t uc) s 44 maint/gnulib/lib/unistr/u16-strrchr.c for (;; s++) s 46 maint/gnulib/lib/unistr/u16-strrchr.c if (*s == c0) s 47 maint/gnulib/lib/unistr/u16-strrchr.c result = (uint16_t *) s; s 48 maint/gnulib/lib/unistr/u16-strrchr.c if (*s == 0) s 56 maint/gnulib/lib/unistr/u16-strrchr.c if (*s) s 62 maint/gnulib/lib/unistr/u16-strrchr.c for (;; s++) s 64 maint/gnulib/lib/unistr/u16-strrchr.c if (s[1] == 0) s 66 maint/gnulib/lib/unistr/u16-strrchr.c if (*s == c0 && s[1] == c1) s 67 maint/gnulib/lib/unistr/u16-strrchr.c result = (uint16_t *) s; s 40 maint/gnulib/lib/unistr/u16-to-u32.c FUNC (const SRC_UNIT *s, size_t n, DST_UNIT *resultbuf, size_t *lengthp) s 42 maint/gnulib/lib/unistr/u16-to-u32.c const SRC_UNIT *s_end = s + n; s 63 maint/gnulib/lib/unistr/u16-to-u32.c while (s < s_end) s 69 maint/gnulib/lib/unistr/u16-to-u32.c count = u16_mbtoucr (&uc, s, s_end - s); s 77 maint/gnulib/lib/unistr/u16-to-u32.c s += count; s 40 maint/gnulib/lib/unistr/u16-to-u8.c FUNC (const SRC_UNIT *s, size_t n, DST_UNIT *resultbuf, size_t *lengthp) s 42 maint/gnulib/lib/unistr/u16-to-u8.c const SRC_UNIT *s_end = s + n; s 63 maint/gnulib/lib/unistr/u16-to-u8.c while (s < s_end) s 69 maint/gnulib/lib/unistr/u16-to-u8.c count = u16_mbtoucr (&uc, s, s_end - s); s 77 maint/gnulib/lib/unistr/u16-to-u8.c s += count; s 32 maint/gnulib/lib/unistr/u16-uctomb-aux.c u16_uctomb_aux (uint16_t *s, ucs4_t uc, ptrdiff_t n) s 44 maint/gnulib/lib/unistr/u16-uctomb-aux.c s[0] = uc; s 57 maint/gnulib/lib/unistr/u16-uctomb-aux.c s[0] = 0xd800 + ((uc - 0x10000) >> 10); s 58 maint/gnulib/lib/unistr/u16-uctomb-aux.c s[1] = 0xdc00 + ((uc - 0x10000) & 0x3ff); s 39 maint/gnulib/lib/unistr/u16-uctomb.c u16_uctomb (uint16_t *s, ucs4_t uc, ptrdiff_t n) s 45 maint/gnulib/lib/unistr/u16-uctomb.c s[0] = uc; s 56 maint/gnulib/lib/unistr/u16-uctomb.c s[0] = uc; s 69 maint/gnulib/lib/unistr/u16-uctomb.c s[0] = 0xd800 + ((uc - 0x10000) >> 10); s 70 maint/gnulib/lib/unistr/u16-uctomb.c s[1] = 0xdc00 + ((uc - 0x10000) & 0x3ff); s 32 maint/gnulib/lib/unistr/u32-check.c u32_check (const uint32_t *s, size_t n) s 34 maint/gnulib/lib/unistr/u32-check.c const uint32_t *s_end = s + n; s 36 maint/gnulib/lib/unistr/u32-check.c while (s < s_end) s 38 maint/gnulib/lib/unistr/u32-check.c uint32_t c = *s; s 41 maint/gnulib/lib/unistr/u32-check.c s++; s 44 maint/gnulib/lib/unistr/u32-check.c return s; s 32 maint/gnulib/lib/unistr/u32-chr.c u32_chr (const uint32_t *s, size_t n, ucs4_t uc) s 34 maint/gnulib/lib/unistr/u32-chr.c for (; n > 0; s++, n--) s 36 maint/gnulib/lib/unistr/u32-chr.c if (*s == uc) s 37 maint/gnulib/lib/unistr/u32-chr.c return (uint32_t *) s; s 32 maint/gnulib/lib/unistr/u32-mblen.c u32_mblen (const uint32_t *s, size_t n) s 36 maint/gnulib/lib/unistr/u32-mblen.c uint32_t c = *s; s 32 maint/gnulib/lib/unistr/u32-mbsnlen.c u32_mbsnlen (const uint32_t *s, size_t n) s 32 maint/gnulib/lib/unistr/u32-mbtouc-unsafe.c u32_mbtouc_unsafe (ucs4_t *puc, const uint32_t *s, size_t n) s 34 maint/gnulib/lib/unistr/u32-mbtouc-unsafe.c uint32_t c = *s; s 39 maint/gnulib/lib/unistr/u32-mbtouc.c u32_mbtouc (ucs4_t *puc, const uint32_t *s, size_t n) s 41 maint/gnulib/lib/unistr/u32-mbtouc.c uint32_t c = *s; s 32 maint/gnulib/lib/unistr/u32-mbtoucr.c u32_mbtoucr (ucs4_t *puc, const uint32_t *s, size_t n) s 34 maint/gnulib/lib/unistr/u32-mbtoucr.c uint32_t c = *s; s 32 maint/gnulib/lib/unistr/u32-next.c u32_next (ucs4_t *puc, const uint32_t *s) s 36 maint/gnulib/lib/unistr/u32-next.c count = u32_strmbtouc (puc, s); s 38 maint/gnulib/lib/unistr/u32-next.c return s + count; s 32 maint/gnulib/lib/unistr/u32-prev.c u32_prev (ucs4_t *puc, const uint32_t *s, const uint32_t *start) s 34 maint/gnulib/lib/unistr/u32-prev.c if (s != start) s 36 maint/gnulib/lib/unistr/u32-prev.c uint32_t c_1 = s[-1]; s 41 maint/gnulib/lib/unistr/u32-prev.c return s - 1; s 32 maint/gnulib/lib/unistr/u32-strchr.c u32_strchr (const uint32_t *s, ucs4_t uc) s 34 maint/gnulib/lib/unistr/u32-strchr.c for (;; s++) s 36 maint/gnulib/lib/unistr/u32-strchr.c if (*s == uc) s 38 maint/gnulib/lib/unistr/u32-strchr.c if (*s == 0) s 41 maint/gnulib/lib/unistr/u32-strchr.c return (uint32_t *) s; s 32 maint/gnulib/lib/unistr/u32-strmblen.c u32_strmblen (const uint32_t *s) s 34 maint/gnulib/lib/unistr/u32-strmblen.c uint32_t c = *s; s 32 maint/gnulib/lib/unistr/u32-strmbtouc.c u32_strmbtouc (ucs4_t *puc, const uint32_t *s) s 34 maint/gnulib/lib/unistr/u32-strmbtouc.c uint32_t c = *s; s 32 maint/gnulib/lib/unistr/u32-strrchr.c u32_strrchr (const uint32_t *s, ucs4_t uc) s 38 maint/gnulib/lib/unistr/u32-strrchr.c for (;; s++) s 40 maint/gnulib/lib/unistr/u32-strrchr.c if (*s == uc) s 41 maint/gnulib/lib/unistr/u32-strrchr.c result = (uint32_t *) s; s 42 maint/gnulib/lib/unistr/u32-strrchr.c if (*s == 0) s 40 maint/gnulib/lib/unistr/u32-to-u16.c FUNC (const SRC_UNIT *s, size_t n, DST_UNIT *resultbuf, size_t *lengthp) s 42 maint/gnulib/lib/unistr/u32-to-u16.c const SRC_UNIT *s_end = s + n; s 63 maint/gnulib/lib/unistr/u32-to-u16.c while (s < s_end) s 69 maint/gnulib/lib/unistr/u32-to-u16.c uc = *s++; s 32 maint/gnulib/lib/unistr/u32-to-u8.c FUNC (const SRC_UNIT *s, size_t n, DST_UNIT *resultbuf, size_t *lengthp) s 34 maint/gnulib/lib/unistr/u32-to-u8.c const SRC_UNIT *s_end = s + n; s 55 maint/gnulib/lib/unistr/u32-to-u8.c while (s < s_end) s 61 maint/gnulib/lib/unistr/u32-to-u8.c uc = *s++; s 31 maint/gnulib/lib/unistr/u32-uctomb.c u32_uctomb (uint32_t *s, ucs4_t uc, ptrdiff_t n) s 37 maint/gnulib/lib/unistr/u32-uctomb.c *s = uc; s 24 maint/gnulib/lib/unistr/u8-check.c u8_check (const uint8_t *s, size_t n) s 26 maint/gnulib/lib/unistr/u8-check.c const uint8_t *s_end = s + n; s 28 maint/gnulib/lib/unistr/u8-check.c while (s < s_end) s 31 maint/gnulib/lib/unistr/u8-check.c uint8_t c = *s; s 35 maint/gnulib/lib/unistr/u8-check.c s++; s 42 maint/gnulib/lib/unistr/u8-check.c if (s + 2 <= s_end s 43 maint/gnulib/lib/unistr/u8-check.c && (s[1] ^ 0x80) < 0x40) s 45 maint/gnulib/lib/unistr/u8-check.c s += 2; s 51 maint/gnulib/lib/unistr/u8-check.c if (s + 3 <= s_end s 52 maint/gnulib/lib/unistr/u8-check.c && (s[1] ^ 0x80) < 0x40 && (s[2] ^ 0x80) < 0x40 s 53 maint/gnulib/lib/unistr/u8-check.c && (c >= 0xe1 || s[1] >= 0xa0) s 54 maint/gnulib/lib/unistr/u8-check.c && (c != 0xed || s[1] < 0xa0)) s 56 maint/gnulib/lib/unistr/u8-check.c s += 3; s 62 maint/gnulib/lib/unistr/u8-check.c if (s + 4 <= s_end s 63 maint/gnulib/lib/unistr/u8-check.c && (s[1] ^ 0x80) < 0x40 && (s[2] ^ 0x80) < 0x40 s 64 maint/gnulib/lib/unistr/u8-check.c && (s[3] ^ 0x80) < 0x40 s 65 maint/gnulib/lib/unistr/u8-check.c && (c >= 0xf1 || s[1] >= 0x90) s 66 maint/gnulib/lib/unistr/u8-check.c && (c < 0xf4 || (c == 0xf4 && s[1] < 0x90))) s 68 maint/gnulib/lib/unistr/u8-check.c s += 4; s 74 maint/gnulib/lib/unistr/u8-check.c return s; s 35 maint/gnulib/lib/unistr/u8-chr.c u8_chr (const uint8_t *s, size_t n, ucs4_t uc) s 41 maint/gnulib/lib/unistr/u8-chr.c return (uint8_t *) memchr ((const char *) s, c0, n); s 79 maint/gnulib/lib/unistr/u8-chr.c const uint8_t *end = s + n - 1; s 85 maint/gnulib/lib/unistr/u8-chr.c uint8_t s1 = s[1]; s 88 maint/gnulib/lib/unistr/u8-chr.c if (*s == c0) s 89 maint/gnulib/lib/unistr/u8-chr.c return (uint8_t *) s; s 92 maint/gnulib/lib/unistr/u8-chr.c s += 2; s 97 maint/gnulib/lib/unistr/u8-chr.c s++; s 100 maint/gnulib/lib/unistr/u8-chr.c s += 2; s 103 maint/gnulib/lib/unistr/u8-chr.c while (s < end); s 112 maint/gnulib/lib/unistr/u8-chr.c const uint8_t *end = s + n - 2; s 124 maint/gnulib/lib/unistr/u8-chr.c uint8_t s2 = s[2]; s 127 maint/gnulib/lib/unistr/u8-chr.c if (s[1] == c1 && *s == c0) s 128 maint/gnulib/lib/unistr/u8-chr.c return (uint8_t *) s; s 133 maint/gnulib/lib/unistr/u8-chr.c s += skip; s 138 maint/gnulib/lib/unistr/u8-chr.c s++; s 141 maint/gnulib/lib/unistr/u8-chr.c s += 2; s 145 maint/gnulib/lib/unistr/u8-chr.c s += 3; s 148 maint/gnulib/lib/unistr/u8-chr.c while (s < end); s 158 maint/gnulib/lib/unistr/u8-chr.c const uint8_t *end = s + n - 3; s 172 maint/gnulib/lib/unistr/u8-chr.c uint8_t s3 = s[3]; s 175 maint/gnulib/lib/unistr/u8-chr.c if (s[2] == c2 && s[1] == c1 && *s == c0) s 176 maint/gnulib/lib/unistr/u8-chr.c return (uint8_t *) s; s 183 maint/gnulib/lib/unistr/u8-chr.c s += skip; s 188 maint/gnulib/lib/unistr/u8-chr.c s++; s 191 maint/gnulib/lib/unistr/u8-chr.c s += 2; s 195 maint/gnulib/lib/unistr/u8-chr.c s += 3; s 200 maint/gnulib/lib/unistr/u8-chr.c s += 4; s 203 maint/gnulib/lib/unistr/u8-chr.c while (s < end); s 25 maint/gnulib/lib/unistr/u8-mblen.c u8_mblen (const uint8_t *s, size_t n) s 30 maint/gnulib/lib/unistr/u8-mblen.c uint8_t c = *s; s 39 maint/gnulib/lib/unistr/u8-mblen.c && (s[1] ^ 0x80) < 0x40) s 45 maint/gnulib/lib/unistr/u8-mblen.c && (s[1] ^ 0x80) < 0x40 && (s[2] ^ 0x80) < 0x40 s 46 maint/gnulib/lib/unistr/u8-mblen.c && (c >= 0xe1 || s[1] >= 0xa0) s 47 maint/gnulib/lib/unistr/u8-mblen.c && (c != 0xed || s[1] < 0xa0)) s 53 maint/gnulib/lib/unistr/u8-mblen.c && (s[1] ^ 0x80) < 0x40 && (s[2] ^ 0x80) < 0x40 s 54 maint/gnulib/lib/unistr/u8-mblen.c && (s[3] ^ 0x80) < 0x40 s 55 maint/gnulib/lib/unistr/u8-mblen.c && (c >= 0xf1 || s[1] >= 0x90) s 56 maint/gnulib/lib/unistr/u8-mblen.c && (c < 0xf4 || (c == 0xf4 && s[1] < 0x90))) s 32 maint/gnulib/lib/unistr/u8-mbsnlen.c u8_mbsnlen (const uint8_t *s, size_t n) s 40 maint/gnulib/lib/unistr/u8-mbsnlen.c int count = u8_mbtoucr (&uc, s, n); s 45 maint/gnulib/lib/unistr/u8-mbsnlen.c count = u8_mbtouc (&uc, s, n); s 48 maint/gnulib/lib/unistr/u8-mbsnlen.c s += count; s 26 maint/gnulib/lib/unistr/u8-mbtouc-aux.c u8_mbtouc_aux (ucs4_t *puc, const uint8_t *s, size_t n) s 28 maint/gnulib/lib/unistr/u8-mbtouc-aux.c uint8_t c = *s; s 36 maint/gnulib/lib/unistr/u8-mbtouc-aux.c if ((s[1] ^ 0x80) < 0x40) s 39 maint/gnulib/lib/unistr/u8-mbtouc-aux.c | (unsigned int) (s[1] ^ 0x80); s 55 maint/gnulib/lib/unistr/u8-mbtouc-aux.c if ((s[1] ^ 0x80) < 0x40) s 57 maint/gnulib/lib/unistr/u8-mbtouc-aux.c if ((s[2] ^ 0x80) < 0x40) s 59 maint/gnulib/lib/unistr/u8-mbtouc-aux.c if ((c >= 0xe1 || s[1] >= 0xa0) s 60 maint/gnulib/lib/unistr/u8-mbtouc-aux.c && (c != 0xed || s[1] < 0xa0)) s 63 maint/gnulib/lib/unistr/u8-mbtouc-aux.c | ((unsigned int) (s[1] ^ 0x80) << 6) s 64 maint/gnulib/lib/unistr/u8-mbtouc-aux.c | (unsigned int) (s[2] ^ 0x80); s 81 maint/gnulib/lib/unistr/u8-mbtouc-aux.c if (n == 1 || (s[1] ^ 0x80) >= 0x40) s 91 maint/gnulib/lib/unistr/u8-mbtouc-aux.c if ((s[1] ^ 0x80) < 0x40) s 93 maint/gnulib/lib/unistr/u8-mbtouc-aux.c if ((s[2] ^ 0x80) < 0x40) s 95 maint/gnulib/lib/unistr/u8-mbtouc-aux.c if ((s[3] ^ 0x80) < 0x40) s 97 maint/gnulib/lib/unistr/u8-mbtouc-aux.c if ((c >= 0xf1 || s[1] >= 0x90) s 98 maint/gnulib/lib/unistr/u8-mbtouc-aux.c && (c < 0xf4 || (c == 0xf4 && s[1] < 0x90))) s 101 maint/gnulib/lib/unistr/u8-mbtouc-aux.c | ((unsigned int) (s[1] ^ 0x80) << 12) s 102 maint/gnulib/lib/unistr/u8-mbtouc-aux.c | ((unsigned int) (s[2] ^ 0x80) << 6) s 103 maint/gnulib/lib/unistr/u8-mbtouc-aux.c | (unsigned int) (s[3] ^ 0x80); s 124 maint/gnulib/lib/unistr/u8-mbtouc-aux.c if (n == 1 || (s[1] ^ 0x80) >= 0x40) s 126 maint/gnulib/lib/unistr/u8-mbtouc-aux.c else if (n == 2 || (s[2] ^ 0x80) >= 0x40) s 26 maint/gnulib/lib/unistr/u8-mbtouc-unsafe-aux.c u8_mbtouc_unsafe_aux (ucs4_t *puc, const uint8_t *s, size_t n) s 28 maint/gnulib/lib/unistr/u8-mbtouc-unsafe-aux.c uint8_t c = *s; s 36 maint/gnulib/lib/unistr/u8-mbtouc-unsafe-aux.c if ((s[1] ^ 0x80) < 0x40) s 39 maint/gnulib/lib/unistr/u8-mbtouc-unsafe-aux.c | (unsigned int) (s[1] ^ 0x80); s 55 maint/gnulib/lib/unistr/u8-mbtouc-unsafe-aux.c if ((s[1] ^ 0x80) < 0x40) s 57 maint/gnulib/lib/unistr/u8-mbtouc-unsafe-aux.c if ((s[2] ^ 0x80) < 0x40) s 59 maint/gnulib/lib/unistr/u8-mbtouc-unsafe-aux.c if ((c >= 0xe1 || s[1] >= 0xa0) s 60 maint/gnulib/lib/unistr/u8-mbtouc-unsafe-aux.c && (c != 0xed || s[1] < 0xa0)) s 63 maint/gnulib/lib/unistr/u8-mbtouc-unsafe-aux.c | ((unsigned int) (s[1] ^ 0x80) << 6) s 64 maint/gnulib/lib/unistr/u8-mbtouc-unsafe-aux.c | (unsigned int) (s[2] ^ 0x80); s 81 maint/gnulib/lib/unistr/u8-mbtouc-unsafe-aux.c if (n == 1 || (s[1] ^ 0x80) >= 0x40) s 91 maint/gnulib/lib/unistr/u8-mbtouc-unsafe-aux.c if ((s[1] ^ 0x80) < 0x40) s 93 maint/gnulib/lib/unistr/u8-mbtouc-unsafe-aux.c if ((s[2] ^ 0x80) < 0x40) s 95 maint/gnulib/lib/unistr/u8-mbtouc-unsafe-aux.c if ((s[3] ^ 0x80) < 0x40) s 97 maint/gnulib/lib/unistr/u8-mbtouc-unsafe-aux.c if ((c >= 0xf1 || s[1] >= 0x90) s 98 maint/gnulib/lib/unistr/u8-mbtouc-unsafe-aux.c && (c < 0xf4 || (c == 0xf4 && s[1] < 0x90)) s 102 maint/gnulib/lib/unistr/u8-mbtouc-unsafe-aux.c | ((unsigned int) (s[1] ^ 0x80) << 12) s 103 maint/gnulib/lib/unistr/u8-mbtouc-unsafe-aux.c | ((unsigned int) (s[2] ^ 0x80) << 6) s 104 maint/gnulib/lib/unistr/u8-mbtouc-unsafe-aux.c | (unsigned int) (s[3] ^ 0x80); s 125 maint/gnulib/lib/unistr/u8-mbtouc-unsafe-aux.c if (n == 1 || (s[1] ^ 0x80) >= 0x40) s 127 maint/gnulib/lib/unistr/u8-mbtouc-unsafe-aux.c else if (n == 2 || (s[2] ^ 0x80) >= 0x40) s 32 maint/gnulib/lib/unistr/u8-mbtouc-unsafe.c u8_mbtouc_unsafe (ucs4_t *puc, const uint8_t *s, size_t n) s 34 maint/gnulib/lib/unistr/u8-mbtouc-unsafe.c uint8_t c = *s; s 47 maint/gnulib/lib/unistr/u8-mbtouc-unsafe.c if ((s[1] ^ 0x80) < 0x40) s 50 maint/gnulib/lib/unistr/u8-mbtouc-unsafe.c | (unsigned int) (s[1] ^ 0x80); s 66 maint/gnulib/lib/unistr/u8-mbtouc-unsafe.c if ((s[1] ^ 0x80) < 0x40) s 68 maint/gnulib/lib/unistr/u8-mbtouc-unsafe.c if ((s[2] ^ 0x80) < 0x40) s 70 maint/gnulib/lib/unistr/u8-mbtouc-unsafe.c if ((c >= 0xe1 || s[1] >= 0xa0) s 71 maint/gnulib/lib/unistr/u8-mbtouc-unsafe.c && (c != 0xed || s[1] < 0xa0)) s 74 maint/gnulib/lib/unistr/u8-mbtouc-unsafe.c | ((unsigned int) (s[1] ^ 0x80) << 6) s 75 maint/gnulib/lib/unistr/u8-mbtouc-unsafe.c | (unsigned int) (s[2] ^ 0x80); s 92 maint/gnulib/lib/unistr/u8-mbtouc-unsafe.c if (n == 1 || (s[1] ^ 0x80) >= 0x40) s 102 maint/gnulib/lib/unistr/u8-mbtouc-unsafe.c if ((s[1] ^ 0x80) < 0x40) s 104 maint/gnulib/lib/unistr/u8-mbtouc-unsafe.c if ((s[2] ^ 0x80) < 0x40) s 106 maint/gnulib/lib/unistr/u8-mbtouc-unsafe.c if ((s[3] ^ 0x80) < 0x40) s 108 maint/gnulib/lib/unistr/u8-mbtouc-unsafe.c if ((c >= 0xf1 || s[1] >= 0x90) s 109 maint/gnulib/lib/unistr/u8-mbtouc-unsafe.c && (c < 0xf4 || (c == 0xf4 && s[1] < 0x90)) s 113 maint/gnulib/lib/unistr/u8-mbtouc-unsafe.c | ((unsigned int) (s[1] ^ 0x80) << 12) s 114 maint/gnulib/lib/unistr/u8-mbtouc-unsafe.c | ((unsigned int) (s[2] ^ 0x80) << 6) s 115 maint/gnulib/lib/unistr/u8-mbtouc-unsafe.c | (unsigned int) (s[3] ^ 0x80); s 136 maint/gnulib/lib/unistr/u8-mbtouc-unsafe.c if (n == 1 || (s[1] ^ 0x80) >= 0x40) s 138 maint/gnulib/lib/unistr/u8-mbtouc-unsafe.c else if (n == 2 || (s[2] ^ 0x80) >= 0x40) s 31 maint/gnulib/lib/unistr/u8-mbtouc.c u8_mbtouc (ucs4_t *puc, const uint8_t *s, size_t n) s 33 maint/gnulib/lib/unistr/u8-mbtouc.c uint8_t c = *s; s 46 maint/gnulib/lib/unistr/u8-mbtouc.c if ((s[1] ^ 0x80) < 0x40) s 49 maint/gnulib/lib/unistr/u8-mbtouc.c | (unsigned int) (s[1] ^ 0x80); s 65 maint/gnulib/lib/unistr/u8-mbtouc.c if ((s[1] ^ 0x80) < 0x40) s 67 maint/gnulib/lib/unistr/u8-mbtouc.c if ((s[2] ^ 0x80) < 0x40) s 69 maint/gnulib/lib/unistr/u8-mbtouc.c if ((c >= 0xe1 || s[1] >= 0xa0) s 70 maint/gnulib/lib/unistr/u8-mbtouc.c && (c != 0xed || s[1] < 0xa0)) s 73 maint/gnulib/lib/unistr/u8-mbtouc.c | ((unsigned int) (s[1] ^ 0x80) << 6) s 74 maint/gnulib/lib/unistr/u8-mbtouc.c | (unsigned int) (s[2] ^ 0x80); s 91 maint/gnulib/lib/unistr/u8-mbtouc.c if (n == 1 || (s[1] ^ 0x80) >= 0x40) s 101 maint/gnulib/lib/unistr/u8-mbtouc.c if ((s[1] ^ 0x80) < 0x40) s 103 maint/gnulib/lib/unistr/u8-mbtouc.c if ((s[2] ^ 0x80) < 0x40) s 105 maint/gnulib/lib/unistr/u8-mbtouc.c if ((s[3] ^ 0x80) < 0x40) s 107 maint/gnulib/lib/unistr/u8-mbtouc.c if ((c >= 0xf1 || s[1] >= 0x90) s 108 maint/gnulib/lib/unistr/u8-mbtouc.c && (c < 0xf4 || (c == 0xf4 && s[1] < 0x90))) s 111 maint/gnulib/lib/unistr/u8-mbtouc.c | ((unsigned int) (s[1] ^ 0x80) << 12) s 112 maint/gnulib/lib/unistr/u8-mbtouc.c | ((unsigned int) (s[2] ^ 0x80) << 6) s 113 maint/gnulib/lib/unistr/u8-mbtouc.c | (unsigned int) (s[3] ^ 0x80); s 134 maint/gnulib/lib/unistr/u8-mbtouc.c if (n == 1 || (s[1] ^ 0x80) >= 0x40) s 136 maint/gnulib/lib/unistr/u8-mbtouc.c else if (n == 2 || (s[2] ^ 0x80) >= 0x40) s 24 maint/gnulib/lib/unistr/u8-mbtoucr.c u8_mbtoucr (ucs4_t *puc, const uint8_t *s, size_t n) s 26 maint/gnulib/lib/unistr/u8-mbtoucr.c uint8_t c = *s; s 39 maint/gnulib/lib/unistr/u8-mbtoucr.c if ((s[1] ^ 0x80) < 0x40) s 42 maint/gnulib/lib/unistr/u8-mbtoucr.c | (unsigned int) (s[1] ^ 0x80); s 58 maint/gnulib/lib/unistr/u8-mbtoucr.c if ((s[1] ^ 0x80) < 0x40 s 59 maint/gnulib/lib/unistr/u8-mbtoucr.c && (c >= 0xe1 || s[1] >= 0xa0) s 60 maint/gnulib/lib/unistr/u8-mbtoucr.c && (c != 0xed || s[1] < 0xa0)) s 64 maint/gnulib/lib/unistr/u8-mbtoucr.c if ((s[2] ^ 0x80) < 0x40) s 67 maint/gnulib/lib/unistr/u8-mbtoucr.c | ((unsigned int) (s[1] ^ 0x80) << 6) s 68 maint/gnulib/lib/unistr/u8-mbtoucr.c | (unsigned int) (s[2] ^ 0x80); s 93 maint/gnulib/lib/unistr/u8-mbtoucr.c if ((s[1] ^ 0x80) < 0x40 s 94 maint/gnulib/lib/unistr/u8-mbtoucr.c && (c >= 0xf1 || s[1] >= 0x90) s 95 maint/gnulib/lib/unistr/u8-mbtoucr.c && (c < 0xf4 || (c == 0xf4 && s[1] < 0x90))) s 99 maint/gnulib/lib/unistr/u8-mbtoucr.c if ((s[2] ^ 0x80) < 0x40) s 103 maint/gnulib/lib/unistr/u8-mbtoucr.c if ((s[3] ^ 0x80) < 0x40) s 106 maint/gnulib/lib/unistr/u8-mbtoucr.c | ((unsigned int) (s[1] ^ 0x80) << 12) s 107 maint/gnulib/lib/unistr/u8-mbtoucr.c | ((unsigned int) (s[2] ^ 0x80) << 6) s 108 maint/gnulib/lib/unistr/u8-mbtoucr.c | (unsigned int) (s[3] ^ 0x80); s 32 maint/gnulib/lib/unistr/u8-next.c u8_next (ucs4_t *puc, const uint8_t *s) s 36 maint/gnulib/lib/unistr/u8-next.c count = u8_strmbtouc (puc, s); s 38 maint/gnulib/lib/unistr/u8-next.c return s + count; s 24 maint/gnulib/lib/unistr/u8-prev.c u8_prev (ucs4_t *puc, const uint8_t *s, const uint8_t *start) s 27 maint/gnulib/lib/unistr/u8-prev.c if (s != start) s 29 maint/gnulib/lib/unistr/u8-prev.c uint8_t c_1 = s[-1]; s 34 maint/gnulib/lib/unistr/u8-prev.c return s - 1; s 37 maint/gnulib/lib/unistr/u8-prev.c if (s - 1 != start) s 39 maint/gnulib/lib/unistr/u8-prev.c uint8_t c_2 = s[-2]; s 45 maint/gnulib/lib/unistr/u8-prev.c return s - 2; s 48 maint/gnulib/lib/unistr/u8-prev.c if (s - 2 != start) s 50 maint/gnulib/lib/unistr/u8-prev.c uint8_t c_3 = s[-3]; s 59 maint/gnulib/lib/unistr/u8-prev.c return s - 3; s 62 maint/gnulib/lib/unistr/u8-prev.c if (s - 3 != start) s 64 maint/gnulib/lib/unistr/u8-prev.c uint8_t c_4 = s[-4]; s 74 maint/gnulib/lib/unistr/u8-prev.c return s - 4; s 39 maint/gnulib/lib/unistr/u8-set.c FUNC (UNIT *s, ucs4_t uc, size_t n) s 44 maint/gnulib/lib/unistr/u8-set.c memset ((char *) s, uc, n); s 51 maint/gnulib/lib/unistr/u8-set.c return s; s 35 maint/gnulib/lib/unistr/u8-strchr.c u8_strchr (const uint8_t *s, ucs4_t uc) s 48 maint/gnulib/lib/unistr/u8-strchr.c uint8_t s0 = *s; s 50 maint/gnulib/lib/unistr/u8-strchr.c return (uint8_t *) s; s 51 maint/gnulib/lib/unistr/u8-strchr.c s++; s 61 maint/gnulib/lib/unistr/u8-strchr.c return (uint8_t *) strchr ((const char *) s, c0); s 73 maint/gnulib/lib/unistr/u8-strchr.c if (*s == 0 || s[1] == 0) s 79 maint/gnulib/lib/unistr/u8-strchr.c uint8_t s1 = s[1]; s 87 maint/gnulib/lib/unistr/u8-strchr.c if (*s == c0) s 88 maint/gnulib/lib/unistr/u8-strchr.c return (uint8_t *) s; s 102 maint/gnulib/lib/unistr/u8-strchr.c s++; s 103 maint/gnulib/lib/unistr/u8-strchr.c s1 = s[1]; s 104 maint/gnulib/lib/unistr/u8-strchr.c if (s[1] == 0) s 107 maint/gnulib/lib/unistr/u8-strchr.c s++; s 108 maint/gnulib/lib/unistr/u8-strchr.c s1 = s[1]; s 109 maint/gnulib/lib/unistr/u8-strchr.c if (s[1] == 0) s 116 maint/gnulib/lib/unistr/u8-strchr.c if (*s == 0 || s[1] == 0 || s[2] == 0) s 123 maint/gnulib/lib/unistr/u8-strchr.c uint8_t s2 = s[2]; s 131 maint/gnulib/lib/unistr/u8-strchr.c if (s[1] == c1 && *s == c0) s 132 maint/gnulib/lib/unistr/u8-strchr.c return (uint8_t *) s; s 155 maint/gnulib/lib/unistr/u8-strchr.c s++; s 156 maint/gnulib/lib/unistr/u8-strchr.c s2 = s[2]; s 157 maint/gnulib/lib/unistr/u8-strchr.c if (s[2] == 0) s 160 maint/gnulib/lib/unistr/u8-strchr.c s++; s 161 maint/gnulib/lib/unistr/u8-strchr.c s2 = s[2]; s 162 maint/gnulib/lib/unistr/u8-strchr.c if (s[2] == 0) s 165 maint/gnulib/lib/unistr/u8-strchr.c s++; s 166 maint/gnulib/lib/unistr/u8-strchr.c s2 = s[2]; s 167 maint/gnulib/lib/unistr/u8-strchr.c if (s[2] == 0) s 174 maint/gnulib/lib/unistr/u8-strchr.c if (*s == 0 || s[1] == 0 || s[2] == 0 || s[3] == 0) s 182 maint/gnulib/lib/unistr/u8-strchr.c uint8_t s3 = s[3]; s 190 maint/gnulib/lib/unistr/u8-strchr.c if (s[2] == c2 && s[1] == c1 && *s == c0) s 191 maint/gnulib/lib/unistr/u8-strchr.c return (uint8_t *) s; s 223 maint/gnulib/lib/unistr/u8-strchr.c s++; s 224 maint/gnulib/lib/unistr/u8-strchr.c s3 = s[3]; s 225 maint/gnulib/lib/unistr/u8-strchr.c if (s[3] == 0) s 228 maint/gnulib/lib/unistr/u8-strchr.c s++; s 229 maint/gnulib/lib/unistr/u8-strchr.c s3 = s[3]; s 230 maint/gnulib/lib/unistr/u8-strchr.c if (s[3] == 0) s 233 maint/gnulib/lib/unistr/u8-strchr.c s++; s 234 maint/gnulib/lib/unistr/u8-strchr.c s3 = s[3]; s 235 maint/gnulib/lib/unistr/u8-strchr.c if (s[3] == 0) s 238 maint/gnulib/lib/unistr/u8-strchr.c s++; s 239 maint/gnulib/lib/unistr/u8-strchr.c s3 = s[3]; s 240 maint/gnulib/lib/unistr/u8-strchr.c if (s[3] == 0) s 34 maint/gnulib/lib/unistr/u8-strdup.c u8_strdup (const uint8_t *s) s 36 maint/gnulib/lib/unistr/u8-strdup.c return (uint8_t *) strdup ((const char *) s); s 26 maint/gnulib/lib/unistr/u8-strlen.c u8_strlen (const uint8_t *s) s 28 maint/gnulib/lib/unistr/u8-strlen.c return strlen ((const char *) s); s 33 maint/gnulib/lib/unistr/u8-strmblen.c u8_strmblen (const uint8_t *s) s 36 maint/gnulib/lib/unistr/u8-strmblen.c uint8_t c = *s; s 44 maint/gnulib/lib/unistr/u8-strmblen.c if ((s[1] ^ 0x80) < 0x40) s 49 maint/gnulib/lib/unistr/u8-strmblen.c if ((s[1] ^ 0x80) < 0x40 && (s[2] ^ 0x80) < 0x40 s 50 maint/gnulib/lib/unistr/u8-strmblen.c && (c >= 0xe1 || s[1] >= 0xa0) s 51 maint/gnulib/lib/unistr/u8-strmblen.c && (c != 0xed || s[1] < 0xa0)) s 56 maint/gnulib/lib/unistr/u8-strmblen.c if ((s[1] ^ 0x80) < 0x40 && (s[2] ^ 0x80) < 0x40 s 57 maint/gnulib/lib/unistr/u8-strmblen.c && (s[3] ^ 0x80) < 0x40 s 58 maint/gnulib/lib/unistr/u8-strmblen.c && (c >= 0xf1 || s[1] >= 0x90) s 59 maint/gnulib/lib/unistr/u8-strmblen.c && (c < 0xf4 || (c == 0xf4 && s[1] < 0x90))) s 33 maint/gnulib/lib/unistr/u8-strmbtouc.c u8_strmbtouc (ucs4_t *puc, const uint8_t *s) s 36 maint/gnulib/lib/unistr/u8-strmbtouc.c uint8_t c = *s; s 47 maint/gnulib/lib/unistr/u8-strmbtouc.c if ((s[1] ^ 0x80) < 0x40) s 50 maint/gnulib/lib/unistr/u8-strmbtouc.c | (unsigned int) (s[1] ^ 0x80); s 56 maint/gnulib/lib/unistr/u8-strmbtouc.c if ((s[1] ^ 0x80) < 0x40 && (s[2] ^ 0x80) < 0x40 s 57 maint/gnulib/lib/unistr/u8-strmbtouc.c && (c >= 0xe1 || s[1] >= 0xa0) s 58 maint/gnulib/lib/unistr/u8-strmbtouc.c && (c != 0xed || s[1] < 0xa0)) s 61 maint/gnulib/lib/unistr/u8-strmbtouc.c | ((unsigned int) (s[1] ^ 0x80) << 6) s 62 maint/gnulib/lib/unistr/u8-strmbtouc.c | (unsigned int) (s[2] ^ 0x80); s 68 maint/gnulib/lib/unistr/u8-strmbtouc.c if ((s[1] ^ 0x80) < 0x40 && (s[2] ^ 0x80) < 0x40 s 69 maint/gnulib/lib/unistr/u8-strmbtouc.c && (s[3] ^ 0x80) < 0x40 s 70 maint/gnulib/lib/unistr/u8-strmbtouc.c && (c >= 0xf1 || s[1] >= 0x90) s 71 maint/gnulib/lib/unistr/u8-strmbtouc.c && (c < 0xf4 || (c == 0xf4 && s[1] < 0x90))) s 74 maint/gnulib/lib/unistr/u8-strmbtouc.c | ((unsigned int) (s[1] ^ 0x80) << 12) s 75 maint/gnulib/lib/unistr/u8-strmbtouc.c | ((unsigned int) (s[2] ^ 0x80) << 6) s 76 maint/gnulib/lib/unistr/u8-strmbtouc.c | (unsigned int) (s[3] ^ 0x80); s 41 maint/gnulib/lib/unistr/u8-strnlen.c u8_strnlen (const uint8_t *s, size_t maxlen) s 43 maint/gnulib/lib/unistr/u8-strnlen.c return strnlen ((const char *) s, maxlen); s 33 maint/gnulib/lib/unistr/u8-strrchr.c u8_strrchr (const uint8_t *s, ucs4_t uc) s 44 maint/gnulib/lib/unistr/u8-strrchr.c for (;; s++) s 46 maint/gnulib/lib/unistr/u8-strrchr.c if (*s == c0) s 47 maint/gnulib/lib/unistr/u8-strrchr.c result = (uint8_t *) s; s 48 maint/gnulib/lib/unistr/u8-strrchr.c if (*s == 0) s 56 maint/gnulib/lib/unistr/u8-strrchr.c if (*s) s 62 maint/gnulib/lib/unistr/u8-strrchr.c for (;; s++) s 64 maint/gnulib/lib/unistr/u8-strrchr.c if (s[1] == 0) s 66 maint/gnulib/lib/unistr/u8-strrchr.c if (*s == c0 && s[1] == c1) s 67 maint/gnulib/lib/unistr/u8-strrchr.c result = (uint8_t *) s; s 73 maint/gnulib/lib/unistr/u8-strrchr.c if (*s && s[1]) s 80 maint/gnulib/lib/unistr/u8-strrchr.c for (;; s++) s 82 maint/gnulib/lib/unistr/u8-strrchr.c if (s[2] == 0) s 84 maint/gnulib/lib/unistr/u8-strrchr.c if (*s == c0 && s[1] == c1 && s[2] == c2) s 85 maint/gnulib/lib/unistr/u8-strrchr.c result = (uint8_t *) s; s 91 maint/gnulib/lib/unistr/u8-strrchr.c if (*s && s[1] && s[2]) s 99 maint/gnulib/lib/unistr/u8-strrchr.c for (;; s++) s 101 maint/gnulib/lib/unistr/u8-strrchr.c if (s[3] == 0) s 103 maint/gnulib/lib/unistr/u8-strrchr.c if (*s == c0 && s[1] == c1 && s[2] == c2 && s[3] == c3) s 104 maint/gnulib/lib/unistr/u8-strrchr.c result = (uint8_t *) s; s 40 maint/gnulib/lib/unistr/u8-to-u16.c FUNC (const SRC_UNIT *s, size_t n, DST_UNIT *resultbuf, size_t *lengthp) s 42 maint/gnulib/lib/unistr/u8-to-u16.c const SRC_UNIT *s_end = s + n; s 63 maint/gnulib/lib/unistr/u8-to-u16.c while (s < s_end) s 69 maint/gnulib/lib/unistr/u8-to-u16.c count = u8_mbtoucr (&uc, s, s_end - s); s 77 maint/gnulib/lib/unistr/u8-to-u16.c s += count; s 32 maint/gnulib/lib/unistr/u8-to-u32.c FUNC (const SRC_UNIT *s, size_t n, DST_UNIT *resultbuf, size_t *lengthp) s 34 maint/gnulib/lib/unistr/u8-to-u32.c const SRC_UNIT *s_end = s + n; s 55 maint/gnulib/lib/unistr/u8-to-u32.c while (s < s_end) s 61 maint/gnulib/lib/unistr/u8-to-u32.c count = u8_mbtoucr (&uc, s, s_end - s); s 69 maint/gnulib/lib/unistr/u8-to-u32.c s += count; s 26 maint/gnulib/lib/unistr/u8-uctomb-aux.c u8_uctomb_aux (uint8_t *s, ucs4_t uc, ptrdiff_t n) s 52 maint/gnulib/lib/unistr/u8-uctomb-aux.c case 4: s[3] = 0x80 | (uc & 0x3f); uc = uc >> 6; uc |= 0x10000; s 54 maint/gnulib/lib/unistr/u8-uctomb-aux.c case 3: s[2] = 0x80 | (uc & 0x3f); uc = uc >> 6; uc |= 0x800; s 56 maint/gnulib/lib/unistr/u8-uctomb-aux.c case 2: s[1] = 0x80 | (uc & 0x3f); uc = uc >> 6; uc |= 0xc0; s 57 maint/gnulib/lib/unistr/u8-uctomb-aux.c /*case 1:*/ s[0] = uc; s 33 maint/gnulib/lib/unistr/u8-uctomb.c u8_uctomb (uint8_t *s, ucs4_t uc, ptrdiff_t n) s 39 maint/gnulib/lib/unistr/u8-uctomb.c s[0] = uc; s 66 maint/gnulib/lib/unistr/u8-uctomb.c case 4: s[3] = 0x80 | (uc & 0x3f); uc = uc >> 6; uc |= 0x10000; s 68 maint/gnulib/lib/unistr/u8-uctomb.c case 3: s[2] = 0x80 | (uc & 0x3f); uc = uc >> 6; uc |= 0x800; s 70 maint/gnulib/lib/unistr/u8-uctomb.c case 2: s[1] = 0x80 | (uc & 0x3f); uc = uc >> 6; uc |= 0xc0; s 71 maint/gnulib/lib/unistr/u8-uctomb.c /*case 1:*/ s[0] = uc; s 86 maint/gnulib/lib/uniwbrk.in.h u8_wordbreaks (const uint8_t *s, size_t n, char *p); s 88 maint/gnulib/lib/uniwbrk.in.h u16_wordbreaks (const uint16_t *s, size_t n, char *p); s 90 maint/gnulib/lib/uniwbrk.in.h u32_wordbreaks (const uint32_t *s, size_t n, char *p); s 92 maint/gnulib/lib/uniwbrk.in.h ulc_wordbreaks (const char *s, size_t n, char *_UC_RESTRICT p); s 27 maint/gnulib/lib/uniwbrk/u-wordbreaks.h FUNC (const UNIT *s, size_t n, char *p) s 31 maint/gnulib/lib/uniwbrk/u-wordbreaks.h const UNIT *s_end = s + n; s 55 maint/gnulib/lib/uniwbrk/u-wordbreaks.h while (s < s_end) s 58 maint/gnulib/lib/uniwbrk/u-wordbreaks.h int count = U_MBTOUC_UNSAFE (&uc, s, s_end - s); s 166 maint/gnulib/lib/uniwbrk/u-wordbreaks.h s += count; s 53 maint/gnulib/lib/uniwbrk/ulc-wordbreaks.c ulc_wordbreaks (const char *s, size_t n, char *p) s 60 maint/gnulib/lib/uniwbrk/ulc-wordbreaks.c u8_wordbreaks ((const uint8_t *) s, n, p); s 73 maint/gnulib/lib/uniwbrk/ulc-wordbreaks.c s, n, offsets, NULL, &m); s 103 maint/gnulib/lib/uniwbrk/ulc-wordbreaks.c if (is_all_ascii (s, n)) s 106 maint/gnulib/lib/uniwbrk/ulc-wordbreaks.c u8_wordbreaks ((const uint8_t *) s, n, p); s 47 maint/gnulib/lib/uniwidth.in.h u8_width (const uint8_t *s, size_t n, const char *encoding) s 50 maint/gnulib/lib/uniwidth.in.h u16_width (const uint16_t *s, size_t n, const char *encoding) s 53 maint/gnulib/lib/uniwidth.in.h u32_width (const uint32_t *s, size_t n, const char *encoding) s 58 maint/gnulib/lib/uniwidth.in.h u8_strwidth (const uint8_t *s, const char *encoding) s 61 maint/gnulib/lib/uniwidth.in.h u16_strwidth (const uint16_t *s, const char *encoding) s 64 maint/gnulib/lib/uniwidth.in.h u32_strwidth (const uint32_t *s, const char *encoding) s 34 maint/gnulib/lib/uniwidth/u16-strwidth.c u16_strwidth (const uint16_t *s, const char *encoding) s 36 maint/gnulib/lib/uniwidth/u16-strwidth.c return u16_width (s, u16_strlen (s), encoding); s 34 maint/gnulib/lib/uniwidth/u16-width.c u16_width (const uint16_t *s, size_t n, const char *encoding) s 36 maint/gnulib/lib/uniwidth/u16-width.c const uint16_t *s_end = s + n; s 39 maint/gnulib/lib/uniwidth/u16-width.c while (s < s_end) s 44 maint/gnulib/lib/uniwidth/u16-width.c s += u16_mbtouc_unsafe (&uc, s, s_end - s); s 34 maint/gnulib/lib/uniwidth/u32-strwidth.c u32_strwidth (const uint32_t *s, const char *encoding) s 36 maint/gnulib/lib/uniwidth/u32-strwidth.c return u32_width (s, u32_strlen (s), encoding); s 32 maint/gnulib/lib/uniwidth/u32-width.c u32_width (const uint32_t *s, size_t n, const char *encoding) s 34 maint/gnulib/lib/uniwidth/u32-width.c const uint32_t *s_end = s + n; s 37 maint/gnulib/lib/uniwidth/u32-width.c while (s < s_end) s 39 maint/gnulib/lib/uniwidth/u32-width.c ucs4_t uc = *s++; s 34 maint/gnulib/lib/uniwidth/u8-strwidth.c u8_strwidth (const uint8_t *s, const char *encoding) s 36 maint/gnulib/lib/uniwidth/u8-strwidth.c return u8_width (s, u8_strlen (s), encoding); s 34 maint/gnulib/lib/uniwidth/u8-width.c u8_width (const uint8_t *s, size_t n, const char *encoding) s 36 maint/gnulib/lib/uniwidth/u8-width.c const uint8_t *s_end = s + n; s 39 maint/gnulib/lib/uniwidth/u8-width.c while (s < s_end) s 44 maint/gnulib/lib/uniwidth/u8-width.c s += u8_mbtouc_unsafe (&uc, s, s_end - s); s 285 maint/gnulib/lib/userspec.c # define NULL_CHECK(s) ((s) == NULL ? "(null)" : (s)) s 335 maint/gnulib/lib/utimecmp.c time_t s = src_s & ~ (res == 2 * BILLION ? 1 : 0); s 338 maint/gnulib/lib/utimecmp.c if (dst_s < s s 339 maint/gnulib/lib/utimecmp.c || (dst_s == s && dst_ns < src_ns - src_ns % res)) s 255 maint/gnulib/lib/vasnprintf.c local_wcslen (const wchar_t *s) s 259 maint/gnulib/lib/vasnprintf.c for (ptr = s; *ptr != (wchar_t) 0; ptr++) s 261 maint/gnulib/lib/vasnprintf.c return ptr - s; s 274 maint/gnulib/lib/vasnprintf.c local_wcsnlen (const wchar_t *s, size_t maxlen) s 278 maint/gnulib/lib/vasnprintf.c for (ptr = s; maxlen > 0 && *ptr != (wchar_t) 0; ptr++, maxlen--) s 280 maint/gnulib/lib/vasnprintf.c return ptr - s; s 289 maint/gnulib/lib/vasnprintf.c wctomb_fallback (char *s, wchar_t wc) s 293 maint/gnulib/lib/vasnprintf.c s[0] = '\\'; s 297 maint/gnulib/lib/vasnprintf.c s[1] = 'U'; s 299 maint/gnulib/lib/vasnprintf.c s[1] = 'W'; s 301 maint/gnulib/lib/vasnprintf.c s[2] = hex[(wc & 0xf0000000U) >> 28]; s 302 maint/gnulib/lib/vasnprintf.c s[3] = hex[(wc & 0xf000000U) >> 24]; s 303 maint/gnulib/lib/vasnprintf.c s[4] = hex[(wc & 0xf00000U) >> 20]; s 304 maint/gnulib/lib/vasnprintf.c s[5] = hex[(wc & 0xf0000U) >> 16]; s 305 maint/gnulib/lib/vasnprintf.c s[6] = hex[(wc & 0xf000U) >> 12]; s 306 maint/gnulib/lib/vasnprintf.c s[7] = hex[(wc & 0xf00U) >> 8]; s 307 maint/gnulib/lib/vasnprintf.c s[8] = hex[(wc & 0xf0U) >> 4]; s 308 maint/gnulib/lib/vasnprintf.c s[9] = hex[wc & 0xfU]; s 314 maint/gnulib/lib/vasnprintf.c s[1] = 'u'; s 316 maint/gnulib/lib/vasnprintf.c s[1] = 'w'; s 318 maint/gnulib/lib/vasnprintf.c s[2] = hex[(wc & 0xf000U) >> 12]; s 319 maint/gnulib/lib/vasnprintf.c s[3] = hex[(wc & 0xf00U) >> 8]; s 320 maint/gnulib/lib/vasnprintf.c s[4] = hex[(wc & 0xf0U) >> 4]; s 321 maint/gnulib/lib/vasnprintf.c s[5] = hex[wc & 0xfU]; s 327 maint/gnulib/lib/vasnprintf.c local_wcrtomb (char *s, wchar_t wc, mbstate_t *ps) s 329 maint/gnulib/lib/vasnprintf.c size_t count = wcrtomb (s, wc, ps); s 331 maint/gnulib/lib/vasnprintf.c count = wctomb_fallback (s, wc); s 336 maint/gnulib/lib/vasnprintf.c local_wctomb (char *s, wchar_t wc) s 338 maint/gnulib/lib/vasnprintf.c int count = wctomb (s, wc); s 340 maint/gnulib/lib/vasnprintf.c count = wctomb_fallback (s, wc); s 637 maint/gnulib/lib/vasnprintf.c size_t s; s 644 maint/gnulib/lib/vasnprintf.c s = __builtin_clz (msd); s 660 maint/gnulib/lib/vasnprintf.c s = GMP_LIMB_BITS s 668 maint/gnulib/lib/vasnprintf.c s = 31; s 672 maint/gnulib/lib/vasnprintf.c s -= 16; s 677 maint/gnulib/lib/vasnprintf.c s -= 8; s 682 maint/gnulib/lib/vasnprintf.c s -= 4; s 687 maint/gnulib/lib/vasnprintf.c s -= 2; s 692 maint/gnulib/lib/vasnprintf.c s -= 1; s 699 maint/gnulib/lib/vasnprintf.c if (s > 0) s 714 maint/gnulib/lib/vasnprintf.c accu += (mp_twolimb_t) *sourceptr++ << s; s 729 maint/gnulib/lib/vasnprintf.c if (s == 0) s 742 maint/gnulib/lib/vasnprintf.c accu += (mp_twolimb_t) *sourceptr++ << s; s 870 maint/gnulib/lib/vasnprintf.c if (s > 0) s 878 maint/gnulib/lib/vasnprintf.c accu += (mp_twolimb_t) *--ptr << (GMP_LIMB_BITS - s); s 1162 maint/gnulib/lib/vasnprintf.c int s; s 1180 maint/gnulib/lib/vasnprintf.c s = e + n; s 1183 maint/gnulib/lib/vasnprintf.c if (s > 0 && n > 0) s 1185 maint/gnulib/lib/vasnprintf.c extra_zeroes = (s < n ? s : n); s 1186 maint/gnulib/lib/vasnprintf.c s -= extra_zeroes; s 1195 maint/gnulib/lib/vasnprintf.c abs_s = (s >= 0 ? s : -s); s 1234 maint/gnulib/lib/vasnprintf.c if (n >= 0 ? s >= 0 : s <= 0) s 131 maint/gnulib/lib/wait-process.c slaves_entry_t *s = slaves; s 132 maint/gnulib/lib/wait-process.c slaves_entry_t *s_end = s + slaves_count; s 134 maint/gnulib/lib/wait-process.c for (; s < s_end; s++) s 135 maint/gnulib/lib/wait-process.c if (!s->used) s 141 maint/gnulib/lib/wait-process.c s->child = child; s 142 maint/gnulib/lib/wait-process.c s->used = 1; s 189 maint/gnulib/lib/wait-process.c slaves_entry_t *s = slaves; s 190 maint/gnulib/lib/wait-process.c slaves_entry_t *s_end = s + slaves_count; s 192 maint/gnulib/lib/wait-process.c for (; s < s_end; s++) s 193 maint/gnulib/lib/wait-process.c if (s->used && s->child == child) s 194 maint/gnulib/lib/wait-process.c s->used = 0; s 279 maint/gnulib/lib/wchar.in.h (wchar_t *restrict pwc, const char *restrict s, size_t n, s 282 maint/gnulib/lib/wchar.in.h (wchar_t *restrict pwc, const char *restrict s, size_t n, s 287 maint/gnulib/lib/wchar.in.h (wchar_t *restrict pwc, const char *restrict s, size_t n, s 291 maint/gnulib/lib/wchar.in.h (wchar_t *restrict pwc, const char *restrict s, size_t n, s 314 maint/gnulib/lib/wchar.in.h (const char *restrict s, size_t n, mbstate_t *restrict ps)); s 316 maint/gnulib/lib/wchar.in.h (const char *restrict s, size_t n, mbstate_t *restrict ps)); s 320 maint/gnulib/lib/wchar.in.h (const char *restrict s, size_t n, mbstate_t *restrict ps)); s 323 maint/gnulib/lib/wchar.in.h (const char *restrict s, size_t n, mbstate_t *restrict ps)); s 425 maint/gnulib/lib/wchar.in.h (char *restrict s, wchar_t wc, mbstate_t *restrict ps)); s 427 maint/gnulib/lib/wchar.in.h (char *restrict s, wchar_t wc, mbstate_t *restrict ps)); s 431 maint/gnulib/lib/wchar.in.h (char *restrict s, wchar_t wc, mbstate_t *restrict ps)); s 434 maint/gnulib/lib/wchar.in.h (char *restrict s, wchar_t wc, mbstate_t *restrict ps)); s 565 maint/gnulib/lib/wchar.in.h _GL_FUNCDECL_SYS (wmemchr, wchar_t *, (const wchar_t *s, wchar_t c, size_t n) s 578 maint/gnulib/lib/wchar.in.h _GL_CXXALIASWARN1 (wmemchr, wchar_t *, (wchar_t *s, wchar_t c, size_t n)); s 580 maint/gnulib/lib/wchar.in.h (const wchar_t *s, wchar_t c, size_t n)); s 683 maint/gnulib/lib/wchar.in.h _GL_FUNCDECL_SYS (wmemset, wchar_t *, (wchar_t *s, wchar_t c, size_t n)); s 685 maint/gnulib/lib/wchar.in.h _GL_CXXALIAS_SYS (wmemset, wchar_t *, (wchar_t *s, wchar_t c, size_t n)); s 701 maint/gnulib/lib/wchar.in.h _GL_FUNCDECL_SYS (wcslen, size_t, (const wchar_t *s) _GL_ATTRIBUTE_PURE); s 703 maint/gnulib/lib/wchar.in.h _GL_CXXALIAS_SYS (wcslen, size_t, (const wchar_t *s)); s 719 maint/gnulib/lib/wchar.in.h _GL_FUNCDECL_SYS (wcsnlen, size_t, (const wchar_t *s, size_t maxlen) s 722 maint/gnulib/lib/wchar.in.h _GL_CXXALIAS_SYS (wcsnlen, size_t, (const wchar_t *s, size_t maxlen)); s 980 maint/gnulib/lib/wchar.in.h _GL_CXXALIAS_MDA (wcsdup, wchar_t *, (const wchar_t *s)); s 984 maint/gnulib/lib/wchar.in.h (const wchar_t *s) s 987 maint/gnulib/lib/wchar.in.h _GL_CXXALIAS_SYS (wcsdup, wchar_t *, (const wchar_t *s)); s 994 maint/gnulib/lib/wchar.in.h (const wchar_t *s) s 1012 maint/gnulib/lib/wchar.in.h _GL_CXXALIAS_MDA (wcsdup, wchar_t *, (const wchar_t *s)); s 1015 maint/gnulib/lib/wchar.in.h (const wchar_t *s) s 1018 maint/gnulib/lib/wchar.in.h _GL_CXXALIAS_SYS (wcsdup, wchar_t *, (const wchar_t *s)); s 1242 maint/gnulib/lib/wchar.in.h _GL_FUNCDECL_RPL (wcswidth, int, (const wchar_t *s, size_t n) s 1244 maint/gnulib/lib/wchar.in.h _GL_CXXALIAS_RPL (wcswidth, int, (const wchar_t *s, size_t n)); s 1247 maint/gnulib/lib/wchar.in.h _GL_FUNCDECL_SYS (wcswidth, int, (const wchar_t *s, size_t n) s 1250 maint/gnulib/lib/wchar.in.h _GL_CXXALIAS_SYS (wcswidth, int, (const wchar_t *s, size_t n)); s 28 maint/gnulib/lib/wcrtomb.c wcrtomb (char *s, wchar_t wc, mbstate_t *ps) s 42 maint/gnulib/lib/wcrtomb.c if (s == NULL) s 54 maint/gnulib/lib/wcrtomb.c *s = (unsigned char) wc; s 63 maint/gnulib/lib/wcrtomb.c return wcrtomb (s, wc, ps); s 69 maint/gnulib/lib/wcrtomb.c int ret = wctomb (s, wc); s 19 maint/gnulib/lib/wcsdup-impl.h wcsdup (const wchar_t *s) s 21 maint/gnulib/lib/wcsdup-impl.h size_t n = wcslen (s) + 1; s 24 maint/gnulib/lib/wcsdup-impl.h return wmemcpy (copy, s, n); s 19 maint/gnulib/lib/wcslen-impl.h wcslen (const wchar_t *s) s 23 maint/gnulib/lib/wcslen-impl.h for (ptr = s; *ptr != (wchar_t)'\0'; ptr++) s 25 maint/gnulib/lib/wcslen-impl.h return ptr - s; s 19 maint/gnulib/lib/wcsnlen-impl.h wcsnlen (const wchar_t *s, size_t maxlen) s 23 maint/gnulib/lib/wcsnlen-impl.h for (ptr = s; maxlen > 0 && *ptr != (wchar_t)'\0'; ptr++, maxlen--) s 25 maint/gnulib/lib/wcsnlen-impl.h return ptr - s; s 19 maint/gnulib/lib/wcswidth-impl.h wcswidth (const wchar_t *s, size_t n) s 22 maint/gnulib/lib/wcswidth-impl.h for (; n > 0; s++, n--) s 24 maint/gnulib/lib/wcswidth-impl.h wchar_t c = *s; s 19 maint/gnulib/lib/wctomb-impl.h wctomb (char *s, wchar_t wc) s 21 maint/gnulib/lib/wctomb-impl.h if (s == NULL) s 29 maint/gnulib/lib/wctomb-impl.h result = wcrtomb (s, wc, &state); s 59 maint/gnulib/lib/windows-spawn.c const char *s; s 65 maint/gnulib/lib/windows-spawn.c for (s = string; *s != '\0'; s++) s 67 maint/gnulib/lib/windows-spawn.c char c = *s; s 92 maint/gnulib/lib/windows-spawn.c const char *s; s 98 maint/gnulib/lib/windows-spawn.c for (s = string; *s != '\0'; s++) s 100 maint/gnulib/lib/windows-spawn.c char c = *s; s 19 maint/gnulib/lib/wmemchr-impl.h wmemchr (const wchar_t *s, wchar_t c, size_t n) s 21 maint/gnulib/lib/wmemchr-impl.h for (; n > 0; s++, n--) s 23 maint/gnulib/lib/wmemchr-impl.h if (*s == c) s 24 maint/gnulib/lib/wmemchr-impl.h return (wchar_t *) s; s 19 maint/gnulib/lib/wmemset-impl.h wmemset (wchar_t *s, wchar_t c, size_t n) s 21 maint/gnulib/lib/wmemset-impl.h wchar_t *ptr = s; s 25 maint/gnulib/lib/wmemset-impl.h return s; s 30 maint/gnulib/lib/xalloc-oversized.h #define __xalloc_oversized(n, s) \ s 31 maint/gnulib/lib/xalloc-oversized.h ((s) != 0 \ s 32 maint/gnulib/lib/xalloc-oversized.h && ((size_t) (PTRDIFF_MAX < SIZE_MAX ? PTRDIFF_MAX : SIZE_MAX - 1) / (s) \ s 49 maint/gnulib/lib/xalloc-oversized.h # define xalloc_oversized(n, s) \ s 50 maint/gnulib/lib/xalloc-oversized.h __builtin_mul_overflow_p (n, s, (ptrdiff_t) 1) s 53 maint/gnulib/lib/xalloc-oversized.h # define xalloc_oversized(n, s) \ s 54 maint/gnulib/lib/xalloc-oversized.h (__builtin_constant_p (n) && __builtin_constant_p (s) \ s 55 maint/gnulib/lib/xalloc-oversized.h ? __xalloc_oversized (n, s) \ s 57 maint/gnulib/lib/xalloc-oversized.h __builtin_mul_overflow (n, s, &__xalloc_count); })) s 62 maint/gnulib/lib/xalloc-oversized.h # define xalloc_oversized(n, s) __xalloc_oversized (n, s) s 57 maint/gnulib/lib/xalloc.h void *xmalloc (size_t s) s 60 maint/gnulib/lib/xalloc.h void *ximalloc (idx_t s) s 63 maint/gnulib/lib/xalloc.h void *xinmalloc (idx_t n, idx_t s) s 66 maint/gnulib/lib/xalloc.h void *xzalloc (size_t s) s 69 maint/gnulib/lib/xalloc.h void *xizalloc (idx_t s) s 72 maint/gnulib/lib/xalloc.h void *xcalloc (size_t n, size_t s) s 75 maint/gnulib/lib/xalloc.h void *xicalloc (idx_t n, idx_t s) s 78 maint/gnulib/lib/xalloc.h void *xrealloc (void *p, size_t s) s 80 maint/gnulib/lib/xalloc.h void *xirealloc (void *p, idx_t s) s 82 maint/gnulib/lib/xalloc.h void *xreallocarray (void *p, size_t n, size_t s) s 84 maint/gnulib/lib/xalloc.h void *xireallocarray (void *p, idx_t n, idx_t s) s 88 maint/gnulib/lib/xalloc.h void *x2nrealloc (void *p, size_t *pn, size_t s) /* superseded by xpalloc */ s 90 maint/gnulib/lib/xalloc.h void *xpalloc (void *pa, idx_t *pn, idx_t n_incr_min, ptrdiff_t n_max, idx_t s) s 92 maint/gnulib/lib/xalloc.h void *xmemdup (void const *p, size_t s) s 95 maint/gnulib/lib/xalloc.h void *ximemdup (void const *p, idx_t s) s 98 maint/gnulib/lib/xalloc.h char *ximemdup0 (void const *p, idx_t s) s 134 maint/gnulib/lib/xalloc.h void *xnmalloc (size_t n, size_t s) s 142 maint/gnulib/lib/xalloc.h XALLOC_INLINE void *xnrealloc (void *p, size_t n, size_t s) s 145 maint/gnulib/lib/xalloc.h xnrealloc (void *p, size_t n, size_t s) s 147 maint/gnulib/lib/xalloc.h return xreallocarray (p, n, s); s 172 maint/gnulib/lib/xalloc.h xrealloc (T *p, size_t s) s 174 maint/gnulib/lib/xalloc.h return (T *) xrealloc ((void *) p, s); s 178 maint/gnulib/lib/xalloc.h xreallocarray (T *p, size_t n, size_t s) s 180 maint/gnulib/lib/xalloc.h return (T *) xreallocarray ((void *) p, n, s); s 185 maint/gnulib/lib/xalloc.h xnrealloc (T *p, size_t n, size_t s) s 187 maint/gnulib/lib/xalloc.h return xreallocarray (p, n, s); s 197 maint/gnulib/lib/xalloc.h x2nrealloc (T *p, size_t *pn, size_t s) s 199 maint/gnulib/lib/xalloc.h return (T *) x2nrealloc ((void *) p, pn, s); s 203 maint/gnulib/lib/xalloc.h xmemdup (T const *p, size_t s) s 205 maint/gnulib/lib/xalloc.h return (T *) xmemdup ((void const *) p, s); s 42 maint/gnulib/lib/xmalloc.c xmalloc (size_t s) s 44 maint/gnulib/lib/xmalloc.c return nonnull (malloc (s)); s 48 maint/gnulib/lib/xmalloc.c ximalloc (idx_t s) s 50 maint/gnulib/lib/xmalloc.c return nonnull (imalloc (s)); s 63 maint/gnulib/lib/xmalloc.c xrealloc (void *p, size_t s) s 65 maint/gnulib/lib/xmalloc.c void *r = realloc (p, s); s 66 maint/gnulib/lib/xmalloc.c if (!r && (!p || s)) s 72 maint/gnulib/lib/xmalloc.c xirealloc (void *p, idx_t s) s 74 maint/gnulib/lib/xmalloc.c return nonnull (irealloc (p, s)); s 81 maint/gnulib/lib/xmalloc.c xreallocarray (void *p, size_t n, size_t s) s 83 maint/gnulib/lib/xmalloc.c void *r = reallocarray (p, n, s); s 84 maint/gnulib/lib/xmalloc.c if (!r && (!p || (n && s))) s 90 maint/gnulib/lib/xmalloc.c xireallocarray (void *p, idx_t n, idx_t s) s 92 maint/gnulib/lib/xmalloc.c return nonnull (ireallocarray (p, n, s)); s 99 maint/gnulib/lib/xmalloc.c xnmalloc (size_t n, size_t s) s 101 maint/gnulib/lib/xmalloc.c return xreallocarray (NULL, n, s); s 105 maint/gnulib/lib/xmalloc.c xinmalloc (idx_t n, idx_t s) s 107 maint/gnulib/lib/xmalloc.c return xireallocarray (NULL, n, s); s 177 maint/gnulib/lib/xmalloc.c x2nrealloc (void *p, size_t *pn, size_t s) s 191 maint/gnulib/lib/xmalloc.c n = DEFAULT_MXFAST / s; s 202 maint/gnulib/lib/xmalloc.c p = xreallocarray (p, n, s); s 224 maint/gnulib/lib/xmalloc.c xpalloc (void *pa, idx_t *pn, idx_t n_incr_min, ptrdiff_t n_max, idx_t s) s 254 maint/gnulib/lib/xmalloc.c = (INT_MULTIPLY_WRAPV (n, s, &nbytes) s 259 maint/gnulib/lib/xmalloc.c n = adjusted_nbytes / s; s 260 maint/gnulib/lib/xmalloc.c nbytes = adjusted_nbytes - adjusted_nbytes % s; s 268 maint/gnulib/lib/xmalloc.c || INT_MULTIPLY_WRAPV (n, s, &nbytes))) s 280 maint/gnulib/lib/xmalloc.c xzalloc (size_t s) s 282 maint/gnulib/lib/xmalloc.c return xcalloc (s, 1); s 286 maint/gnulib/lib/xmalloc.c xizalloc (idx_t s) s 288 maint/gnulib/lib/xmalloc.c return xicalloc (s, 1); s 295 maint/gnulib/lib/xmalloc.c xcalloc (size_t n, size_t s) s 297 maint/gnulib/lib/xmalloc.c return nonnull (calloc (n, s)); s 301 maint/gnulib/lib/xmalloc.c xicalloc (idx_t n, idx_t s) s 303 maint/gnulib/lib/xmalloc.c return nonnull (icalloc (n, s)); s 311 maint/gnulib/lib/xmalloc.c xmemdup (void const *p, size_t s) s 313 maint/gnulib/lib/xmalloc.c return memcpy (xmalloc (s), p, s); s 317 maint/gnulib/lib/xmalloc.c ximemdup (void const *p, idx_t s) s 319 maint/gnulib/lib/xmalloc.c return memcpy (ximalloc (s), p, s); s 326 maint/gnulib/lib/xmalloc.c ximemdup0 (void const *p, idx_t s) s 328 maint/gnulib/lib/xmalloc.c char *result = ximalloc (s + 1); s 329 maint/gnulib/lib/xmalloc.c result[s] = 0; s 330 maint/gnulib/lib/xmalloc.c return memcpy (result, p, s); s 58 maint/gnulib/lib/xmalloca.h # define xnmalloca(n, s) \ s 59 maint/gnulib/lib/xmalloca.h xmalloca (xalloc_oversized (n, s) ? (size_t) (-1) : (n) * (size_t) (s)) s 61 maint/gnulib/lib/xmalloca.h # define xnmalloca(n, s) \ s 62 maint/gnulib/lib/xmalloca.h xnmalloc (n, s) s 38 maint/gnulib/lib/xmemdup0.c xmemdup0 (void const *p, size_t s) s 40 maint/gnulib/lib/xmemdup0.c char *result = xcharalloc (s + 1); s 41 maint/gnulib/lib/xmemdup0.c if (s > 0) s 42 maint/gnulib/lib/xmemdup0.c memcpy (result, p, s); s 43 maint/gnulib/lib/xmemdup0.c result[s] = 0; s 28 maint/gnulib/lib/xmemdup0.h char *xmemdup0 (void const *p, size_t s) s 32 maint/gnulib/lib/xstrndup.c char *s = strndup (string, n); s 33 maint/gnulib/lib/xstrndup.c if (! s) s 35 maint/gnulib/lib/xstrndup.c return s; s 76 maint/gnulib/lib/xstrtol.c __xstrtol (const char *s, char **ptr, int strtol_base, s 92 maint/gnulib/lib/xstrtol.c const char *q = s; s 100 maint/gnulib/lib/xstrtol.c tmp = __strtol (s, p, strtol_base); s 102 maint/gnulib/lib/xstrtol.c if (*p == s) s 44 maint/gnulib/lib/xtime.h xtime_make (xtime_t s, long int ns) s 46 maint/gnulib/lib/xtime.h return XTIME_PRECISION * s + ns; s 89 maint/gnulib/tests/atomic-int-gnulib.h sem_t *s; s 101 maint/gnulib/tests/atomic-int-gnulib.h s = sem_open (name, O_CREAT | O_EXCL, 0600, 0); s 102 maint/gnulib/tests/atomic-int-gnulib.h if (s == SEM_FAILED) s 121 maint/gnulib/tests/atomic-int-gnulib.h ai->semaphore = s; s 89 maint/gnulib/tests/atomic-int-isoc.h sem_t *s; s 101 maint/gnulib/tests/atomic-int-isoc.h s = sem_open (name, O_CREAT | O_EXCL, 0600, 0); s 102 maint/gnulib/tests/atomic-int-isoc.h if (s == SEM_FAILED) s 121 maint/gnulib/tests/atomic-int-isoc.h ai->semaphore = s; s 89 maint/gnulib/tests/atomic-int-posix.h sem_t *s; s 101 maint/gnulib/tests/atomic-int-posix.h s = sem_open (name, O_CREAT | O_EXCL, 0600, 0); s 102 maint/gnulib/tests/atomic-int-posix.h if (s == SEM_FAILED) s 121 maint/gnulib/tests/atomic-int-posix.h ai->semaphore = s; s 90 maint/gnulib/tests/macros.h const char *s = string_literal; \ s 91 maint/gnulib/tests/macros.h int ret = write (2, s, strlen (s)); \ s 85 maint/gnulib/tests/test-argv-iter.c char *s = argv_iter (ai, &ai_err); s 87 maint/gnulib/tests/test-argv-iter.c ASSERT ((s == NULL) ^ (ai_err == AI_ERR_OK)); s 96 maint/gnulib/tests/test-argv-iter.c ? STREQ (s, av[i][n_found - 1]) s 97 maint/gnulib/tests/test-argv-iter.c : s == av[i][n_found - 1]); s 52 maint/gnulib/tests/test-array_map.c const char *s = x; s 55 maint/gnulib/tests/test-array_map.c for (; *s; s++) s 56 maint/gnulib/tests/test-array_map.c h = *s + ((h << 9) | (h >> (SIZE_BITS - 9))); s 52 maint/gnulib/tests/test-avltreehash_list.c const char *s = x; s 55 maint/gnulib/tests/test-avltreehash_list.c for (; *s; s++) s 56 maint/gnulib/tests/test-avltreehash_list.c h = *s + ((h << 9) | (h >> (SIZE_BITS - 9))); s 37 maint/gnulib/tests/test-c-dtoastr.c char s[16]; s 39 maint/gnulib/tests/test-c-dtoastr.c snprintf (s, sizeof s, "%#.0f", 1.0); s 40 maint/gnulib/tests/test-c-dtoastr.c if (!strcmp (s, "1.")) s 45 maint/gnulib/tests/test-c-dtoastr.c ASSERT (!strcmp (s, "1,")); s 37 maint/gnulib/tests/test-c-ldtoastr.c char s[16]; s 39 maint/gnulib/tests/test-c-ldtoastr.c snprintf (s, sizeof s, "%#.0f", 1.0); s 40 maint/gnulib/tests/test-c-ldtoastr.c if (!strcmp (s, "1.")) s 45 maint/gnulib/tests/test-c-ldtoastr.c ASSERT (!strcmp (s, "1,")); s 37 maint/gnulib/tests/test-c-snprintf.c char s[16]; s 39 maint/gnulib/tests/test-c-snprintf.c snprintf (s, sizeof s, "%#.0f", 1.0); s 40 maint/gnulib/tests/test-c-snprintf.c if (!strcmp (s, "1.")) s 45 maint/gnulib/tests/test-c-snprintf.c ASSERT (!strcmp (s, "1,")); s 51 maint/gnulib/tests/test-c-snprintf.c char s[16]; s 53 maint/gnulib/tests/test-c-snprintf.c c_snprintf (s, sizeof s, "%#.0f", 1.0); s 54 maint/gnulib/tests/test-c-snprintf.c ASSERT (!strcmp (s, "1.")); s 49 maint/gnulib/tests/test-c-vasprintf.c char s[16]; s 51 maint/gnulib/tests/test-c-vasprintf.c snprintf (s, sizeof s, "%#.0f", 1.0); s 52 maint/gnulib/tests/test-c-vasprintf.c if (!strcmp (s, "1.")) s 57 maint/gnulib/tests/test-c-vasprintf.c ASSERT (!strcmp (s, "1,")); s 64 maint/gnulib/tests/test-c-vasprintf.c char *s; s 66 maint/gnulib/tests/test-c-vasprintf.c retval = c_asprintf (&s, "%#.0f", 1.0); s 67 maint/gnulib/tests/test-c-vasprintf.c ASSERT (s != NULL); s 68 maint/gnulib/tests/test-c-vasprintf.c ASSERT (!strcmp (s, "1.")); s 70 maint/gnulib/tests/test-c-vasprintf.c free (s); s 72 maint/gnulib/tests/test-c-vasprintf.c retval = my_c_asprintf (&s, "%#.0f", 1.0); s 73 maint/gnulib/tests/test-c-vasprintf.c ASSERT (s != NULL); s 74 maint/gnulib/tests/test-c-vasprintf.c ASSERT (!strcmp (s, "1.")); s 76 maint/gnulib/tests/test-c-vasprintf.c free (s); s 52 maint/gnulib/tests/test-c-vsnprintf.c char s[16]; s 54 maint/gnulib/tests/test-c-vsnprintf.c snprintf (s, sizeof s, "%#.0f", 1.0); s 55 maint/gnulib/tests/test-c-vsnprintf.c if (!strcmp (s, "1.")) s 60 maint/gnulib/tests/test-c-vsnprintf.c ASSERT (!strcmp (s, "1,")); s 66 maint/gnulib/tests/test-c-vsnprintf.c char s[16]; s 68 maint/gnulib/tests/test-c-vsnprintf.c my_c_snprintf (s, sizeof s, "%#.0f", 1.0); s 69 maint/gnulib/tests/test-c-vsnprintf.c ASSERT (!strcmp (s, "1.")); s 31 maint/gnulib/tests/test-c-xvasprintf.c char *s; s 34 maint/gnulib/tests/test-c-xvasprintf.c s = c_xvasprintf (format, args); s 37 maint/gnulib/tests/test-c-xvasprintf.c return s; s 50 maint/gnulib/tests/test-c-xvasprintf.c char s[16]; s 52 maint/gnulib/tests/test-c-xvasprintf.c snprintf (s, sizeof s, "%#.0f", 1.0); s 53 maint/gnulib/tests/test-c-xvasprintf.c if (!strcmp (s, "1.")) s 58 maint/gnulib/tests/test-c-xvasprintf.c ASSERT (!strcmp (s, "1,")); s 64 maint/gnulib/tests/test-c-xvasprintf.c char *s; s 66 maint/gnulib/tests/test-c-xvasprintf.c s = c_xasprintf ("%#.0f", 1.0); s 67 maint/gnulib/tests/test-c-xvasprintf.c ASSERT (s != NULL); s 68 maint/gnulib/tests/test-c-xvasprintf.c ASSERT (!strcmp (s, "1.")); s 69 maint/gnulib/tests/test-c-xvasprintf.c free (s); s 71 maint/gnulib/tests/test-c-xvasprintf.c s = my_c_xasprintf ("%#.0f", 1.0); s 72 maint/gnulib/tests/test-c-xvasprintf.c ASSERT (s != NULL); s 73 maint/gnulib/tests/test-c-xvasprintf.c ASSERT (!strcmp (s, "1.")); s 74 maint/gnulib/tests/test-c-xvasprintf.c free (s); s 33 maint/gnulib/tests/test-c32isalnum.c for_character (const char *s, size_t n) s 41 maint/gnulib/tests/test-c32isalnum.c ret = mbrtoc32 (&wc, s, n, &state); s 33 maint/gnulib/tests/test-c32isalpha.c for_character (const char *s, size_t n) s 41 maint/gnulib/tests/test-c32isalpha.c ret = mbrtoc32 (&wc, s, n, &state); s 33 maint/gnulib/tests/test-c32isblank.c for_character (const char *s, size_t n) s 41 maint/gnulib/tests/test-c32isblank.c ret = mbrtoc32 (&wc, s, n, &state); s 33 maint/gnulib/tests/test-c32iscntrl.c for_character (const char *s, size_t n) s 41 maint/gnulib/tests/test-c32iscntrl.c ret = mbrtoc32 (&wc, s, n, &state); s 33 maint/gnulib/tests/test-c32isdigit.c for_character (const char *s, size_t n) s 41 maint/gnulib/tests/test-c32isdigit.c ret = mbrtoc32 (&wc, s, n, &state); s 33 maint/gnulib/tests/test-c32isgraph.c for_character (const char *s, size_t n) s 41 maint/gnulib/tests/test-c32isgraph.c ret = mbrtoc32 (&wc, s, n, &state); s 33 maint/gnulib/tests/test-c32islower.c for_character (const char *s, size_t n) s 41 maint/gnulib/tests/test-c32islower.c ret = mbrtoc32 (&wc, s, n, &state); s 33 maint/gnulib/tests/test-c32isprint.c for_character (const char *s, size_t n) s 41 maint/gnulib/tests/test-c32isprint.c ret = mbrtoc32 (&wc, s, n, &state); s 33 maint/gnulib/tests/test-c32ispunct.c for_character (const char *s, size_t n) s 41 maint/gnulib/tests/test-c32ispunct.c ret = mbrtoc32 (&wc, s, n, &state); s 33 maint/gnulib/tests/test-c32isspace.c for_character (const char *s, size_t n) s 41 maint/gnulib/tests/test-c32isspace.c ret = mbrtoc32 (&wc, s, n, &state); s 33 maint/gnulib/tests/test-c32isupper.c for_character (const char *s, size_t n) s 41 maint/gnulib/tests/test-c32isupper.c ret = mbrtoc32 (&wc, s, n, &state); s 33 maint/gnulib/tests/test-c32isxdigit.c for_character (const char *s, size_t n) s 41 maint/gnulib/tests/test-c32isxdigit.c ret = mbrtoc32 (&wc, s, n, &state); s 34 maint/gnulib/tests/test-c32rtomb.c check_character (const char *s, size_t n) s 44 maint/gnulib/tests/test-c32rtomb.c iret = mbrtoc32 (&wc, s, n, &state); s 49 maint/gnulib/tests/test-c32rtomb.c ASSERT (memcmp (buf, s, n) == 0); s 39 maint/gnulib/tests/test-dynarray.c struct int_sequence s; s 42 maint/gnulib/tests/test-dynarray.c intseq_init (&s); s 44 maint/gnulib/tests/test-dynarray.c intseq_add (&s, value_at (i)); s 47 maint/gnulib/tests/test-dynarray.c ASSERT (* intseq_at (&s, i) == value_at (i)); s 48 maint/gnulib/tests/test-dynarray.c intseq_remove_last (&s); s 50 maint/gnulib/tests/test-dynarray.c intseq_free (&s); s 87 maint/gnulib/tests/test-exclude.c char *s = opt + 1; s 94 maint/gnulib/tests/test-exclude.c if (strlen (s) > 3 && memcmp (s, "no-", 3) == 0) s 97 maint/gnulib/tests/test-exclude.c s += 3; s 99 maint/gnulib/tests/test-exclude.c flag = XARGMATCH (opt, s, exclude_keywords, exclude_flags); s 107 maint/gnulib/tests/test-exclude.c if (strcmp (s, "leading_dir") == 0 && FNM_LEADING_DIR == 0) s 111 maint/gnulib/tests/test-exclude.c if (strcmp (s, "casefold") == 0 && FNM_CASEFOLD == 0) s 125 maint/gnulib/tests/test-fcntl.c struct dummy_struct *s = va_arg (arg, struct dummy_struct *); s 126 maint/gnulib/tests/test-fcntl.c i = s->value; s 230 maint/gnulib/tests/test-fcntl.c struct dummy_struct s = { 0L, 4 }; s 231 maint/gnulib/tests/test-fcntl.c ASSERT (func2 (4, &s) == 4); s 37 maint/gnulib/tests/test-getsockname.c int s, x; s 40 maint/gnulib/tests/test-getsockname.c s = socket (AF_INET, SOCK_STREAM, 0); s 43 maint/gnulib/tests/test-getsockname.c setsockopt (s, SOL_SOCKET, SO_REUSEPORT, &x, sizeof (x)); s 50 maint/gnulib/tests/test-getsockname.c if (bind (s, (struct sockaddr *) &ia, sizeof (ia)) < 0) s 56 maint/gnulib/tests/test-getsockname.c if (listen (s, 1) < 0) s 62 maint/gnulib/tests/test-getsockname.c return s; s 91 maint/gnulib/tests/test-getsockname.c int s = open_server_socket (); s 96 maint/gnulib/tests/test-getsockname.c ASSERT (getsockname (s, (struct sockaddr *) &addr, &addrlen) == 0); s 52 maint/gnulib/tests/test-hash_map.c const char *s = x; s 55 maint/gnulib/tests/test-hash_map.c for (; *s; s++) s 56 maint/gnulib/tests/test-hash_map.c h = *s + ((h << 9) | (h >> (SIZE_BITS - 9))); s 100 maint/gnulib/tests/test-hash_set.c const char *s; s 101 maint/gnulib/tests/test-hash_set.c for (s = (const char *) elt; *s != '\0'; s++) s 102 maint/gnulib/tests/test-hash_set.c hashcode += (unsigned char) *s; s 33 maint/gnulib/tests/test-ignore-value.c NODISCARD static struct s doStruct (void); s 59 maint/gnulib/tests/test-ignore-value.c static struct s s 62 maint/gnulib/tests/test-ignore-value.c static struct s s1; s 147 maint/gnulib/tests/test-immutable.c const char *s = immstrdup ("Hello"); s 148 maint/gnulib/tests/test-immutable.c ASSERT (strlen (s) == 5); s 149 maint/gnulib/tests/test-immutable.c ASSERT (strcmp (s, "Hello") == 0); s 150 maint/gnulib/tests/test-immutable.c immfree (s); s 33 maint/gnulib/tests/test-iswdigit.c for_character (const char *s, size_t n) s 41 maint/gnulib/tests/test-iswdigit.c ret = mbrtowc (&wc, s, n, &state); s 33 maint/gnulib/tests/test-iswxdigit.c for_character (const char *s, size_t n) s 41 maint/gnulib/tests/test-iswxdigit.c ret = mbrtowc (&wc, s, n, &state); s 50 maint/gnulib/tests/test-linkedhash_list.c const char *s = x; s 53 maint/gnulib/tests/test-linkedhash_list.c for (; *s; s++) s 54 maint/gnulib/tests/test-linkedhash_list.c h = *s + ((h << 9) | (h >> (SIZE_BITS - 9))); s 52 maint/gnulib/tests/test-linkedhash_map.c const char *s = x; s 55 maint/gnulib/tests/test-linkedhash_map.c for (; *s; s++) s 56 maint/gnulib/tests/test-linkedhash_map.c h = *s + ((h << 9) | (h >> (SIZE_BITS - 9))); s 100 maint/gnulib/tests/test-linkedhash_set.c const char *s; s 101 maint/gnulib/tests/test-linkedhash_set.c for (s = (const char *) elt; *s != '\0'; s++) s 102 maint/gnulib/tests/test-linkedhash_set.c hashcode += (unsigned char) *s; s 31 maint/gnulib/tests/test-monetary-c++.cc (char *s, size_t maxsize, locale_t locale, s 97 maint/gnulib/tests/test-parse-datetime.c gmt_offset (time_t s) s 102 maint/gnulib/tests/test-parse-datetime.c struct tm tm_local = *localtime (&s); s 103 maint/gnulib/tests/test-parse-datetime.c struct tm tm_gmt = *gmtime (&s); s 107 maint/gnulib/tests/test-parse-datetime.c gmtoff = localtime (&s)->tm_gmtoff; s 90 maint/gnulib/tests/test-poll.c int s, x; s 93 maint/gnulib/tests/test-poll.c s = socket (AF_INET, SOCK_STREAM, 0); s 96 maint/gnulib/tests/test-poll.c setsockopt (s, SOL_SOCKET, SO_REUSEPORT, &x, sizeof (x)); s 102 maint/gnulib/tests/test-poll.c if (bind (s, (struct sockaddr *) &ia, sizeof (ia)) < 0) s 108 maint/gnulib/tests/test-poll.c if (listen (s, 1) < 0) s 114 maint/gnulib/tests/test-poll.c return s; s 120 maint/gnulib/tests/test-poll.c int s; s 123 maint/gnulib/tests/test-poll.c s = socket (AF_INET, SOCK_STREAM, 0); s 134 maint/gnulib/tests/test-poll.c ioctl (s, FIONBIO, (char *) &iMode); s 137 maint/gnulib/tests/test-poll.c int oldflags = fcntl (s, F_GETFL, NULL); s 140 maint/gnulib/tests/test-poll.c fcntl (s, F_SETFL, oldflags | O_NONBLOCK); s 144 maint/gnulib/tests/test-poll.c if (connect (s, (struct sockaddr *) &ia, sizeof (ia)) < 0 s 151 maint/gnulib/tests/test-poll.c return s; s 215 maint/gnulib/tests/test-poll.c int s = open_server_socket (); s 221 maint/gnulib/tests/test-poll.c if (poll1_nowait (s, POLLIN | POLLRDNORM | POLLRDBAND) != 0) s 226 maint/gnulib/tests/test-poll.c if (poll1_wait (s, POLLIN | POLLRDNORM | POLLRDBAND) != (POLLIN | POLLRDNORM)) s 228 maint/gnulib/tests/test-poll.c if (poll1_nowait (s, POLLIN | POLLRDBAND) != POLLIN) s 230 maint/gnulib/tests/test-poll.c if (poll1_nowait (s, POLLRDNORM | POLLRDBAND) != POLLRDNORM) s 234 maint/gnulib/tests/test-poll.c c2 = accept (s, (struct sockaddr *) &ia, &addrlen); s 235 maint/gnulib/tests/test-poll.c close (s); s 247 maint/gnulib/tests/test-poll.c int s = open_server_socket (); s 260 maint/gnulib/tests/test-poll.c c = accept (s, (struct sockaddr *) &ia, &addrlen); s 262 maint/gnulib/tests/test-poll.c close (s); s 271 maint/gnulib/tests/test-poll.c close (s); s 331 maint/gnulib/tests/test-poll.c int s = open_server_socket (); s 333 maint/gnulib/tests/test-poll.c int c2 = accept (s, (struct sockaddr *) &ia, &addrlen); s 334 maint/gnulib/tests/test-poll.c ASSERT (s >= 0); s 338 maint/gnulib/tests/test-poll.c close (s); s 52 maint/gnulib/tests/test-rbtreehash_list.c const char *s = x; s 55 maint/gnulib/tests/test-rbtreehash_list.c for (; *s; s++) s 56 maint/gnulib/tests/test-rbtreehash_list.c h = *s + ((h << 9) | (h >> (SIZE_BITS - 9))); s 173 maint/gnulib/tests/test-regex.c const char *s; s 200 maint/gnulib/tests/test-regex.c s = re_compile_pattern (pat, sizeof pat - 1, ®ex); s 201 maint/gnulib/tests/test-regex.c if (s) s 202 maint/gnulib/tests/test-regex.c report_error ("%s: %s", pat, s); s 237 maint/gnulib/tests/test-regex.c s = re_compile_pattern (pat, sizeof pat - 1, ®ex); s 238 maint/gnulib/tests/test-regex.c if (s) s 239 maint/gnulib/tests/test-regex.c report_error ("%s: %s", pat, s); s 268 maint/gnulib/tests/test-regex.c s = re_compile_pattern (pat, sizeof pat - 1, ®ex); s 269 maint/gnulib/tests/test-regex.c if (s) s 270 maint/gnulib/tests/test-regex.c report_error ("%s: %s", pat, s); s 302 maint/gnulib/tests/test-regex.c s = re_compile_pattern (pat_3957, sizeof pat_3957 - 1, ®ex); s 303 maint/gnulib/tests/test-regex.c if (s) s 304 maint/gnulib/tests/test-regex.c report_error ("%s: %s", pat_3957, s); s 327 maint/gnulib/tests/test-regex.c s = re_compile_pattern (pat75, sizeof pat75 - 1, ®ex); s 329 maint/gnulib/tests/test-regex.c if (!s) s 340 maint/gnulib/tests/test-regex.c s = re_compile_pattern (pat_b_a, sizeof pat_b_a - 1, ®ex); s 341 maint/gnulib/tests/test-regex.c if (s == 0) s 350 maint/gnulib/tests/test-regex.c s = re_compile_pattern (pat_213, sizeof pat_213 - 1, ®ex); s 351 maint/gnulib/tests/test-regex.c if (s) s 352 maint/gnulib/tests/test-regex.c report_error ("%s: %s", pat_213, s); s 360 maint/gnulib/tests/test-regex.c s = re_compile_pattern (pat_stolfi, sizeof pat_stolfi - 1, ®ex); s 361 maint/gnulib/tests/test-regex.c if (s) s 362 maint/gnulib/tests/test-regex.c report_error ("%s: %s", pat_stolfi, s); s 379 maint/gnulib/tests/test-regex.c s = re_compile_pattern (pat_x, sizeof pat_x - 1, ®ex); s 380 maint/gnulib/tests/test-regex.c if (s) s 381 maint/gnulib/tests/test-regex.c report_error ("%s: %s", pat_x, s); s 399 maint/gnulib/tests/test-regex.c s = re_compile_pattern (pat_x, 1, ®ex); s 400 maint/gnulib/tests/test-regex.c if (s) s 401 maint/gnulib/tests/test-regex.c report_error ("%s: %s", pat_x, s); s 418 maint/gnulib/tests/test-regex.c s = re_compile_pattern (pat_sub2, sizeof pat_sub2 - 1, ®ex); s 419 maint/gnulib/tests/test-regex.c if (s) s 420 maint/gnulib/tests/test-regex.c report_error ("%s: %s", pat_sub2, s); s 450 maint/gnulib/tests/test-regex.c s = re_compile_pattern (pat_shelton, sizeof pat_shelton - 1, ®ex); s 451 maint/gnulib/tests/test-regex.c if (s) s 452 maint/gnulib/tests/test-regex.c report_error ("%s: %s", pat_shelton, s); s 469 maint/gnulib/tests/test-regex.c s = re_compile_pattern (pat_badback, sizeof pat_badback, ®ex); s 470 maint/gnulib/tests/test-regex.c if (!s && re_search (®ex, "x", 1, 0, 1, ®s) != -1) s 471 maint/gnulib/tests/test-regex.c s = "mishandled invalid back reference"; s 472 maint/gnulib/tests/test-regex.c if (s && strcmp (s, "Invalid back reference") != 0) s 473 maint/gnulib/tests/test-regex.c report_error ("%s: %s", pat_badback, s); s 38 maint/gnulib/tests/test-scratch-buffer.c size_t s; s 39 maint/gnulib/tests/test-scratch-buffer.c for (s = 0; s < SIZEOF (sizes); s++) s 41 maint/gnulib/tests/test-scratch-buffer.c size_t size = sizes[s]; s 64 maint/gnulib/tests/test-scratch-buffer.c size_t s; s 65 maint/gnulib/tests/test-scratch-buffer.c for (s = 0; s < SIZEOF (sizes); s++) s 67 maint/gnulib/tests/test-scratch-buffer.c size_t size = sizes[s]; s 94 maint/gnulib/tests/test-scratch-buffer.c size_t s; s 101 maint/gnulib/tests/test-scratch-buffer.c s = 0; s 102 maint/gnulib/tests/test-scratch-buffer.c size = sizes[s]; s 109 maint/gnulib/tests/test-scratch-buffer.c for (; s < SIZEOF (sizes); s++) s 112 maint/gnulib/tests/test-scratch-buffer.c size = sizes[s]; s 79 maint/gnulib/tests/test-select.h int s, x; s 82 maint/gnulib/tests/test-select.h s = socket (AF_INET, SOCK_STREAM, 0); s 85 maint/gnulib/tests/test-select.h setsockopt (s, SOL_SOCKET, SO_REUSEPORT, &x, sizeof (x)); s 91 maint/gnulib/tests/test-select.h if (bind (s, (struct sockaddr *) &ia, sizeof (ia)) < 0) s 97 maint/gnulib/tests/test-select.h if (listen (s, 1) < 0) s 103 maint/gnulib/tests/test-select.h return s; s 109 maint/gnulib/tests/test-select.h int s; s 112 maint/gnulib/tests/test-select.h s = socket (AF_INET, SOCK_STREAM, 0); s 123 maint/gnulib/tests/test-select.h ioctl (s, FIONBIO, (char *) &iMode); s 126 maint/gnulib/tests/test-select.h int oldflags = fcntl (s, F_GETFL, NULL); s 129 maint/gnulib/tests/test-select.h fcntl (s, F_SETFL, oldflags | O_NONBLOCK); s 133 maint/gnulib/tests/test-select.h if (connect (s, (struct sockaddr *) &ia, sizeof (ia)) < 0 s 140 maint/gnulib/tests/test-select.h return s; s 321 maint/gnulib/tests/test-select.h int s = open_server_socket (); s 327 maint/gnulib/tests/test-select.h if (do_select_nowait (s, SEL_IN | SEL_EXC, my_select) != 0) s 332 maint/gnulib/tests/test-select.h if (do_select_wait (s, SEL_IN | SEL_EXC, my_select) != SEL_IN) s 334 maint/gnulib/tests/test-select.h if (do_select_nowait (s, SEL_IN | SEL_EXC, my_select) != SEL_IN) s 338 maint/gnulib/tests/test-select.h c2 = accept (s, (struct sockaddr *) &ia, &addrlen); s 339 maint/gnulib/tests/test-select.h ASSERT (close (s) == 0); s 351 maint/gnulib/tests/test-select.h int s = open_server_socket (); s 364 maint/gnulib/tests/test-select.h c = accept (s, (struct sockaddr *) &ia, &addrlen); s 365 maint/gnulib/tests/test-select.h ASSERT (close (s) == 0); s 374 maint/gnulib/tests/test-select.h ASSERT (close (s) == 0); s 419 maint/gnulib/tests/test-select.h int s = open_server_socket (); s 421 maint/gnulib/tests/test-select.h int c2 = accept (s, (struct sockaddr *) &ia, &addrlen); s 423 maint/gnulib/tests/test-select.h ASSERT (close (s) == 0); s 162 maint/gnulib/tests/test-sh-quote.c char s[5]; s 163 maint/gnulib/tests/test-sh-quote.c s[0] = 'a'; s 164 maint/gnulib/tests/test-sh-quote.c s[1] = (char) c; s 165 maint/gnulib/tests/test-sh-quote.c s[2] = 'z'; s 166 maint/gnulib/tests/test-sh-quote.c s[3] = (char) c; s 167 maint/gnulib/tests/test-sh-quote.c s[4] = '\0'; s 169 maint/gnulib/tests/test-sh-quote.c check_one (s, s); s 36 maint/gnulib/tests/test-signal-h.c } s; s 128 maint/gnulib/tests/test-signal-h.c return s.a + s.b + s.c + s.e; s 22 maint/gnulib/tests/test-sigpipe.c int s = SIGPIPE; s 31 maint/gnulib/tests/test-spawn.c } s; s 53 maint/gnulib/tests/test-spawn.c return s.c + s.d; s 60 maint/gnulib/tests/test-stdbool.c struct s { _Bool s: 1; _Bool t; } s; s 73 maint/gnulib/tests/test-stdbool.c bool e = &s; s 81 maint/gnulib/tests/test-stdbool.c char i[sizeof s.t]; s 103 maint/gnulib/tests/test-stdbool.c bool e1 = &s; s 25 maint/gnulib/tests/test-strfmon_l.c SIGNATURE_CHECK (strfmon_l, ssize_t, (char *s, size_t maxsize, locale_t locale, s 50 maint/gnulib/tests/test-string-buffer.c char *s = sb_dupfree (&buffer); s 51 maint/gnulib/tests/test-string-buffer.c ASSERT (s != NULL && strcmp (s, "") == 0); s 52 maint/gnulib/tests/test-string-buffer.c free (s); s 62 maint/gnulib/tests/test-string-buffer.c char *s = sb_dupfree (&buffer); s 63 maint/gnulib/tests/test-string-buffer.c ASSERT (s != NULL && strcmp (s, "abcdefg") == 0); s 64 maint/gnulib/tests/test-string-buffer.c free (s); s 75 maint/gnulib/tests/test-string-buffer.c char *s = sb_dupfree (&buffer); s 76 maint/gnulib/tests/test-string-buffer.c ASSERT (s != NULL && strcmp (s, "<deadbeef>") == 0); s 77 maint/gnulib/tests/test-string-buffer.c free (s); s 88 maint/gnulib/tests/test-string-buffer.c char *s = sb_dupfree (&buffer); s 89 maint/gnulib/tests/test-string-buffer.c ASSERT (s != NULL && strcmp (s, "<deadbeef>") == 0); s 90 maint/gnulib/tests/test-string-buffer.c free (s); s 110 maint/gnulib/tests/test-string-buffer.c char *s = sb_dupfree (&buffer); s 111 maint/gnulib/tests/test-string-buffer.c ASSERT (s == NULL); s 303 maint/gnulib/tests/test-system-quote-main.c char s[5]; s 304 maint/gnulib/tests/test-system-quote-main.c s[0] = 'a'; s 305 maint/gnulib/tests/test-system-quote-main.c s[1] = (char) c; s 306 maint/gnulib/tests/test-system-quote-main.c s[2] = 'z'; s 307 maint/gnulib/tests/test-system-quote-main.c s[3] = (char) c; s 308 maint/gnulib/tests/test-system-quote-main.c s[4] = '\0'; s 310 maint/gnulib/tests/test-system-quote-main.c check_one (interpreter, prog, s); s 29 maint/gnulib/tests/test-timespec.c static struct { int s; int ns; } const prototype[] = s 104 maint/gnulib/tests/test-timespec.c int s = prototype[i].s; s 105 maint/gnulib/tests/test-timespec.c if (TYPE_SIGNED (time_t) || 0 <= s) s 107 maint/gnulib/tests/test-timespec.c time_t t = (s <= INT_MIN + 1 ? s - INT_MIN + TYPE_MINIMUM (time_t) s 108 maint/gnulib/tests/test-timespec.c : INT_MAX - 1 <= s ? s - INT_MAX + TYPE_MAXIMUM (time_t) s 109 maint/gnulib/tests/test-timespec.c : s); s 84 maint/gnulib/tests/test-userspec.c maybe_null (char const *s) s 86 maint/gnulib/tests/test-userspec.c return s ? s : "NULL"; s 90 maint/gnulib/tests/test-userspec.c same_diag (char const *s, char const *t) s 92 maint/gnulib/tests/test-userspec.c if (s == NULL && t == NULL) s 94 maint/gnulib/tests/test-userspec.c if (s == NULL || t == NULL) s 96 maint/gnulib/tests/test-userspec.c return STREQ (s, t); s 77 maint/gnulib/tests/test-verify.c void test_assume_expressions (state *s); s 82 maint/gnulib/tests/test-verify.c test_assume_expressions (state *s) s 88 maint/gnulib/tests/test-verify.c assume (s->halt); s 115 maint/gnulib/tests/test-verify.c state s = { 0, 1 }; s 116 maint/gnulib/tests/test-verify.c test_assume_expressions (&s); s 34 maint/gnulib/tests/test-wcrtomb.c check_character (const char *s, size_t n) s 42 maint/gnulib/tests/test-wcrtomb.c iret = mbtowc (&wc, s, n); s 47 maint/gnulib/tests/test-wcrtomb.c ASSERT (memcmp (buf, s, n) == 0); s 35 maint/gnulib/tests/unigbrk/test-u16-grapheme-breaks.c uint16_t s[16]; s 49 maint/gnulib/tests/unigbrk/test-u16-grapheme-breaks.c s[i] = unit; s 54 maint/gnulib/tests/unigbrk/test-u16-grapheme-breaks.c u16_grapheme_breaks (s, n, breaks); s 64 maint/gnulib/tests/unigbrk/test-u16-grapheme-breaks.c fprintf (stderr, " %02x", s[j]); s 34 maint/gnulib/tests/unigbrk/test-u16-grapheme-next.c uint16_t s[16]; s 45 maint/gnulib/tests/unigbrk/test-u16-grapheme-next.c else if (n >= sizeof s / sizeof *s) s 48 maint/gnulib/tests/unigbrk/test-u16-grapheme-next.c s[n++] = unit; s 52 maint/gnulib/tests/unigbrk/test-u16-grapheme-next.c next = u16_grapheme_next (s, s + n); s 53 maint/gnulib/tests/unigbrk/test-u16-grapheme-next.c if (next != s + len) s 60 maint/gnulib/tests/unigbrk/test-u16-grapheme-next.c fprintf (stderr, "u16_grapheme_next skipped %zu units", next - s); s 63 maint/gnulib/tests/unigbrk/test-u16-grapheme-next.c fprintf (stderr, " %04x", s[i]); s 72 maint/gnulib/tests/unigbrk/test-u16-grapheme-next.c static const uint16_t s[] = { 'a', 'b', 'c' }; s 76 maint/gnulib/tests/unigbrk/test-u16-grapheme-next.c ASSERT (u16_grapheme_next (s, s) == NULL); s 35 maint/gnulib/tests/unigbrk/test-u16-grapheme-prev.c uint16_t s[16]; s 46 maint/gnulib/tests/unigbrk/test-u16-grapheme-prev.c else if (n >= sizeof s / sizeof *s) s 49 maint/gnulib/tests/unigbrk/test-u16-grapheme-prev.c s[n++] = unit; s 53 maint/gnulib/tests/unigbrk/test-u16-grapheme-prev.c end = s + n; s 54 maint/gnulib/tests/unigbrk/test-u16-grapheme-prev.c prev = u16_grapheme_prev (end, s); s 65 maint/gnulib/tests/unigbrk/test-u16-grapheme-prev.c fprintf (stderr, " %04x", s[i]); s 74 maint/gnulib/tests/unigbrk/test-u16-grapheme-prev.c static const uint16_t s[] = { 'a', 'b', 'c' }; s 78 maint/gnulib/tests/unigbrk/test-u16-grapheme-prev.c ASSERT (u16_grapheme_prev (s, s) == NULL); s 35 maint/gnulib/tests/unigbrk/test-u32-grapheme-breaks.c uint32_t s[16]; s 49 maint/gnulib/tests/unigbrk/test-u32-grapheme-breaks.c s[i] = unit; s 54 maint/gnulib/tests/unigbrk/test-u32-grapheme-breaks.c u32_grapheme_breaks (s, n, breaks); s 64 maint/gnulib/tests/unigbrk/test-u32-grapheme-breaks.c fprintf (stderr, " %02x", s[j]); s 34 maint/gnulib/tests/unigbrk/test-u32-grapheme-next.c uint32_t s[32]; s 45 maint/gnulib/tests/unigbrk/test-u32-grapheme-next.c else if (n >= sizeof s / sizeof *s) s 48 maint/gnulib/tests/unigbrk/test-u32-grapheme-next.c s[n++] = unit; s 52 maint/gnulib/tests/unigbrk/test-u32-grapheme-next.c next = u32_grapheme_next (s, s + n); s 53 maint/gnulib/tests/unigbrk/test-u32-grapheme-next.c if (next != s + len) s 60 maint/gnulib/tests/unigbrk/test-u32-grapheme-next.c fprintf (stderr, "u32_grapheme_next skipped %zu units", next - s); s 63 maint/gnulib/tests/unigbrk/test-u32-grapheme-next.c fprintf (stderr, " %04x", s[i]); s 72 maint/gnulib/tests/unigbrk/test-u32-grapheme-next.c static const uint32_t s[] = { 'a', 'b', 'c' }; s 76 maint/gnulib/tests/unigbrk/test-u32-grapheme-next.c ASSERT (u32_grapheme_next (s, s) == NULL); s 35 maint/gnulib/tests/unigbrk/test-u32-grapheme-prev.c uint32_t s[16]; s 46 maint/gnulib/tests/unigbrk/test-u32-grapheme-prev.c else if (n >= sizeof s / sizeof *s) s 49 maint/gnulib/tests/unigbrk/test-u32-grapheme-prev.c s[n++] = unit; s 53 maint/gnulib/tests/unigbrk/test-u32-grapheme-prev.c end = s + n; s 54 maint/gnulib/tests/unigbrk/test-u32-grapheme-prev.c prev = u32_grapheme_prev (end, s); s 65 maint/gnulib/tests/unigbrk/test-u32-grapheme-prev.c fprintf (stderr, " %04x", s[i]); s 74 maint/gnulib/tests/unigbrk/test-u32-grapheme-prev.c static const uint32_t s[] = { 'a', 'b', 'c' }; s 78 maint/gnulib/tests/unigbrk/test-u32-grapheme-prev.c ASSERT (u32_grapheme_prev (s, s) == NULL); s 33 maint/gnulib/tests/unigbrk/test-u8-grapheme-breaks.c const uint8_t *s = (const uint8_t *) input; s 43 maint/gnulib/tests/unigbrk/test-u8-grapheme-breaks.c u8_grapheme_breaks (s, n, breaks); s 53 maint/gnulib/tests/unigbrk/test-u8-grapheme-breaks.c fprintf (stderr, " %02x", s[j]); s 32 maint/gnulib/tests/unigbrk/test-u8-grapheme-next.c const uint8_t *s = (const uint8_t *) input; s 33 maint/gnulib/tests/unigbrk/test-u8-grapheme-next.c const uint8_t *next = u8_grapheme_next (s, s + n); s 34 maint/gnulib/tests/unigbrk/test-u8-grapheme-next.c if (next != s + len) s 41 maint/gnulib/tests/unigbrk/test-u8-grapheme-next.c fprintf (stderr, "u8_grapheme_next skipped %zu bytes", next - s); s 44 maint/gnulib/tests/unigbrk/test-u8-grapheme-next.c fprintf (stderr, " %02x", s[i]); s 53 maint/gnulib/tests/unigbrk/test-u8-grapheme-next.c static const uint8_t s[] = "abc"; s 57 maint/gnulib/tests/unigbrk/test-u8-grapheme-next.c ASSERT (u8_grapheme_next (s, s) == NULL); s 32 maint/gnulib/tests/unigbrk/test-u8-grapheme-prev.c const uint8_t *s = (const uint8_t *) input; s 33 maint/gnulib/tests/unigbrk/test-u8-grapheme-prev.c const uint8_t *end = s + n; s 34 maint/gnulib/tests/unigbrk/test-u8-grapheme-prev.c const uint8_t *prev = u8_grapheme_prev (end, s); s 45 maint/gnulib/tests/unigbrk/test-u8-grapheme-prev.c fprintf (stderr, " %02x", s[i]); s 54 maint/gnulib/tests/unigbrk/test-u8-grapheme-prev.c static const uint8_t s[] = "abc"; s 58 maint/gnulib/tests/unigbrk/test-u8-grapheme-prev.c ASSERT (u8_grapheme_prev (s, s) == NULL); s 60 maint/gnulib/tests/unigbrk/test-uc-grapheme-breaks.c test_uc_grapheme_breaks (const char *expected, ucs4_t *s, size_t n, s 68 maint/gnulib/tests/unigbrk/test-uc-grapheme-breaks.c uc_grapheme_breaks (s, n, breaks); s 78 maint/gnulib/tests/unigbrk/test-uc-grapheme-breaks.c fprintf (stderr, " %02x", s[j]); s 126 maint/gnulib/tests/unigbrk/test-uc-grapheme-breaks.c ucs4_t s[16]; s 138 maint/gnulib/tests/unigbrk/test-uc-grapheme-breaks.c s[0] = 0; s 162 maint/gnulib/tests/unigbrk/test-uc-grapheme-breaks.c s[i] = 0; s 177 maint/gnulib/tests/unigbrk/test-uc-grapheme-breaks.c s[i] = next_int; s 185 maint/gnulib/tests/unigbrk/test-uc-grapheme-breaks.c test_uc_grapheme_breaks (breaks, s, i, filename, lineno); s 52 maint/gnulib/tests/unigbrk/test-ulc-grapheme-breaks.c static const char s[] = "ZYX\352\353W\360\361V\362"; s 53 maint/gnulib/tests/unigbrk/test-ulc-grapheme-breaks.c enum { LENGTH = sizeof s - 1 }; s 57 maint/gnulib/tests/unigbrk/test-ulc-grapheme-breaks.c ulc_grapheme_breaks (s, LENGTH, p); s 59 maint/gnulib/tests/unigbrk/test-ulc-grapheme-breaks.c if (p[i] != is_8859_6_break (s[i])) s 67 maint/gnulib/tests/unigbrk/test-ulc-grapheme-breaks.c fprintf (stderr, " %02x", (unsigned char) s[j]); s 72 maint/gnulib/tests/unigbrk/test-ulc-grapheme-breaks.c fprintf (stderr, " %d", is_8859_6_break (s[j])); s 30 maint/gnulib/tests/unistr/test-u32-chr.c #define U_UCTOMB(s, uc, n) (*(s) = (uc), 1) s 31 maint/gnulib/tests/unistr/test-u32-chr.c #define U32_TO_U(s, n, result, length) (*(length) = (n), (s)) s 30 maint/gnulib/tests/unistr/test-u32-strchr.c #define U_UCTOMB(s, uc, n) (*(s) = (uc), 1) s 31 maint/gnulib/tests/unistr/test-u32-strchr.c #define U32_TO_U(s, n, result, length) (*(length) = (n), (s)) s 7 replace/strchrnul.c strchrnul(const char *s, int c_in) s 11 replace/strchrnul.c while (*s && (*s != c)) s 12 replace/strchrnul.c s++; s 14 replace/strchrnul.c return (char *)s; s 24 replace/strnlen.c strnlen(const char *s, size_t maxlen) s 28 replace/strnlen.c eospos = memchr(s, (int)'\0', maxlen); s 30 replace/strnlen.c return (eospos == NULL ? maxlen : (size_t) (eospos - s)); s 222 tools/crm_mon.c for (char **s = parts; *s != NULL; s++) { s 223 tools/crm_mon.c uint32_t bit = find_section_bit(*s); s 225 tools/crm_mon.c if (pcmk__str_eq(*s, "all", pcmk__str_none)) { s 227 tools/crm_mon.c } else if (pcmk__str_eq(*s, PCMK__VALUE_NONE, pcmk__str_none)) { s 252 tools/crm_mon.c for (char **s = parts; *s != NULL; s++) { s 253 tools/crm_mon.c uint32_t bit = find_section_bit(*s); s 255 tools/crm_mon.c if (pcmk__str_eq(*s, "all", pcmk__str_none)) { s 257 tools/crm_mon.c } else if (pcmk__starts_with(*s, "bans")) { s 264 tools/crm_mon.c if (strlen(*s) > 4 && (*s)[4] == ':') { s 265 tools/crm_mon.c options.neg_location_prefix = strdup(*s+5); s 267 tools/crm_mon.c } else if (pcmk__str_any_of(*s, "default", "defaults", NULL)) { s 269 tools/crm_mon.c } else if (pcmk__str_eq(*s, PCMK__VALUE_NONE, pcmk__str_none)) { s 294 tools/crm_mon.c char *s = node->data; s 296 tools/crm_mon.c if (pcmk__starts_with(s, "--include=")) { s 297 tools/crm_mon.c rc = apply_include(s+10, error); s 298 tools/crm_mon.c } else if (pcmk__starts_with(s, "-I=")) { s 299 tools/crm_mon.c rc = apply_include(s+3, error); s 300 tools/crm_mon.c } else if (pcmk__starts_with(s, "--exclude=")) { s 301 tools/crm_mon.c rc = apply_exclude(s+10, error); s 302 tools/crm_mon.c } else if (pcmk__starts_with(s, "-U=")) { s 303 tools/crm_mon.c rc = apply_exclude(s+3, error); s 318 tools/crm_mon.c char *s = crm_strdup_printf("%s=%s", option_name, optarg); s 320 tools/crm_mon.c options.user_includes_excludes = g_slist_append(options.user_includes_excludes, s); s 326 tools/crm_mon.c char *s = crm_strdup_printf("%s=%s", option_name, optarg); s 328 tools/crm_mon.c options.includes_excludes = g_slist_append(options.includes_excludes, s); s 462 tools/crm_mon.c char *s = crm_strdup_printf("bans:%s", optarg); s 463 tools/crm_mon.c gboolean rc = user_include_exclude_cb("--include", s, data, err); s 464 tools/crm_mon.c free(s); s 1594 tools/crm_resource.c for (gchar **s = options.remainder; *s; s++) { s 1595 tools/crm_resource.c char *name = calloc(1, strlen(*s)); s 1596 tools/crm_resource.c char *value = calloc(1, strlen(*s)); s 1597 tools/crm_resource.c int rc = sscanf(*s, "%[^=]=%s", name, value); s 1619 tools/crm_resource.c for (gchar **s = options.remainder; *s; s++) { s 1628 tools/crm_resource.c for (gchar **s = options.remainder; *s; s++) { s 1629 tools/crm_resource.c strv[i] = crm_strdup_printf("[%d of %d] %s\n", i, len, *s); s 395 tools/crm_rule.c for (char **s = options.rules; *s != NULL; s++) { s 396 tools/crm_rule.c int last_rc = crm_rule_check(out, data_set, *s, rule_date);