/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | wgetch.c | 60 int inp; local 92 inp = (int)tgetch((int)(win->_use_keypad ? 1 + win->_notimeout : 0)); 95 if (SP->fl_echoit && (inp < 0200) && (inp >= 0) && !(win->_flags & 97 (void) wechochar(win, (chtype) inp); 104 if (inp == '\r' && !SP->fl_nonl) 105 inp = '\n'; 110 return (inp);
|
H A D | tgetch.c | 65 chtype inp; local 84 inp = -inputQ[0]; 90 inp = _readchar(); 92 inp = (chtype) _pk(); 93 if ((int)inp == ERR) { 105 inp = inputQ[0]; 109 fprintf(outf, "TGETCH read '%s'\n", unctrl(inp)); 113 if (interpret && cur_term->funckeystarter[inp]) 114 collapse = _getkey(interpret - 1, &inp); 124 return (inp); 189 _getkey(int blockpeek, chtype *inp) argument 606 _map_button(chtype *inp) argument [all...] |
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/ |
H A D | inode.c | 57 register struct fileinfo *inp; local 61 for (inp = *inpp; inp; inp = inp->fe_nexthash) { 62 if (inp->fe_block == feblock) 65 if (!inp) { 76 inp = inpnext++; 77 inp->fe_block = feblock; 78 inp [all...] |
/illumos-gate/usr/src/ucblib/libcurses/ |
H A D | getch.c | 34 char inp; local 47 inp = getchar(); 49 fprintf(outf, "WGETCH got '%s'\n", unctrl(inp)); 53 win->_curx + win->_begx, inp); 54 (void) waddch(win, inp); 58 return ((int)inp);
|
/illumos-gate/usr/src/cmd/acct/ |
H A D | fwtmp.c | 42 static int inp(FILE *, struct utmpx *); 69 if (inp(stdin, &Ut) == EOF) 105 inp(FILE *file, struct utmpx *u) function
|
/illumos-gate/usr/src/cmd/refer/ |
H A D | glue4.c | 27 char *inp, inb[500]; local 33 strcpy(inp = inb, in); 40 for (cv[nv++] = "fgrep"; c = *inp; inp++) { 42 c = *inp = 0; 44 *inp = tolower(c); 47 cv[nv++] = inp; 49 *inp = 0;
|
H A D | glue5.c | 31 char inp; member in struct:words 72 q->inp = 0; q->out = 0; q->nst = 0; q->link = 0; q->fail = 0; 172 if (c->inp == ch) { 182 if (c->inp == ch) { 282 if (s->inp == c) { 286 if (s->inp == 0) goto enter; 300 s->inp = c; 353 if ((s->inp) != 0) { 367 if ((c = s->inp) != 0) { 379 if (state->inp [all...] |
/illumos-gate/usr/src/lib/libpp/common/ |
H A D | ppcall.c | 448 struct ppinstk* inp; local 450 for (inp = pp.in; inp->type != IN_FILE && inp->prev; inp = inp->prev); 451 sfsprintf(pp.hidebuf, MAXTOKEN, "_%d_%s_hIDe", inp->index, sym->name);
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | pass3.c | 52 struct inoinfo **inpp, *inp; local 63 inp = *inpp; 64 state = statemap[inp->i_number]; 65 if (inp->i_number == UFSROOTINO || 66 (inp->i_parent != 0 && !S_IS_DUNFOUND(state))) 77 if (inp->i_dotdot >= UFSROOTINO) { 78 LINK_RANGE(flow, lncntp[inp->i_dotdot], 1); 80 dp = ginode(inp->i_dotdot); 81 LINK_CLEAR(flow, inp->i_dotdot, 83 if (statemap[inp 400 setcurino(struct inodesc *idesc, struct dinode *dp, struct inoinfo *inp) argument 417 struct inoinfo *inp = getinoinfo(orphan); local [all...] |
H A D | pass2.c | 54 struct inoinfo **inpp, *inp; local 127 inp = getinoinfo(UFSROOTINO); 128 if (inp != NULL && inp->i_dotdot != 0) 129 inp->i_dotdot = 0; 146 inp = *inpp; 148 if (inp->i_isize == 0) 152 if (((statemap[inp->i_number] & STMASK) != DSTATE) || 153 ((statemap[inp->i_number] & INCLEAR) == INCLEAR)) 156 if (inp 399 struct inoinfo *inp; local [all...] |
/illumos-gate/usr/src/cmd/tcopy/ |
H A D | tcopy.c | 69 int n, nw, inp, outp; local 82 if ((inp = open(inf, O_RDONLY, 0666)) < 0) { 102 while ((n = read(inp, buff, buf_size)) < 0 && 116 if (ioctl(inp, MTIOCTOP, (char *)&op) < 0) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | fsm.c | 336 u_char *inp; local 344 inp = inpacket; 350 GETCHAR(code, inp); 351 GETCHAR(id, inp); 352 GETSHORT(len, inp); 376 fsm_rconfreq(f, id, inp, len); 380 fsm_rconfack(f, id, inp, len); 385 fsm_rconfnakrej(f, code, id, inp, len); 389 fsm_rtermreq(f, id, inp, len); 397 fsm_rcoderej(f, inp, le [all...] |
H A D | cbcp.c | 144 u_char *inp; local 150 inp = inpacket; 157 GETCHAR(code, inp); 158 GETCHAR(id, inp); 159 GETSHORT(len, inp); 171 cbcp_recvreq(us, inp, len); 187 cbcp_recvack(us, inp, len);
|
H A D | upap.c | 339 u_char *inp; local 347 inp = inpacket; 352 GETCHAR(code, inp); 353 GETCHAR(id, inp); 354 GETSHORT(len, inp); 367 upap_rauthreq(u, inp, id, len); 371 upap_rauthack(u, inp, id, len); 375 upap_rauthnak(u, inp, id, len); 389 upap_rauthreq(u, inp, id, len) 391 u_char *inp; [all...] |
H A D | chap.c | 374 u_char *inp; local 382 inp = inpacket; 388 GETCHAR(code, inp); 389 GETCHAR(id, inp); 390 GETSHORT(len, inp); 403 ChapReceiveChallenge(cstate, inp, id, len); 407 ChapReceiveResponse(cstate, inp, id, len); 411 ChapReceiveFailure(cstate, inp, id, len); 415 ChapReceiveSuccess(cstate, inp, id, len); 430 ChapReceiveChallenge(cstate, inp, i [all...] |
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | control.c | 275 char inp[MAXLINE]; local 306 if (sm_io_fgets(s, SM_TIME_DEFAULT, inp, sizeof(inp)) == NULL) 314 fixcrlf(inp, true); 316 sm_setproctitle(false, e, "control: %s", inp); 319 for (p = inp; isascii(*p) && isspace(*p); p++)
|
/illumos-gate/usr/src/lib/libdisasm/common/ |
H A D | dis_sparc.c | 226 const inst_t *inp = NULL; local 254 inp = &tp->tbl_inp[idx]; 256 inp = dis_get_overlay(dhp, tp, idx); 258 if ((inp->in_type == INST_NONE) || 259 ((inp->in_arch & dhp->dh_flags) == 0)) 262 if (inp->in_type == INST_TBL) { 263 tp = inp->in_data.in_tbl; 270 if (tp->tbl_fmt(dhp, instr, inp, idx) == 0)
|
/illumos-gate/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_data.c | 214 res_isourserver(const struct sockaddr_in *inp) { argument 215 return (res_ourserver_p(&_res, inp));
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_pragma.c | 396 dt_node_t *inp = fnp ? fnp->dn_list : NULL; local 400 (inp != NULL && inp->dn_kind != DT_NODE_INT)) { 427 if (inp != NULL) { 428 if (inp->dn_value == 1) 430 else if (inp->dn_value == 2 && yypcb->pcb_idepth != 0)
|
/illumos-gate/usr/src/cmd/units/ |
H A D | units.c | 73 FILE *inp; variable 111 if ((inp = fopen(file, "r")) == NULL) { 343 fclose(inp); 344 inp = stdin; 468 c = getc(inp); 470 if (inp == stdin) {
|
/illumos-gate/usr/src/common/util/ |
H A D | sscanf.c | 111 vsscanf(const char *inp, char const *fmt0, va_list ap) argument 133 inr = strlen(inp); 145 while (inr > 0 && isspace(*inp)) 146 nread++, inr--, inp++; 163 if (*inp != c) 165 inr--, inp++; 261 while (isspace(*inp)) { 264 inp++; 290 inp += n; 296 inp [all...] |
/illumos-gate/usr/src/lib/brand/solaris10/s10_support/ |
H A D | s10_support.c | 152 char *inp; local 162 inp = start; 163 while ((p = fgets(inp, PKGINFO_RD_LEN, fp)) != NULL) { 166 len = strlen(inp); 167 if (inp[len - 1] == '\n' && 168 (len == 1 || inp[len - 2] != '\\')) { 173 if (inp[len - 1] == '\n' && inp[len - 2] == '\\') 184 inp = start + char_cnt;
|
/illumos-gate/usr/src/cmd/exstr/ |
H A D | exstr.c | 256 char *inp; local 262 inp = linebuf; 345 while (*inp != '\0') 346 *outp++ = *inp++; 352 inp = linebuf; 367 *outp++ = *inp++; 370 if (*inp != '"') { 377 while (inp[strlen(inp)-2] == '\\' && 378 inp[strle [all...] |
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | inet_ntop.c | 269 __inet_pton(int af, char *inp, void *outp, int compat) argument 277 if (str2inet_addr(inp, (ipaddr_t *)outp) != 0) { 294 if (strchr_w(inp, '.') != NULL) { 298 if (strncmp(inp, "::ffff:", 7) == 0) { 303 ret = str2inet_addr(inp + 7, 305 } else if (strncmp(inp, "::", 2) == 0) { 308 ret = str2inet_addr(inp + 2, 325 if ((error = ddi_strtol(inp, &end, 16, &byte)) != 0) { 339 inp = end; 342 if (inp 414 _inet_pton(int af, char *inp, void *outp) argument 424 inet_pton(int af, char *inp, void *outp) argument [all...] |
/illumos-gate/usr/src/stand/lib/inet/ |
H A D | ethernet.c | 293 struct inetgram *inp; local 388 inp = (struct inetgram *)bkmem_zalloc( 390 if (inp == NULL) { 396 inp->igm_mp = allocb(data_len, 0); 397 if (inp->igm_mp == NULL) { 399 bkmem_free((caddr_t)inp, 404 inp->igm_mp->b_rptr, data_len); 405 inp->igm_mp->b_wptr += data_len; 406 inp->igm_level = NETWORK_LVL; 407 add_grams(&sockets[index].inq, inp); [all...] |