Home
last modified time | relevance | path

Searched refs:uc (Results 1 – 4 of 4) sorted by relevance

/picolibc-3.7.0-3.6.0/newlib/libc/iconv/lib/
Ducsconv.c51 iconv_ucs_conversion_t *uc; in ucs_based_conversion_open() local
55 uc = (iconv_ucs_conversion_t *) in ucs_based_conversion_open()
57 if (uc == NULL) in ucs_based_conversion_open()
87 uc->to_ucs.handlers = to_ucs_bices->handlers; in ucs_based_conversion_open()
88 uc->from_ucs.handlers = from_ucs_bices->handlers; in ucs_based_conversion_open()
93 uc->to_ucs.data = to_ucs_bices->handlers->init (from); in ucs_based_conversion_open()
94 if (uc->to_ucs.data == NULL) in ucs_based_conversion_open()
98 uc->to_ucs.data = (void *)&fake_data; in ucs_based_conversion_open()
104 uc->from_ucs.data = from_ucs_bices->handlers->init (to); in ucs_based_conversion_open()
105 if (uc->from_ucs.data == NULL) in ucs_based_conversion_open()
[all …]
/picolibc-3.7.0-3.6.0/newlib/libc/iconv/ces/
Ducs-2.c90 ucs2_t uc; in ucs_2_convert_from_ucs() local
93 uc = ICONV_HTOBES ((ucs2_t)in); in ucs_2_convert_from_ucs()
95 uc = ICONV_HTOLES ((ucs2_t)in); in ucs_2_convert_from_ucs()
97 memcpy(*outbuf, &uc, sizeof(ucs2_t)); in ucs_2_convert_from_ucs()
117 ucs2_t uc; in ucs_2_convert_to_ucs() local
119 memcpy(&uc, *inbuf, sizeof(ucs2_t)); in ucs_2_convert_to_ucs()
122 res = (ucs4_t)ICONV_BETOHS (uc); in ucs_2_convert_to_ucs()
124 res = (ucs4_t)ICONV_LETOHS (uc); in ucs_2_convert_to_ucs()
Ducs-4.c92 ucs4_t uc; in ucs_4_convert_from_ucs() local
95 uc = ICONV_HTOBEL (in); in ucs_4_convert_from_ucs()
97 uc = ICONV_HTOLEL (in); in ucs_4_convert_from_ucs()
99 memcpy(*outbuf, &uc, sizeof (ucs4_t)); in ucs_4_convert_from_ucs()
119 ucs4_t uc; in ucs_4_convert_to_ucs() local
121 memcpy(&uc, *inbuf, sizeof (ucs4_t)); in ucs_4_convert_to_ucs()
124 res = ICONV_BETOHL (uc); in ucs_4_convert_to_ucs()
126 res = ICONV_LETOHL (uc); in ucs_4_convert_to_ucs()
/picolibc-3.7.0-3.6.0/newlib/libc/posix/
Dregcomp.c1417 unsigned uc = (uch)c; in isinsets() local
1420 if (col[uc] != 0) in isinsets()