Home
last modified time | relevance | path

Searched refs:outp (Results 1 – 25 of 52) sorted by relevance

123

/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Duniq.c163 if(outp!=sbufp) in uniq()
174 outp[f++] = ' '; in uniq()
176 outp[f] = ' '; in uniq()
182 outp[f--] = ' '; in uniq()
188 outp[f--] = ' '; in uniq()
193 if(outp!=sbufp) in uniq()
199 outp = sbufp; in uniq()
202 outp += CWIDTH+1; in uniq()
226 outp = outbuff; in uniq()
230 sfwrite(fdout,outp,0); in uniq()
[all …]
H A Dfmt.c57 char* outp; member
86 if (!fp->outp) in outline()
89 fp->outp--; in outline()
90 *fp->outp = 0; in outline()
120 else if ((c = fp->outp[-1]) == 'n' && d > 1 && fp->outp[-2] == '\\') in outline()
133 fp->outp = 0; in outline()
212 fp->outp += n; in split()
217 else if (fp->outp) in split()
224 *fp->outp++ = ' '; in split()
225 … && (!fp->quote || (fp->outp - fp->outbuf) < 2 || fp->outp[-2] != '\\' || fp->outp[-1] != 'n' && f… in split()
[all …]
/illumos-gate/usr/src/uts/common/io/net80211/
H A Dnet80211_ioctl.c136 wldp_t *outp; in wifi_cfg_essid() local
170 wldp_t *outp; in wifi_cfg_bssid() local
204 wldp_t *outp; in wifi_cfg_nodename() local
261 wldp_t *outp; in wifi_cfg_phy() local
297 wldp_t *outp; in wifi_cfg_wepkey() local
339 wldp_t *outp; in wifi_cfg_keyid() local
384 wldp_t *outp; in wifi_cfg_authmode() local
418 wldp_t *outp; in wifi_cfg_encrypt() local
452 wldp_t *outp; in wifi_cfg_bsstype() local
489 wldp_t *outp; in wifi_cfg_createibss() local
[all …]
/illumos-gate/usr/src/cmd/exstr/
H A Dexstr.c246 char *outp; in replace() local
251 outp = outbuf; in replace()
334 *outp++ = *inp++; in replace()
335 *outp = '\0'; in replace()
339 outp = outbuf; in replace()
355 *outp++ = *inp++; in replace()
390 outp += snprintf(outp, BUFSIZ - (outp - outbuf), in replace()
394 outp += snprintf(outp, BUFSIZ - (outp - outbuf), in replace()
403 if (outp != outbuf) { in replace()
405 *outp++ = *inp++; in replace()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dchap.c785 u_char *outp; local
792 outp = outpacket_buf;
798 PUTSHORT(outlen, outp);
802 INCPTR(chal_len, outp);
821 u_char *outp; local
837 outp = outpacket_buf;
841 PUTCHAR(code, outp);
843 PUTSHORT(outlen, outp);
888 u_char *outp; local
894 outp = outpacket_buf;
[all …]
H A Dupap.c594 u_char *outp; local
602 outp = outpacket_buf;
608 PUTSHORT(outlen, outp);
612 PUTCHAR(pwlen, outp);
634 u_char *outp; local
638 outp = outpacket_buf;
641 PUTCHAR(code, outp);
642 PUTCHAR(id, outp);
643 PUTSHORT(outlen, outp);
644 PUTCHAR(msglen, outp);
[all …]
H A Dcbcp.c427 u_char *outp; local
430 outp = outpacket_buf;
434 MAKEHEADER(outp, PPP_CBCP);
436 PUTCHAR(code, outp);
437 PUTCHAR(us->us_id, outp);
438 PUTSHORT(outlen, outp);
441 BCOPY(buf, outp, len);
H A Dfsm.c813 u_char *outp; local
834 outp = outpacket_buf + PPP_HDRLEN + HEADERLEN;
844 (*f->callbacks->addci)(f, outp, &cilen);
849 fsm_sdata(f, CODE_CONFREQ, f->reqid, outp, cilen);
869 u_char *outp; local
879 outp = outpacket_buf;
883 BCOPY(data, outp + PPP_HDRLEN + HEADERLEN, datalen);
885 MAKEHEADER(outp, f->protocol);
886 PUTCHAR(code, outp);
887 PUTCHAR(id, outp);
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/
H A Dpp.h73 #define pplastout() ((pp.outp>pp.outbuf)?*(pp.outp-1):pp.lastout)
75 #define pppendout() (pp.outp-pp.outbuf)
76 #define ppputchar(c) (*pp.outp++=(c))
77 #define ppflushout() do{if(pp.outp>pp.outbuf){PPWRITE(pp.outp-pp.outbuf);pp.outp=pp.outbuf;}}while(…
78outp>pp.oute){PPWRITE(PPBUFSIZ);if(pp.outbuf==pp.outb){pp.outbuf+=PPBUFSIZ;pp.oute+=PPBUFSIZ;}else…
410 char* outp; /* outbuf pointer */ member
H A Dppprintf.c36 if (!(sp = sfnew(NiL, pp.outp, MAXTOKEN, -1, SF_WRITE|SF_STRING))) in ppprintf()
41 pp.outp += sfseek(sp, 0L, SEEK_CUR); in ppprintf()
H A Dppmacref.c37 p = (pp.state & (DIRECTIVE|JOINING)) == DIRECTIVE ? pp.outp : pp.addp; in ppmacref()
48 pp.outp = p; in ppmacref()
/illumos-gate/usr/src/cmd/pack/
H A Dpack.c147 register char **q, *outp; in output() local
160 outp = &outbuff[6]; in output()
161 *outp++ = maxlev; in output()
163 *outp++ = levcount[i]; in output()
168 *outp++ = c; in output()
191 *outp = **q++; in output()
193 *outp |= **q++; in output()
196 *++outp = **q++; in output()
209 outp -= BUFSIZ; in output()
214 outp++; in output()
[all …]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dinet_ntop.c267 __inet_pton(int af, char *inp, void *outp, int compat) in __inet_pton() argument
275 if (str2inet_addr(inp, (ipaddr_t *)outp) != 0) { in __inet_pton()
277 *(uint32_t *)outp = htonl(*(uint32_t *)outp); in __inet_pton()
290 v6outp = (union v6buf_u *)outp; in __inet_pton()
412 _inet_pton(int af, char *inp, void *outp) in _inet_pton() argument
414 return (__inet_pton(af, inp, outp, 0)); in _inet_pton()
422 inet_pton(int af, char *inp, void *outp) in inet_pton() argument
424 return (__inet_pton(af, inp, outp, 1)); in inet_pton()
/illumos-gate/usr/src/cmd/compress/
H A Dcompress.c552 outp = stdout; in main()
559 outp = outfile; in main()
564 outp = stdout; in main()
671 outp = stdout; in main()
681 outp = outfile; in main()
686 outp = stdout; in main()
1268 if (ferror(outp)) in output()
1286 FILE *fout = outp; in decompress()
1302 if (putc((char)finchar, outp) == EOF && ferror(outp)) { in decompress()
1372 if (ferror(outp)) in decompress()
[all …]
/illumos-gate/usr/src/cmd/fmt/
H A Dfmt.c52 wchar_t *outp; /* Pointer in above */ variable
121 outp = NOSTR; in main()
351 if (outp) { in prefix()
354 *outp = L'\0'; in prefix()
356 outp = NOSTR; in prefix()
495 if (outp == NOSTR) in pack()
498 *outp = L'\0'; in pack()
522 if (outp == NOSTR) in oflush()
524 *outp = L'\0'; in oflush()
526 outp = NOSTR; in oflush()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute_aux.c86 uchar_t *outp; /* packet following the IP header (UDP/ICMP) */ in set_buffers() local
103 outp = (uchar_t *)(outip + 1); in set_buffers()
120 outip->ip_hl = (outp - (uchar_t *)outip) >> 2; in set_buffers()
127 outicmp = (struct icmp *)outp; in set_buffers()
134 outudp = (struct udphdr *)outp; in set_buffers()
199 uchar_t *outp; /* packet following the IP header (UDP/ICMP) */ in send_probe() local
208 outp = (uchar_t *)(outip + 1); in send_probe()
210 outudp = (struct udphdr *)outp; in send_probe()
212 outicmp = (struct icmp *)outp; in send_probe()
214 outdata = (struct outdata *)(outp + ICMP_MINLEN); in send_probe()
[all …]
H A Dtraceroute_aux6.c78 uchar_t *outp; in set_buffers6() local
96 outp = (uchar_t *)(outip + 1); in set_buffers6()
100 outicmp = (struct icmp *)outp; in set_buffers6()
105 outudp = (struct udphdr *)outp; in set_buffers6()
304 uchar_t *outp; in send_probe6() local
326 outp = (uchar_t *)(outip + 1); in send_probe6()
328 outicmp = (struct icmp *)outp; in send_probe6()
330 outdata = (struct outdata *)(outp + ICMP6_MINLEN); in send_probe6()
350 iov.iov_base = outp; in send_probe6()
/illumos-gate/usr/src/cmd/unpack/
H A Dunpack.c68 static char *outp; variable
176 outp = &outbuff[0]; in decode()
206 c = outp - &outbuff[0]; in decode()
221 *outp++ = *p; in decode()
222 if (outp == &outbuff[BUFSIZ]) { in decode()
223 if (write(outfile, outp = &outbuff[0], in decode()
498 outp = outbuff; in expand()
560 (void) write(outfile, outbuff, outp - outbuff); in expand()
623 *outp++ = c; in putch()
624 if (outp == &outbuff[BUFSIZ]) { in putch()
[all …]
/illumos-gate/usr/src/lib/librename/common/
H A Dlibrename.c48 int mode, int flags, librename_atomic_t **outp) in librename_atomic_fdinit() argument
55 if (fd < 0 || file == NULL || outp == NULL) in librename_atomic_fdinit()
67 *outp = NULL; in librename_atomic_fdinit()
132 *outp = lrap; in librename_atomic_fdinit()
138 int mode, int flags, librename_atomic_t **outp) in librename_atomic_init() argument
145 ret = librename_atomic_fdinit(fd, file, prefix, mode, flags, outp); in librename_atomic_init()
/illumos-gate/usr/src/cmd/tcopy/
H A Dtcopy.c66 int n, nw, inp, outp; in main() local
84 if ((outp = open(outf, O_WRONLY, 0666)) < 0) { in main()
121 nw = write(outp, buff, (size_t)n); in main()
162 if (ioctl(outp, MTIOCTOP, (char *)&op) < 0) { in main()
178 (void) close(outp); in main()
/illumos-gate/usr/src/test/util-tests/tests/mergeq/
H A Dmqt.c52 mqt_int(void *first, void *second, void **outp, void *arg) in mqt_int() argument
58 *outp = (void *)c; in mqt_int()
64 mqt_append(void *first, void *second, void **outp, void *arg) in mqt_append() argument
70 *outp = out; in mqt_append()
77 mqt_fatal(void *first, void *second, void **outp, void *arg) in mqt_fatal() argument
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dtparm.c256 char *outp = result; in tparm() local
305 *outp++ = c; in tparm()
390 (void) sprintf(outp, formatbuffer, (char *)op); in tparm()
392 (void) sprintf(outp, formatbuffer, op); in tparm()
400 while (*outp) in tparm()
401 outp++; in tparm()
475 *outp++ = (char)op; in tparm()
485 *outp++ = c; in tparm()
724 (void) strcpy(outp, added); in tparm()
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dses_ses.c152 #define sset8(outp, idx, sval) \ argument
153 (((uchar_t *)(outp))[idx++]) = sbyte(sval, 0)
155 #define sset16(outp, idx, sval) \ argument
156 (((uchar_t *)(outp))[idx++]) = sbyte(sval, 1), \
157 (((uchar_t *)(outp))[idx++]) = sbyte(sval, 0)
160 #define sset24(outp, idx, sval) \ argument
161 (((uchar_t *)(outp))[idx++]) = sbyte(sval, 2), \
162 (((uchar_t *)(outp))[idx++]) = sbyte(sval, 1), \
163 (((uchar_t *)(outp))[idx++]) = sbyte(sval, 0)
166 #define sset32(outp, idx, sval) \ argument
[all …]
/illumos-gate/usr/src/cmd/audio/audiotest/
H A Dwavedata.c71 int p = 12, outp = 0; in uncompress_wave() local
119 outbuf[outp++] = s; \ in uncompress_wave()
127 outp = 0; in uncompress_wave()
193 return (outp * 2); in uncompress_wave()
/illumos-gate/usr/src/lib/mergeq/
H A Dmergeq.c239 mergeq_init(mergeq_t **outp, uint_t nthrs) in mergeq_init() argument
293 *outp = mqp; in mergeq_init()
529 mergeq_merge(mergeq_t *mqp, mergeq_proc_f *func, void *arg, void **outp, in mergeq_merge() argument
535 if (mqp == NULL || func == NULL || outp == NULL) { in mergeq_merge()
546 *outp = NULL; in mergeq_merge()
590 *outp = mergeq_pop_one(mqp); in mergeq_merge()

123