Lines Matching refs:lno
614 int lno = hist_source->line;
620 if (lno != hist_source->line)
834 int lno = 0, lines = 0;
848 lno = ((base[0] & 0xFF) << 24) | ((base[1] & 0xFF) << 16) |
852 if (histptr >= history && lno - 1 != s->line) {
856 if (lno >= s->line - (histptr - history) && lno <= s->line) {
857 hp = &histptr[lno - s->line];
863 s->line = lno--;
864 histsave(&lno, (char *)(base + 4), false, false);
882 writehistfile(int lno, const char *cmd)
912 lno = hist_source->line;
919 if (cmd && !writehistline(histfd, lno, cmd)) {
929 writehistline(int fd, int lno, const char *cmd)
935 hdr[1] = (lno >> 24) & 0xFF;
936 hdr[2] = (lno >> 16) & 0xFF;
937 hdr[3] = (lno >> 8) & 0xFF;
938 hdr[4] = lno & 0xFF;