/freebsd-13-stable/contrib/wpa/src/eap_peer/ |
H A D | eap_pwd.c | 41 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-13-stable/contrib/wpa/src/eap_server/ |
H A D | eap_server_pwd.c | 39 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-13-stable/contrib/pf/libevent/ |
H A D | buffer.c | 92 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-13-stable/crypto/heimdal/lib/krb5/ |
H A D | mk_safe.c | 40 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 D | rd_priv.c | 40 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
|
/freebsd-13-stable/contrib/sendmail/src/ |
H A D | sfsasl.c | 195 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-13-stable/sys/netgraph/ |
H A D | ng_deflate.c | 67 u_char outbuf[DEFLATE_BUF_SIZE]; /* output buffer */ member in struct:ng_deflate_private 451 /* Compress "inbuf" into "outbuf". */ 460 priv->cx.next_out = priv->outbuf + 2 + DEFLATE_HDRLEN; 486 MPASS(priv->outbuf[outlen + 0] == 0x00); 487 MPASS(priv->outbuf[outlen + 1] == 0x00); 488 MPASS(priv->outbuf[outlen + 2] == 0xff); 489 MPASS(priv->outbuf[outlen + 3] == 0xff); 499 be16enc(priv->outbuf, PROT_COMPD); 500 be16enc(priv->outbuf + 2, priv->seqnum); 503 m_copyback(m, 0, outlen, (caddr_t)priv->outbuf); [all...] |
H A D | ng_mppc.c | 502 u_char *inbuf, *outbuf; local 522 outbuf = malloc(outlen, M_NETGRAPH_MPPC, M_NOWAIT); 523 if (outbuf == NULL) { 536 dest = outbuf; 555 m_copyback(m, 0, outlen, (caddr_t)outbuf); 567 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-13-stable/sys/crypto/armv8/ |
H A D | armv8_crypto.c | 385 uint8_t *buf, *authbuf, *outbuf; local 420 outbuf = crypto_buffer_contiguous_subsegment(&crp->crp_obuf, 422 if (outbuf == NULL) { 425 outbuf = buf; 427 outbuf = malloc(crp->crp_payload_length, 429 if (outbuf == NULL) { 438 outbuf = buf; 485 buf, outbuf, 495 buf, outbuf, 508 crp->crp_payload_length, outbuf); [all...] |
/freebsd-13-stable/sys/crypto/rc4/ |
H A D | rc4.c | 89 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-13-stable/contrib/ofed/libibnetdisc/ |
H A D | ibnetdisc_cache.c | 215 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-13-stable/sys/dev/acpi_support/ |
H A D | acpi_hp.c | 320 UINT8 instance, char* outbuf, size_t outsize, 957 char* outbuf, size_t outsize, UINT32* sequence, int detail) 969 outbuf[0] = 0; 1018 strlcat(outbuf, acpi_hp_get_string_from_object( 1022 while (strlen(outbuf) < outlen) 1023 strlcat(outbuf, " ", outsize); 1025 strlcat(outbuf, acpi_hp_get_string_from_object( 1029 while (strlen(outbuf) < outlen) 1030 strlcat(outbuf, " ", outsize); 1031 strlcat(outbuf, acpi_hp_get_string_from_objec 956 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-13-stable/sys/crypto/aesni/ |
H A D | aesni.c | 694 uint8_t *authbuf, *buf, *outbuf; local 720 outbuf = crypto_buffer_contiguous_subsegment(&crp->crp_obuf, 722 if (outbuf == NULL) { 725 outbuf = buf; 727 outbuf = malloc(crp->crp_payload_length, 729 if (outbuf == NULL) { 738 outbuf = buf; 754 crp->crp_payload_length, buf, outbuf, iv); 756 if (buf != outbuf) 757 memcpy(outbuf, bu [all...] |
/freebsd-13-stable/sys/libkern/ |
H A D | iconv.c | 284 size_t *inbytesleft, char **outbuf, size_t *outbytesleft) 286 return ICONV_CONVERTER_CONV(handle, inbuf, inbytesleft, outbuf, outbytesleft, 0, 0); 291 size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int casetype) 293 return ICONV_CONVERTER_CONV(handle, inbuf, inbytesleft, outbuf, outbytesleft, 0, casetype); 298 size_t *inbytesleft, char **outbuf, size_t *outbytesleft) 300 return ICONV_CONVERTER_CONV(handle, inbuf, inbytesleft, outbuf, outbytesleft, 1, 0); 305 size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int casetype) 307 return ICONV_CONVERTER_CONV(handle, inbuf, inbytesleft, outbuf, outbytesleft, 1, casetype); 283 iconv_conv(void *handle, const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft) argument 290 iconv_conv_case(void *handle, const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int casetype) argument 297 iconv_convchr(void *handle, const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft) argument 304 iconv_convchr_case(void *handle, const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int casetype) argument
|
H A D | iconv_xlat16.c | 114 size_t *inbytesleft, char **outbuf, size_t *outbytesleft, 126 if (inbuf == NULL || *inbuf == NULL || outbuf == NULL || *outbuf == NULL) 131 dst = *outbuf; 289 *outbuf += on - or; 113 iconv_xlat16_conv(void *d2p, const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int convchar, int casetype) argument
|
/freebsd-13-stable/contrib/xz/src/liblzma/common/ |
H A D | stream_encoder_mt.c | 65 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-13-stable/crypto/heimdal/lib/gssapi/krb5/ |
H A D | init_sec_context.c | 394 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 D | accept_sec_context.c | 296 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-13-stable/contrib/libevent/include/event2/ |
H A D | buffer.h | 447 @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-13-stable/contrib/ntp/sntp/libevent/include/event2/ |
H A D | buffer.h | 447 @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-13-stable/sys/fs/cd9660/ |
H A D | cd9660_util.c | 70 char inbuf[3], outbuf[3], *inp, *outp; local 84 outp = outbuf; 228 char outbuf[3], *outp; local 233 outp = outbuf;
|
/freebsd-13-stable/tools/test/iconv/tablegen/ |
H A D | tablegen.c | 288 uint32_t outbuf; local 298 outbuf = 0x00000000; 299 outbuf_ = (char *)&outbuf; 316 format(outbuf);
|
/freebsd-13-stable/contrib/netbsd-tests/lib/libm/ |
H A D | t_ldexp.c | 168 char outbuf[64]; local 179 (void)snprintf(outbuf, sizeof(outbuf), FORMAT, v); 180 ATF_CHECK_STREQ_MSG(table->result, outbuf, 182 i, table->result, outbuf, v);
|
/freebsd-13-stable/sys/security/mac/ |
H A D | mac_internal.h | 252 char *outbuf, size_t outbuflen); 260 char *outbuf, size_t outbuflen); 267 char *outbuf, size_t outbuflen); 271 char *outbuf, size_t outbuflen); 421 #define MAC_POLICY_EXTERNALIZE(type, label, elementlist, outbuf, \ 429 sbuf_new(&sb, outbuf, outbuflen, SBUF_FIXEDLEN); \
|
/freebsd-13-stable/tests/sys/file/ |
H A D | flock_helper.c | 1144 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...] |