Lines Matching refs:ucs2_t
86 if (*outbytesleft < sizeof (ucs2_t)) in ucs_2_convert_from_ucs()
89 ucs2_t uc; in ucs_2_convert_from_ucs()
92 uc = ICONV_HTOBES ((ucs2_t)in); in ucs_2_convert_from_ucs()
94 uc = ICONV_HTOLES ((ucs2_t)in); in ucs_2_convert_from_ucs()
96 memcpy(*outbuf, &uc, sizeof(ucs2_t)); in ucs_2_convert_from_ucs()
98 *outbuf += sizeof (ucs2_t); in ucs_2_convert_from_ucs()
99 *outbytesleft -= sizeof (ucs2_t); in ucs_2_convert_from_ucs()
101 return sizeof (ucs2_t); in ucs_2_convert_from_ucs()
113 if (*inbytesleft < sizeof (ucs2_t)) in ucs_2_convert_to_ucs()
116 ucs2_t uc; in ucs_2_convert_to_ucs()
118 memcpy(&uc, *inbuf, sizeof(ucs2_t)); in ucs_2_convert_to_ucs()
129 *inbytesleft -= sizeof (ucs2_t); in ucs_2_convert_to_ucs()
130 *inbuf += sizeof (ucs2_t); in ucs_2_convert_to_ucs()