Lines Matching refs:bytes
94 register size_t bytes; in utf_16_convert_from_ucs() local
102 bytes = (*state == UTF16_SYSTEM_ENDIAN) ? sizeof (ucs2_t) * 2 in utf_16_convert_from_ucs()
106 bytes += sizeof (ucs2_t); in utf_16_convert_from_ucs()
108 if (*outbytesleft < bytes) in utf_16_convert_from_ucs()
160 *outbuf += bytes; in utf_16_convert_from_ucs()
161 *outbytesleft -= bytes; in utf_16_convert_from_ucs()
163 return bytes; in utf_16_convert_from_ucs()
197 size_t bytes = sizeof (ucs2_t); in utf_16_convert_to_ucs() local
200 if (*inbytesleft < bytes) in utf_16_convert_to_ucs()
216 if (*inbytesleft < (bytes += sizeof (ucs2_t))) in utf_16_convert_to_ucs()
236 if (*inbytesleft < (bytes += 2)) in utf_16_convert_to_ucs()
258 *inbuf += bytes; in utf_16_convert_to_ucs()
259 *inbytesleft -= bytes; in utf_16_convert_to_ucs()