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

12345

/freebsd-current/tests/sys/kern/
H A Dktls_test.c1179 char *plaintext, *decrypted, *outbuf; local
1190 outbuf = malloc(outbuf_cap);
1191 hdr = (struct tls_record_layer *)outbuf;
1233 * into outbuf. Start by reading the header
1238 rv = read(ev.ident, outbuf + outbuf_len,
1249 debug_hexdump(tc, outbuf, outbuf_len,
1263 rv = read(ev.ident, outbuf + outbuf_len,
1273 seqno, outbuf, outbuf_len,
1290 free(outbuf);
1329 char *plaintext, *decrypted, *outbuf; local
1389 char *outbuf; local
1498 char *plaintext, *received, *outbuf; local
1618 char *plaintext, *outbuf; local
1707 char *plaintext, *outbuf; local
1748 char *plaintext, *outbuf; local
1790 char *plaintext, *outbuf; local
1832 char *plaintext, *outbuf; local
1875 char *outbuf; local
[all...]
/freebsd-current/sys/security/mac/
H A Dmac_internal.h250 char *outbuf, size_t outbuflen);
258 char *outbuf, size_t outbuflen);
265 char *outbuf, size_t outbuflen);
269 char *outbuf, size_t outbuflen);
419 #define MAC_POLICY_EXTERNALIZE(type, label, elementlist, outbuf, \
427 sbuf_new(&sb, outbuf, outbuflen, SBUF_FIXEDLEN); \
H A Dmac_socket.c202 char *outbuf, size_t outbuflen)
206 MAC_POLICY_EXTERNALIZE(socket, label, elements, outbuf, outbuflen);
213 char *outbuf, size_t outbuflen)
217 MAC_POLICY_EXTERNALIZE(socketpeer, label, elements, outbuf,
201 mac_socket_externalize_label(struct label *label, char *elements, char *outbuf, size_t outbuflen) argument
212 mac_socketpeer_externalize_label(struct label *label, char *elements, char *outbuf, size_t outbuflen) argument
H A Dmac_pipe.c107 char *outbuf, size_t outbuflen)
111 MAC_POLICY_EXTERNALIZE(pipe, label, elements, outbuf, outbuflen);
106 mac_pipe_externalize_label(struct label *label, char *elements, char *outbuf, size_t outbuflen) argument
H A Dmac_cred.c154 char *outbuf, size_t outbuflen)
158 MAC_POLICY_EXTERNALIZE(cred, label, elements, outbuf, outbuflen);
153 mac_cred_externalize_label(struct label *label, char *elements, char *outbuf, size_t outbuflen) argument
/freebsd-current/sys/netgraph/
H A Dng_mppc.c501 u_char *inbuf, *outbuf; local
521 outbuf = malloc(outlen, M_NETGRAPH_MPPC, M_NOWAIT);
522 if (outbuf == NULL) {
535 dest = outbuf;
554 m_copyback(m, 0, outlen, (caddr_t)outbuf);
566 free(outbuf, M_NETGRAPH_MPPC);
761 u_char *inbuf, *outbuf; local
783 outbuf = malloc(MPPC_DECOMP_BUFSIZE + MPPC_DECOMP_SAFETY,
785 if (outbuf == NULL) {
796 dest = outbuf;
[all...]
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-current/tests/sys/file/
H A Dflock_helper.c1142 char outbuf[512]; local
1206 snprintf(outbuf, sizeof(outbuf),
1215 write(1, outbuf,
1216 strlen(outbuf));
1231 snprintf(outbuf, sizeof(outbuf),
1236 write(1, outbuf, strlen(outbuf));
1289 snprintf(outbuf, sizeo
[all...]
/freebsd-current/contrib/xz/src/liblzma/common/
H A Dstream_encoder_mt.c64 lzma_outbuf *outbuf; member in struct:worker_thread_s
228 .compressed_size = thr->outbuf->allocated,
255 const size_t out_size = thr->outbuf->allocated;
265 // later from thr->outbuf.
296 thr->in, &in_pos, in_limit, thr->outbuf->buf,
308 thr->outbuf->buf);
335 thr->in, in_size, thr->outbuf->buf,
353 thr->outbuf->unpadded_size
355 assert(thr->outbuf->unpadded_size != 0);
356 thr->outbuf
[all...]
H A Dstream_decoder_mt.c78 /// copy is needed because updating outbuf->pos requires locking
83 /// mutex (coder->mutex) when updating outbuf->pos and (2) when
93 lzma_outbuf *outbuf; member in struct:worker_thread
104 /// Updating outbuf->pos requires locking the main mutex
106 /// from the oldest outbuf in the queue, only the worker thread
107 /// that is associated with the oldest outbuf needs to update its
108 /// outbuf->pos. This avoids useless mutex contention that would
110 /// mutex to update their outbuf->pos.
113 /// this worker thread will update outbuf->pos after each call to
335 /// Enables updating of outbuf
[all...]
/freebsd-current/crypto/heimdal/lib/krb5/
H A Dmk_priv.c40 krb5_data *outbuf,
136 ret = krb5_data_copy(outbuf, buf + buf_size - len, len);
37 krb5_mk_priv(krb5_context context, krb5_auth_context auth_context, const krb5_data *userdata, krb5_data *outbuf, krb5_replay_data *outdata) argument
/freebsd-current/usr.sbin/mpsutil/
H A Dmpsutil.c220 #define PCHAR(c) { if (retval < tmpsz) { *outbuf++ = (c); retval++; } }
223 mps_parse_flags(uintmax_t num, const char *q, char *outbuf, int tmpsz) argument
/freebsd-current/usr.bin/bintrans/
H A Duudecode.c435 unsigned char outbuf[MAXPATHLEN * 4]; local
467 n = b64_pton(inbuf, outbuf, sizeof(outbuf));
471 fwrite(outbuf, 1, n, outfp);
/freebsd-current/sys/libkern/
H A Diconv_ucs.c167 size_t *inbytesleft, char **outbuf, size_t *outbytesleft,
178 if (inbuf == NULL || *inbuf == NULL || outbuf == NULL || *outbuf == NULL)
183 dst = *outbuf;
365 *outbuf += on - or;
166 iconv_ucs_conv(void *d2p, const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int convchar, int casetype) argument
/freebsd-current/lib/libc/rpc/
H A Dclnt_bcast.c248 char *outbuf = NULL; /* Broadcast msg buffer */ local
366 outbuf = malloc(maxbufsize);
367 if ((inbuf == NULL) || (outbuf == NULL)) {
390 xdrmem_create(xdrs, outbuf, maxbufsize, XDR_ENCODE);
456 if (_sendto(fdlist[i].fd, outbuf,
562 *((u_int32_t *)(void *)(outbuf))) {
635 free(outbuf);
/freebsd-current/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, uint16_t wc, struct msdosfsmount *pmp) argument
924 outp = outbuf;
947 outp = outbuf;
957 u_char *outp, outbuf[ local
[all...]
/freebsd-current/contrib/ntp/sntp/libevent/
H A Dbuffer.c966 evbuffer_add_buffer(struct evbuffer *outbuf, struct evbuffer *inbuf) argument
972 EVBUFFER_LOCK2(inbuf, outbuf);
974 out_total_len = outbuf->total_len;
976 if (in_total_len == 0 || outbuf == inbuf)
979 if (outbuf->freeze_end || inbuf->freeze_start) {
990 /* There might be an empty chain at the start of outbuf; free
992 evbuffer_free_all_chains(outbuf->first);
993 COPY_CHAIN(outbuf, inbuf);
995 APPEND_CHAIN(outbuf, inbuf);
1001 outbuf
1012 evbuffer_add_buffer_reference(struct evbuffer *outbuf, struct evbuffer *inbuf) argument
1055 evbuffer_prepend_buffer(struct evbuffer *outbuf, struct evbuffer *inbuf) argument
2921 evbuffer_add_reference(struct evbuffer *outbuf, const void *data, size_t datlen, evbuffer_ref_cleanup_cb cleanupfn, void *extra) argument
[all...]
/freebsd-current/contrib/libevent/
H A Dbuffer.c966 evbuffer_add_buffer(struct evbuffer *outbuf, struct evbuffer *inbuf) argument
972 EVBUFFER_LOCK2(inbuf, outbuf);
974 out_total_len = outbuf->total_len;
976 if (in_total_len == 0 || outbuf == inbuf)
979 if (outbuf->freeze_end || inbuf->freeze_start) {
990 /* There might be an empty chain at the start of outbuf; free
992 evbuffer_free_all_chains(outbuf->first);
993 COPY_CHAIN(outbuf, inbuf);
995 APPEND_CHAIN(outbuf, inbuf);
1001 outbuf
1012 evbuffer_add_buffer_reference(struct evbuffer *outbuf, struct evbuffer *inbuf) argument
1055 evbuffer_prepend_buffer(struct evbuffer *outbuf, struct evbuffer *inbuf) argument
2921 evbuffer_add_reference(struct evbuffer *outbuf, const void *data, size_t datlen, evbuffer_ref_cleanup_cb cleanupfn, void *extra) argument
[all...]
/freebsd-current/contrib/libpcap/
H A Dsockutils.h153 int sock_bufferize(const void *data, int size, char *outbuf, int *offset, int totsize, int checkonly, char *errbuf, int errbuflen);
/freebsd-current/stand/libsa/zfs/
H A Dzfs.c464 char *outbuf, *bouncebuf; local
467 outbuf = (char *) buf;
535 memcpy(outbuf, bouncebuf + head, min(secsz - head, bytes));
536 outbuf += min(secsz - head, bytes);
552 memcpy(outbuf, bouncebuf, bytes);
554 res = read(fd, outbuf, full_sec_size);
559 outbuf += full_sec_size;
570 memcpy(outbuf, bouncebuf, secsz - tail);
587 char *outbuf, *bouncebuf; local
590 outbuf
[all...]
/freebsd-current/crypto/openssl/crypto/crmf/
H A Dcrmf_lib.c620 unsigned char *outbuf = NULL; /* decryption output buffer */ local
684 * keep the original pointer in outbuf so the memory can be freed later
686 if ((p = outbuf = OPENSSL_malloc(ecert->encValue->length +
693 || !EVP_DecryptUpdate(evp_ctx, outbuf, &outlen,
696 || !EVP_DecryptFinal(evp_ctx, outbuf + outlen, &n)) {
709 OPENSSL_free(outbuf);
/freebsd-current/sys/kern/
H A Dsysv_shm.c1331 struct oshmid_ds outbuf; local
1358 ipcperm_new2old(&shmseg->u.shm_perm, &outbuf.shm_perm);
1359 outbuf.shm_segsz = shmseg->u.shm_segsz;
1360 outbuf.shm_cpid = shmseg->u.shm_cpid;
1361 outbuf.shm_lpid = shmseg->u.shm_lpid;
1362 outbuf.shm_nattch = shmseg->u.shm_nattch;
1363 outbuf.shm_atime = shmseg->u.shm_atime;
1364 outbuf.shm_dtime = shmseg->u.shm_dtime;
1365 outbuf.shm_ctime = shmseg->u.shm_ctime;
1366 outbuf
[all...]
/freebsd-current/sys/dev/cxgbe/cudbg/
H A Dcudbg_lib.c92 static int get_next_ext_entity_hdr(void *outbuf, u32 *ext_size, argument
96 struct cudbg_hdr *cudbg_hdr = (struct cudbg_hdr *)outbuf;
108 ((char *)outbuf + cudbg_hdr->data_len);
134 ((char *)outbuf +
200 int cudbg_collect(void *handle, void *outbuf, u32 *outbuf_size) argument
221 dbg_buff.data = outbuf;
271 ((char *)outbuf + cudbg_hdr->hdr_len +
299 rc = get_entity_hdr(outbuf, i, dbg_buff.size,
304 rc = get_next_ext_entity_hdr(outbuf, &ext_size,
414 rc = get_entity_hdr(outbuf, large_entity_cod
552 get_entity_hdr(void *outbuf, int i, u32 size, struct cudbg_entity_hdr **entity_hdr) argument
[all...]
/freebsd-current/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-current/contrib/telnet/libtelnet/
H A Dkerberos5.c303 krb5_data outbuf; local
438 ret = krb5_mk_rep(context, auth_context, &outbuf);
448 Data(ap, KRB_RESPONSE, outbuf.data, outbuf.length);

Completed in 494 milliseconds

12345