/locale/programs/ |
A D | xmalloc.c | 57 VOID *p; in fixup_null_alloc() local 59 p = 0; in fixup_null_alloc() 62 if (p == 0) in fixup_null_alloc() 64 return p; in fixup_null_alloc() 72 VOID *p; in xmalloc() local 75 if (p == 0) in xmalloc() 77 return p; in xmalloc() 85 VOID *p; in xcalloc() local 90 return p; in xcalloc() 102 p = realloc (p, n); in xrealloc() [all …]
|
A D | 3level.h | 49 unsigned int p; member 86 uint32_t index1 = wc >> (t->q + t->p); in ELEMENT() 98 + (lookup2 << t->p); in ELEMENT() 112 uint32_t index1 = wc >> (t->q + t->p); in CONCAT() 162 i1 = t->level3_size << t->p; in CONCAT() 169 index3 += t->level2[index2] << t->p; in CONCAT() 224 if (memcmp (&t->level3[i << t->p], &t->level3[j << t->p], in CONCAT() 232 memcpy (&t->level3[i << t->p], &t->level3[j << t->p], in CONCAT() 233 (1 << t->p) * sizeof (ELEMENT)); in CONCAT() 286 add_locale_uint32 (file, t->p); in CONCAT() [all …]
|
A D | charmap-dir.c | 214 char *p; in charmap_open() local 218 p = stpcpy (pathname, directory); in charmap_open() 220 *p++ = '/'; in charmap_open() 221 p = stpcpy (p, name); in charmap_open() 227 memcpy (p, ".gz", 4); in charmap_open() 232 memcpy (p, ".bz2", 5); in charmap_open() 300 char **p; in charmap_free_aliases() local 302 for (p = aliases; *p; p++) in charmap_free_aliases() 303 free (*p); in charmap_free_aliases()
|
A D | locfile.c | 363 char *base, *p; in siblings_uncached() local 374 while (p > base && p[-1] == '/') in siblings_uncached() 375 p--; in siblings_uncached() 376 if (p == base) in siblings_uncached() 379 p--; in siblings_uncached() 380 while (p > base && p[-1] != '/'); in siblings_uncached() 381 if (p == base) in siblings_uncached() 383 *--p = '\0'; in siblings_uncached() 425 *p++ = '/'; in siblings_uncached() 426 *p = '\0'; in siblings_uncached() [all …]
|
A D | charmap.c | 75 char *p; in cmlr_open() local 78 p = stpcpy (pathname, directory); in cmlr_open() 80 *p++ = '/'; in cmlr_open() 81 stpcpy (p, name); in cmlr_open() 156 char **p; in charmap_read() local 161 for (p = aliases; *p; p++) in charmap_read() 162 if (strcasecmp (*p, filename) == 0) in charmap_read() 245 const char *p = basic_charset; in charmap_read() local 249 struct charseq *seq = charmap_find_symbol (result, p, 1); in charmap_read() 251 if (seq == NULL || seq->ucs4 != (uint32_t) *p) in charmap_read() [all …]
|
A D | locarchive.c | 98 if (p != MAP_FAILED) in prepare_address_space() 100 void *aligned_p = PTR_ALIGN_UP (p, MAP_FIXED_ALIGNMENT); in prepare_address_space() 101 size_t align_adjust = aligned_p - p; in prepare_address_space() 102 *mmap_base = p; in prepare_address_space() 183 p = mmap64 (p, total, PROT_READ | PROT_WRITE, MAP_SHARED | xflags, fd, 0); in create_archive() 184 if (p == MAP_FAILED) in create_archive() 229 ah->addr = p; in create_archive() 305 if (p == MAP_FAILED) in file_data_available_p() 446 p = mmap64 (p, total, PROT_READ | PROT_WRITE, MAP_SHARED | xflags, fd, 0); in enlarge_archive() 447 if (p == MAP_FAILED) in enlarge_archive() [all …]
|
A D | locale.c | 745 char **p; in write_charmaps() local 753 for (p = aliases; *p; p++) in write_charmaps() 754 PUT (xstrdup (*p)); in write_charmaps() 757 p = aliases; in write_charmaps() 758 if (*p) in write_charmaps() 759 PUT (xstrdup (*p)); in write_charmaps()
|
A D | ld-ctype.c | 143 unsigned int p; member 3373 + (lookup2 << t->p); in wctype_table_get() 3436 i1 = t->level3_size << t->p; in wctype_table_add() 3443 index3 += t->level2[index2] << t->p; in wctype_table_add() 3462 if (memcmp (&t->level3[i << t->p], &t->level3[j << t->p], in add_locale_wctype_table() 3470 memcpy (&t->level3[i << t->p], &t->level3[j << t->p], in add_locale_wctype_table() 3471 (1 << t->p) * sizeof (uint32_t)); in add_locale_wctype_table() 3522 add_locale_uint32 (file, t->p + 5); in add_locale_wctype_table() 3663 t->p = 4; /* or: 5 */ in allocate_arrays() 3726 t->p = 7; in allocate_arrays() [all …]
|
A D | ld-collate.c | 1752 collate->wcheads.p = 6; in collate_finish() 1756 collate->wcseqorder.p = 6; in collate_finish() 2389 tablewc.p = 6; in collate_output()
|
/locale/ |
A D | loadarchive.c | 169 const char *p = strchr (name, '.'); in _nl_load_locale_from_archive() local 170 if (p != NULL && p[1] != '@' && p[1] != '\0') in _nl_load_locale_from_archive() 172 const char *rest = __strchrnul (++p, '@'); in _nl_load_locale_from_archive() 173 const char *normalized_codeset = _nl_normalize_codeset (p, rest - p); in _nl_load_locale_from_archive() 176 if (strncmp (normalized_codeset, p, rest - p) != 0 in _nl_load_locale_from_archive() 177 || normalized_codeset[rest - p] != '\0') in _nl_load_locale_from_archive() 183 char *newname = alloca (p - name + normlen + restlen); in _nl_load_locale_from_archive() 184 memcpy (__mempcpy (__mempcpy (newname, name, p - name), in _nl_load_locale_from_archive()
|
A D | setlocale.c | 143 char *new, *p; in new_composite_name() local 173 p = new; in new_composite_name() 181 p = __stpcpy (p, _nl_category_names_get (i)); in new_composite_name() 182 *p++ = '='; in new_composite_name() 183 p = __stpcpy (p, name); in new_composite_name() 184 *p++ = ';'; in new_composite_name() 186 p[-1] = '\0'; /* Clobber the last ';'. */ in new_composite_name()
|
A D | loadlocale.c | 238 char *p = (char *) filedata; in _nl_load_locale() local 241 nread = __read_nocancel (fd, p, to_read); in _nl_load_locale() 249 p += nread; in _nl_load_locale()
|
A D | C-ctype.c | 290 #define STRUCT_CTYPE_CLASS(p, q) \ argument 297 uint32_t level3[1 << p]; \
|
A D | C-translit.h.in | 129 "\x03c0" "p" # <U03C0> GREEK SMALL LETTER PI 151 "\x03d6" "p" # <U03D6> GREEK PI SYMBOL 254 "\x043f" "p" # <U043F> CYRILLIC SMALL LETTER PE 627 "\x24ab" "(p)" # <U24AB> PARENTHESIZED LATIN SMALL LETTER P 679 "\x24df" "(p)" # <U24DF> CIRCLED LATIN SMALL LETTER P 830 "\x33d8" "p.m." # <U33D8> SQUARE PM 964 "\xff50" "p" # <UFF50> FULLWIDTH LATIN SMALL LETTER P 1020 "\x0001d429" "p" # <U0001D429> MATHEMATICAL BOLD SMALL P 1071 "\x0001d45d" "p" # <U0001D45D> MATHEMATICAL ITALIC SMALL P 1163 "\x0001d4c5" "p" # <U0001D4C5> MATHEMATICAL SCRIPT SMALL P [all …]
|