Lines Matching +defs:ind +defs:to
8 * This code is derived from software contributed to Berkeley by
20 * may be used to endorse or promote products derived from this software
94 * argv[2] = parameters to user-defined
143 * argc to avoid further checking..
403 * characters in the "to" string.
430 * doerrp - print the arguments to stderr
445 * dodnl - eat-up-to and including
662 * table to stderr. If nothing is specified, the entire
819 * dodivert - divert the output to a temporary file
855 int ind;
859 for (ind = 2; ind < argc; ind++) {
861 n = strtoi(argv[ind], NULL, 0, 1, INT_MAX, &e);
864 getdivfile(argv[ind]);
909 * This is a standard implementation of map(s,from,to) function of ICON
911 * the corresponding character in "to". If "to" is shorter than "from",
915 * `s' maps to `r', `r' maps to `n' and `n' maps to `*'. Thus, `s'
916 * ultimately maps to `*'. In order to achieve this effect in an efficient
920 * character (sch), sch becomes dch, once again to index into mapvec, until
924 * end, we restore mapvec* back to normal where mapvec[n] == n for
930 map(char *dest, const char *src, const char *from, const char *to)
964 to = handledash(tobis, tobis + 256, to);
969 * "to"
975 mapvec[sch] = *to;
977 if (*to)
978 to++;
1014 * use buffer to copy the src string, expanding character ranges