Home
last modified time | relevance | path

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

/illumos-gate/usr/src/common/unicode/
H A Duconv.c279 check_bom16(const uint16_t *u16s, size_t u16l, int *in) in check_bom16() argument
282 if (*u16s == UCONV_BOM_NORMAL) { in check_bom16()
286 if (*u16s == UCONV_BOM_SWAPPED) { in check_bom16()
313 uconv_u16tou32(const uint16_t *u16s, size_t *utf16len, in uconv_u16tou32() argument
328 if (u16s == NULL || utf16len == NULL) in uconv_u16tou32()
350 check_bom16(u16s, *utf16len, &inendian)) in uconv_u16tou32()
375 if (u16s[u16l] == 0 && do_not_ignore_null) in uconv_u16tou32()
378 lo = (uint32_t)((inendian) ? u16s[u16l] : BSWAP_16(u16s[u16l])); in uconv_u16tou32()
423 uconv_u16tou8(const uint16_t *u16s, size_t *utf16len, in uconv_u16tou8() argument
434 if (u16s == NULL || utf16len == NULL) in uconv_u16tou8()
[all …]