Home
last modified time | relevance | path

Searched refs:totype (Results 1 – 3 of 3) sorted by relevance

/third_party/musl/porting/liteos_m/kernel/src/locale/
Diconv.c245 unsigned char totype = tomap[-1]; in iconv() local
528 switch (totype) { in iconv()
557 for (c=4*totype; c<256; c++) { in iconv()
637 totype = UCS2BE; in iconv()
643 if (c < 0x10000 || totype-UCS2BE < 2U) { in iconv()
646 put_16((void *)*out, c, totype); in iconv()
653 put_16((void *)*out, (c>>10)|0xd800, totype); in iconv()
654 put_16((void *)(*out + 2), (c&0x3ff)|0xdc00, totype); in iconv()
659 totype = UTF_32BE; in iconv()
663 put_32((void *)*out, c, totype); in iconv()
/third_party/musl/porting/uniproton/kernel/src/locale/
Diconv.c245 unsigned char totype = tomap[-1]; in iconv() local
528 switch (totype) { in iconv()
557 for (c=4*totype; c<256; c++) { in iconv()
637 totype = UCS2BE; in iconv()
643 if (c < 0x10000 || totype-UCS2BE < 2U) { in iconv()
646 put_16((void *)*out, c, totype); in iconv()
653 put_16((void *)*out, (c>>10)|0xd800, totype); in iconv()
654 put_16((void *)(*out + 2), (c&0x3ff)|0xdc00, totype); in iconv()
659 totype = UTF_32BE; in iconv()
663 put_32((void *)*out, c, totype); in iconv()
/third_party/musl/src/locale/
Diconv.c245 unsigned char totype = tomap[-1]; in iconv() local
527 switch (totype) { in iconv()
556 for (c=4*totype; c<256; c++) { in iconv()
636 totype = UCS2BE; in iconv()
642 if (c < 0x10000 || totype-UCS2BE < 2U) { in iconv()
645 put_16((void *)*out, c, totype); in iconv()
652 put_16((void *)*out, (c>>10)|0xd800, totype); in iconv()
653 put_16((void *)(*out + 2), (c&0x3ff)|0xdc00, totype); in iconv()
658 totype = UTF_32BE; in iconv()
662 put_32((void *)*out, c, totype); in iconv()