Lines Matching refs:to
15 * along with this program; if not, write to the Free Software
223 * Probably on most architectures this compiles to less than 256 bytes
255 * Probably on most architectures this compiles to less than 256 bytes
291 struct inverse_map *to;
333 struct inverse_map *to;
337 to = (struct inverse_map *)malloc(sizeof(struct inverse_map));
338 if (!to)
341 to->first[i] = to->next[i] = used[i] = 0;
345 to->next[i] = to->first[k];
346 to->first[k] = i;
352 if (!to->next[i])
357 to->first[j] = i;
359 return to;
374 if (1) /* Change 1 to 0 to test the case where malloc fails. */
375 if (!map->to)
376 map->to = make_inverse_map(map->from);
378 if (map->to) {
380 i = map->to->first[HASH(wc)];
386 if (!(i = map->to->next[i]))
463 map->to = 0; /* inverse mapping is created when required */
474 * Function to convert a buffer from one encoding to another.
478 * The output buffer is null-terminated, so it is all right to
484 char **to, size_t *tolen)
522 if (to) {
524 *to = newbuf ? newbuf : tobuf;