Lines Matching refs:times
958 (defun view-search (times regexp)
984 (if end (goto-char (if (< times 0) (point-max) (point-min)))
985 (move-to-window-line (if (< times 0) 0 -1)))
986 (if (if no (view-search-no-match-lines times regexp)
987 (re-search-forward regexp nil t times))
1001 times (if no "no " "") regexp)
1004 (defun view-search-no-match-lines (times regexp)
1006 (let ((back (and (< times 0) (setq times (- times)) -1))
1008 (while (> times 0)
1009 (save-excursion (beginning-of-line (if back (- times) (1+ times)))
1011 (setq times
1013 ((< (count-lines (point) n) times) -1) ; Not enough lines.
1023 (and (zerop times) (looking-at "^.*$"))))