Home
last modified time | relevance | path

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

12

/onnv-gate/usr/src/cmd/fs.d/cachefs/cfsd/
H A Dcfsd_svc.c83 cachefsd_null_1_svc(void *inp, void *outp, struct svc_req *reqp) in cachefsd_null_1_svc() argument
89 dbug_assert(outp == NULL); in cachefsd_null_1_svc()
111 cachefsd_caches_return *outp, in cachefsd_caches_1_svc() argument
123 dbug_assert(outp); in cachefsd_caches_1_svc()
125 if (inp || (outp == NULL)) { in cachefsd_caches_1_svc()
151 outp->ccr_modify = all_object_p->i_modify; in cachefsd_caches_1_svc()
152 outp->ccr_ids.ccr_ids_len = cnt; in cachefsd_caches_1_svc()
153 outp->ccr_ids.ccr_ids_val = headp; in cachefsd_caches_1_svc()
176 cachefsd_cache_status_1_svc(int *inp, struct cachefsd_cache_status *outp, in cachefsd_cache_status_1_svc() argument
190 dbug_assert(outp); in cachefsd_cache_status_1_svc()
[all …]
/onnv-gate/usr/src/lib/libcmd/common/
H A Duniq.c88 register char *cp, *ep, *mp, *bufp, *outp; in uniq() local
163 if(outp!=sbufp) in uniq()
164 sfwrite(fdout,outp,0); in uniq()
174 outp[f++] = ' '; in uniq()
175 outp[f++] = '0' + count + 1; in uniq()
176 outp[f] = ' '; in uniq()
182 outp[f--] = ' '; in uniq()
185 outp[f--] = '0' + (count % 10); in uniq()
188 outp[f--] = ' '; in uniq()
193 if(outp!=sbufp) in uniq()
[all …]
H A Dfmt.c57 char* outp; member
86 if (!fp->outp) in outline()
88 while (fp->outp[-1] == ' ') in outline()
89 fp->outp--; in outline()
90 *fp->outp = 0; in outline()
118 if ((d = (fp->outp - cp)) <= 0) in outline()
120 else if ((c = fp->outp[-1]) == 'n' && d > 1 && fp->outp[-2] == '\\') in outline()
133 fp->outp = 0; in outline()
160 fp->outp = fp->outbuf+prefix; in split()
166 if (!fp->outp || prefix < fp->prefix) in split()
[all …]
/onnv-gate/usr/src/uts/common/io/net80211/
H A Dnet80211_ioctl.c136 wldp_t *outp; in wifi_cfg_essid() local
143 outp = (wldp_t *)omp->b_rptr; in wifi_cfg_essid()
144 ow_essid = (wl_essid_t *)outp->wldp_buf; in wifi_cfg_essid()
155 outp->wldp_result = WL_NOTSUPPORTED; in wifi_cfg_essid()
170 wldp_t *outp; in wifi_cfg_bssid() local
175 outp = (wldp_t *)omp->b_rptr; in wifi_cfg_bssid()
179 wl_get_bssid(ic, outp->wldp_buf); in wifi_cfg_bssid()
189 outp->wldp_result = WL_NOTSUPPORTED; in wifi_cfg_bssid()
204 wldp_t *outp; in wifi_cfg_nodename() local
213 outp = (wldp_t *)omp->b_rptr; in wifi_cfg_nodename()
[all …]
/onnv-gate/usr/src/cmd/exstr/
H A Dexstr.c258 char *outp; local
263 outp = outbuf;
344 if (outp != outbuf) {
346 *outp++ = *inp++;
347 *outp = '\0';
351 outp = outbuf;
367 *outp++ = *inp++;
402 outp += snprintf(outp, BUFSIZ - (outp - outbuf),
406 outp += snprintf(outp, BUFSIZ - (outp - outbuf),
415 if (outp != outbuf) {
[all …]
/onnv-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dchap.c795 u_char *outp; local
802 outp = outpacket_buf;
804 MAKEHEADER(outp, PPP_CHAP); /* paste in a CHAP header */
806 PUTCHAR(CHAP_CHALLENGE, outp);
807 PUTCHAR(cstate->chal_id, outp);
808 PUTSHORT(outlen, outp);
810 PUTCHAR(chal_len, outp); /* put length of challenge */
811 BCOPY(cstate->challenge, outp, chal_len);
812 INCPTR(chal_len, outp);
814 BCOPY(cstate->chal_name, outp, name_len); /* append hostname */
[all …]
H A Dupap.c601 u_char *outp; local
609 outp = outpacket_buf;
611 MAKEHEADER(outp, PPP_PAP);
613 PUTCHAR(UPAP_AUTHREQ, outp);
614 PUTCHAR(++u->us_id, outp);
615 PUTSHORT(outlen, outp);
616 PUTCHAR(u->us_userlen, outp);
617 BCOPY(u->us_user, outp, u->us_userlen);
618 INCPTR(u->us_userlen, outp);
619 PUTCHAR(pwlen, outp);
[all …]
H A Dcbcp.c434 u_char *outp; local
437 outp = outpacket_buf;
441 MAKEHEADER(outp, PPP_CBCP);
443 PUTCHAR(code, outp);
444 PUTCHAR(us->us_id, outp);
445 PUTSHORT(outlen, outp);
448 BCOPY(buf, outp, len);
H A Dfsm.c820 u_char *outp; local
841 outp = outpacket_buf + PPP_HDRLEN + HEADERLEN;
851 (*f->callbacks->addci)(f, outp, &cilen);
856 fsm_sdata(f, CODE_CONFREQ, f->reqid, outp, cilen);
876 u_char *outp; local
886 outp = outpacket_buf;
889 if (datalen && data != outp + PPP_HDRLEN + HEADERLEN)
890 BCOPY(data, outp + PPP_HDRLEN + HEADERLEN, datalen);
892 MAKEHEADER(outp, f->protocol);
893 PUTCHAR(code, outp);
[all …]
/onnv-gate/usr/src/lib/libpp/common/
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()
/onnv-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()
164 *outp++ = levcount[maxlev]-2; in output()
168 *outp++ = c; in output()
169 dictsize = outp-&outbuff[0]; in output()
191 *outp = **q++; in output()
193 *outp |= **q++; in output()
196 *++outp = **q++; in output()
[all …]
/onnv-gate/usr/src/cmd/fmt/
H A Dfmt.c52 wchar_t *outp; /* Pointer in above */ variable
121 outp = NOSTR; in main()
350 if (outp) { in prefix()
353 *outp = L'\0'; in prefix()
355 outp = NOSTR; in prefix()
494 if (outp == NOSTR) in pack()
497 *outp = L'\0'; in pack()
500 for (cp = word; *cp; *outp++ = *cp++) { in pack()
508 for (cp = word; *cp; *outp++ = *cp++) { in pack()
521 if (outp == NOSTR) in oflush()
[all …]
/onnv-gate/usr/src/cmd/compress/
H A Dcompress.c254 static FILE *outp; /* current output file */ variable
550 outp = stdout; in main()
557 outp = outfile; in main()
562 outp = stdout; in main()
669 outp = stdout; in main()
679 outp = outfile; in main()
684 outp = stdout; in main()
804 if (freopen(ofname, "w", outp) == NULL) { in main()
863 if (ferror(outp) || jmpval == 3) { in main()
987 if ((putc(magic_header[0], outp) == EOF || in compress()
[all …]
/onnv-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 …]
/onnv-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()
/onnv-gate/usr/src/cmd/tcopy/
H A Dtcopy.c69 int n, nw, inp, outp; local
87 if ((outp = open(outf, O_WRONLY, 0666)) < 0) {
124 nw = write(outp, buff, (size_t)n);
165 if (ioctl(outp, MTIOCTOP, (char *)&op) < 0) {
181 (void) close(outp);
/onnv-gate/usr/src/lib/libcurses/screen/
H A Dtparm.c257 char *outp = result; in tparm() local
306 *outp++ = c; in tparm()
391 (void) sprintf(outp, formatbuffer, in tparm()
394 (void) sprintf(outp, formatbuffer, op); in tparm()
402 while (*outp) in tparm()
403 outp++; in tparm()
477 *outp++ = (char)op; in tparm()
487 *outp++ = c; in tparm()
726 (void) strcpy(outp, added); in tparm()
/onnv-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 …]
/onnv-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()
/onnv-gate/usr/src/cmd/man/src/util/nsgmls.src/lib/
H A DPartition.cxx124 ISet<Char> *inp, ISet<Char> *outp) in refine() argument
146 outp->addRange(setMin, setMax); in refine()
151 outp->addRange(setMin, refMin - 1); in refine()
158 addUpTo(outp, setMin, set); in refine()
/onnv-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_ctf.c395 mdb_ctf_type_resolve(mdb_ctf_id_t mid, mdb_ctf_id_t *outp) in mdb_ctf_type_resolve() argument
401 if (outp) in mdb_ctf_type_resolve()
402 mdb_ctf_type_invalidate(outp); in mdb_ctf_type_resolve()
413 outp != NULL) { in mdb_ctf_type_resolve()
414 *outp = lookup_id; in mdb_ctf_type_resolve()
419 if (outp != NULL) in mdb_ctf_type_resolve()
420 set_ctf_id(outp, idp->mci_fp, id); in mdb_ctf_type_resolve()
472 mdb_ctf_type_reference(mdb_ctf_id_t mid, mdb_ctf_id_t *outp) in mdb_ctf_type_reference() argument
478 if (outp) in mdb_ctf_type_reference()
479 mdb_ctf_type_invalidate(outp); in mdb_ctf_type_reference()
[all …]
/onnv-gate/usr/src/cmd/cmd-inet/usr.lib/in.dhcpd/
H A Dmisc.c209 dn_rec_list_t **outp = (dn_rec_list_t **)recordsp; in dhcp_lookup_dd()
220 if (outp) in dhcp_lookup_dd()
221 *outp = NULL; in dhcp_lookup_dd()
282 if (*outp == NULL) in dhcp_lookup_dd()
283 *outp = reclp; in dhcp_lookup_dd()
285 reclp->dnl_next = *outp; in dhcp_lookup_dd()
286 *outp = reclp; in dhcp_lookup_dd()

12