Lines Matching defs:to

4  * The contents of this file are subject to the terms of the
24 * Use is subject to license terms.
34 * captoinfo - convert a termcap description to a terminfo description
51 #define trace stderr /* send trace messages to stderr */
59 "pt", /* Has hardware tabs (may need to be set with "is") */
132 static char *buflongname; /* place to copy the long names */
461 * Someday I'll redo this to use bsearch().
529 (void) fprintf(trace, "changing value for %s to %d.\n",
556 (void) fprintf(trace, "changing value for %s to %d.\n",
584 (void) fprintf(trace, "changing value for %s to ", infoname);
620 /* Is there padding to add? */
622 /* Is there a string to add it to? */
718 /* add the value to our database */
885 /* cr was assumed to be ^M, unless nc was given, */
895 /* cursor down was assumed to be ^J if not specified by nl */
902 /* ind was assumed to be ^J, unless ns was given, */
910 /* bel was assumed to be ^G */
922 /* default xon to true */
968 #define caddch(x) *to++ = (x)
971 * add the string to the string table
974 caddstr(char *to, char *str)
977 *to++ = *str++;
978 return (to);
982 /* then we do not need to copy the string. */
1006 * the registers. We don't want to do this in the general case because of the
1018 /* the stack, so we only have to do */
1044 * Change old style of doing calculations to the new stack style.
1052 char *from, *to = nextstring;
1067 strval[uselevel][i] = to;
1075 saveto = to;
1076 to = padding;
1077 to = caddstr(to, "$<");
1084 to = saveto;
1089 to = caddstr(to, "%p1%Pa%p2%Pb");
1132 to = caddstr(to, "%g");
1138 to = caddstr(to, "%p");
1148 to = caddstr(to, "%c");
1151 to = caddstr(to, "%d");
1166 to = caddstr(to, "%'");
1168 to = caddstr(to,
1172 to = caddstr(to,
1175 to = caddstr(to,
1178 to = caddstr(to,
1183 to = caddstr(to,
1189 to = caddstr(to,
1205 to = caddstr(to,
1207 to = caddstr(to,
1217 to = caddstr(to, padding);
1226 nextstring = to;
1317 (void) fprintf(trace, "changing cap to info, TERM=%s.\n",
1345 #include <signal.h> /* use this file to determine if this is SVR4.0 system */
1396 /* Look at the current line to see if it is a list of names. */
1399 /* are copied to standard output. */
1465 * Sort a name and code table pair according to the name table.
1467 * At least I only have to do it once for each table.
1576 /* fake out the modules in print.c so we don't have to load in */