Home
last modified time | relevance | path

Searched refs:nstrings (Results 1 – 13 of 13) sorted by relevance

/glibc-2.36/localedata/
Dcollate-test.c45 size_t nstrings, nstrings_max; in main() local
57 nstrings = 0; in main()
71 if (nstrings == nstrings_max) in main()
82 strings[nstrings].line = strdup (line); in main()
86 strings[nstrings].key = strndup (line, l); in main()
87 ++nstrings; in main()
93 for (n = 0; n < 10 * nstrings; ++n) in main()
96 size_t idx1 = random () % nstrings; in main()
97 size_t idx2 = random () % nstrings; in main()
112 qsort (strings, nstrings, sizeof (struct lines), xstrcoll); in main()
[all …]
Dxfrm-test.c43 size_t nstrings, nstrings_max; in main() local
66 nstrings = 0; in main()
82 if (nstrings == nstrings_max) in main()
93 strings[nstrings].line = strdup (line); in main()
125 strings[nstrings].xfrm = newp; in main()
130 ++nstrings; in main()
136 for (n = 0; n < 10 * nstrings; ++n) in main()
139 size_t idx1 = random () % nstrings; in main()
140 size_t idx2 = random () % nstrings; in main()
158 qsort (strings, nstrings, sizeof (struct lines), xstrcmp); in main()
[all …]
/glibc-2.36/locale/
Dloadlocale.c127 unsigned int nstrings; in _nl_intern_locale_data() member
141 if (__builtin_expect (filedata->nstrings < _nl_category_num_items[category], in _nl_intern_locale_data()
144 + filedata->nstrings * sizeof (unsigned int) in _nl_intern_locale_data()
153 + filedata->nstrings * sizeof (union locale_data_value)); in _nl_intern_locale_data()
171 newdata->nstrings = filedata->nstrings; in _nl_intern_locale_data()
172 for (cnt = 0; cnt < newdata->nstrings; ++cnt) in _nl_intern_locale_data()
Dnl_langinfo_l.c61 if (index >= data->nstrings) in __nl_langinfo_l()
Dlocaleinfo.h75 unsigned int nstrings; /* Number of strings below. */ member
/glibc-2.36/intl/
Ddcigettext.c879 nls_uint32 nstrings; in _nl_find_msg() local
892 nstrings = domain->nstrings; in _nl_find_msg()
917 if (nstr < nstrings in _nl_find_msg()
923 : domain->orig_sysdep_tab[nstr - nstrings].length > len in _nl_find_msg()
925 domain->orig_sysdep_tab[nstr - nstrings].pointer) in _nl_find_msg()
946 top = nstrings; in _nl_find_msg()
969 if (act < nstrings) in _nl_find_msg()
977 result = (char *) domain->trans_sysdep_tab[act - nstrings].pointer; in _nl_find_msg()
978 resultlen = domain->trans_sysdep_tab[act - nstrings].length; in _nl_find_msg()
1222 (char **) calloc (nstrings + domain->n_sysdep_strings, in _nl_find_msg()
Dgmo.h81 nls_uint32 nstrings; member
DgettextP.h169 nls_uint32 nstrings; member
Dloadmsgcat.c899 domain->nstrings = W (domain->must_swap, data->nstrings); in _nl_load_domain()
1196 inmem_hash_tab[idx] = 1 + domain->nstrings + i; in _nl_load_domain()
/glibc-2.36/locale/programs/
Dlocale.c348 unsigned int nstrings; in print_LC_IDENTIFICATION() member
354 + (filedata->nstrings in print_LC_IDENTIFICATION()
389 unsigned int nstrings; in print_LC_CTYPE() member
395 + (filedata->nstrings in print_LC_CTYPE()
Dlocarchive.c1180 unsigned int nstrings; in add_locale_to_archive() member
/glibc-2.36/manual/
Dstring.texi1496 sort_strings (char **array, int nstrings)
1499 qsort (array, nstrings,
1592 sort_strings_fast (char **array, int nstrings)
1594 struct sorter temp_array[nstrings];
1599 for (i = 0; i < nstrings; i++)
1632 qsort (temp_array, nstrings,
1637 for (i = 0; i < nstrings; i++)
1641 for (i = 0; i < nstrings; i++)
1651 sort_strings_fast (wchar_t **array, int nstrings)
/glibc-2.36/ChangeLog.old/
DChangeLog.113743 (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS