/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | pass2.c | 126 if (inp != NULL && inp->i_dotdot != 0) in pass2() 166 getpathname(pathbuf, inp->i_number, inp->i_number); in pass2() 169 inp->i_isize = roundup(inp->i_isize, in pass2() 234 if (inp->i_parent == 0 || inp->i_isize == 0) in pass2() 250 if (inp->i_dotdot == inp->i_parent || in pass2() 255 inp->i_dotdot = inp->i_parent; in pass2() 256 fileerror(inp->i_parent, inp->i_number, in pass2() 288 if (makeentry(inp->i_number, inp->i_parent, "..")) { in pass2() 340 fileerror(inp->i_parent, inp->i_number, in pass2() 367 inp->i_dotdot = inp->i_parent; in pass2() [all …]
|
H A D | pass3.c | 50 struct inoinfo **inpp, *inp; in pass3a() local 61 inp = *inpp; in pass3a() 91 orphan = inp->i_number; in pass3a() 104 inp = getinoinfo(inp->i_parent); in pass3a() 109 if (inp == NULL) in pass3a() 112 inp->i_parent); in pass3a() 129 inp->i_parent == 0) { in pass3a() 165 inp->i_dotdot = lfdir; in pass3a() 166 inp->i_parent = inp->i_dotdot; in pass3a() 214 inp->i_parent = inp->i_dotdot = lfdir; in pass3a() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/ |
H A D | inode.c | 59 for (inp = *inpp; inp; inp = inp->fe_nexthash) { 63 if (!inp) { 74 inp = inpnext++; 75 inp->fe_block = feblock; 76 inp->fe_len = (uint16_t)len; 77 inp->fe_lseen = 1; 78 inp->fe_nexthash = *inpp; 79 *inpp = inp; 84 inp->fe_lseen++; 87 inp->fe_lcount, inp->fe_lseen); [all …]
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | inet_ntop.c | 337 inp = end; in __inet_pton() 341 if (*inp == ':' && in __inet_pton() 351 inp++; in __inet_pton() 352 } else if (*inp == '\0' || *inp == ' ' || in __inet_pton() 353 *inp == '\t') { in __inet_pton() 359 inp = end; in __inet_pton() 361 if (*inp != ':') { in __inet_pton() 364 inp++; in __inet_pton() 365 if (*inp == '\0' || *inp == ' ' || *inp == '\t') { in __inet_pton() 368 lastbyte = *inp; in __inet_pton() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sfvscanf.c | 76 #define SCend(sc,ds) (inp = (sc)->inp, f = (sc)->f, \ 381 { if(SFgetc(f,inp) < 0 || inp == fmt) 782 if(inp < 0) 819 if(inp == '-' || inp == '+') 837 { if(inp == 'x' || inp == 'X') 857 (inp == 'x' || inp == 'X') && --width > 0) 860 if(inp >= 0 && sp[inp] < 16) 867 if (inp >= '0' && inp <= '9') 892 SFgetc(f,inp) >= 0 && sp[inp] < base) 915 SFgetc(f,inp) >= 0 && sp[inp] < base); [all …]
|
/illumos-gate/usr/src/common/util/ |
H A D | sscanf.c | 131 inr = strlen(inp); in vsscanf() 161 if (*inp != c) in vsscanf() 163 inr--, inp++; in vsscanf() 262 inp++; in vsscanf() 288 inp += n; in vsscanf() 294 inp += width; in vsscanf() 300 inp += width; in vsscanf() 388 c = *inp; in vsscanf() 473 inp++; in vsscanf() 485 inp--; in vsscanf() [all …]
|
/illumos-gate/usr/src/boot/include/netinet/ |
H A D | in_pcb.h | 434 #define INP_LOCK_DESTROY(inp) rw_destroy(&(inp)->inp_lock) argument 435 #define INP_RLOCK(inp) rw_rlock(&(inp)->inp_lock) argument 436 #define INP_WLOCK(inp) rw_wlock(&(inp)->inp_lock) argument 437 #define INP_TRY_RLOCK(inp) rw_try_rlock(&(inp)->inp_lock) argument 438 #define INP_TRY_WLOCK(inp) rw_try_wlock(&(inp)->inp_lock) argument 439 #define INP_RUNLOCK(inp) rw_runlock(&(inp)->inp_lock) argument 440 #define INP_WUNLOCK(inp) rw_wunlock(&(inp)->inp_lock) argument 441 #define INP_TRY_UPGRADE(inp) rw_try_upgrade(&(inp)->inp_lock) argument 442 #define INP_DOWNGRADE(inp) rw_downgrade(&(inp)->inp_lock) argument 443 #define INP_WLOCKED(inp) rw_wowned(&(inp)->inp_lock) argument [all …]
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | wgetch.c | 58 int inp; in wgetch() local 90 inp = (int)tgetch((int)(win->_use_keypad ? 1 + win->_notimeout : 0)); in wgetch() 93 if (SP->fl_echoit && (inp < 0200) && (inp >= 0) && !(win->_flags & in wgetch() 95 (void) wechochar(win, (chtype) inp); in wgetch() 102 if (inp == '\r' && !SP->fl_nonl) in wgetch() 103 inp = '\n'; in wgetch() 108 return (inp); in wgetch()
|
H A D | tgetch.c | 68 chtype inp; in tgetch() local 87 inp = -inputQ[0]; in tgetch() 93 inp = _readchar(); in tgetch() 95 inp = (chtype) _pk(); in tgetch() 96 if ((int)inp == ERR) { in tgetch() 108 inp = inputQ[0]; in tgetch() 127 return (inp); in tgetch() 206 "inp=%d\n", *inp); in _getkey() 344 _map_button(inp); in _getkey() 608 _map_button(chtype *inp) in _map_button() argument [all …]
|
/illumos-gate/usr/src/common/crypto/arcfour/amd64/ |
H A D | arcfour-x86_64.pl | 98 my ($code, $dat, $inp, $out, $len, $idx, $ido, $i, @XX, @TX, $YY, $TY); 118 $inp="%rsi"; # arg2 201 xor ($inp),%rax 202 add \$8,$inp 236 xorb ($inp),$TY#b 237 inc $inp 262 $inp="%rsi"; # arg2 288 lea ($inp,$len),$inp 313 add ($inp,$len,1),$idx#b
|
/illumos-gate/usr/src/cmd/refer/ |
H A D | glue4.c | 26 char *inp, inb[500]; in grepcall() local 32 strcpy(inp = inb, in); in grepcall() 35 for (cv[nv++] = "fgrep"; c = *inp; inp++) { in grepcall() 37 c = *inp = 0; in grepcall() 39 *inp = tolower(c); in grepcall() 42 cv[nv++] = inp; in grepcall() 44 *inp = 0; in grepcall()
|
H A D | glue5.c | 28 char inp; member 69 q->inp = 0; q->out = 0; q->nst = 0; q->link = 0; q->fail = 0; in fgrep() 169 if (c->inp == ch) { in execute() 179 if (c->inp == ch) { in execute() 279 if (s->inp == c) { in cgotofn() 283 if (s->inp == 0) goto enter; in cgotofn() 297 s->inp = c; in cgotofn() 350 if ((s->inp) != 0) { in cfail() 364 if ((c = s->inp) != 0) { in cfail() 376 if (state->inp == c) { in cfail()
|
/illumos-gate/usr/src/cmd/exstr/ |
H A D | exstr.c | 244 char *inp; in replace() local 250 inp = linebuf; in replace() 334 *outp++ = *inp++; in replace() 340 inp = linebuf; in replace() 355 *outp++ = *inp++; in replace() 358 if (*inp != '"') { in replace() 365 while (inp[strlen(inp)-2] == '\\' && in replace() 366 inp[strlen(inp)-1] == '\n') { in replace() 386 inp = cp; in replace() 404 while (*inp != '\0') in replace() [all …]
|
/illumos-gate/usr/src/ucblib/libcurses/ |
H A D | getch.c | 32 char inp; in wgetch() local 45 inp = getchar(); in wgetch() 47 fprintf(outf, "WGETCH got '%s'\n", unctrl(inp)); in wgetch() 51 win->_curx + win->_begx, inp); in wgetch() 52 (void) waddch(win, inp); in wgetch() 56 return ((int)inp); in wgetch()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | upap.c | 332 u_char *inp; local 340 inp = inpacket; 345 GETCHAR(code, inp); 346 GETCHAR(id, inp); 347 GETSHORT(len, inp); 384 u_char *inp; 474 u_char *inp; 502 GETCHAR(msglen, inp); 509 msg = (char *) inp; 527 u_char *inp; [all …]
|
H A D | fsm.c | 329 u_char *inp; local 337 inp = inpacket; 343 GETCHAR(code, inp); 344 GETCHAR(id, inp); 345 GETSHORT(len, inp); 409 u_char *inp; 434 if (inp >= outpacket_buf && inp < outpacket_buf+PPP_MRU+PPP_HDRLEN) 489 u_char *inp; 546 u_char *inp; 671 u_char *inp; [all …]
|
H A D | chap.c | 364 u_char *inp; local 372 inp = inpacket; 378 GETCHAR(code, inp); 379 GETCHAR(id, inp); 422 u_char *inp; 454 rchallenge = inp; 561 u_char *inp; 712 u_char *inp; 738 PRINTMSG(inp, len); 753 u_char *inp; [all …]
|
/illumos-gate/usr/src/uts/common/io/scsi/targets/ |
H A D | ses_ses.c | 173 #define sget8(inp, idx, lval) lval = (((uchar_t *)(inp))[idx++]) argument 174 #define gget8(inp, idx, lval) lval = (((uchar_t *)(inp))[idx]) argument 176 #define sget16(inp, idx, lval) \ argument 180 #define gget16(inp, idx, lval) \ argument 182 (((uchar_t *)(inp))[idx+1]) 184 #define sget24(inp, idx, lval) \ argument 189 #define gget24(inp, idx, lval) \ argument 192 (((uchar_t *)(inp))[idx+2]) 194 #define sget32(inp, idx, lval) \ argument 200 #define gget32(inp, idx, lval) \ argument [all …]
|
/illumos-gate/usr/src/cmd/sendmail/db/db/ |
H A D | db_conv.c | 128 M_16_SWAP(h->inp[i]); 172 M_16_SWAP(h->inp[i]); 179 M_16_SWAP(h->inp[i]); 195 M_16_SWAP(h->inp[i]); 201 M_16_SWAP(h->inp[i]); 220 M_16_SWAP(h->inp[i]); 226 M_16_SWAP(h->inp[i]); 233 M_16_SWAP(h->inp[i]);
|
/illumos-gate/usr/src/cmd/unpack/ |
H A D | unpack.c | 65 static char *inp; variable 125 inp = &inbuff[2]; in getdict() 128 origsize = origsize*256 + ((*inp++) & 0377); in getdict() 129 maxlev = *inp++ & 0377; in getdict() 136 intnodes[i] = *inp++ & 0377; in getdict() 142 *eof++ = *inp++; in getdict() 145 *eof++ = *inp++; in getdict() 147 inleft -= inp - &inbuff[0]; in getdict() 194 c = *inp++; in decode() 497 inp = &inbuff[2]; in expand() [all …]
|
/illumos-gate/usr/src/lib/libdisasm/common/ |
H A D | dis_sparc.c | 226 const inst_t *inp = NULL; in dis_sparc_disassemble() local 254 inp = &tp->tbl_inp[idx]; in dis_sparc_disassemble() 256 inp = dis_get_overlay(dhp, tp, idx); in dis_sparc_disassemble() 258 if ((inp->in_type == INST_NONE) || in dis_sparc_disassemble() 259 ((inp->in_arch & dhp->dh_flags) == 0)) in dis_sparc_disassemble() 262 if (inp->in_type == INST_TBL) { in dis_sparc_disassemble() 263 tp = inp->in_data.in_tbl; in dis_sparc_disassemble() 270 if (tp->tbl_fmt(dhp, instr, inp, idx) == 0) in dis_sparc_disassemble()
|
H A D | dis_sparc_fmt.c | 716 prt_name(dhp, inp->in_data.in_def.in_name, 1); in fmt_call() 761 prt_name(dhp, inp->in_data.in_def.in_name, 1); in fmt_sethi() 788 uint32_t flags = inp->in_data.in_def.in_flags; in fmt_branch() 1610 int flags = inp->in_data.in_def.in_flags; in fmt_alu() 1843 return (prt_shift(dhp, instr, inp)); in fmt_alu() 1859 return (fmt_cpop(dhp, instr, inp)); in fmt_alu() 1864 return (prt_jmpl(dhp, instr, inp, idx)); in fmt_alu() 2003 int flags = inp->in_data.in_def.in_flags; in fmt_fpop1() 2040 int flags = inp->in_data.in_def.in_flags; in fmt_fpop2() 2123 int flags = inp->in_data.in_def.in_flags; in fmt_vis() [all …]
|
/illumos-gate/usr/src/lib/brand/solaris10/s10_support/ |
H A D | s10_support.c | 152 char *inp; in read_pkg_data() local 162 inp = start; in read_pkg_data() 163 while ((p = fgets(inp, PKGINFO_RD_LEN, fp)) != NULL) { in read_pkg_data() 166 len = strlen(inp); in read_pkg_data() 167 if (inp[len - 1] == '\n' && in read_pkg_data() 168 (len == 1 || inp[len - 2] != '\\')) { in read_pkg_data() 173 if (inp[len - 1] == '\n' && inp[len - 2] == '\\') in read_pkg_data() 184 inp = start + char_cnt; in read_pkg_data()
|
/illumos-gate/usr/src/common/crypto/sha1/amd64/ |
H A D | sha1-x86_64.pl | 50 my ($code, $ctx, $inp, $num, $xi, $t0, $t1, $i, @V, $A, $B, $C, $D, $E, $T); 61 $inp="%rsi"; # 2nd arg 66 $inp="%r9"; 94 mov %rsi,$inp # reassigned argument 123 mov `4*$i`($inp),$xi 130 mov `4*$j`($inp),$xi 268 lea `16*4`($inp),$inp
|
/illumos-gate/usr/src/common/crypto/sha2/amd64/ |
H A D | sha512-x86_64.pl | 67 $ctx, $round, $inp, $Tbl, $_ctx, $_inp, $_end, $_rsp, $framesz); 111 $inp="%rsi"; # 2nd arg 236 lea ($inp,%rdx,$SZ),%rdx # inp+num*16*$SZ 240 mov $inp,$_inp # save inp, 2nd arg 269 $code.=" mov $SZ*$i($inp),$T1\n"; 289 lea 16*$SZ($inp),$inp 300 cmp $_end,$inp
|