Home
last modified time | relevance | path

Searched refs:outp (Results 1 – 25 of 65) sorted by path

123

/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/cmd/cat/
H A Dcat.c334 cat(FILE *fi, struct stat *statp, struct stat *outp, char *filenm) in cat() argument
440 if (S_ISREG(statp->st_mode) && S_ISREG(outp->st_mode)) { in cat()
/illumos-gate/usr/src/cmd/cfgadm/
H A Dcfgadm.c107 static void out_was_req(ap_out_t *outp, ap_arg_t *in_array, int nargs,
186 static void do_post_filter(ap_out_t *outp, post_filter_t *post_filtp, int *jp);
1922 out_was_req(ap_out_t *outp, ap_arg_t *in_array, int nargs, int no_dyn) in out_was_req() argument
1931 outp->req = 1; in out_was_req()
1937 outp->ldatap->ap_phys_id); in out_was_req()
1938 (void) snprintf(logid, sizeof (logid), "%s", outp->ldatap->ap_log_id); in out_was_req()
1985 outp->req = 1; in out_was_req()
1991 do_post_filter(ap_out_t *outp, post_filter_t *post_filtp, int *nselp) in do_post_filter() argument
1995 if (outp->req != 1) { in do_post_filter()
2008 if (all_fields[i].compare(&post_filtp->ldata, outp->ldatap, in do_post_filter()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
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 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 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 …]
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 …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Doptions.c1884 uint32_t *outp, void **srvp) in locate_service() argument
1900 opoe = poe_mkheader(outp, ispadi ? POECODE_PADO : POECODE_PADS, 0); in locate_service()
H A Dpppoed.h42 ppptun_atype *pap, uint32_t *outp, void **srvp);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute_aux.c84 uchar_t *outp; /* packet following the IP header (UDP/ICMP) */ in set_buffers() local
101 outp = (uchar_t *)(outip + 1); in set_buffers()
118 outip->ip_hl = (outp - (uchar_t *)outip) >> 2; in set_buffers()
125 outicmp = (struct icmp *)outp; in set_buffers()
132 outudp = (struct udphdr *)outp; in set_buffers()
197 uchar_t *outp; /* packet following the IP header (UDP/ICMP) */ in send_probe() local
206 outp = (uchar_t *)(outip + 1); in send_probe()
208 outudp = (struct udphdr *)outp; in send_probe()
210 outicmp = (struct icmp *)outp; in send_probe()
212 outdata = (struct outdata *)(outp + ICMP_MINLEN); in send_probe()
[all …]
H A Dtraceroute_aux6.c76 uchar_t *outp; in set_buffers6() local
94 outp = (uchar_t *)(outip + 1); in set_buffers6()
98 outicmp = (struct icmp *)outp; in set_buffers6()
103 outudp = (struct udphdr *)outp; in set_buffers6()
302 uchar_t *outp; in send_probe6() local
324 outp = (uchar_t *)(outip + 1); in send_probe6()
326 outicmp = (struct icmp *)outp; in send_probe6()
328 outdata = (struct outdata *)(outp + ICMP6_MINLEN); in send_probe6()
348 iov.iov_base = outp; in send_probe6()
/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/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/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/mdb/common/mdb/
H A Dmdb_ctf.c524 mdb_ctf_type_resolve(mdb_ctf_id_t mid, mdb_ctf_id_t *outp) in mdb_ctf_type_resolve() argument
530 if (outp) in mdb_ctf_type_resolve()
531 mdb_ctf_type_invalidate(outp); in mdb_ctf_type_resolve()
542 outp != NULL) { in mdb_ctf_type_resolve()
543 *outp = lookup_id; in mdb_ctf_type_resolve()
548 if (outp != NULL) in mdb_ctf_type_resolve()
549 set_ctf_id(outp, idp->mci_fp, id); in mdb_ctf_type_resolve()
607 if (outp) in mdb_ctf_type_reference()
608 mdb_ctf_type_invalidate(outp); in mdb_ctf_type_reference()
612 if (outp != NULL) in mdb_ctf_type_reference()
[all …]
/illumos-gate/usr/src/cmd/pack/
H A Dpack.c145 register char **q, *outp; in output() local
158 outp = &outbuff[6]; in output()
159 *outp++ = maxlev; in output()
161 *outp++ = levcount[i]; in output()
166 *outp++ = c; in output()
189 *outp = **q++; in output()
191 *outp |= **q++; in output()
194 *++outp = **q++; in output()
207 outp -= BUFSIZ; in output()
212 outp++; in output()
[all …]
/illumos-gate/usr/src/cmd/svc/configd/
H A Dfile_object.c2278 const char *name, rc_node_t **outp) in object_snapshot_take_new() argument
2323 *outp = rc_node_setup(np, &ci.ci_base_nl, name, ci.ci_parent); in object_snapshot_take_new()
H A Drc_node.c3211 rc_node_ptr_t *outp) in rc_node_get_child() argument
3246 rc_node_assign(outp, child); in rc_node_get_child()
3252 rc_node_assign(outp, NULL); in rc_node_get_child()
5395 rc_node_t *outp = NULL; in rc_snapshot_take_new() local
5484 rc_node_assign(outpp, outp); in rc_snapshot_take_new()
5485 rc_node_rele(outp); in rc_snapshot_take_new()
5504 rc_node_t *np, *outp; in rc_snapshot_take_attach() local
5511 RC_NODE_PTR_GET_CHECK_AND_LOCK(outp, outpp); in rc_snapshot_take_attach()
7490 char *outp, size_t sz) in rc_notify_info_wait() argument
7500 outp[0] = 0; in rc_notify_info_wait()
[all …]
/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/cmd/unpack/
H A Dunpack.c66 static char *outp; variable
174 outp = &outbuff[0]; in decode()
204 c = outp - &outbuff[0]; in decode()
219 *outp++ = *p; in decode()
220 if (outp == &outbuff[BUFSIZ]) { in decode()
221 if (write(outfile, outp = &outbuff[0], in decode()
496 outp = outbuff; in expand()
558 (void) write(outfile, outbuff, outp - outbuff); in expand()
621 *outp++ = c; in putch()
622 if (outp == &outbuff[BUFSIZ]) { in putch()
[all …]
/illumos-gate/usr/src/common/crypto/modes/
H A Dccm.c337 uint8_t *datap, *outp, *counterp; in ccm_decrypt_incomplete_block() local
341 outp = &((ctx->ccm_pt_buf)[ctx->ccm_processed_data_len]); in ccm_decrypt_incomplete_block()
348 outp[i] = datap[i] ^ counterp[i]; in ccm_decrypt_incomplete_block()
H A Dgcm.c334 uint8_t *datap, *outp, *counterp; in gcm_decrypt_incomplete_block() local
349 outp = &((ctx->gcm_pt_buf)[index]); in gcm_decrypt_incomplete_block()
364 outp[i] = datap[i] ^ counterp[i]; in gcm_decrypt_incomplete_block()
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A Dproto.c376 char* outp; member
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
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 …]
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 …]

123