Home
last modified time | relevance | path

Searched refs:NULL_IFILE (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/less/
H A Dedit.c341 if (curr_ifile != NULL_IFILE && get_altfilename(curr_ifile) != NULL) in check_altpipe_error()
353 if (curr_ifile == NULL_IFILE) in close_file()
381 curr_ifile = NULL_IFILE; in close_file()
395 return (edit_ifile(NULL_IFILE)); in edit()
462 if (curr_ifile != NULL_IFILE) in edit_ifile()
476 if (ifile == NULL_IFILE) in edit_ifile()
606 if (was_curr_ifile != NULL_IFILE) in edit_ifile()
745 curr_ifile = NULL_IFILE; in edit_first()
754 curr_ifile = NULL_IFILE; in edit_last()
777 if (next == NULL_IFILE) in edit_istep()
[all …]
H A Difile.c133 if (h == NULL_IFILE) in del_ifile()
156 p = (h == NULL_IFILE) ? &anchor : int_ifile(h); in next_ifile()
158 return (NULL_IFILE); in next_ifile()
169 p = (h == NULL_IFILE) ? &anchor : int_ifile(h); in prev_ifile()
171 return (NULL_IFILE); in prev_ifile()
182 if ((newifile = prev_ifile(ifile)) != NULL_IFILE) in getoff_ifile()
184 if ((newifile = next_ifile(ifile)) != NULL_IFILE) in getoff_ifile()
186 return (NULL_IFILE); in getoff_ifile()
H A Dmain.c25 public IFILE curr_ifile = NULL_IFILE;
26 public IFILE old_ifile = NULL_IFILE;
192 ifile = NULL_IFILE; in main()
217 ifile = prev_ifile(NULL_IFILE); in main()
222 ifile = prev_ifile(NULL_IFILE); in main()
H A Dmark.c79 cmark(&marks[i], NULL_IFILE, NULL_POSITION, -1); in init_mark()
99 if (m->m_ifile != NULL_IFILE) in mark_get_ifile()
101 mark_set_ifile(m, get_ifile(m->m_filename, prev_ifile(NULL_IFILE))); in mark_get_ifile()
423 cmark(m, NULL_IFILE, pos, ln); in restore_mark()
H A Dprompt.c220 return (next_ifile(curr_ifile) != NULL_IFILE); in cond()
369 if (h != NULL_IFILE) in protochar()
H A Dfilename.c303 (c) == '#' ? old_ifile : NULL_IFILE) in fexpand()
329 if (ifile == NULL_IFILE) in fexpand()
363 if (ifile == NULL_IFILE) in fexpand()
H A Dcommand.c840 next_ifile(curr_ifile) == NULL_IFILE) in prompt()
848 next_ifile(curr_ifile) == NULL_IFILE) in prompt()
1611 if (curr_ifile != NULL_IFILE && in commands()
1896 if (new_ifile == NULL_IFILE) in commands()
H A Dlsystem.c91 (void) edit_ifile(NULL_IFILE); in lsystem()
H A Dless.h313 #define NULL_IFILE ((IFILE)NULL) macro