Searched refs:buf (Results 1 – 8 of 8) sorted by relevance
/locale/programs/ |
A D | linereader.c | 117 while (isspace (lr->buf[lr->idx]) && lr->buf[lr->idx] != '\n' in lr_ignore_rest() 145 free (lr->buf); in lr_close() 426 buf = xrealloc (buf, bufmax); \ 442 buf = xrealloc (buf, bufmax); \ 470 char *buf; in get_symname() local 520 free (buf); in get_symname() 526 buf = xrealloc (buf, bufact + 1); in get_symname() 540 char *buf; in get_ident() local 579 buf = xrealloc (buf, bufact + 1); in get_ident() 596 char *buf; in get_string() local [all …]
|
A D | linereader.h | 64 char *buf; member 137 return lr->buf[lr->idx] == '\32' ? EOF : lr->buf[lr->idx++]; in lr_getc() 149 lr->buf[--lr->idx] = ch; in lr_ungetc()
|
A D | locale.c | 324 char buf[sizeof (COMPLOCALEDIR) in select_dirs() local 330 if (stat64 (buf, &st) == 0) in select_dirs() 451 char buf[sizeof (COMPLOCALEDIR) in write_locales() local 457 stpcpy (enddir = stpcpy (stpcpy (stpcpy (buf, in write_locales() 476 dirents[cnt]->d_name, (int) (enddir - buf), buf, in write_locales() 479 fd = open64 (buf, O_RDONLY); in write_locales() 495 fd = open64 (buf, O_RDONLY); in write_locales() 546 char buf[BUFSIZ]; in write_locales() local 551 if (fgets_unlocked (buf, BUFSIZ, fp) == NULL) in write_locales() 555 cp = buf; in write_locales() [all …]
|
A D | repertoire.c | 107 char *buf = xmalloc (strlen (filename) + 1 in repertoire_read() local 110 stpcpy (stpcpy (stpcpy (buf, REPERTOIREMAP_PATH), "/"), in repertoire_read() 112 repfile = lr_open (buf, repertoiremap_hash); in repertoire_read() 114 free (buf); in repertoire_read() 391 char *buf = NULL; in repertoire_new_char() local 466 insert_entry (ht, buf, len1, in repertoire_new_char()
|
A D | ld-collate.c | 282 utf8_encode (char *buf, int val) in utf8_encode() argument 288 *buf++ = (char) val; in utf8_encode() 304 buf[step] = 0x80 | (val & 0x3f); in utf8_encode() 308 *buf |= val; in utf8_encode() 1320 char buf[lento + 1]; in handle_ellipsis() local 1356 memcpy (buf, startp->name, preflen); in handle_ellipsis() 1382 "LC_COLLATE", (int) lenfrom, buf, in handle_ellipsis() 1390 "LC_COLLATE", buf); in handle_ellipsis() 1424 ? NULL : wcs, buf, lenfrom, 1); in handle_ellipsis() 1923 len += utf8_encode (&buf[len], in output_weight() [all …]
|
A D | locfile.c | 473 char *buf = (char *) bufarea; in full_read() local 477 ssize_t retval = read (fd, buf, nbyte); in full_read() 483 buf += retval; in full_read() 489 return buf - (char *) bufarea; in full_read()
|
A D | ld-ctype.c | 527 char buf[17]; in ctype_finish() local 529 snprintf (buf, sizeof buf, "\\%Zo", cnt); in ctype_finish() 533 buf, in ctype_finish() 542 char buf[17]; in ctype_finish() local 544 snprintf (buf, sizeof buf, "\\%Zo", cnt); in ctype_finish() 548 buf, in ctype_finish() 2871 char buf[10]; in set_one_default() local 2872 sprintf (buf, "U%08X", ch); in set_one_default() 3232 char buf[10]; in set_class_defaults() local 3233 sprintf (buf, "U%08X", ch); in set_class_defaults() [all …]
|
A D | locarchive.c | 1222 char buf[BUFSIZ]; in add_locale_to_archive() local 1227 if (fgets_unlocked (buf, BUFSIZ, fp) == NULL) in add_locale_to_archive() 1231 cp = buf; in add_locale_to_archive() 1313 cp = buf; in add_locale_to_archive() 1314 if (fgets_unlocked (buf, BUFSIZ, fp) == NULL) in add_locale_to_archive()
|
Completed in 28 milliseconds