Lines Matching refs:hi

320 	uint32_t hi;  in uconv_u16tou32()  local
342 hi = 0; in uconv_u16tou32()
381 if (hi) in uconv_u16tou32()
383 hi = lo; in uconv_u16tou32()
386 if (! hi) in uconv_u16tou32()
388 lo = (((hi - UCONV_U16_HI_MIN) * UCONV_U16_BIT_SHIFT + in uconv_u16tou32()
391 hi = 0; in uconv_u16tou32()
392 } else if (hi) { in uconv_u16tou32()
406 if (hi) in uconv_u16tou32()
430 uint32_t hi; in uconv_u16tou8() local
444 hi = 0; in uconv_u16tou8()
460 if (hi) in uconv_u16tou8()
462 hi = lo; in uconv_u16tou8()
465 if (! hi) in uconv_u16tou8()
467 lo = (((hi - UCONV_U16_HI_MIN) * UCONV_U16_BIT_SHIFT + in uconv_u16tou8()
470 hi = 0; in uconv_u16tou8()
471 } else if (hi) { in uconv_u16tou8()
507 if (hi) in uconv_u16tou8()
524 uint32_t hi; in uconv_u32tou16() local
555 hi = (inendian) ? u32s[u32l] : BSWAP_32(u32s[u32l]); in uconv_u32tou16()
562 if (hi > UCONV_UNICODE_MAX) in uconv_u32tou16()
569 if (hi >= UCONV_U16_START) { in uconv_u32tou16()
570 lo = ((hi - UCONV_U16_START) % UCONV_U16_BIT_SHIFT) + in uconv_u32tou16()
572 hi = ((hi - UCONV_U16_START) / UCONV_U16_BIT_SHIFT) + in uconv_u32tou16()
579 u16s[u16l++] = (uint16_t)hi; in uconv_u32tou16()
582 u16s[u16l++] = BSWAP_16(((uint16_t)hi)); in uconv_u32tou16()
588 u16s[u16l++] = (outendian) ? (uint16_t)hi : in uconv_u32tou16()
589 BSWAP_16(((uint16_t)hi)); in uconv_u32tou16()
675 uint32_t hi; in uconv_u8tou16() local
714 hi = (uint32_t)u8s[u8l++]; in uconv_u8tou16()
716 if (hi > UCONV_ASCII_MAX) { in uconv_u8tou16()
717 if ((remaining_bytes = remaining_bytes_tbl[hi]) == 0) in uconv_u8tou16()
720 first_b = hi; in uconv_u8tou16()
721 hi = hi & u8_masks_tbl[remaining_bytes]; in uconv_u8tou16()
742 hi = (hi << UCONV_U8_BIT_SHIFT) | in uconv_u8tou16()
747 if (hi >= UCONV_U16_START) { in uconv_u8tou16()
748 lo = ((hi - UCONV_U16_START) % UCONV_U16_BIT_SHIFT) + in uconv_u8tou16()
750 hi = ((hi - UCONV_U16_START) / UCONV_U16_BIT_SHIFT) + in uconv_u8tou16()
757 u16s[u16l++] = (uint16_t)hi; in uconv_u8tou16()
760 u16s[u16l++] = BSWAP_16(((uint16_t)hi)); in uconv_u8tou16()
767 u16s[u16l++] = (outendian) ? (uint16_t)hi : in uconv_u8tou16()
768 BSWAP_16(((uint16_t)hi)); in uconv_u8tou16()
786 uint32_t hi; in uconv_u8tou32() local
814 hi = (uint32_t)u8s[u8l++]; in uconv_u8tou32()
816 if (hi > UCONV_ASCII_MAX) { in uconv_u8tou32()
817 if ((remaining_bytes = remaining_bytes_tbl[hi]) == 0) in uconv_u8tou32()
820 first_b = hi; in uconv_u8tou32()
821 hi = hi & u8_masks_tbl[remaining_bytes]; in uconv_u8tou32()
838 hi = (hi << UCONV_U8_BIT_SHIFT) | in uconv_u8tou32()
846 u32s[u32l++] = (outendian) ? hi : BSWAP_32(hi); in uconv_u8tou32()