Searched refs:utf16_src_length (Results 1 – 1 of 1) sorted by relevance
/third_party/libpsl/src/ |
D | psl.c | 692 int32_t utf16_src_length, bytes_written; in psl_idna_toASCII() local 695 u_strFromUTF8(utf16_src, countof(utf16_src_buf), &utf16_src_length, utf8, -1, &status); in psl_idna_toASCII() 698 if (utf16_src_length >= (int) countof(utf16_src_buf)) { in psl_idna_toASCII() 699 utf16_src = malloc((utf16_src_length + 1) * sizeof(UChar)); in psl_idna_toASCII() 702 u_strFromUTF8(utf16_src, utf16_src_length, NULL, utf8, -1, &status); in psl_idna_toASCII() 705 utf16_src[utf16_src_length] = 0; /* u_strFromUTF8() doesn't 0-terminate if dest is filled up */ in psl_idna_toASCII() 708 …utf16_dst_length = uidna_nameToASCII((UIDNA *)idna, utf16_src, utf16_src_length, utf16_dst, counto… in psl_idna_toASCII()
|