Home
last modified time | relevance | path

Searched refs:wch (Results 1 – 25 of 26) sorted by relevance

12

/glibc-2.36/localedata/
Dtst-setlocale2.c20 wint_t wch = towupper (win); in do_test() local
21 if (wch != wex) in do_test()
23 printf ("towupper(%x) = %x, expected %x\n", win, wch, wex); in do_test()
26 wch = toupper (win); in do_test()
27 if (wch != wex) in do_test()
29 printf ("toupper(%x) = %x, expected %x\n", win, wch, wex); in do_test()
35 wch = towupper (win); in do_test()
36 if (wch != wex) in do_test()
38 printf ("towupper(%x) = %x, expected %x\n", win, wch, wex); in do_test()
41 wch = toupper (win); in do_test()
[all …]
Dtst-trans.c32 wint_t wch; in do_test() local
45 wch = towctrans (L'A', t); in do_test()
46 printf ("towctrans (L'A', t) = %lc\n", wch); in do_test()
47 if (wch != L'B') in do_test()
50 wch = towctrans (L'B', t); in do_test()
51 printf ("towctrans (L'B', t) = %lc\n", wch); in do_test()
52 if (wch != L'C') in do_test()
/glibc-2.36/iconvdata/
Dksc5601.h89 ucs4_to_ksc5601_hangul (uint32_t wch, unsigned char *s, size_t avail) in size_t()
99 if (try > wch) in size_t()
101 else if (try < wch) in size_t()
121 ucs4_to_ksc5601_hanja (uint32_t wch, unsigned char *s, size_t avail) in size_t()
131 if (try > wch) in size_t()
133 else if (try < wch) in size_t()
152 ucs4_to_ksc5601_sym (uint32_t wch, unsigned char *s, size_t avail) in size_t()
162 if (try > wch) in size_t()
164 else if (try < wch) in size_t()
184 ucs4_to_ksc5601 (uint32_t wch, unsigned char *s, size_t avail) in size_t()
[all …]
Djis0201.h43 ucs4_to_jisx0201 (uint32_t wch, unsigned char *s) in size_t()
47 if (wch == 0xa5) in size_t()
49 else if (wch == 0x203e) in size_t()
51 else if (wch < 0x7e && wch != 0x5c) in size_t()
52 ch = wch; in size_t()
53 else if (wch >= 0xff61 && wch <= 0xff9f) in size_t()
54 ch = wch - 0xfec0; in size_t()
Djis0212.h50 uint32_t wch = 0; in uint32_t() local
68 wch = __jisx0212_to_ucs[rp->idx + idx - rp->start]; in uint32_t()
70 if (wch != L'\0') in uint32_t()
73 wch = __UNKNOWN_10646_CHAR; in uint32_t()
75 return wch; in uint32_t()
81 ucs4_to_jisx0212 (uint32_t wch, unsigned char *s, size_t avail) in size_t()
84 unsigned int ch = (unsigned int) wch; in size_t()
Dutf-7.c350 uint32_t wch; \
353 wch = statep->__value.__wch | (i << shift); \
358 uint32_t wc1 = wch >> 16; \
364 wch = wch << 16; \
374 uint32_t wc2 = wch & 0xffff; \
382 statep->__value.__wch = wch; \
Dcns11643l2.h61 ucs4_to_cns11643l2 (uint32_t wch, unsigned char *s, size_t avail) in size_t()
63 unsigned int ch = (unsigned int) wch; in size_t()
Diso-ir-165.h73 ucs4_to_isoir165 (uint32_t wch, unsigned char *s, size_t avail) in size_t()
75 unsigned int ch = (unsigned int) wch; in size_t()
Djis0208.h76 ucs4_to_jisx0208 (uint32_t wch, unsigned char *s, size_t avail) in size_t()
78 unsigned int ch = (unsigned int) wch; in size_t()
Dcns11643l1.h74 ucs4_to_cns11643l1 (uint32_t wch, unsigned char *s, size_t avail) in size_t()
76 unsigned int ch = (unsigned int) wch; in size_t()
Dgb2312.h70 ucs4_to_gb2312 (uint32_t wch, unsigned char *s, size_t avail) in size_t()
72 unsigned int ch = (unsigned int) wch; in size_t()
Dcns11643.h143 ucs4_to_cns11643 (uint32_t wch, unsigned char *s, size_t avail) in size_t()
145 unsigned int ch = (unsigned int) wch; in size_t()
/glibc-2.36/locale/programs/
Dlinereader.c45 static bool utf8_decode (struct linereader *lr, uint8_t ch1, uint32_t *wch);
334 uint32_t wch; in lr_token() local
335 if (!utf8_decode (lr, ch, &wch)) in lr_token()
341 lr->token.val.ucs4 = wch; in lr_token()
620 uint32_t wch, struct lr_buffer *lrb) in translate_unicode_codepoint() argument
624 snprintf (utmp, sizeof (utmp), "U%08X", wch); in translate_unicode_codepoint()
634 const char *symbol = repertoire_find_symbol (repertoire, wch); in translate_unicode_codepoint()
659 && ((translit = find_translit (locale, charmap, wch)) in translate_unicode_codepoint()
724 utf8_decode (struct linereader *lr, uint8_t ch1, uint32_t *wch) in utf8_decode() argument
739 *wch = result; in utf8_decode()
[all …]
Dld-ctype.c671 uint32_t wch; in ctype_finish() local
676 wch = ILLEGAL_CHAR_VALUE; in ctype_finish()
678 wch = seq->ucs4; in ctype_finish()
680 wch = repertoire_find_value (ctype->repertoire, seq->name, in ctype_finish()
683 if (wch != ILLEGAL_CHAR_VALUE) in ctype_finish()
687 (void) find_idx (ctype, NULL, NULL, NULL, wch); in ctype_finish()
1391 uint32_t wch; in charclass_symbolic_ellipsis() local
1398 if (get_character (now, charmap, repertoire, &seq, &wch)) in charclass_symbolic_ellipsis()
1405 if (wch != ILLEGAL_CHAR_VALUE && class_bit != 0) in charclass_symbolic_ellipsis()
1409 &ctype->class_collection_act, wch) |= class_bit; in charclass_symbolic_ellipsis()
[all …]
Dlocfile.h144 const struct charmap_t *charmap, uint32_t wch);
/glibc-2.36/localedata/tests-mbwc/
Dtst_swscanf.c38 if (TST_INPUT (swscanf).wch) in tst_swscanf()
60 if (TST_INPUT (swscanf).wch) in tst_swscanf()
84 if (errno == 0 && TST_INPUT (swscanf).wch) in tst_swscanf()
91 if (val_S[i] != exp_S[i] && TST_INPUT (swscanf).wch == 'C') in tst_swscanf()
116 if (errno == 0 && !TST_INPUT (swscanf).wch) in tst_swscanf()
Dtst_types.h305 int wch; member
/glibc-2.36/wcsmbs/
Dtst-mbrtowc2.c42 wchar_t wch; in t() local
52 n = mbrtowc (&wch, ch + i, 1, &mbs); in t()
56 printf ("n = %d, count = %d, wch = %08lX\n", n, i, (unsigned long int) wch); in t()
62 int ret = n != nch || i + 1 != nch || n != nch || wch != wch2; in t()
/glibc-2.36/libio/
Dtst-widetext.c163 wint_t wch = fgetwc (fp); in do_test() local
164 if (wch == WEOF) in do_test()
169 wc2buf[n] = wch; in do_test()
Dwgenops.c201 wint_t wch; in libc_hidden_def() local
202 wch = _IO_UNDERFLOW (fp); in libc_hidden_def()
203 if (wch == WEOF) in libc_hidden_def()
211 __woverflow (FILE *f, wint_t wch) in libc_hidden_def()
215 return _IO_OVERFLOW (f, wch); in libc_hidden_def()
Dwfileops.c406 _IO_wfile_overflow (FILE *f, wint_t wch) in _IO_wfile_overflow() argument
464 if (wch == WEOF) in _IO_wfile_overflow()
470 *f->_wide_data->_IO_write_ptr++ = wch; in _IO_wfile_overflow()
472 || ((f->_flags & _IO_LINE_BUF) && wch == L'\n')) in _IO_wfile_overflow()
475 return wch; in _IO_wfile_overflow()
/glibc-2.36/sysdeps/s390/
Dutf8-utf32-z9.c287 wint_t wch = state->__value.__wch; \
297 bytebuf[ntotal] = 0x80 | (wch & 0x3f); \
298 wch >>= 6; \
302 bytebuf[0] |= wch; \
/glibc-2.36/iconv/
Dgconv_simple.c1129 wint_t wch = state->__value.__wch; \
1139 bytebuf[ntotal] = 0x80 | (wch & 0x3f); \
1140 wch >>= 6; \
1144 bytebuf[0] |= wch; \
/glibc-2.36/posix/
Dregcomp.c906 wint_t wch = __btowc (ch); in init_dfa() local
907 if (wch != WEOF) in init_dfa()
910 if (isascii (ch) && wch != ch) in init_dfa()
2731 ? parse_byte (start_ch, mbcset) : start_elem->opr.wch); in build_range_exp()
2733 ? parse_byte (end_ch, mbcset) : end_elem->opr.wch); in build_range_exp()
2890 return __collseq_table_lookup (collseqwc, br_elem->opr.wch); in lookup_collation_sequence_value()
3286 mbcset->mbchars[mbcset->nmbchars++] = start_elem.opr.wch; in parse_bracket_exp()
3419 elem->opr.wch = re_string_wchar_at (regexp, re_string_cur_idx (regexp)); in parse_bracket_element()
Dregex_internal.h708 wchar_t wch; member

12