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(shgd->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;
648 location.hist_command = hline;
649 location.hist_line = hloff;
670 hline = location.hist_command; /* start at saved position */
671 hloff = location.hist_line;
673 location = hist_locate(shgd->hist_ptr,hline,hloff,count);
674 if (location.hist_command > histlines)
678 location.hist_command = histlines;
679 location.hist_line = ep->in_mult;
684 hline = location.hist_command;
685 hloff = location.hist_line;
688 location.hist_command = hline; /* save current position */
689 location.hist_line = hloff;
903 location.hist_command = histlines;
904 location.hist_line = ep->in_mult - 1;
908 location.hist_command = histlines - 1;
909 location.hist_line = 0;
1183 if ((hline != location.hist_command) ||
1184 (hloff != location.hist_line))
1187 strcat(hbuf, itos(location.hist_command));
1188 if (location.hist_line)
1191 strcat(hbuf, itos(location.hist_line+1));
1232 Histloc_t location;
1302 location = hist_find(shgd->hist_ptr,(char*)lstring,hline,1,direction);
1303 i = location.hist_command;
1308 hloff = location.hist_line = 0; /* display first line of multi line command */
1310 hloff = location.hist_line;
1322 location.hist_command = hline;
1323 location.hist_line = hloff;