Searched refs:lookupname (Results 1 – 1 of 1) sorted by relevance
/third_party/libpsl/src/ |
D | psl.c | 687 char lookupname_buf[128] = "", *lookupname = lookupname_buf; in psl_idna_toASCII() local 711 …u_strToUTF8(lookupname, sizeof(lookupname_buf), &bytes_written, utf16_dst, utf16_dst_length, &stat… in psl_idna_toASCII() 715 lookupname = malloc(bytes_written + 1); in psl_idna_toASCII() 716 if (!lookupname) goto cleanup; in psl_idna_toASCII() 718 u_strToUTF8(lookupname, bytes_written, NULL, utf16_dst, utf16_dst_length, &status); in psl_idna_toASCII() 721 lookupname[bytes_written] = 0; /* u_strToUTF8() doesn't 0-terminate if dest is filled up */ in psl_idna_toASCII() 723 if (!(lookupname = strdup(lookupname))) in psl_idna_toASCII() 728 *ascii = lookupname; in psl_idna_toASCII() 729 lookupname = NULL; in psl_idna_toASCII() 735 if (lookupname != lookupname_buf) in psl_idna_toASCII() [all …]
|