Searched defs:gl (Results 1 - 15 of 15) sorted by relevance

/illumos-gate/usr/src/common/ficl/
H A Dmain.c91 GetLine *gl; local
130 if ((gl = new_GetLine(LINELEN, HISTORY)) == NULL) {
136 if ((buffer = gl_get_line(gl, prompt(), NULL, -1)) == NULL)
141 gl = del_GetLine(gl);
/illumos-gate/usr/src/cmd/ypcmd/revnetgroup/
H A Dgetgroup.c72 struct grouplist *gl; local
74 for (gl = grouplist; gl != NULL; gl = gl->gl_nxt) {
75 FREE(gl->gl_name);
76 FREE(gl->gl_domain);
77 FREE(gl->gl_machine);
78 FREE(gl);
/illumos-gate/usr/src/uts/sun4v/os/
H A Dmach_trap.c169 uint32_t gl, ccr, asi, cwp, pstate; local
175 gl = (tstate >> TSTATE_GL_SHIFT) & TSTATE_GL_MASK;
180 printf(" %%gl: %02x %%ccr: %02x %%asi: %02x %%cwp: %x "
181 "%%pstate: %b\n", gl, ccr, asi, cwp, pstate, PSTATE_BITS);
192 printf(" %%gl: %02" PRIx64 "\n", pgp->ptl1_gl);
/illumos-gate/usr/src/cmd/enhance/
H A Denhance.c117 static int pty_stop_parent(int waserr, int cntrl, GetLine *gl, char *rbuff);
419 GetLine *gl = NULL; /* The gl_get_line() resource object */ local
425 gl = new_GetLine(PTY_MAX_LINE, PTY_HIST_SIZE);
426 if(!gl)
427 return pty_stop_parent(1, cntrl, gl, rbuff);
434 return pty_stop_parent(1, cntrl, gl, rbuff);
440 if(gl_watch_fd(gl, cntrl, GLFD_READ, pty_read_from_program, rbuff))
441 return pty_stop_parent(1, cntrl, gl, rbuff);
446 while((line=gl_get_line(gl, rbuff, NULL, 0))) {
448 return pty_stop_parent(1, cntrl, gl, rbuf
472 pty_stop_parent(int waserr, int cntrl, GetLine *gl, char *rbuff) argument
[all...]
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/
H A Dsafestore_ram.c556 static ss_centry_info_impl_t *gl; local
582 gl = ss_ram_config.sn_gl_centry_info;
586 wentry->wc_gl_info = gl++;
/illumos-gate/usr/src/lib/krb5/ss/
H A Dlisten.c142 GetLine *gl; local
161 gl = new_GetLine(MAX_LINE_LEN, MAX_HIST_LEN);
162 if (gl == NULL) {
179 gl = del_GetLine(gl);
186 if (gl_customize_completion(gl, &commands, cmdmatch) != 0 ) {
191 gl = del_GetLine(gl);
229 if (gl_trap_signal(gl, SIGINT, GLS_DONT_FORWARD, GLS_ABORT, NULL)) {
253 input = gl_get_line(gl, inf
[all...]
/illumos-gate/usr/src/cmd/sgs/elfedit/common/
H A D_elfedit.h180 GetLine *gl; /* getline object */ member in struct:__anon1464::__anon1470
/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dgetnetgrent.c140 struct grouplist *gl; local
143 for (gl = be->all_members; gl != NULL; gl = next) {
146 next = gl->gl_nxt;
148 if (gl->triple[i] != 0) {
149 free(gl->triple[i]);
152 free(gl);
517 struct grouplist *gl; local
520 if ((gl
[all...]
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dengine.c162 const sopno gl = g->laststate; local
258 endp = fast(m, start, stop, gf, gl);
274 endp = slow(m, m->coldp, stop, gf, gl);
297 dp = dissect(m, m->coldp, endp, gf, gl);
308 dp = backref(m, m->coldp, endp, gf, gl, (sopno)0, 0);
320 endp = slow(m, m->coldp, endp-1, gf, gl);
331 dp = backref(m, m->coldp, endp, gf, gl, (sopno)0, 0);
/illumos-gate/usr/src/lib/libc/port/regex/
H A Dglob.c1285 glob_t gl; local
1290 (void) memset(&gl, 0, sizeof (gl));
1297 gl.gl_pathc = pglob->gl_pathc;
1298 gl.gl_pathv = pglob->gl_pathv;
1299 gl.gl_offs = pglob->gl_offs;
1300 gl.gl_pathp = pglob->gl_pathp;
1301 gl.gl_pathn = pglob->gl_pathn;
1303 rv = _glob_ext(pattern, flags, errfunc, &gl);
1309 pglob->gl_pathc = gl
1322 glob_t gl; local
[all...]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_xdr.c1250 uint_t *group_length, gl; local
1257 if (!xdr_u_int(xdrs, &gl))
1261 if (pug && gl <= MAX_OG_NAME) {
1263 *group_length = gl;
1265 group_length = &gl;
1313 if (pug && gl <= MAX_OG_NAME) {
1861 uint_t *group_length, gl; local
1867 gl = IXDR_GET_U_INT32(ptr);
1870 if (pug && gl <= MAX_OG_NAME) {
1872 *group_length = gl;
[all...]
/illumos-gate/usr/src/lib/libipsecutil/common/
H A Dipsec_util.c76 static GetLine *gl = NULL; /* for interactive mode */ variable
618 if (gl == NULL) {
619 if ((gl = new_GetLine(MAX_LINE_LEN,
624 if (gl_customize_completion(gl, NULL,
626 (void) del_GetLine(gl);
648 if (gl != NULL)
649 (void) del_GetLine(gl);
670 line = gl_get_line(gl, prompt, NULL, -1);
671 if (gl_return_status(gl) == GLR_SIGNAL) {
672 gl_abandon_line(gl);
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/
H A Dnwamcfg.c328 static GetLine *gl; variable
997 line = gl_get_line(gl, prompt, NULL, -1);
998 if (gl_return_status(gl) == GLR_SIGNAL) {
999 gl_abandon_line(gl);
4319 if ((gl = new_GetLine(MAX_LINE_LEN, MAX_CMD_HIST)) == NULL)
4321 if (gl_customize_completion(gl, NULL, cmd_cpl_fn) != 0)
4335 (void) del_GetLine(gl);
/illumos-gate/usr/src/cmd/zonecfg/
H A Dzonecfg.c605 static GetLine *gl; /* The gl_get_line() resource object */ variable
7332 line = gl_get_line(gl, prompt, NULL, -1);
7333 if (gl_return_status(gl) == GLR_SIGNAL) {
7334 gl_abandon_line(gl);
7601 if ((gl = new_GetLine(MAX_LINE_LEN, MAX_CMD_HIST)) == NULL)
7603 if (gl_customize_completion(gl, NULL, cmd_cpl_fn) != 0)
7617 (void) del_GetLine(gl);
/illumos-gate/usr/src/lib/libtecla/common/
H A Dgetline.c292 static int gl_call_fd_handler(GetLine *gl, GlFdHandler *gfh, int fd,
295 static int gl_call_timeout_handler(GetLine *gl);
417 int ntotal; /* The number of characters in gl->line[] */
418 int buff_curpos; /* The cursor position within gl->line[] */
427 /* the current contents of gl->line[] */
649 static int gl_check_caught_signal(GetLine *gl);
655 static void gl_suspend_process(int signo, GetLine *gl, int ngl);
678 static void gl_query_size(GetLine *gl, int *ncolumn, int *nline);
684 static int gl_override_signal_handlers(GetLine *gl);
690 static int gl_restore_signal_handlers(GetLine *gl);
1726 GetLine *gl; /* The object to be returned */ local
2044 del_GetLine(GetLine *gl) argument
2114 gl_bind_control_char(GetLine *gl, KtBinder binder, char c, const char *action) argument
2166 gl_get_line(GetLine *gl, const char *prompt, const char *start_line, int start_pos) argument
2198 _gl_get_line(GetLine *gl, const char *prompt, const char *start_line, int start_pos) argument
2327 gl_query_char(GetLine *gl, const char *prompt, char defchar) argument
2357 _gl_query_char(GetLine *gl, const char *prompt, char defchar) argument
2482 gl_override_signal_handlers(GetLine *gl) argument
2547 gl_restore_signal_handlers(GetLine *gl) argument
2589 gl_raw_terminal_mode(GetLine *gl) argument
2662 gl_restore_terminal_attributes(GetLine *gl) argument
2701 gl_nonblocking_io(GetLine *gl, int fd) argument
2737 gl_blocking_io(GetLine *gl, int fd) argument
2779 gl_get_input_line(GetLine *gl, const char *prompt, const char *start_line, int start_pos) argument
2863 gl_get_query_char(GetLine *gl, const char *prompt, int defchar) argument
2952 gl_add_char_to_line(GetLine *gl, char c) argument
3069 gl_add_string_to_line(GetLine *gl, const char *s) argument
3133 gl_read_terminal(GetLine *gl, int keep, char *c) argument
3210 gl_read_input(GetLine *gl, char *c) argument
3303 gl_read_unmasked(GetLine *gl, int fd, char *c) argument
3345 gl_discard_chars(GetLine *gl, int nused) argument
3367 gl_check_caught_signal(GetLine *gl) argument
3505 gl_control_strings(GetLine *gl, const char *term) argument
3668 gl_tigetstr(GetLine *gl, const char *name) argument
3698 gl_tgetstr(GetLine *gl, const char *name, char **bufptr) argument
3786 gl_displayed_tab_width(GetLine *gl, int term_curpos) argument
3807 gl_displayed_char_width(GetLine *gl, char c, int term_curpos) argument
3834 gl_displayed_string_width(GetLine *gl, const char *string, int nc, int term_curpos) argument
3873 gl_print_raw_string(GetLine *gl, int buffered, const char *string, int n) argument
3917 gl_print_control_sequence(GetLine *gl, int nline, const char *string) argument
3962 gl_terminal_move_cursor(GetLine *gl, int n) argument
4073 gl_print_char(GetLine *gl, char c, char pad) argument
4160 gl_print_string(GetLine *gl, const char *string, char pad) argument
4181 gl_set_term_curpos(GetLine *gl, int term_curpos) argument
4353 gl_delete_chars(GetLine *gl, int nc, int cut) argument
4564 gl_delete_find(GetLine *gl, int count, char c, int forward, int onto, int change) argument
5136 gl_query_size(GetLine *gl, int *ncolumn, int *nline) argument
5168 _gl_update_size(GetLine *gl) argument
5193 gl_handle_tty_resize(GetLine *gl, int ncolumn, int nline) argument
5797 gl_customize_completion(GetLine *gl, void *data, CplMatchFn *match_fn) argument
5841 gl_change_terminal(GetLine *gl, FILE *input_fp, FILE *output_fp, const char *term) argument
5874 _gl_change_terminal(GetLine *gl, FILE *input_fp, FILE *output_fp, const char *term) argument
6014 gl_bind_terminal_keys(GetLine *gl) argument
6169 _gl_bind_arrow_keys(GetLine *gl) argument
6202 _gl_rebind_arrow_key(GetLine *gl, const char *name, const char *term_seq, const char *def_seq1, const char *def_seq2) argument
6251 _gl_read_config_file(GetLine *gl, const char *filename, KtBinder who) argument
6319 _gl_read_config_string(GetLine *gl, const char *buffer, KtBinder who) argument
6370 _gl_parse_config_line(GetLine *gl, void *stream, GlcGetcFn *getc_fn, const char *origin, KtBinder who, int *lineno) argument
6536 gl_report_config_error(GetLine *gl, const char *origin, int lineno, const char *errmsg) argument
6662 gl_revert_input(GetLine *gl) argument
6835 gl_flush_output(GetLine *gl) argument
6870 GetLine *gl = (GetLine *) data; local
6929 gl_change_editor(GetLine *gl, GlEditor editor) argument
7365 gl_find_char(GetLine *gl, int count, int forward, int onto, char c) argument
7489 gl_nth_word_end_forward(GetLine *gl, int n) argument
7540 gl_nth_word_start_forward(GetLine *gl, int n) argument
7579 gl_nth_word_start_backward(GetLine *gl, int n) argument
7681 gl_copy_find(GetLine *gl, int count, char c, int forward, int onto) argument
7776 gl_place_cursor(GetLine *gl, int buff_curpos) argument
7808 gl_save_for_undo(GetLine *gl) argument
8009 gl_vi_command_mode(GetLine *gl) argument
8105 gl_index_of_matching_paren(GetLine *gl) argument
8183 gl_interpret_char(GetLine *gl, char first_char) argument
8393 gl_configure_getline(GetLine *gl, const char *app_string, const char *app_file, const char *user_file) argument
8426 _gl_configure_getline(GetLine *gl, const char *app_string, const char *app_file, const char *user_file) argument
8537 gl_save_history(GetLine *gl, const char *filename, const char *comment, int max_lines) argument
8572 _gl_save_history(GetLine *gl, const char *filename, const char *comment, int max_lines) argument
8619 gl_load_history(GetLine *gl, const char *filename, const char *comment) argument
8653 _gl_load_history(GetLine *gl, const char *filename, const char *comment) argument
8712 gl_watch_fd(GetLine *gl, int fd, GlFdEvent event, GlFdEventFn *callback, void *data) argument
8750 _gl_watch_fd(GetLine *gl, int fd, GlFdEvent event, GlFdEventFn *callback, void *data) argument
8885 gl_inactivity_timeout(GetLine *gl, GlTimeoutFn *timeout_fn, void *data, unsigned long sec, unsigned long nsec) argument
8937 gl_event_handler(GetLine *gl, int fd) argument
9078 gl_call_fd_handler(GetLine *gl, GlFdHandler *gfh, int fd, GlFdEvent event) argument
9137 gl_call_timeout_handler(GetLine *gl) argument
9207 gl_group_history(GetLine *gl, unsigned id) argument
9279 gl_show_history(GetLine *gl, FILE *fp, const char *fmt, int all_groups, int max_lines) argument
9324 gl_terminal_size(GetLine *gl, int def_ncolumn, int def_nline) argument
9349 _gl_terminal_size(GetLine *gl, int def_ncolumn, int def_nline, GlTerminalSize *size) argument
9439 gl_resize_history(GetLine *gl, size_t bufsize) argument
9476 gl_limit_history(GetLine *gl, int max_lines) argument
9505 gl_clear_history(GetLine *gl, int all_groups) argument
9532 gl_toggle_history(GetLine *gl, int enable) argument
9578 gl_lookup_history(GetLine *gl, unsigned long id, GlHistoryLine *line) argument
9616 gl_state_of_history(GetLine *gl, GlHistoryState *state) argument
9645 gl_range_of_history(GetLine *gl, GlHistoryRange *range) argument
9675 gl_size_of_history(GetLine *gl, GlHistorySize *size) argument
9733 gl_echo_mode(GetLine *gl, int enable) argument
9769 gl_display_prompt(GetLine *gl) argument
9928 gl_replace_prompt(GetLine *gl, const char *prompt) argument
9952 _gl_replace_prompt(GetLine *gl, const char *prompt) argument
10002 gl_displayed_prompt_width(GetLine *gl) argument
10054 gl_prompt_style(GetLine *gl, GlPromptStyle style) argument
10095 gl_trap_signal(GetLine *gl, int signo, unsigned flags, GlAfterSignal after, int errno_value) argument
10128 _gl_trap_signal(GetLine *gl, int signo, unsigned flags, GlAfterSignal after, int errno_value) argument
10201 gl_ignore_signal(GetLine *gl, int signo) argument
10264 gl_line_ended(GetLine *gl, int newline_char) argument
10323 gl_last_signal(GetLine *gl) argument
10363 gl_present_line(GetLine *gl, const char *prompt, const char *start_line, int start_pos) argument
10456 gl_reset_input_line(GetLine *gl) argument
10492 gl_print_info(GetLine *gl, ...) argument
10541 gl_start_newline(GetLine *gl, int buffered) argument
10590 GetLine *gl = (GetLine *) data; local
10606 gl_return_status(GetLine *gl) argument
10638 gl_pending_io(GetLine *gl) argument
10679 gl_raw_io(GetLine *gl) argument
10723 _gl_raw_io(GetLine *gl, int redisplay) argument
10771 gl_normal_io(GetLine *gl) argument
10803 _gl_normal_io(GetLine *gl) argument
10883 gl_completion_action(GetLine *gl, void *data, CplMatchFn *match_fn, int list_only, const char *name, const char *keyseq) argument
10916 _gl_completion_action(GetLine *gl, void *data, CplMatchFn *match_fn, int list_only, const char *name, const char *keyseq) argument
11009 gl_register_action(GetLine *gl, void *data, GlActionFn *fn, const char *name, const char *keyseq) argument
11042 _gl_register_action(GetLine *gl, void *data, GlActionFn *fn, const char *name, const char *keyseq) argument
11303 gl_display_text(GetLine *gl, int indentation, const char *prefix, const char *suffix, int fill_char, int def_width, int start, const char *string) argument
11348 gl_mask_signals(GetLine *gl, sigset_t *oldset) argument
11381 gl_unmask_signals(GetLine *gl, sigset_t *oldset) argument
11396 gl_catch_signals(GetLine *gl) argument
11411 gl_io_mode(GetLine *gl, GlIOMode mode) argument
11456 _gl_io_mode(GetLine *gl, GlIOMode mode) argument
11505 gl_error_message(GetLine *gl, char *buff, size_t n) argument
11555 gl_list_signals(GetLine *gl, sigset_t *set) argument
11590 gl_catch_blocked(GetLine *gl) argument
11648 gl_handle_signal(int signo, GetLine *gl, int ngl) argument
11721 gl_suspend_process(int signo, GetLine *gl, int ngl) argument
11832 gl_abandon_line(GetLine *gl) argument
11863 _gl_abandon_line(GetLine *gl) argument
11898 gl_set_term_size(GetLine *gl, int ncolumn, int nline) argument
11923 _gl_set_term_size(GetLine *gl, int ncolumn, int nline) argument
11977 gl_buffer_char(GetLine *gl, char c, int bufpos) argument
12015 gl_buffer_string(GetLine *gl, const char *s, int n, int bufpos) argument
12047 gl_make_gap_in_buffer(GetLine *gl, int start, int n) argument
12076 gl_remove_from_buffer(GetLine *gl, int start, int n) argument
12096 gl_truncate_buffer(GetLine *gl, int n) argument
12113 gl_update_buffer(GetLine *gl) argument
12155 gl_erase_line(GetLine *gl) argument
12195 gl_queue_redisplay(GetLine *gl) argument
12212 gl_truncate_display(GetLine *gl) argument
12287 gl_read_stream_line(GetLine *gl) argument
12352 gl_read_stream_char(GetLine *gl) argument
12400 gl_bind_keyseq(GetLine *gl, GlKeyOrigin origin, const char *keyseq, const char *action) argument
12446 gl_erase_terminal(GetLine *gl) argument
12479 gl_line_erased(GetLine *gl) argument
12496 gl_append_history(GetLine *gl, const char *line) argument
12529 _gl_append_history(GetLine *gl, const char *line) argument
12554 gl_automatic_history(GetLine *gl, int enable) argument
12593 gl_read_char(GetLine *gl) argument
12630 _gl_read_char(GetLine *gl) argument
12793 gl_clear_status(GetLine *gl) argument
12812 gl_record_status(GetLine *gl, GlReturnStatus rtn_status, int rtn_errno) argument
[all...]

Completed in 145 milliseconds