Searched refs:outbuf (Results 51 - 75 of 105) sorted by relevance

12345

/freebsd-11-stable/usr.bin/uudecode/
H A Duudecode.c415 unsigned char outbuf[MAXPATHLEN * 4]; local
447 n = b64_pton(inbuf, outbuf, sizeof(outbuf));
451 fwrite(outbuf, 1, n, outfp);
/freebsd-11-stable/usr.sbin/ctm/ctm_smail/
H A Dctm_smail.c323 char outbuf[LINE_LENGTH+1]; local
347 op = outbuf;
365 fwrite(outbuf, sizeof(char), op - outbuf, sm_fp);
/freebsd-11-stable/sys/libkern/
H A Diconv_ucs.c168 size_t *inbytesleft, char **outbuf, size_t *outbytesleft,
179 if (inbuf == NULL || *inbuf == NULL || outbuf == NULL || *outbuf == NULL)
184 dst = *outbuf;
367 *outbuf += on - or;
167 iconv_ucs_conv(void *d2p, const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int convchar, int casetype) argument
/freebsd-11-stable/contrib/gdb/gdb/
H A Dremote-sds.c281 tob64 (unsigned char *inbuf, char *outbuf, int len)
289 p = outbuf;
303 return (p - outbuf);
307 fromb64 (char *inbuf, char *outbuf, int len)
324 *outbuf++ = (sum >> 16) & 0xff;
325 *outbuf++ = (sum >> 8) & 0xff;
326 *outbuf++ = sum & 0xff;
280 tob64(unsigned char *inbuf, char *outbuf, int len) argument
306 fromb64(char *inbuf, char *outbuf, int len) argument
H A Dremote.c2488 char *buf = NULL, *outbuf;
2513 outbuf = xstrprintf ("vCont;S%02x", siggnal);
2515 outbuf = xstrprintf ("vCont;s");
2517 outbuf = xstrprintf ("vCont;C%02x", siggnal);
2519 outbuf = xstrprintf ("vCont;c");
2525 outbuf = xstrprintf ("vCont;S%02x:%x;c", siggnal,
2528 outbuf = xstrprintf ("vCont;s:%x;c", PIDGET (inferior_ptid));
2530 outbuf = xstrprintf ("vCont;C%02x:%x;c", siggnal,
2533 outbuf = xstrprintf ("vCont;c");
2539 outbuf
2481 char *buf = NULL, *outbuf; local
5012 remote_rcmd(char *command, struct ui_file *outbuf) argument
[all...]
H A Dtarget.h833 #define target_rcmd(command, outbuf) \
834 (*current_target.to_rcmd) (command, outbuf)
/freebsd-11-stable/lib/libc/rpc/
H A Dclnt_bcast.c254 char *outbuf = NULL; /* Broadcast msg buffer */ local
372 outbuf = malloc(maxbufsize);
373 if ((inbuf == NULL) || (outbuf == NULL)) {
396 xdrmem_create(xdrs, outbuf, maxbufsize, XDR_ENCODE);
462 if (_sendto(fdlist[i].fd, outbuf,
568 *((u_int32_t *)(void *)(outbuf))) {
641 free(outbuf);
/freebsd-11-stable/sys/fs/msdosfs/
H A Dmsdosfs_conv.c798 dos2unixchr(u_char *outbuf, const u_char **instr, size_t *ilen, int lower, struct msdosfsmount *pmp) argument
803 outp = outbuf;
830 outbuf[1] = '\0';
834 outp = outbuf;
845 char *up, *outp, unicode[3], outbuf[3]; local
888 outp = outbuf;
919 win2unixchr(u_char *outbuf, u_int16_t wc, struct msdosfsmount *pmp) argument
924 outp = outbuf;
947 outp = outbuf;
957 u_char *outp, outbuf[ local
[all...]
/freebsd-11-stable/contrib/ntp/sntp/libevent/
H A Dbuffer.c956 evbuffer_add_buffer(struct evbuffer *outbuf, struct evbuffer *inbuf) argument
962 EVBUFFER_LOCK2(inbuf, outbuf);
964 out_total_len = outbuf->total_len;
966 if (in_total_len == 0 || outbuf == inbuf)
969 if (outbuf->freeze_end || inbuf->freeze_start) {
980 /* There might be an empty chain at the start of outbuf; free
982 evbuffer_free_all_chains(outbuf->first);
983 COPY_CHAIN(outbuf, inbuf);
985 APPEND_CHAIN(outbuf, inbuf);
991 outbuf
1002 evbuffer_add_buffer_reference(struct evbuffer *outbuf, struct evbuffer *inbuf) argument
1045 evbuffer_prepend_buffer(struct evbuffer *outbuf, struct evbuffer *inbuf) argument
2900 evbuffer_add_reference(struct evbuffer *outbuf, const void *data, size_t datlen, evbuffer_ref_cleanup_cb cleanupfn, void *extra) argument
[all...]
/freebsd-11-stable/sys/netgraph/
H A Dng_pred1.c74 u_char outbuf[PRED1_BUF_SIZE]; /* output buffer */ member in struct:ng_pred1_private
421 len = Pred1Compress(node, priv->inbuf + 2, priv->outbuf + 2, inlen);
425 out = priv->outbuf;
503 len1 = Pred1Decompress(node, priv->inbuf + 2, priv->outbuf,
522 fcs = Crc16(fcs, priv->outbuf, len);
533 m_copyback(m, 0, len, (caddr_t)priv->outbuf);
/freebsd-11-stable/sys/net/
H A Dif_clone.c480 char *buf, *dst, *outbuf = NULL; local
500 outbuf = malloc(IFNAMSIZ*buf_count, M_CLONE, M_WAITOK | M_ZERO);
512 for (ifc = LIST_FIRST(&V_if_cloners), buf = outbuf;
521 err = copyout(outbuf, dst, buf_count*IFNAMSIZ);
522 if (outbuf != NULL)
523 free(outbuf, M_CLONE);
H A Dif_bridge.c1349 char *buf, *outbuf; local
1364 outbuf = malloc(buflen, M_TEMP, M_WAITOK | M_ZERO);
1368 buf = outbuf;
1402 error = copyout(outbuf, bifc->ifbic_req, bifc->ifbic_len);
1404 free(outbuf, M_TEMP);
1414 char *buf, *outbuf; local
1426 outbuf = malloc(buflen, M_TEMP, M_WAITOK | M_ZERO);
1430 buf = outbuf;
1455 error = copyout(outbuf, bac->ifbac_req, bac->ifbac_len);
1457 free(outbuf, M_TEM
1733 char *buf, *outbuf; local
[all...]
/freebsd-11-stable/sys/security/mac/
H A Dmac_socket.c204 char *outbuf, size_t outbuflen)
208 MAC_POLICY_EXTERNALIZE(socket, label, elements, outbuf, outbuflen);
215 char *outbuf, size_t outbuflen)
219 MAC_POLICY_EXTERNALIZE(socketpeer, label, elements, outbuf,
203 mac_socket_externalize_label(struct label *label, char *elements, char *outbuf, size_t outbuflen) argument
214 mac_socketpeer_externalize_label(struct label *label, char *elements, char *outbuf, size_t outbuflen) argument
H A Dmac_cred.c156 char *outbuf, size_t outbuflen)
160 MAC_POLICY_EXTERNALIZE(cred, label, elements, outbuf, outbuflen);
155 mac_cred_externalize_label(struct label *label, char *elements, char *outbuf, size_t outbuflen) argument
H A Dmac_pipe.c109 char *outbuf, size_t outbuflen)
113 MAC_POLICY_EXTERNALIZE(pipe, label, elements, outbuf, outbuflen);
108 mac_pipe_externalize_label(struct label *label, char *elements, char *outbuf, size_t outbuflen) argument
H A Dmac_net.c278 char *outbuf, size_t outbuflen)
282 MAC_POLICY_EXTERNALIZE(ifnet, label, elements, outbuf, outbuflen);
277 mac_ifnet_externalize_label(struct label *label, char *elements, char *outbuf, size_t outbuflen) argument
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/
H A Duverbs.h58 (udata)->outbuf = (void __user *) (obuf); \
66 (udata)->outbuf = (olen) ? (void __user *) (obuf) : NULL; \
/freebsd-11-stable/stand/libsa/zfs/
H A Dzfs.c369 char *outbuf, *bouncebuf; local
372 outbuf = (char *) buf;
440 memcpy(outbuf, bouncebuf + head, min(secsz - head, bytes));
441 outbuf += min(secsz - head, bytes);
457 memcpy(outbuf, bouncebuf, bytes);
459 res = read(fd, outbuf, full_sec_size);
464 outbuf += full_sec_size;
475 memcpy(outbuf, bouncebuf, secsz - tail);
/freebsd-11-stable/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dctf.c652 caddr_t outbuf; local
655 outbuf = xmalloc(sizeof (ctf_header_t) + (buf->ctb_ptr - buf->ctb_base)
658 bufpos = outbuf;
663 *resszp = bufpos - outbuf;
664 return (outbuf);
698 caddr_t outbuf; local
759 outbuf = write_compressed_buffer(&h, buf, resszp);
761 outbuf = write_buffer(&h, buf, resszp);
764 return (outbuf);
/freebsd-11-stable/sys/kern/
H A Dsysv_shm.c1276 struct oshmid_ds outbuf; local
1303 ipcperm_new2old(&shmseg->u.shm_perm, &outbuf.shm_perm);
1304 outbuf.shm_segsz = shmseg->u.shm_segsz;
1305 outbuf.shm_cpid = shmseg->u.shm_cpid;
1306 outbuf.shm_lpid = shmseg->u.shm_lpid;
1307 outbuf.shm_nattch = shmseg->u.shm_nattch;
1308 outbuf.shm_atime = shmseg->u.shm_atime;
1309 outbuf.shm_dtime = shmseg->u.shm_dtime;
1310 outbuf.shm_ctime = shmseg->u.shm_ctime;
1311 outbuf
[all...]
/freebsd-11-stable/sys/dev/cxgbe/cudbg/
H A Dcudbg_lib.c95 static int get_next_ext_entity_hdr(void *outbuf, u32 *ext_size, argument
99 struct cudbg_hdr *cudbg_hdr = (struct cudbg_hdr *)outbuf;
111 ((char *)outbuf + cudbg_hdr->data_len);
137 ((char *)outbuf +
203 int cudbg_collect(void *handle, void *outbuf, u32 *outbuf_size) argument
224 dbg_buff.data = outbuf;
274 ((char *)outbuf + cudbg_hdr->hdr_len +
302 rc = get_entity_hdr(outbuf, i, dbg_buff.size,
307 rc = get_next_ext_entity_hdr(outbuf, &ext_size,
417 rc = get_entity_hdr(outbuf, large_entity_cod
555 get_entity_hdr(void *outbuf, int i, u32 size, struct cudbg_entity_hdr **entity_hdr) argument
[all...]
/freebsd-11-stable/crypto/heimdal/appl/telnet/libtelnet/
H A Dkerberos5.c346 krb5_data outbuf; local
484 ret = krb5_mk_rep(context, auth_context, &outbuf);
495 Data(ap, KRB_RESPONSE, outbuf.data, outbuf.length);
/freebsd-11-stable/contrib/telnet/libtelnet/
H A Dkerberos5.c307 krb5_data outbuf; local
442 ret = krb5_mk_rep(context, auth_context, &outbuf);
452 Data(ap, KRB_RESPONSE, outbuf.data, outbuf.length);
/freebsd-11-stable/lib/libedit/
H A Dmap.c1131 char outbuf[EL_BUFSIZ]; local
1135 (void) keymacro__decode_str(in, outbuf, sizeof(outbuf), "");
1140 "%s\t->\t" FSTR "\n", outbuf, bp->name);
1257 Char outbuf[EL_BUFSIZ]; local
1358 if ((out = parse__string(outbuf, argv[argc])) == NULL) {
/freebsd-11-stable/libexec/getty/
H A Dmain.c667 char outbuf[OBUFSIZ]; variable
682 outbuf[obufcnt++] = c;
693 write(STDOUT_FILENO, outbuf, obufcnt);

Completed in 416 milliseconds

12345