Lines Matching defs:location

146 #define location	ep->_location
196 location.hist_command = -5;
222 if (location.hist_command == -5) /* to be initialized */
225 location.hist_command = hline;
226 location.hist_line = hloff;
228 if (location.hist_command <= hismin) /* don't start below minimum */
230 location.hist_command = hismin + 1;
231 location.hist_line = 0;
264 location = hist_locate(sh.hist_ptr,location.hist_command,location.hist_line,1);
265 if (location.hist_command < histlines)
267 hline = location.hist_command;
268 hloff = location.hist_line;
636 location.hist_command = hline;
637 location.hist_line = hloff;
643 hline = location.hist_command; /* start at saved position */
644 hloff = location.hist_line;
646 location = hist_locate(sh.hist_ptr,hline,hloff,count);
647 if (location.hist_command > histlines)
651 location.hist_command = histlines;
652 location.hist_line = ep->in_mult;
657 hline = location.hist_command;
658 hloff = location.hist_line;
661 location.hist_command = hline; /* save current position */
662 location.hist_line = hloff;
876 location.hist_command = histlines;
877 location.hist_line = ep->in_mult - 1;
881 location.hist_command = histlines - 1;
882 location.hist_line = 0;
1127 if ((hline != location.hist_command) ||
1128 (hloff != location.hist_line))
1131 strcat(hbuf, itos(location.hist_command));
1132 if (location.hist_line)
1135 strcat(hbuf, itos(location.hist_line+1));
1176 Histloc_t location;
1244 location = hist_find(sh.hist_ptr,(char*)lstring,hline,1,direction);
1245 i = location.hist_command;
1250 hloff = location.hist_line = 0; /* display first line of multi line command */
1252 hloff = location.hist_line;
1264 location.hist_command = hline;
1265 location.hist_line = hloff;