Home
last modified time | relevance | path

Searched refs:lbool (Results 1 – 25 of 35) sorted by relevance

12

/freebsd/contrib/less/
H A Dfuncs.h9 public lbool secure_allow(unsigned int features);
10 public void raw_mode(lbool on);
23 public lbool interactive(void);
44 public lbool is_at_equiv(int attr1, int attr2);
50 public lbool win32_kbhit2(char *pch);
51 public lbool win32_kbhit(void);
56 public void match_brac(char obrac, char cbrac, lbool forwdir, int n);
71 public lbool seekable(int f);
76 …nt char *s, constant char **fmtvarptr, int *attrptr, constant char *default_fmt, lbool for_printf);
78 public lbool binary_char(LWCHAR c);
[all …]
H A Dforwback.c19 extern lbool less_is_more;
21 public lbool squished;
22 public lbool no_back_scroll = FALSE;
23 public lbool forw_prompt;
24 public lbool first_time = TRUE; /* We're printing the first screen of output */
36 extern lbool plusoption;
39 extern lbool ignore_eoi;
42 extern lbool full_screen;
46 extern lbool getting_one_screen;
78 public lbool eof_displayed(lbool offset) in eof_displayed()
[all …]
H A Dinput.c83 …ine_seg(POSITION curr_pos, lbool skipeol, lbool rscroll, lbool nochop, lbool full_pad, lbool rforw… in forw_line_seg()
89 lbool blankline; in forw_line_seg()
90 lbool endline; in forw_line_seg()
91 lbool chopped; in forw_line_seg()
94 lbool skipped_leading; in forw_line_seg()
346 public POSITION forw_line(POSITION curr_pos, POSITION *p_linepos, lbool *p_newline) in forw_line()
358 public POSITION back_line(POSITION curr_pos, POSITION *p_linepos, lbool *p_newline) in back_line()
365 lbool endline; in back_line()
366 lbool chopped; in back_line()
369 lbool skipped_leading; in back_line()
H A Doption.c24 public lbool plusoption = FALSE;
27 static int flip_triple(int val, lbool lc);
29 extern lbool less_is_more;
64 public void scan_option(constant char *s, lbool is_env) in scan_option()
71 lbool set_default; in scan_option()
72 lbool lc; in scan_option()
194 lbool ambig = FALSE; in scan_option()
319 public lbool toggle_option(struct loption *o, lbool lower, constant char *s, int how_toggle) in toggle_option()
505 static int flip_triple(int val, lbool lc) in flip_triple()
516 public lbool opt_has_param(constant struct loption *o) in opt_has_param()
[all …]
H A Ddecode.c45 …id add_content_table(int (*call_lesskey)(constant char *, lbool), constant char *envname, lbool sy…
46 …table(int (*call_lesskey)(constant char *, lbool), constant char *envname, constant char *def_file…
661 static int mouse_button_left(int x, int y, lbool down, lbool drag) in mouse_button_left()
724 static int mouse_button_right(int x, int y, lbool down, lbool drag) in mouse_button_right()
764 static int x11mouse_button(int btn, int x, int y, lbool down, lbool drag) in x11mouse_button()
781 static int x11mouse_action(lbool skip) in x11mouse_action()
786 lbool drag = ((b & X11MOUSE_DRAG) != 0); in x11mouse_action()
816 static int x116mouse_action(lbool skip) in x116mouse_action()
821 lbool drag = ((b & X11MOUSE_DRAG) != 0); in x116mouse_action()
842 lbool down = (ch == 'M'); in x116mouse_action()
[all …]
H A Dmain.c31 public lbool new_file;
32 public lbool is_tty;
40 public lbool quitting = FALSE;
41 public lbool dohelp = FALSE;
48 public lbool force_logfile = FALSE;
71 public lbool one_screen;
72 extern lbool less_is_more;
73 extern lbool missing_cap;
80 extern lbool first_time;
81 extern lbool term_init_ever;
[all …]
H A Dos.c48 static lbool use_poll = TRUE;
54 static lbool any_data = FALSE;
80 static lbool reading;
81 static lbool opening;
82 public lbool waiting_for_data;
83 public lbool getting_one_screen = FALSE;
94 extern lbool ignore_eoi;
99 extern lbool is_tty;
101 extern lbool one_screen;
181 public lbool ttyin_ready(void) in ttyin_ready()
[all …]
H A Dcommand.c26 extern lbool one_screen;
30 extern lbool kent_mapped;
33 extern lbool quitting;
36 extern lbool ignore_eoi;
41 extern lbool less_is_more;
53 extern lbool search_wrapped;
55 extern lbool pasting;
57 extern lbool read_error;
61 extern lbool prompting;
72 extern lbool forw_prompt;
[all …]
H A Doutput.c24 public lbool prompting = FALSE;
25 static lbool need_clr = FALSE;
30 extern lbool is_tty;
38 extern lbool term_init_ever;
57 public void put_line_hilite(lbool forw_scroll, lbool target) in put_line_hilite()
62 lbool empty_line = TRUE; in put_line_hilite()
106 public void put_line(lbool forw_scroll) in put_line()
275 static lbool is_ansi_end_0(char c) in is_ansi_end_0()
310 static lbool sgr_bad_sync; in win_flush()
472 public void set_output(int fd, lbool no_term_init) in set_output()
[all …]
H A Dcharset.c308 static int icharset(constant char *name, lbool no_error) in icharset()
373 …ant char *s, constant char **fmtvarptr, int *attrptr, constant char *default_fmt, lbool for_printf) in setfmt()
502 public lbool binary_char(LWCHAR c) in binary_char()
514 public lbool control_char(LWCHAR c) in control_char()
612 public lbool is_utf8_well_formed(constant char *ssa, int slen) in is_utf8_well_formed()
859 static lbool is_in_table(LWCHAR ch, struct wchar_range_table *table) in is_in_table()
885 static lbool not_user_defined(LWCHAR ch, struct wchar_range_table *tbl1, struct wchar_range_table *… in not_user_defined()
897 public lbool is_composing_char(LWCHAR ch) in is_composing_char()
909 public lbool is_ubin_char(LWCHAR ch) in is_ubin_char()
922 public lbool is_wide_char(LWCHAR ch) in is_wide_char()
[all …]
H A Dch.c25 public lbool ignore_eoi = FALSE;
26 public lbool read_error = FALSE;
120 static lbool ch_have_ungotchar = FALSE;
126 extern lbool waiting_for_data;
225 lbool read_again; in ch_get()
228 lbool read_pipe_at_eof = FALSE; in ch_get()
421 static lbool tried = FALSE; in end_logfile()
450 lbool warned = FALSE; in sync_logfile()
460 lbool wrote = FALSE; in sync_logfile()
485 static lbool buffered(BLOCKNUM block) in buffered()
[all …]
H A Dcmdbuf.c26 extern lbool marks_modified;
28 public lbool pasting = FALSE;
35 static lbool literal; /* Next input char should not be interpreted */
37 static lbool have_updown_match = FALSE;
39 static lbool insert_mode = TRUE;
46 static lbool in_completion = FALSE;
78 lbool modified;
193 public lbool cmdbuf_empty(void) in cmdbuf_empty()
759 public void cmd_addhist(struct mlist *mlist, constant char *cmd, lbool modified) in cmd_addhist()
843 static int cmd_edit(char c, lbool stay_in_completion) in cmd_edit()
[all …]
H A Dsearch.c49 extern lbool squished;
50 extern lbool can_goto_line;
51 static lbool hide_hilite;
56 public lbool search_wrapped = FALSE;
101 lbool red;
135 lbool is_ucase_pattern;
151 static lbool is_ucase(constant char *str) in is_ucase()
252 static lbool prev_pattern(struct pattern_info *info) in prev_pattern()
275 public void repaint_hilite(lbool on) in repaint_hilite()
279 lbool save_hide_hilite; in repaint_hilite()
[all …]
H A Dline.c56 static lbool ansi_in_line;
73 static lbool is_null_line; /* There is no current line */
81 static lbool in_osc8_link;
82 static lbool in_hilite;
83 static lbool clear_after_line;
241 public lbool is_ascii_char(LWCHAR ch) in is_ascii_char()
266 public lbool is_line_contig_pos(POSITION pos) in is_line_contig_pos()
293 public void prewind(lbool contig) in prewind()
646 public lbool is_ansi_end(LWCHAR ch) in is_ansi_end()
656 public lbool is_ansi_middle(LWCHAR ch) in is_ansi_middle()
[all …]
H A Dposition.c63 public void add_forw_pos(POSITION pos, lbool no_scroll) in add_forw_pos()
150 public lbool empty_screen(void) in empty_screen()
155 public lbool empty_lines(int s, int e) in empty_lines()
318 public void pos_rehead(lbool adj_hshift) in pos_rehead()
H A Dscreen.c172 extern lbool quitting;
285 static lbool term_init_done = FALSE;
286 public lbool term_init_ever = FALSE;
299 public lbool can_goto_line; /* Can move cursor to any line */
300 public lbool missing_cap = FALSE; /* Some capability is missing */
302 public lbool kent_mapped = FALSE; /* Keypad ENTER is mapped to a command */
303 public lbool term_addrs = FALSE; /* "ti" has been sent to terminal */
304 public lbool full_screen = TRUE; /* We're using all lines of terminal */
308 extern lbool one_screen;
313 extern lbool no_back_scroll;
[all …]
H A Dfilename.c130 static lbool metachar(char c) in metachar()
138 static lbool must_quote(char c) in must_quote()
152 lbool use_quotes = FALSE; in shell_quoten()
191 lbool have_quotes = FALSE; in shell_quoten()
275 public char * dirfile(constant char *dirname, constant char *filename, lbool must_exist) in dirfile()
374 lbool expand = FALSE; in fexpand_copy()
505 public lbool bin_file(int f, ssize_t *n) in bin_file()
823 public lbool is_fake_pathname(constant char *path) in is_fake_pathname()
1060 public lbool is_dir(constant char *filename) in is_dir()
1062 lbool isdir = FALSE; in is_dir()
[all …]
H A Dlang.h42 typedef enum lbool { LFALSE, LTRUE } lbool; enum
H A Dxbuf.c129 static lbool help_fixup(void *r, uintmax val, int rsize, int rsigned) in help_fixup()
194 public lbool help_ckd_add(void *r, uintmax a, uintmax b, int rsize, int rsigned) in help_ckd_add()
201 public lbool help_ckd_mul(void *r, uintmax a, uintmax b, int rsize, int rsigned) in help_ckd_mul()
H A Doptfunc.c33 extern lbool plusoption;
37 extern lbool dohelp;
61 extern lbool less_is_more;
85 extern lbool force_logfile;
95 extern lbool is_tty;
176 static void toggle_fraction(int *num, long *frac, constant char *s, constant char *printopt, lbool in toggle_fraction()
775 lbool v = FALSE; in set_tabs()
985 lbool was_mouse_enabled = (emouse != 0); in opt_emouse()
1198 static lbool next_cnum(constant char **sp, constant char *printopt, mutable int *p_num) in next_cnum()
1222 static lbool parse_header(constant char *s, int *lines, int *cols, POSITION *start_pos) in parse_header()
[all …]
H A Dpattern.c234 public lbool is_null_pattern(PATTERN_TYPE pattern) in is_null_pattern()
303 static lbool match_pattern1(PATTERN_TYPE pattern, constant char *tpattern, constant char *line, siz… in match_pattern1()
453 static lbool subsearch_ok(constant char **sp, constant char **ep, int *subsearch) in subsearch_ok()
470 public lbool match_pattern(PATTERN_TYPE pattern, constant char *tpattern, constant char *line, size… in match_pattern()
476lbool matched = match_pattern1(pattern, tpattern, line, line_len, line_off, sp, ep, nsp, notbol, s… in match_pattern()
H A Djump.c19 extern lbool squished;
24 extern lbool one_screen;
25 extern lbool full_screen;
H A Dprompt.c24 extern lbool new_file;
30 extern lbool less_is_more;
102 static void ap_estr(constant char *s, lbool nprt) in ap_estr()
209 static lbool cond(char c, int where) in cond()
H A Dedit.c25 extern lbool new_file;
28 extern lbool is_tty;
34 extern lbool read_error;
67 lbool meta_quoted = FALSE; in init_textlist()
68 lbool delim_quoted = FALSE; in init_textlist()
175 lbool esc = FALSE; in modeline_option_len()
H A Dtags.c72 lbool tag_endline; /* True if the pattern includes '$' */
114 static struct tag * maketagent(constant char *file, LINENUM linenum, constant char *pattern, lbool in maketagent()
263 lbool tagendline; in findctag()
419 lbool found; in ctagsearch()

12