Searched defs:outp (Results 1 - 25 of 41) sorted by relevance

12

/illumos-gate/usr/src/cmd/tcopy/
H A Dtcopy.c66 int n, nw, inp, outp; local
84 if ((outp = open(outf, O_WRONLY, 0666)) < 0) {
121 nw = write(outp, buff, (size_t)n);
162 if (ioctl(outp, MTIOCTOP, (char *)&op) < 0) {
178 (void) close(outp);
/illumos-gate/usr/src/lib/libcmd/common/
H A Duniq.c88 register char *cp, *ep, *mp, *bufp, *outp; local
163 if(outp!=sbufp)
164 sfwrite(fdout,outp,0);
174 outp[f++] = ' ';
175 outp[f++] = '0' + count + 1;
176 outp[f] = ' ';
182 outp[f--] = ' ';
185 outp[f--] = '0' + (count % 10);
188 outp[f--] = ' ';
193 if(outp!
[all...]
H A Dfmt.c57 char* outp; member in struct:Fmt_s
86 if (!fp->outp)
88 while (fp->outp[-1] == ' ')
89 fp->outp--;
90 *fp->outp = 0;
118 if ((d = (fp->outp - cp)) <= 0)
120 else if ((c = fp->outp[-1]) == 'n' && d > 1 && fp->outp[-2] == '\\')
133 fp->outp = 0;
160 fp->outp
[all...]
/illumos-gate/usr/src/cmd/audio/audiotest/
H A Dwavedata.c71 int p = 12, outp = 0; local
119 outbuf[outp++] = s; \
127 outp = 0;
193 return (outp * 2);
/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 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;
882 if (datalen && data != outp + PPP_HDRLEN + HEADERLEN)
883 BCOPY(data, outp + PPP_HDRLEN + HEADERLEN, datalen);
885 MAKEHEADER(outp, f->protocol);
886 PUTCHAR(code, outp);
[all...]
H A Dchap.c785 u_char *outp; local
792 outp = outpacket_buf;
794 MAKEHEADER(outp, PPP_CHAP); /* paste in a CHAP header */
796 PUTCHAR(CHAP_CHALLENGE, outp);
797 PUTCHAR(cstate->chal_id, outp);
798 PUTSHORT(outlen, outp);
800 PUTCHAR(chal_len, outp); /* put length of challenge */
801 BCOPY(cstate->challenge, outp, chal_len);
802 INCPTR(chal_len, outp);
804 BCOPY(cstate->chal_name, outp, name_le
821 u_char *outp; local
888 u_char *outp; local
[all...]
H A Dupap.c594 u_char *outp; local
602 outp = outpacket_buf;
604 MAKEHEADER(outp, PPP_PAP);
606 PUTCHAR(UPAP_AUTHREQ, outp);
607 PUTCHAR(++u->us_id, outp);
608 PUTSHORT(outlen, outp);
609 PUTCHAR(u->us_userlen, outp);
610 BCOPY(u->us_user, outp, u->us_userlen);
611 INCPTR(u->us_userlen, outp);
612 PUTCHAR(pwlen, outp);
634 u_char *outp; local
[all...]
/illumos-gate/usr/src/lib/mergeq/
H A Dworkq.c78 workq_init(workq_t **outp, uint_t nthrs) argument
130 *outp = wqp;
H A Dmergeq.c239 mergeq_init(mergeq_t **outp, uint_t nthrs) argument
293 *outp = mqp;
529 mergeq_merge(mergeq_t *mqp, mergeq_proc_f *func, void *arg, void **outp, argument
535 if (mqp == NULL || func == NULL || outp == NULL) {
546 *outp = NULL;
590 *outp = mergeq_pop_one(mqp);
/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) */ local
103 outp = (uchar_t *)(outip + 1);
120 outip->ip_hl = (outp - (uchar_t *)outip) >> 2;
127 outicmp = (struct icmp *)outp;
134 outudp = (struct udphdr *)outp;
199 uchar_t *outp; /* packet following the IP header (UDP/ICMP) */ local
208 outp = (uchar_t *)(outip + 1);
210 outudp = (struct udphdr *)outp;
212 outicmp = (struct icmp *)outp;
214 outdata = (struct outdata *)(outp
[all...]
H A Dtraceroute_aux6.c78 uchar_t *outp; local
96 outp = (uchar_t *)(outip + 1);
100 outicmp = (struct icmp *)outp;
105 outudp = (struct udphdr *)outp;
304 uchar_t *outp; local
326 outp = (uchar_t *)(outip + 1);
328 outicmp = (struct icmp *)outp;
330 outdata = (struct outdata *)(outp + ICMP6_MINLEN);
350 iov.iov_base = outp;
/illumos-gate/usr/src/uts/common/fs/bootfs/
H A Dbootfs_construct.c161 bootfs_mknode(bootfs_t *bfs, bootfs_node_t *parent, bootfs_node_t **outp, argument
179 *outp = bnp;
190 *outp = bnp;
/illumos-gate/usr/src/lib/libtnfctl/
H A Dkernel_int.c140 _tnfctl_prbk_test_func(uintptr_t *outp) argument
142 *outp = (uintptr_t) PRBK_DUMMY_TEST;
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dtparm.c256 char *outp = result; local
305 *outp++ = c;
390 (void) sprintf(outp, formatbuffer, (char *)op);
392 (void) sprintf(outp, formatbuffer, op);
394 * Advance outp past what sprintf just did.
400 while (*outp)
401 outp++;
475 *outp++ = (char)op;
485 *outp++ = c;
724 (void) strcpy(outp, adde
[all...]
/illumos-gate/usr/src/test/util-tests/tests/mergeq/
H A Dmqt.c52 mqt_int(void *first, void *second, void **outp, void *arg) argument
58 *outp = (void *)c;
64 mqt_append(void *first, void *second, void **outp, void *arg) argument
70 *outp = out;
77 mqt_fatal(void *first, void *second, void **outp, void *arg) argument
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dinet_ntop.c267 __inet_pton(int af, char *inp, void *outp, int compat) argument
275 if (str2inet_addr(inp, (ipaddr_t *)outp) != 0) {
277 *(uint32_t *)outp = htonl(*(uint32_t *)outp);
290 v6outp = (union v6buf_u *)outp;
412 _inet_pton(int af, char *inp, void *outp) argument
414 return (__inet_pton(af, inp, outp, 0));
422 inet_pton(int af, char *inp, void *outp) argument
424 return (__inet_pton(af, inp, outp, 1));
/illumos-gate/usr/src/cmd/cat/
H A Dcat.c334 cat(FILE *fi, struct stat *statp, struct stat *outp, char *filenm) argument
440 if (S_ISREG(statp->st_mode) && S_ISREG(outp->st_mode)) {
/illumos-gate/usr/src/cmd/exstr/
H A Dexstr.c246 char *outp; local
251 outp = outbuf;
332 if (outp != outbuf) {
334 *outp++ = *inp++;
335 *outp = '\0';
339 outp = outbuf;
355 *outp++ = *inp++;
390 outp += snprintf(outp, BUFSIZ - (outp
[all...]
/illumos-gate/usr/src/cmd/unpack/
H A Dunpack.c68 static char *outp; variable
176 outp = &outbuff[0];
206 c = outp - &outbuff[0];
221 *outp++ = *p;
222 if (outp == &outbuff[BUFSIZ]) {
223 if (write(outfile, outp = &outbuff[0],
498 outp = outbuff;
560 (void) write(outfile, outbuff, outp - outbuff);
623 *outp++ = c;
624 if (outp
[all...]
/illumos-gate/usr/src/cmd/pack/
H A Dpack.c147 register char **q, *outp; local
160 outp = &outbuff[6];
161 *outp++ = maxlev;
163 *outp++ = levcount[i];
164 *outp++ = levcount[maxlev]-2;
168 *outp++ = c;
169 dictsize = outp-&outbuff[0];
191 *outp = **q++;
193 *outp |= **q++;
196 *++outp
[all...]
/illumos-gate/usr/src/cmd/fmt/
H A Dfmt.c52 wchar_t *outp; /* Pointer in above */ variable
121 outp = NOSTR;
351 if (outp) {
354 *outp = L'\0';
356 outp = NOSTR;
476 * "outp" points to the next available space therein. When outp is NOSTR,
495 if (outp == NOSTR)
498 *outp = L'\0';
501 for (cp = word; *cp; *outp
[all...]
/illumos-gate/usr/src/common/crypto/modes/
H A Dgcm.c334 uint8_t *datap, *outp, *counterp; local
349 outp = &((ctx->gcm_pt_buf)[index]);
364 outp[i] = datap[i] ^ counterp[i];
H A Dccm.c337 uint8_t *datap, *outp, *counterp; local
341 outp = &((ctx->ccm_pt_buf)[ctx->ccm_processed_data_len]);
348 outp[i] = datap[i] ^ counterp[i];
/illumos-gate/usr/src/lib/libpcsc/common/
H A Dlibpcsc.c128 LPSCARDCONTEXT outp)
132 if (outp == NULL) {
146 *outp = hdl;
127 SCardEstablishContext(DWORD scope, LPCVOID unused0, LPCVOID unused1, LPSCARDCONTEXT outp) argument

Completed in 104 milliseconds

12