Lines Matching refs:utf16len
315 uconv_u16tou32(const uint16_t *u16s, size_t *utf16len, in uconv_u16tou32() argument
330 if (u16s == NULL || utf16len == NULL) in uconv_u16tou32()
352 check_bom16(u16s, *utf16len, &inendian)) in uconv_u16tou32()
366 if (*utf16len > 0 && *utf32len > 0 && (flag & UCONV_OUT_EMIT_BOM)) in uconv_u16tou32()
376 for (; u16l < *utf16len; u16l++) { in uconv_u16tou32()
418 *utf16len = u16l; in uconv_u16tou32()
425 uconv_u16tou8(const uint16_t *u16s, size_t *utf16len, in uconv_u16tou8() argument
436 if (u16s == NULL || utf16len == NULL) in uconv_u16tou8()
450 check_bom16(u16s, *utf16len, &inendian)) in uconv_u16tou8()
455 for (; u16l < *utf16len; u16l++) { in uconv_u16tou8()
512 *utf16len = u16l; in uconv_u16tou8()
520 uint16_t *u16s, size_t *utf16len, int flag) in uconv_u32tou16() argument
533 if (u16s == NULL || utf16len == NULL) in uconv_u32tou16()
549 if (*utf32len > 0 && *utf16len > 0 && (flag & UCONV_OUT_EMIT_BOM)) in uconv_u32tou16()
577 if ((u16l + 1) >= *utf16len) in uconv_u32tou16()
588 if (u16l >= *utf16len) in uconv_u32tou16()
595 *utf16len = u16l; in uconv_u32tou16()
671 uint16_t *u16s, size_t *utf16len, int flag) in uconv_u8tou16() argument
686 if (u16s == NULL || utf16len == NULL) in uconv_u8tou16()
697 if (*utf8len > 0 && *utf16len > 0 && (flag & UCONV_OUT_EMIT_BOM)) in uconv_u8tou16()
755 if ((u16l + 1) >= *utf16len) in uconv_u8tou16()
766 if (u16l >= *utf16len) in uconv_u8tou16()
774 *utf16len = u16l; in uconv_u8tou16()