Lines Matching refs:hp
44 register History_t *hp;
61 hp = shp->gd->hist_ptr;
87 if((flag = hist_max(hp) - opt_info.num-1) < 0)
105 hist_cancel(hp);
141 range[flag] += (hist_max(hp)-1);
147 location = hist_find(hp,argv[1],hist_max(hp)-1,0,-1);
157 flag = hist_max(hp)-16;
162 flag = hist_max(hp)-2;
166 index2 = hist_min(hp);
171 range[1] = ((lflag && !edit)?hist_max(hp)-1:range[0]);
172 if(range[1]>=(flag=(hist_max(hp) - !lflag)))
215 hist_eof(hp);
255 hist_cancel(hp);