Home
last modified time | relevance | path

Searched refs:ucs (Results 1 – 14 of 14) sorted by relevance

/picolibc-latest/newlib/libc/string/
Dwcwidth.c109 bisearch(uint32_t ucs, const struct interval *table, int max) in bisearch() argument
114 if (ucs < table[0].first || ucs > table[max].last) in bisearch()
119 if (ucs > table[mid].last) in bisearch()
121 else if (ucs < table[mid].first) in bisearch()
171 uint32_t ucs = (uint32_t) _ucs; in __wcwidth() local
188 if (ucs == 0) in __wcwidth()
192 if (ucs >= 0x20 && ucs < 0x7f) in __wcwidth()
196 if (ucs < 0xa0) in __wcwidth()
200 if (ucs >= (uint32_t) 0xd800 && ucs <= (uint32_t) 0xdfff) in __wcwidth()
208 && bisearch(ucs, ambiguous, in __wcwidth()
[all …]
Duniset84 my $ucs = shift(@_);
86 return ($ucs >= 0x1100 &&
87 ($ucs <= 0x115f || # Hangul Jamo
88 $ucs == 0x2329 || $ucs == 0x232a ||
89 ($ucs >= 0x2e80 && $ucs <= 0xa4cf &&
90 $ucs != 0x303f) || # CJK .. Yi
91 ($ucs >= 0xac00 && $ucs <= 0xd7a3) || # Hangul Syllables
92 ($ucs >= 0xf900 && $ucs <= 0xfaff) || # CJK Comp. Ideographs
93 ($ucs >= 0xfe30 && $ucs <= 0xfe6f) || # CJK Comp. Forms
94 ($ucs >= 0xff00 && $ucs <= 0xff60) || # Fullwidth Forms
[all …]
Dstrupr.c51 unsigned char *ucs = (unsigned char *) s; in strupr() local
52 for ( ; *ucs != '\0'; ucs++) in strupr()
54 *ucs = toupper(*ucs); in strupr()
Dstrlwr.c51 unsigned char *ucs = (unsigned char *) s; in strlwr() local
52 for ( ; *ucs != '\0'; ucs++) in strlwr()
54 *ucs = tolower(*ucs); in strlwr()
/picolibc-latest/newlib/libc/ctype/
Dcategories.c25 bisearch_cat(uint32_t ucs, const struct _category *table, int max) in bisearch_cat() argument
30 if (ucs < table[0].first || ucs > (uint32_t) (table[max].first + table[max].delta)) in bisearch_cat()
35 if (ucs > (uint32_t) (table[mid].first + table[mid].delta)) in bisearch_cat()
37 else if (ucs < table[mid].first) in bisearch_cat()
45 enum category category(uint32_t ucs) in category() argument
47 return bisearch_cat(ucs, categories, in category()
Dtowctrans_l.c67 bisearch (wint_t ucs, const struct caseconv_entry *table, size_t max) in bisearch() argument
72 if (ucs < first(table[0]) || ucs > last(table[max])) in bisearch()
77 if (ucs > last(table[mid])) in bisearch()
79 else if (ucs < first(table[mid])) in bisearch()
Dcategories.h13 extern enum category category(uint32_t ucs);
/picolibc-latest/newlib/libc/iconv/ces/
DCMakeLists.txt40 ucs-2.c
41 ucs-2-internal.c
42 ucs-4.c
43 ucs-4-internal.c
Dtable.c211 ucs2_t ucs; in table_convert_to_ucs() local
218 ucs = (ucs2_t)ccsp->tbl[**inbuf]; in table_convert_to_ucs()
220 if (ucs == INVALC) in table_convert_to_ucs()
225 return (ucs4_t)ucs; in table_convert_to_ucs()
232 ucs = find_code_size((ucs2_t)**inbuf << 8 | (ucs2_t)*(*inbuf + 1), in table_convert_to_ucs()
235 ucs = find_code_speed((ucs2_t)**inbuf << 8 | (ucs2_t)*(*inbuf + 1), in table_convert_to_ucs()
238 if (ucs == INVALC) in table_convert_to_ucs()
243 return (ucs4_t)ucs; in table_convert_to_ucs()
Dmeson.build40 'ucs-2.c',
41 'ucs-2-internal.c',
42 'ucs-4.c',
43 'ucs-4-internal.c',
/picolibc-latest/newlib/libc/iconv/ccs/
Dmktbl.pl175 my ($ccs, $ucs) = ($codes[$CCSCol], $codes[$UCSCol]);
185 unless ($ucs =~ m/^($patt(,|\+))*$patt$/)
187 print("Warning (line $ln): $ucs UCS code isn't recognized, skip.\n")
195 if ($ucs =~ m/,/ or $ucs =~ m/\+/)
200 $ucs = $TmpLost;
205 $ucs = hex $ucs;
208 if ($ucs > 0xFFFF)
212 $ucs = $TmpLost;
231 if ($ccs == $InvCode or $ucs == $InvCode)
239 $UCSCCS{$ucs} = $ccs if $ucs != $TmpLost && !defined $UCSCCS{$ucs};
[all …]
/picolibc-latest/
DREADME.md589 ucs-4 values
DCOPYING.picolibc42 newlib/libc/iconv/ces/ucs-2-internal.c
43 newlib/libc/iconv/ces/ucs-2.c
44 newlib/libc/iconv/ces/ucs-4-internal.c
45 newlib/libc/iconv/ces/ucs-4.c
/picolibc-latest/newlib/
DChangeLog-201513686 * libc/iconv/ces/ucs-2-internal.c: Updated.
13687 * libc/iconv/ces/ucs-4-internal.c: Ditto.
13697 * libc/iconv/ces/ucs-2.c: Ditto.
13698 * libc/iconv/ces/ucs-4.c: Ditto.
13704 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
13705 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
14291 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
14292 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
14293 * libc/iconv/ces/ucs-2-internal.c: Ditto.
14294 * libc/iconv/ces/ucs-4-internal.c: Ditto.
[all …]