| /freebsd-13.1/contrib/wpa/src/eap_peer/ |
| H A D | eap_tnc.c | 20 struct wpabuf *in_buf; member 63 wpabuf_free(data->in_buf); in eap_tnc_deinit() 181 if (data->in_buf == NULL) { in eap_tnc_process_fragment() 184 if (data->in_buf == NULL) { in eap_tnc_process_fragment() 287 if (data->in_buf == NULL) { in eap_tnc_process() 290 data->in_buf = &tmpbuf; in eap_tnc_process() 344 if (data->in_buf != &tmpbuf) in eap_tnc_process() 345 wpabuf_free(data->in_buf); in eap_tnc_process() 346 data->in_buf = NULL; in eap_tnc_process() 404 if (data->in_buf == &tmpbuf) in eap_tnc_process() [all …]
|
| H A D | eap_ikev2.c | 20 struct wpabuf *in_buf; member 111 wpabuf_free(data->in_buf); in eap_ikev2_deinit() 300 if (data->in_buf == NULL) { in eap_ikev2_process_fragment() 310 if (data->in_buf == NULL) { in eap_ikev2_process_fragment() 406 if (data->in_buf == NULL) { in eap_ikev2_process() 409 data->in_buf = &tmpbuf; in eap_ikev2_process() 413 if (data->in_buf == &tmpbuf) in eap_ikev2_process() 414 data->in_buf = NULL; in eap_ikev2_process() 419 if (data->in_buf != &tmpbuf) in eap_ikev2_process() 420 wpabuf_free(data->in_buf); in eap_ikev2_process() [all …]
|
| H A D | eap_wsc.c | 22 struct wpabuf *in_buf; member 291 wpabuf_free(data->in_buf); in eap_wsc_deinit() 384 wpabuf_put_data(data->in_buf, buf, len); in eap_wsc_process_cont() 407 if (data->in_buf == NULL) { in eap_wsc_process_fragment() 410 if (data->in_buf == NULL) { in eap_wsc_process_fragment() 514 if (data->in_buf && in eap_wsc_process() 526 if (data->in_buf == NULL) { in eap_wsc_process() 529 data->in_buf = &tmpbuf; in eap_wsc_process() 549 if (data->in_buf != &tmpbuf) in eap_wsc_process() 550 wpabuf_free(data->in_buf); in eap_wsc_process() [all …]
|
| /freebsd-13.1/crypto/heimdal/appl/test/ |
| H A D | http_client.c | 196 char in_buf[1024], *in_ptr = in_buf; in http_query() local 220 in_buf[ret + in_len] = '\0'; in http_query() 229 p = strstr(in_buf, "\r\n"); in http_query() 233 } else if (p == in_buf) { in http_query() 234 memmove(in_buf, in_buf + 2, sizeof(in_buf) - 2); in http_query() 241 memcpy(req->response, in_buf, p - in_buf); in http_query() 248 memcpy(req->headers[req->num_headers], in_buf, p - in_buf); in http_query() 254 memmove(in_buf, p + 2, sizeof(in_buf) - (p - in_buf) - 2); in http_query() 255 in_len -= (p - in_buf) + 2; in http_query() 256 in_ptr -= (p - in_buf) + 2; in http_query() [all …]
|
| /freebsd-13.1/contrib/wpa/src/eap_server/ |
| H A D | eap_server_tnc.c | 23 struct wpabuf *in_buf; member 97 wpabuf_free(data->in_buf); in eap_tnc_reset() 427 if (data->in_buf == NULL) { in eap_tnc_process_fragment() 430 if (data->in_buf == NULL) { in eap_tnc_process_fragment() 524 if (data->in_buf == NULL) { in eap_tnc_process() 527 data->in_buf = &tmpbuf; in eap_tnc_process() 531 wpabuf_head(data->in_buf), wpabuf_len(data->in_buf)); in eap_tnc_process() 532 tncs_process(data, data->in_buf); in eap_tnc_process() 534 if (data->in_buf != &tmpbuf) in eap_tnc_process() 535 wpabuf_free(data->in_buf); in eap_tnc_process() [all …]
|
| H A D | eap_server_wsc.c | 22 struct wpabuf *in_buf; member 160 wpabuf_free(data->in_buf); in eap_wsc_reset() 310 wpabuf_put_data(data->in_buf, buf, len); in eap_wsc_process_cont() 330 if (data->in_buf == NULL) { in eap_wsc_process_fragment() 333 if (data->in_buf == NULL) { in eap_wsc_process_fragment() 416 if (data->in_buf && in eap_wsc_process() 432 if (data->in_buf == NULL) { in eap_wsc_process() 435 data->in_buf = &tmpbuf; in eap_wsc_process() 461 if (data->in_buf != &tmpbuf) in eap_wsc_process() 462 wpabuf_free(data->in_buf); in eap_wsc_process() [all …]
|
| H A D | eap_server_ikev2.c | 20 struct wpabuf *in_buf; member 126 wpabuf_free(data->in_buf); in eap_ikev2_reset() 309 if (data->in_buf == NULL) { in eap_ikev2_process_fragment() 318 if (data->in_buf == NULL) { in eap_ikev2_process_fragment() 430 if (data->in_buf == NULL) { in eap_ikev2_process() 433 data->in_buf = &tmpbuf; in eap_ikev2_process() 437 if (data->in_buf == &tmpbuf) in eap_ikev2_process() 438 data->in_buf = NULL; in eap_ikev2_process() 462 if (data->in_buf != &tmpbuf) in eap_ikev2_process() 463 wpabuf_free(data->in_buf); in eap_ikev2_process() [all …]
|
| H A D | eap_server_ttls.c | 1014 struct wpabuf *in_buf) in eap_ttls_process_phase2() argument 1020 " Phase 2", (unsigned long) wpabuf_len(in_buf)); in eap_ttls_process_phase2() 1034 in_buf); in eap_ttls_process_phase2()
|
| H A D | eap_server_fast.c | 1397 struct wpabuf *in_buf) in eap_fast_process_phase2() argument 1402 " Phase 2", (unsigned long) wpabuf_len(in_buf)); in eap_fast_process_phase2() 1415 in_buf); in eap_fast_process_phase2()
|
| H A D | eap_server_peap.c | 1092 struct wpabuf *in_buf) in eap_peap_process_phase2() argument 1099 " Phase 2", (unsigned long) wpabuf_len(in_buf)); in eap_peap_process_phase2() 1112 in_buf); in eap_peap_process_phase2()
|
| H A D | eap_server_teap.c | 1680 struct wpabuf *in_buf) in eap_teap_process_phase2() argument 1686 (unsigned long) wpabuf_len(in_buf)); in eap_teap_process_phase2() 1699 in_buf); in eap_teap_process_phase2()
|
| /freebsd-13.1/contrib/dialog/ |
| H A D | textbox.c | 284 obj->in_buf = 0; in get_line() 295 obj->in_buf++; in get_line() 332 if (obj->in_buf == 0) { in back_lines() 359 obj->in_buf--; in back_lines() 360 if (obj->buf[obj->in_buf] != '\n') in back_lines() 368 if (obj->in_buf == 0) { in back_lines() 392 obj->in_buf++; in back_lines() 607 tempinx = obj->in_buf; in perform_search() 635 obj->in_buf = tempinx; in perform_search() 878 obj.in_buf = 0; in dialog_textbox() [all …]
|
| /freebsd-13.1/contrib/xz/src/xz/ |
| H A D | coder.c | 39 static io_buf in_buf; variable 376 && memcmp(in_buf.u8, magic, sizeof(magic)) == 0; in is_format_xz() 390 if (lzma_properties_decode(&filter, NULL, in_buf.u8, 5) != LZMA_OK) in is_format_lzma() 418 uncompressed_size |= (uint64_t)(in_buf.u8[5 + i]) << (i * 8); in is_format_lzma() 695 strm.next_in = in_buf.u8; in coder_normal() 696 strm.avail_in = io_read(pair, &in_buf, in coder_normal() 789 pair, &in_buf, 1); in coder_normal() 852 if (io_write(pair, &in_buf, strm.avail_in)) in coder_passthru() 859 strm.avail_in = io_read(pair, &in_buf, IO_BUFFER_SIZE); in coder_passthru() 888 strm.next_in = in_buf.u8; in coder_run() [all …]
|
| /freebsd-13.1/contrib/xz/src/xzdec/ |
| H A D | xzdec.c | 164 uint8_t in_buf[BUFSIZ]; in uncompress() local 175 strm->next_in = in_buf; in uncompress() 176 strm->avail_in = fread(in_buf, 1, BUFSIZ, file); in uncompress() 222 || fread(in_buf, 1, 1, file) in uncompress()
|
| /freebsd-13.1/crypto/heimdal/appl/push/ |
| H A D | push.c | 216 char *in_buf; in doit() local 234 in_buf = emalloc(PUSH_BUFSIZ + 1); in doit() 235 in_ptr = in_buf; in doit() 320 char *tmp = erealloc(in_buf, in_buf_size + PUSH_BUFSIZ + 1); in doit() 321 in_ptr = tmp + (in_ptr - in_buf); in doit() 322 in_buf = tmp; in doit() 336 beg = in_buf; in doit() 475 memmove (in_buf, beg, rem); in doit() 477 in_ptr = in_buf + rem; in doit()
|
| /freebsd-13.1/share/examples/libusb20/ |
| H A D | bulk.c | 122 uint8_t in_buf[BUFLEN]; in doit() local 135 if ((rv = libusb20_tr_bulk_intr_sync(xfr_in, in_buf, BUFLEN, &rlen, TIMEOUT)) in doit() 142 print_formatted(in_buf, rlen); in doit()
|
| H A D | control.c | 166 uint8_t in_buf[BUFLEN]; in doit() local 169 if ((rv = libusb20_tr_bulk_intr_sync(xfr_intr, in_buf, BUFLEN, &rlen, TIMEOUT)) in doit() 176 print_formatted(in_buf, rlen); in doit()
|
| /freebsd-13.1/usr.sbin/config/ |
| H A D | lang.l | 49 YY_BUFFER_STATE in_buf; /* previous lex state */ member 305 in->in_buf = YY_CURRENT_BUFFER; 331 yy_switch_to_buffer(in->in_buf);
|
| /freebsd-13.1/sys/dev/xilinx/ |
| H A D | axi_quad_spi.c | 160 uint8_t *in_buf, int bufsz, int cs) in spi_txrx() argument 172 if (in_buf) in spi_txrx() 173 in_buf[i] = (data & 0xff); in spi_txrx()
|
| /freebsd-13.1/sys/dev/cxgbe/cudbg/ |
| H A D | fastlz_api.c | 86 int write_to_buf(void *out_buf, u32 out_buf_size, u32 *offset, void *in_buf, in write_to_buf() argument 96 memcpy((char *)out_buf + *offset, in_buf, in_buf_size); in write_to_buf() 103 int read_from_buf(void *in_buf, u32 in_buf_size, u32 *offset, void *out_buf, in read_from_buf() argument 109 memcpy((char *)out_buf, (char *)in_buf + *offset, out_buf_size); in read_from_buf()
|
| /freebsd-13.1/sys/arm/freescale/vybrid/ |
| H A D | vf_spi.c | 208 uint8_t *in_buf, int bufsz, int cs) in spi_txrx() argument 243 in_buf[i] = READ1(sc, SPI_POPR); in spi_txrx()
|
| /freebsd-13.1/crypto/openssh/ |
| H A D | umac.c | 187 UINT8 in_buf[AES_BLOCK_LEN] = {0}; in kdf() local 193 in_buf[AES_BLOCK_LEN-9] = ndx; in kdf() 194 in_buf[AES_BLOCK_LEN-1] = i = 1; in kdf() 197 aes_encryption(in_buf, out_buf, key); in kdf() 199 in_buf[AES_BLOCK_LEN-1] = ++i; in kdf() 204 aes_encryption(in_buf, out_buf, key); in kdf() 207 explicit_bzero(in_buf, sizeof(in_buf)); in kdf()
|
| /freebsd-13.1/contrib/unbound/sldns/ |
| H A D | wire2str.c | 819 int in_buf = 1; in sldns_wire2str_dname_scan() local 836 if(in_buf) { (*d)++; (*dlen)--; } in sldns_wire2str_dname_scan() 842 if(in_buf && *dlen == 0) in sldns_wire2str_dname_scan() 845 else if(!in_buf && pos+1 > pkt+pktlen) in sldns_wire2str_dname_scan() 849 if(in_buf) { (*d)++; (*dlen)--; } in sldns_wire2str_dname_scan() 860 in_buf = 0; in sldns_wire2str_dname_scan() 872 if(in_buf && *dlen < (size_t)labellen) in sldns_wire2str_dname_scan() 874 else if(!in_buf && pos+(size_t)labellen > pkt+pktlen) in sldns_wire2str_dname_scan() 889 if(in_buf) { in sldns_wire2str_dname_scan() 897 if(in_buf && *dlen > 0) { (*d)++; (*dlen)--; } in sldns_wire2str_dname_scan()
|