/titanic_41/usr/src/lib/libtecla/common/ |
H A D | getline.c | 292 static int gl_call_fd_handler(GetLine *gl, GlFdHandler *gfh, int fd, 295 static int gl_call_timeout_handler(GetLine *gl); 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); 696 static int gl_mask_signals(GetLine *gl, sigset_t *oldset); 702 static int gl_unmask_signals(GetLine *gl, sigset_t *oldset); 707 static int gl_catch_signals(GetLine *gl); [all …]
|
H A D | keytab.h | 58 #define KT_KEY_FN(fn) int (fn)(GetLine *gl, int count, void *data)
|
/titanic_41/usr/src/lib/libtecla/ |
H A D | libtecla.h | 96 GetLine *del_GetLine(GetLine *gl); 101 char *gl_get_line(GetLine *gl, const char *prompt, const char *start_line, 119 int gl_query_char(GetLine *gl, const char *prompt, char defchar); 133 int gl_read_char(GetLine *gl); 139 int gl_configure_getline(GetLine *gl, const char *app_string, 156 int gl_bind_keyseq(GetLine *gl, GlKeyOrigin origin, const char *keyseq, 464 int gl_customize_completion(GetLine *gl, void *data, CplMatchFn *match_fn); 497 int gl_completion_action(GetLine *gl, void *data, CplMatchFn *match_fn, 516 int gl_change_terminal(GetLine *gl, FILE *input_fp, FILE *output_fp, 540 int gl_save_history(GetLine *gl, const char *filename, const char *comment, [all …]
|
/titanic_41/usr/src/lib/krb5/ss/ |
H A D | listen.c | 142 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, info->prompt, NULL, -1); 254 ret = gl_return_status(gl); 258 gl_abandon_line(gl); [all …]
|
/titanic_41/usr/src/cmd/ypcmd/revnetgroup/ |
H A D | getgroup.c | 72 struct grouplist *gl; in freegrouplist() local 74 for (gl = grouplist; gl != NULL; gl = gl->gl_nxt) { in freegrouplist() 75 FREE(gl->gl_name); in freegrouplist() 76 FREE(gl->gl_domain); in freegrouplist() 77 FREE(gl->gl_machine); in freegrouplist() 78 FREE(gl); in freegrouplist()
|
/titanic_41/usr/src/cmd/enhance/ |
H A D | enhance.c | 117 static int pty_stop_parent(int waserr, int cntrl, GetLine *gl, char *rbuff); 419 GetLine *gl = NULL; /* The gl_get_line() resource object */ in pty_parent() local 425 gl = new_GetLine(PTY_MAX_LINE, PTY_HIST_SIZE); in pty_parent() 426 if(!gl) in pty_parent() 427 return pty_stop_parent(1, cntrl, gl, rbuff); in pty_parent() 434 return pty_stop_parent(1, cntrl, gl, rbuff); in pty_parent() 440 if(gl_watch_fd(gl, cntrl, GLFD_READ, pty_read_from_program, rbuff)) in pty_parent() 441 return pty_stop_parent(1, cntrl, gl, rbuff); in pty_parent() 446 while((line=gl_get_line(gl, rbuff, NULL, 0))) { in pty_parent() 448 return pty_stop_parent(1, cntrl, gl, rbuff); in pty_parent() [all …]
|
/titanic_41/usr/src/lib/nsswitch/nis/common/ |
H A D | getnetgrent.c | 140 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; in save_triple() local 520 if ((gl = (struct grouplist *)malloc(sizeof (*gl))) == 0) { in save_triple() 528 gl->triple[i] = 0; in save_triple() 529 } else if ((gl->triple[i] = strdup(trippp[i])) == 0) { in save_triple() [all …]
|
/titanic_41/usr/src/lib/libc/port/regex/ |
H A D | glob.c | 1270 glob_t gl; in old_glob() local 1275 (void) memset(&gl, 0, sizeof (gl)); in old_glob() 1282 gl.gl_pathc = pglob->gl_pathc; in old_glob() 1283 gl.gl_pathv = pglob->gl_pathv; in old_glob() 1284 gl.gl_offs = pglob->gl_offs; in old_glob() 1285 gl.gl_pathp = pglob->gl_pathp; in old_glob() 1286 gl.gl_pathn = pglob->gl_pathn; in old_glob() 1288 rv = _glob_ext(pattern, flags, errfunc, &gl); in old_glob() 1294 pglob->gl_pathc = gl.gl_pathc; in old_glob() 1295 pglob->gl_pathv = gl.gl_pathv; in old_glob() [all …]
|
/titanic_41/usr/src/uts/sun4/brand/common/ |
H A D | brand_solaris.s | 60 rdpr %gl, reg; \ 61 wrpr reg, 1, %gl 68 wrpr reg, 0, %gl
|
/titanic_41/usr/src/cmd/ssh/sftp/ |
H A D | sftp.c | 1316 GetLine *gl = NULL; in interactive_loop() local 1319 if ((il = gl = new_GetLine(MAX_LINE_LEN, MAX_CMD_HIST)) == NULL) in interactive_loop() 1321 if (gl_customize_completion(gl, NULL, nomatch) != 0) { in interactive_loop() 1322 (void) del_GetLine(gl); in interactive_loop() 1416 line = gl_get_line(gl, "sftp> ", NULL, -1); in interactive_loop() 1427 rtn = gl_return_status(gl); in interactive_loop() 1429 gl_abandon_line(gl); in interactive_loop() 1434 gl_error_message(gl, NULL, 0)); in interactive_loop() 1462 if (gl != NULL) in interactive_loop() 1463 (void) del_GetLine(gl); in interactive_loop()
|
/titanic_41/usr/src/uts/sun4v/os/ |
H A D | mach_trap.c | 169 uint32_t gl, ccr, asi, cwp, pstate; in ptl1_showtrap() local 175 gl = (tstate >> TSTATE_GL_SHIFT) & TSTATE_GL_MASK; in ptl1_showtrap() 181 "%%pstate: %b\n", gl, ccr, asi, cwp, pstate, PSTATE_BITS); in ptl1_showtrap()
|
/titanic_41/usr/src/uts/common/avs/ns/sdbc/ |
H A D | sd_bcache.h | 810 ss_centry_info_t *gl = (cc_entry)->cc_write; \ 813 gl->sc_dirty = dirty; \ 814 gl->sc_flag = (int)(cc_entry)->cc_flag; \ 815 SSOP_SETCENTRY(sdbc_safestore, gl); } 819 ss_centry_info_t *gl = (cc_entry)->cc_write; \ 823 gl->sc_dirty = dirty; \ 824 SSOP_SETCENTRY(sdbc_safestore, gl); }
|
H A D | safestore_ram.c | 556 static ss_centry_info_impl_t *gl; in ss_ram_wctl_configure() local 582 gl = ss_ram_config.sn_gl_centry_info; in ss_ram_wctl_configure() 586 wentry->wc_gl_info = gl++; in ss_ram_wctl_configure()
|
/titanic_41/usr/src/cmd/mdb/sun4v/v9/kmdb/ |
H A D | mach_asmutil.h | 45 wrpr %g0, x, %gl
|
/titanic_41/usr/src/lib/libast/common/port/ |
H A D | lc.tab | 64 gl galician 198 es spain es|ca|eu|gl 203 gl greenland kl
|
/titanic_41/usr/src/lib/libipsecutil/common/ |
H A D | ipsec_util.c | 76 static GetLine *gl = NULL; /* for interactive mode */ variable 618 if (gl == NULL) { in init_interactive() 619 if ((gl = new_GetLine(MAX_LINE_LEN, in init_interactive() 624 if (gl_customize_completion(gl, NULL, in init_interactive() 626 (void) del_GetLine(gl); in init_interactive() 648 if (gl != NULL) in fini_interactive() 649 (void) del_GetLine(gl); in fini_interactive() 670 line = gl_get_line(gl, prompt, NULL, -1); in do_getstr() 671 if (gl_return_status(gl) == GLR_SIGNAL) { in do_getstr() 672 gl_abandon_line(gl); in do_getstr() [all …]
|
/titanic_41/usr/src/uts/sun4v/sys/ |
H A D | traptrace.h | 296 rdpr %gl, scr1; \ 308 #define TRACE_SAVE_GL_VAL(addr, gl) \ argument 309 stba gl, [addr + TRAP_ENT_GL]%asi
|
/titanic_41/usr/src/lib/libc/port/locale/ |
H A D | engine.c | 162 const sopno gl = g->laststate; in matcher() local 258 endp = fast(m, start, stop, gf, gl); in matcher() 274 endp = slow(m, m->coldp, stop, gf, gl); in matcher() 297 dp = dissect(m, m->coldp, endp, gf, gl); in matcher() 308 dp = backref(m, m->coldp, endp, gf, gl, (sopno)0, 0); in matcher() 320 endp = slow(m, m->coldp, endp-1, gf, gl); in matcher() 331 dp = backref(m, m->coldp, endp, gf, gl, (sopno)0, 0); in matcher()
|
/titanic_41/usr/src/cmd/sgs/elfedit/common/ |
H A D | _elfedit.h | 180 GetLine *gl; /* getline object */ member
|
H A D | elfedit.c | 335 (void) gl_normal_io(state.input.gl); in elfedit_msg() 3147 gl_normal_io(state.input.gl); in cmd_match_fcn() 3192 (void) gl_normal_io(state.input.gl); in cmd_match_fcn() 3392 s = gl_get_line(state.input.gl, in read_cmd() 3402 (gl_return_status(state.input.gl) == GLR_ERROR)) { in read_cmd() 3404 gl_error_message(state.input.gl, NULL, 0)); in read_cmd() 3646 state.input.gl = new_GetLine(ELFEDIT_MAXCMD, in main() 3649 (void) gl_customize_completion(state.input.gl, in main() 3669 gl_abandon_line(state.input.gl); in main()
|
/titanic_41/usr/src/uts/sun4v/ml/ |
H A D | trap_table.s | 2225 wrpr %g0, 0, %gl 2227 wrpr %g0, 1, %gl 2228 ! cannot assume globals retained their values after increasing %gl 2236 wrpr %g0, 0, %gl 2238 wrpr %g0, 1, %gl 2239 ! cannot assume globals retained their values after increasing %gl 2341 wrpr %g0, 0, %gl 2343 wrpr %g0, 1, %gl 2353 wrpr %g0, 0, %gl 2356 wrpr %g0, 1, %gl [all …]
|
H A D | mach_locore.s | 415 ! Assert gl == 1 416 rdpr %gl, %g5 1008 wrpr %g0, 1, %gl
|
H A D | mach_proc_init.s | 74 wrpr %g0, 0, %gl
|
/titanic_41/usr/src/uts/sun4v/vm/ |
H A D | mach_sfmmu.h | 94 wrpr %g0, 1, %gl; \ 119 wrpr %g0, val, %gl
|
/titanic_41/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_xdr.c | 1250 uint_t *group_length, gl; in xdr_ga_fattr_res() local 1257 if (!xdr_u_int(xdrs, &gl)) in xdr_ga_fattr_res() 1261 if (pug && gl <= MAX_OG_NAME) { in xdr_ga_fattr_res() 1263 *group_length = gl; in xdr_ga_fattr_res() 1265 group_length = ≷ in xdr_ga_fattr_res() 1313 if (pug && gl <= MAX_OG_NAME) { in xdr_ga_fattr_res() 1862 uint_t *group_length, gl; in xdr_ga_fattr_res_inline() local 1868 gl = IXDR_GET_U_INT32(ptr); in xdr_ga_fattr_res_inline() 1871 if (pug && gl <= MAX_OG_NAME) { in xdr_ga_fattr_res_inline() 1873 *group_length = gl; in xdr_ga_fattr_res_inline() [all …]
|