/glibc-2.36/localedata/ |
D | tst-c-utf8-consistency.c | 46 str (nl_item item) in str() function 68 return (wchar_t *) str (item); in wstr() 80 return (signed char) *str (item); in byte() 97 u.ptr = str (item); in word() 117 TEST_COMPARE_STRING (str (ABDAY_1), str_utf8 (ABDAY_1)); in one_pass() 118 TEST_COMPARE_STRING (str (ABDAY_2), str_utf8 (ABDAY_2)); in one_pass() 119 TEST_COMPARE_STRING (str (ABDAY_3), str_utf8 (ABDAY_3)); in one_pass() 120 TEST_COMPARE_STRING (str (ABDAY_4), str_utf8 (ABDAY_4)); in one_pass() 121 TEST_COMPARE_STRING (str (ABDAY_5), str_utf8 (ABDAY_5)); in one_pass() 122 TEST_COMPARE_STRING (str (ABDAY_6), str_utf8 (ABDAY_6)); in one_pass() [all …]
|
/glibc-2.36/posix/ |
D | tst-fnmatch.c | 31 static int convert_flags (const char *str); 33 static char *escape (const char *str, size_t *reslenp, char **resbuf); 243 convert_flags (const char *str) in convert_flags() argument 247 while (*str != '\0') in convert_flags() 251 if (strncasecmp (str, "PATHNAME", 8) == 0 in convert_flags() 252 && (str[8] == '|' || str[8] == '\0')) in convert_flags() 257 else if (strncasecmp (str, "NOESCAPE", 8) == 0 in convert_flags() 258 && (str[8] == '|' || str[8] == '\0')) in convert_flags() 263 else if (strncasecmp (str, "PERIOD", 6) == 0 in convert_flags() 264 && (str[6] == '|' || str[6] == '\0')) in convert_flags() [all …]
|
D | tst-rxspencer.c | 29 replace_special_chars (char *str) in replace_special_chars() argument 31 for (; (str = strpbrk (str, "NTSZ")) != NULL; ++str) in replace_special_chars() 32 switch (*str) in replace_special_chars() 34 case 'N': *str = '\n'; break; in replace_special_chars() 35 case 'T': *str = '\t'; break; in replace_special_chars() 36 case 'S': *str = ' '; break; in replace_special_chars() 37 case 'Z': *str = '\0'; break; in replace_special_chars() 42 glibc_re_syntax (char *str) in glibc_re_syntax() argument 44 char *p, *end = strchr (str, '\0') + 1; in glibc_re_syntax() 47 for (p = str; (p = strstr (p, "[[:")) != NULL; ) in glibc_re_syntax() [all …]
|
/glibc-2.36/sysdeps/aarch64/multiarch/ |
D | memcpy_falkor.S | 99 str G_q, [dstend, -64] 100 str H_q, [dstend, -48] 101 str E_q, [dstin, 32] 102 str F_q, [dstin, 48] 104 str A_q, [dstin] 105 str B_q, [dstin, 16] 106 str C_q, [dstend, -32] 107 str D_q, [dstend, -16] 118 str A_q, [dstin] 119 str B_q, [dstend, -16] [all …]
|
D | memset_kunpeng.S | 47 str q0, [dstin] 49 str q0, [dstend, -16] 51 str q0, [dstin, 16] 52 str q0, [dstend, -32] 60 str q0, [dstin, 48] 69 str d0, [dstin] define 70 str d0, [dstend, -8] define 74 str s0, [dstin] 75 str s0, [dstend, -4] 78 str b0, [dstin] [all …]
|
D | memcpy_thunderx2.S | 151 str E_q, [dstend, -16] 153 str C_q, [dstin, 32] 161 str A_q, [dstin] 162 str E_q, [dstend, -16] 168 str A_q, [dstin] 169 str E_q, [dstend, -16] 170 str B_q, [dstin, 16] 181 str A_l, [dstin] 182 str A_h, [dstend, -8] 191 str A_lw, [dstin] [all …]
|
D | memcpy_advsimd.S | 83 str A_q, [dstin] 84 str B_q, [dstend, -16] 92 str A_l, [dstin] 93 str A_h, [dstend, -8] 101 str A_lw, [dstin] 102 str B_lw, [dstend, -4] 155 str D_q, [dstin] 200 str A_q, [dstin] 201 str B_q, [dstend, -16] 219 str D_q, [dstend, -16] [all …]
|
/glibc-2.36/sysdeps/powerpc/ |
D | dl-procinfo.h | 74 _dl_string_hwcap (const char *str) in _dl_string_hwcap() argument 77 if (strcmp (str, _dl_hwcap_string (i)) == 0) in _dl_string_hwcap() 84 _dl_string_platform (const char *str) in _dl_string_platform() argument 86 if (str == NULL) in _dl_string_platform() 89 if (strncmp (str, "power", 5) == 0) in _dl_string_platform() 92 str += 5; in _dl_string_platform() 93 switch (*str) in _dl_string_platform() 96 if (str[1] == '0') in _dl_string_platform() 99 str++; in _dl_string_platform() 109 if (str[1] == '+') in _dl_string_platform() [all …]
|
/glibc-2.36/time/ |
D | tst-ctime.c | 26 char *str; in do_test() local 37 str = ctime (&t); in do_test() 38 TEST_COMPARE_STRING (str, "Thu Jan 1 00:00:00 1970\n"); in do_test() 41 str = ctime_r (&t, strb); in do_test() 42 TEST_VERIFY (str == strb); in do_test() 43 TEST_COMPARE_STRING (str, "Thu Jan 1 00:00:00 1970\n"); in do_test() 47 str = ctime (&t); in do_test() 48 TEST_COMPARE_STRING (str, "Tue Jan 19 03:14:07 2038\n"); in do_test() 51 str = ctime_r (&t, strb); in do_test() 52 TEST_VERIFY (str == strb); in do_test() [all …]
|
/glibc-2.36/stdio-common/ |
D | tst-vfprintf-user-type.c | 187 char *str = NULL; in do_test() local 188 TEST_VERIFY (asprintf_alias (&str, "[[%P]]", 123L, 456.0) >= 0); in do_test() 189 TEST_COMPARE_STRING (str, "[[(123, 456.000000)]]"); in do_test() 190 free (str); in do_test() 192 str = NULL; in do_test() 193 TEST_VERIFY (asprintf_alias (&str, "[[%1$P %1$P]]", 123L, 457.0) >= 0); in do_test() 194 TEST_COMPARE_STRING (str, "[[(123, 457.000000) (123, 457.000000)]]"); in do_test() 195 free (str); in do_test() 197 str = NULL; in do_test() 198 TEST_VERIFY (asprintf_alias (&str, "[[%.1P]]", 1L, 2.0) >= 0); in do_test() [all …]
|
D | scanf9.c | 9 char str[10]; in main() local 11 str[0] = '\0'; in main() 13 matches = sscanf ("x ]", "%[^] ]", str); in main() 14 printf ("Matches = %d, string str = \"%s\".\n", matches, str); in main() 17 if (strcmp (str, "x")) in main() 20 str[0] = '\0'; in main() 22 matches = sscanf (" ] x", "%[] ]", str); in main() 23 printf ("Matches = %d, string str = \"%s\".\n", matches, str); in main() 26 if (strcmp (str, " ] ")) in main()
|
D | psiginfo.c | 118 base = C(codestrs_, sig).str; \ in psiginfo() 132 const char *str = NULL; in psiginfo() local 135 str = base + offarr[pinfo->si_code - 1]; in psiginfo() 140 str = N_("Signal sent by kill()"); in psiginfo() 143 str = N_("Signal sent by sigqueue()"); in psiginfo() 146 str = N_("Signal generated by the expiration of a timer"); in psiginfo() 149 str = N_("\ in psiginfo() 153 str = N_("\ in psiginfo() 158 str = N_("Signal sent by tkill()"); in psiginfo() 163 str = N_("\ in psiginfo() [all …]
|
D | reg-modifier.c | 30 wchar_t str[0]; member 42 __register_printf_modifier (const wchar_t *str) in __register_printf_modifier() argument 44 if (str[0] == L'\0') in __register_printf_modifier() 51 const wchar_t *wc = str; in __register_printf_modifier() 78 + ((wc - str) in __register_printf_modifier() 83 newp->next = __printf_modifier_table[(unsigned char) *str]; in __register_printf_modifier() 85 __wmemcpy (newp->str, str + 1, wc - str); in __register_printf_modifier() 87 __printf_modifier_table[(unsigned char) *str] = newp; in __register_printf_modifier() 114 wchar_t *fcp = runp->str; in weak_alias() 157 wchar_t *fcp = runp->str; in __handle_registered_modifier_wc()
|
D | vfscanf-internal.c | 325 char *str = NULL; in __vfwscanf_internal() local 735 STRING_ARG (str, char, 100); in __vfwscanf_internal() 737 STRING_ARG (str, char, (width > 1024 ? 1024 : width)); in __vfwscanf_internal() 754 && *strptr + strsize - str <= MB_LEN_MAX) in __vfwscanf_internal() 758 size_t strleng = str - *strptr; in __vfwscanf_internal() 776 str = newstr + strleng; in __vfwscanf_internal() 783 str = newstr + strleng; in __vfwscanf_internal() 788 n = __wcrtomb (!(flags & SUPPRESS) ? str : NULL, c, &state); in __vfwscanf_internal() 795 str += n; in __vfwscanf_internal() 804 && (char *) str == *strptr + strsize) in __vfwscanf_internal() [all …]
|
/glibc-2.36/resolv/ |
D | res_hconf.c | 84 skip_ws (const char *str) in skip_ws() argument 86 while (isspace (*str)) ++str; in skip_ws() 87 return str; in skip_ws() 93 skip_string (const char *str) in skip_string() argument 95 while (*str && !isspace (*str) && *str != '#' && *str != ',') in skip_string() 96 ++str; in skip_string() 97 return str; in skip_string() 189 parse_line (const char *fname, int line_num, const char *str) in parse_line() argument 196 str = skip_ws (str); in parse_line() 199 if (*str == '\0' || *str == '#') return; in parse_line() [all …]
|
/glibc-2.36/locale/programs/ |
D | ld-time.c | 242 char *str = xmalloc ((era_len + 1 + 3) & ~3); in time_finish() local 245 memcpy (str, time->era[idx], era_len + 1); in time_finish() 248 if (*str != '+' && *str != '-') in time_finish() 257 time->era_entries[idx].direction = *str; in time_finish() 258 if (*++str != ':') in time_finish() 263 (void) strsep (&str, ":"); in time_finish() 266 ++str; in time_finish() 269 time->era_entries[idx].offset = strtol (str, &endp, 10); in time_finish() 270 if (endp == str) in time_finish() 275 (void) strsep (&str, ":"); in time_finish() [all …]
|
D | record-status.c | 100 char *str; in record_verbose() local 114 ret = vasprintf (&str, format, arg); in record_verbose() 121 fprintf (stream, "[verbose] %s\n", str); in record_verbose() 123 free (str); in record_verbose() 135 char *str; in record_warning() local 148 ret = vasprintf (&str, format, arg); in record_warning() 155 fprintf (stderr, "[warning] %s\n", str); in record_warning() 157 free (str); in record_warning() 170 char *str; in record_error() local 185 ret = vasprintf (&str, format, arg); in record_error() [all …]
|
D | charmap-kw.h | 71 hash (register const char *str, register size_t len) in hash() argument 107 hval += asso_values[(unsigned char)str[8]]; in hash() 113 hval += asso_values[(unsigned char)str[4]]; in hash() 118 hval += asso_values[(unsigned char)str[1]]; in hash() 121 hval += asso_values[(unsigned char)str[0]]; in hash() 124 return hval + asso_values[(unsigned char)str[len - 1]]; in hash() 128 charmap_hash (register const char *str, register size_t len) in charmap_hash() argument 177 register unsigned int key = hash (str, len); in charmap_hash() 183 if (*str == *s && !strncmp (str + 1, s + 1, len - 1) && s[len] == '\0') in charmap_hash()
|
/glibc-2.36/string/ |
D | strlen.c | 30 STRLEN (const char *str) in STRLEN() argument 38 for (char_ptr = str; ((unsigned long int) char_ptr in STRLEN() 42 return char_ptr - str; in STRLEN() 79 return cp - str; in STRLEN() 81 return cp - str + 1; in STRLEN() 83 return cp - str + 2; in STRLEN() 85 return cp - str + 3; in STRLEN() 89 return cp - str + 4; in STRLEN() 91 return cp - str + 5; in STRLEN() 93 return cp - str + 6; in STRLEN() [all …]
|
/glibc-2.36/sysdeps/unix/sysv/linux/aarch64/ |
D | getcontext.S | 36 str xzr, [x0, oX0 + 0 * SZREG] 44 str x30, [x0, oX0 + 30 * SZREG] 51 str x30, [x0, oPC] 55 str x2, [x0, oSP] 58 str xzr, [x0, oPSTATE] 67 str w3, [x2, #oHEAD + oMAGIC] 69 str w3, [x2, #oHEAD + oSIZE] 81 str w4, [x3] 84 str w4, [x3, oFPCR - oFPSR] 89 str xzr, [x2, #oHEAD + oMAGIC] [all …]
|
/glibc-2.36/sysdeps/unix/sysv/linux/ |
D | malloc-hugepages.c | 33 char str[INT_BUFSIZE_BOUND (unsigned long int)]; in __malloc_default_thp_pagesize() local 34 ssize_t s = __read_nocancel (fd, str, sizeof (str)); in __malloc_default_thp_pagesize() 42 if (str[i] == '\n') in __malloc_default_thp_pagesize() 45 r += str[i] - '0'; in __malloc_default_thp_pagesize() 62 char str[sizeof(mode_always)]; in __malloc_thp_mode() local 63 ssize_t s = __read_nocancel (fd, str, sizeof (str)); in __malloc_thp_mode() 68 if (strcmp (str, mode_always) == 0) in __malloc_thp_mode() 70 else if (strcmp (str, mode_madvise) == 0) in __malloc_thp_mode() 72 else if (strcmp (str, mode_never) == 0) in __malloc_thp_mode()
|
/glibc-2.36/elf/ |
D | dl-hwcaps.c | 79 target->next_pair->str = target->next_string; in copy_hwcaps() 213 temp[m].str = _dl_hwcap_string (n); in _dl_important_hwcaps() 214 temp[m].len = strlen (temp[m].str); in _dl_important_hwcaps() 220 temp[m].str = GLRO (dl_platform); in _dl_important_hwcaps() 225 temp[m].str = "tls"; in _dl_important_hwcaps() 283 result[0].str = cp; in _dl_important_hwcaps() 285 result[1].str = cp; in _dl_important_hwcaps() 287 cp = __mempcpy (cp, temp[0].str, temp[0].len); in _dl_important_hwcaps() 305 result[1].str = result[0].str = cp; in _dl_important_hwcaps() 307 cp = __mempcpy (__mempcpy (cp, temp[idx].str, temp[idx].len), "/", 1); in _dl_important_hwcaps() [all …]
|
/glibc-2.36/sunrpc/ |
D | clnt_perr.c | 62 char *str; in clnt_sperror() local 80 res = __asprintf (&str, "%s: %s\n", msg, errstr); in clnt_sperror() 85 res = __asprintf (&str, "%s: %s; errno = %s\n", in clnt_sperror() 91 res = __asprintf (&str, in clnt_sperror() 99 res = __asprintf (&str, _("%s: %s; why = %s\n"), msg, errstr, tmpstr); in clnt_sperror() 101 res = __asprintf (&str, _("\ in clnt_sperror() 107 res = __asprintf (&str, in clnt_sperror() 113 res = __asprintf (&str, "%s: %s; s1 = %lu, s2 = %lu", in clnt_sperror() 122 buf = str; in clnt_sperror() 125 return str; in clnt_sperror() [all …]
|
/glibc-2.36/sysdeps/ia64/ |
D | strlen.S | 38 #define str r19 macro 53 mov str = in0 63 ld1 val2 = [str], 1 70 mov origadd = str // origadd = orig 71 ld8 val1 = [str], 8;; 74 .l2: ld8.s val2 = [str], 8 // don't bomb out here 84 sub tmp = str, origadd // tmp = crt address - orig 92 adds str = -8, str;; 93 ld8 val2 = [str], 8 // bomb out here
|
/glibc-2.36/nis/ |
D | nis_defaults.c | 34 searchXYX (char *str, const char *what) in searchXYX() argument 37 assert (strncmp (str, what, 6) == 0); in searchXYX() 38 str += 6; /* Points to the begin of the parameters. */ in searchXYX() 41 while (str[i] != '\0' && str[i] != ':') in searchXYX() 46 return strndup (str, i); in searchXYX() 51 searchgroup (char *str) in searchgroup() argument 53 return searchXYX (str, "group="); in searchgroup() 58 searchowner (char *str) in searchowner() argument 60 return searchXYX (str, "owner="); in searchowner() 65 searchttl (char *str) in searchttl() argument [all …]
|