Lines Matching defs:from
14 * license is obtained from Japan Network Information Center ("JPNIC"),
32 * derived from this Software without specific prior written approval of
70 char *from, char *to, int tolen)
81 r = idn_selectiveencode_findregion(from, ®ion_start,
87 if (tolen <= strlen(from))
89 (void)strcpy(to, from);
102 len = region_start - from;
108 (void)memcpy(to, from, len);
135 from = region_end;
141 char *from, char *to, int tolen)
150 * While `*from' points to a character in a string which may be
160 * While `*from' points to a character in such a chunk,
166 if (*from == '-') {
171 if (*(from - 1) == '.') {
176 ignored_chunk = from;
179 } else if (*from == '.') {
185 if (*(from - 1) == '-' || *(from - 1) == '.') {
190 ignored_chunk = from;
193 } else if (('a' <= *from && *from <= 'z') ||
194 ('A' <= *from && *from <= 'Z') ||
195 ('0' <= *from && *from <= '9')) {
197 domain_name = from;
202 * `from' reaches the end of the ignored chunk.
205 len = from - ignored_chunk;
214 * `from' reaches the end of the domain name.
218 save = *from;
219 *from = '\0';
222 *from = save;
227 len = from - domain_name;
239 * Copy a character `*from' to `to'.
243 *to = *from;
250 if (*from == '\0')
254 from++;
540 * Read a line from FP.