Home
last modified time | relevance | path

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

/titanic_44/usr/src/common/unicode/
H A Duconv.c281 check_bom16(const uint16_t *u16s, size_t u16l, int *in) in check_bom16() argument
284 if (*u16s == UCONV_BOM_NORMAL) { in check_bom16()
288 if (*u16s == UCONV_BOM_SWAPPED) { in check_bom16()
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()
377 if (u16s[u16l] == 0 && do_not_ignore_null) in uconv_u16tou32()
380 lo = (uint32_t)((inendian) ? u16s[u16l] : BSWAP_16(u16s[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()
[all …]