Lines Matching refs:from
16 * license is obtained from Japan Network Information Center ("JPNIC"),
34 * derived from this Software without specific prior written approval of
96 static idn_result_t race_decode_decompress(const char *from,
106 const char *from, unsigned long *to, size_t tolen) {
115 TRACE(("idn__race_decode(from=\"%s\", tolen=%d)\n",
116 idn__debug_xstring(from, 50), (int)tolen));
118 if (!idn__util_asciihaveaceprefix(from, IDN_RACE_PREFIX)) {
119 if (*from == '\0') {
120 r = idn_ucs4_utf8toucs4(from, to, tolen);
126 from += prefixlen;
127 fromlen = strlen(from);
142 r = race_decode_decompress(from, buf, buflen);
170 race_decode_decompress(const char *from, unsigned short *buf, size_t buflen)
178 while (*from != '\0') {
179 int c = *from++;
245 const unsigned long *from, char *to, size_t tolen) {
256 TRACE(("idn__race_encode(from=\"%s\", tolen=%d)\n",
257 idn__debug_ucs4xstring(from, 50), (int)tolen));
259 if (*from == '\0') {
260 r = idn_ucs4_ucs4toutf8(from, to, tolen);
262 } else if (idn__util_ucs4haveaceprefix(from, IDN_RACE_PREFIX)) {
275 fromlen = idn_ucs4_strlen(from);
292 r = idn_ucs4_ucs4toutf16(from, buf + 1, buflen - 1);