Searched refs:outbuf (Results 26 - 50 of 105) sorted by relevance

12345

/freebsd-11-stable/contrib/wpa/src/eap_peer/
H A Deap_pwd.c41 struct wpabuf *outbuf; member in struct:eap_pwd_data
162 data->inbuf = data->outbuf = NULL;
197 wpabuf_free(data->outbuf);
335 data->outbuf = wpabuf_alloc(sizeof(struct eap_pwd_id) +
337 if (data->outbuf == NULL) {
341 wpabuf_put_be16(data->outbuf, data->group_num);
342 wpabuf_put_u8(data->outbuf, EAP_PWD_DEFAULT_RAND_FUNC);
343 wpabuf_put_u8(data->outbuf, EAP_PWD_DEFAULT_PRF);
344 wpabuf_put_data(data->outbuf, id->token, sizeof(id->token));
345 wpabuf_put_u8(data->outbuf, i
[all...]
/freebsd-11-stable/contrib/wpa/src/eap_server/
H A Deap_server_pwd.c39 struct wpabuf *outbuf; member in struct:eap_pwd_data
135 data->inbuf = data->outbuf = NULL;
163 wpabuf_free(data->outbuf);
178 data->outbuf = wpabuf_alloc(sizeof(struct eap_pwd_id) +
180 if (data->outbuf == NULL) {
186 wpabuf_free(data->outbuf);
187 data->outbuf = NULL;
226 wpabuf_put_be16(data->outbuf, data->group_num);
227 wpabuf_put_u8(data->outbuf, EAP_PWD_DEFAULT_RAND_FUNC);
228 wpabuf_put_u8(data->outbuf, EAP_PWD_DEFAULT_PR
[all...]
/freebsd-11-stable/contrib/pf/libevent/
H A Dbuffer.c92 evbuffer_add_buffer(struct evbuffer *outbuf, struct evbuffer *inbuf) argument
97 if (outbuf->off == 0) {
102 SWAP(&tmp, outbuf);
103 SWAP(outbuf, inbuf);
109 * of data that we tranfered from inbuf to outbuf
113 if (oldoff && outbuf->cb != NULL)
114 (*outbuf->cb)(outbuf, 0, oldoff, outbuf->cbarg);
119 res = evbuffer_add(outbuf, inbu
[all...]
/freebsd-11-stable/crypto/heimdal/lib/krb5/
H A Dmk_safe.c40 krb5_data *outbuf,
133 outbuf->length = len;
134 outbuf->data = buf;
37 krb5_mk_safe(krb5_context context, krb5_auth_context auth_context, const krb5_data *userdata, krb5_data *outbuf, krb5_replay_data *outdata) argument
H A Drd_priv.c40 krb5_data *outbuf,
51 krb5_data_zero(outbuf);
164 ret = krb5_data_copy (outbuf, part.user_data.data, part.user_data.length);
37 krb5_rd_priv(krb5_context context, krb5_auth_context auth_context, const krb5_data *inbuf, krb5_data *outbuf, krb5_replay_data *outdata) argument
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-11-stable/contrib/sendmail/src/
H A Dsfsasl.c195 static const char *outbuf = NULL; local
197 static char *outbuf = NULL; local
218 while (outbuf == NULL && outlen == 0)
225 (unsigned int) len, &outbuf, &outlen);
231 outbuf = NULL;
238 if (outbuf == NULL)
240 /* be paranoid: outbuf == NULL but outlen != 0 */
241 syserr("@sasl_read failure: outbuf == NULL but outlen != 0");
247 (void) memcpy(buf, outbuf + offset, size);
255 (void) memcpy(buf, outbuf
289 const char *outbuf; local
291 char *outbuf; local
[all...]
/freebsd-11-stable/sys/crypto/rc4/
H A Drc4.c89 const u_char *inbuf, u_char *outbuf, int buflen)
106 outbuf[i] = inbuf[i] ^ state->perm[j];
88 rc4_crypt(struct rc4_state *const state, const u_char *inbuf, u_char *outbuf, int buflen) argument
/freebsd-11-stable/contrib/binutils/bfd/
H A Dsimple.c138 (bfd *abfd, asection *sec, bfd_byte *outbuf, asymbol **symbol_table);
144 be temporarily reset to 0. The result will be stored at @var{outbuf}
145 or allocated with @code{bfd_malloc} if @var{outbuf} is @code{NULL}.
154 bfd_byte *outbuf,
169 if (outbuf == NULL)
172 contents = outbuf;
206 if (outbuf == NULL)
211 outbuf = data;
247 outbuf,
152 bfd_simple_get_relocated_section_contents(bfd *abfd, asection *sec, bfd_byte *outbuf, asymbol **symbol_table) argument
/freebsd-11-stable/contrib/gcclibs/libcpp/
H A Dcharset.c235 uchar *outbuf = *outbufp; local
256 *outbuf++ = *p++;
258 *outbufp = outbuf;
283 uchar *outbuf; local
295 outbuf = *outbufp;
296 outbuf[bigend ? 3 : 0] = (s & 0x000000FF);
297 outbuf[bigend ? 2 : 1] = (s & 0x0000FF00) >> 8;
298 outbuf[bigend ? 1 : 2] = (s & 0x00FF0000) >> 16;
299 outbuf[bigend ? 0 : 3] = (s & 0xFF000000) >> 24;
344 uchar *outbuf local
460 uchar *outbuf; local
556 char *outbuf; local
[all...]
/freebsd-11-stable/contrib/ofed/libibnetdisc/
H A Dibnetdisc_cache.c215 static size_t _unmarshall_buf(const void *inbuf, void *outbuf, unsigned int len) argument
217 memcpy(outbuf, inbuf, len);
721 static size_t _marshall8(uint8_t * outbuf, uint8_t num) argument
723 outbuf[0] = num;
728 static size_t _marshall16(uint8_t * outbuf, uint16_t num) argument
730 outbuf[0] = num & 0x00FF;
731 outbuf[1] = (num & 0xFF00) >> 8;
736 static size_t _marshall32(uint8_t * outbuf, uint32_t num) argument
738 outbuf[0] = num & 0x000000FF;
739 outbuf[
746 _marshall64(uint8_t * outbuf, uint64_t num) argument
760 _marshall_buf(void *outbuf, const void *inbuf, unsigned int len) argument
[all...]
/freebsd-11-stable/sys/dev/acpi_support/
H A Dacpi_hp.c293 UINT8 instance, char* outbuf, size_t outsize,
888 char* outbuf, size_t outsize, UINT32* sequence, int detail)
901 outbuf[0] = 0;
933 strlcat(outbuf, acpi_hp_get_string_from_object(
937 while (strlen(outbuf) < outlen)
938 strlcat(outbuf, " ", outsize);
940 strlcat(outbuf, acpi_hp_get_string_from_object(
944 while (strlen(outbuf) < outlen)
945 strlcat(outbuf, " ", outsize);
946 strlcat(outbuf, acpi_hp_get_string_from_objec
887 acpi_hp_get_cmi_block(device_t wmi_dev, const char* guid, UINT8 instance, char* outbuf, size_t outsize, UINT32* sequence, int detail) argument
[all...]
/freebsd-11-stable/sys/libkern/
H A Diconv.c281 size_t *inbytesleft, char **outbuf, size_t *outbytesleft)
283 return ICONV_CONVERTER_CONV(handle, inbuf, inbytesleft, outbuf, outbytesleft, 0, 0);
288 size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int casetype)
290 return ICONV_CONVERTER_CONV(handle, inbuf, inbytesleft, outbuf, outbytesleft, 0, casetype);
295 size_t *inbytesleft, char **outbuf, size_t *outbytesleft)
297 return ICONV_CONVERTER_CONV(handle, inbuf, inbytesleft, outbuf, outbytesleft, 1, 0);
302 size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int casetype)
304 return ICONV_CONVERTER_CONV(handle, inbuf, inbytesleft, outbuf, outbytesleft, 1, casetype);
280 iconv_conv(void *handle, const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft) argument
287 iconv_conv_case(void *handle, const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int casetype) argument
294 iconv_convchr(void *handle, const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft) argument
301 iconv_convchr_case(void *handle, const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int casetype) argument
H A Diconv_xlat16.c112 size_t *inbytesleft, char **outbuf, size_t *outbytesleft,
124 if (inbuf == NULL || *inbuf == NULL || outbuf == NULL || *outbuf == NULL)
129 dst = *outbuf;
288 *outbuf += on - or;
111 iconv_xlat16_conv(void *d2p, const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int convchar, int casetype) argument
/freebsd-11-stable/crypto/heimdal/lib/gssapi/krb5/
H A Dinit_sec_context.c394 krb5_data outbuf; local
399 krb5_data_zero(&outbuf);
441 "realm-config", &outbuf);
444 if (outbuf.length < 1 || ((((unsigned char *)outbuf.data)[0]) & 2))
446 krb5_data_free(&outbuf);
526 krb5_data outbuf; local
535 krb5_data_zero(&outbuf);
664 &outbuf);
674 output_token->value = outbuf
833 krb5_data outbuf; local
[all...]
H A Daccept_sec_context.c296 krb5_data outbuf; local
324 server, NULL, NULL, &outbuf);
333 &outbuf,
337 krb5_data_free (&outbuf);
572 krb5_data outbuf; local
608 &outbuf);
615 output_token->length = outbuf.length;
616 output_token->value = outbuf.data;
619 &outbuf,
623 krb5_data_free (&outbuf);
[all...]
/freebsd-11-stable/contrib/xz/src/liblzma/common/
H A Dstream_encoder_mt.c65 lzma_outbuf *outbuf; member in struct:worker_thread_s
237 thr->outbuf->size = thr->block_options.header_size;
248 // later from thr->outbuf.
250 thr->progress_out = thr->outbuf->size;
279 thr->in, &in_pos, in_limit, thr->outbuf->buf,
280 &thr->outbuf->size, out_size, action);
281 } while (ret == LZMA_OK && thr->outbuf->size < out_size);
291 thr->outbuf->buf);
316 thr->outbuf->size = 0;
318 thr->in, in_size, thr->outbuf
[all...]
/freebsd-11-stable/contrib/ntp/sntp/libevent/include/event2/
H A Dbuffer.h447 @param outbuf the output buffer
454 int evbuffer_add_buffer(struct evbuffer *outbuf, struct evbuffer *inbuf);
465 @param outbuf the output buffer
470 int evbuffer_add_buffer_reference(struct evbuffer *outbuf,
489 @param outbuf the output buffer
498 int evbuffer_add_reference(struct evbuffer *outbuf,
518 @param outbuf the output buffer
527 int evbuffer_add_file(struct evbuffer *outbuf, int fd, ev_off_t offset,
/freebsd-11-stable/sys/fs/cd9660/
H A Dcd9660_util.c68 char inbuf[3], outbuf[3], *inp, *outp; local
82 outp = outbuf;
226 char outbuf[3], *outp; local
231 outp = outbuf;
/freebsd-11-stable/tools/test/iconv/tablegen/
H A Dtablegen.c288 uint32_t outbuf; local
298 outbuf = 0x00000000;
299 outbuf_ = (char *)&outbuf;
316 format(outbuf);
/freebsd-11-stable/sys/netgraph/
H A Dng_deflate.c65 u_char outbuf[DEFLATE_BUF_SIZE]; /* output buffer */ member in struct:ng_deflate_private
474 /* Compress "inbuf" into "outbuf". */
483 priv->cx.next_out = priv->outbuf + 2 + DEFLATE_HDRLEN;
509 be16enc(priv->outbuf, PROT_COMPD);
510 be16enc(priv->outbuf + 2, priv->seqnum);
513 m_copyback(m, 0, outlen, (caddr_t)priv->outbuf);
596 /* Decompress "inbuf" into "outbuf". */
601 priv->cx.next_out = priv->outbuf + 1;
629 if ((priv->outbuf[1] & 0x01) != 0) {
630 priv->outbuf[
[all...]
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);
762 u_char *inbuf, *outbuf; local
784 outbuf = malloc(MPPC_DECOMP_BUFSIZE + MPPC_DECOMP_SAFETY,
786 if (outbuf == NULL) {
797 dest = outbuf;
[all...]
/freebsd-11-stable/contrib/netbsd-tests/lib/libm/
H A Dt_ldexp.c167 char outbuf[64]; local
178 (void)snprintf(outbuf, sizeof(outbuf), FORMAT, v);
180 ATF_CHECK_STREQ_MSG(table->result, outbuf,
182 i, table->result, outbuf);
/freebsd-11-stable/sys/security/mac/
H A Dmac_internal.h233 char *outbuf, size_t outbuflen);
241 char *outbuf, size_t outbuflen);
248 char *outbuf, size_t outbuflen);
252 char *outbuf, size_t outbuflen);
402 #define MAC_POLICY_EXTERNALIZE(type, label, elementlist, outbuf, \
410 sbuf_new(&sb, outbuf, outbuflen, SBUF_FIXEDLEN); \
/freebsd-11-stable/tests/sys/file/
H A Dflock_helper.c1144 char outbuf[512]; local
1208 snprintf(outbuf, sizeof(outbuf),
1217 write(1, outbuf,
1218 strlen(outbuf));
1233 snprintf(outbuf, sizeof(outbuf),
1238 write(1, outbuf, strlen(outbuf));
1291 snprintf(outbuf, sizeo
[all...]

Completed in 395 milliseconds

12345