Home
last modified time | relevance | path

Searched refs:in_buf (Results 1 – 25 of 29) sorted by relevance

12

/freebsd-14.2/contrib/wpa/src/eap_peer/
H A Deap_tnc.c20 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 Deap_ikev2.c20 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 Deap_wsc.c22 struct wpabuf *in_buf; member
301 wpabuf_free(data->in_buf); in eap_wsc_deinit()
394 wpabuf_put_data(data->in_buf, buf, len); in eap_wsc_process_cont()
417 if (data->in_buf == NULL) { in eap_wsc_process_fragment()
420 if (data->in_buf == NULL) { in eap_wsc_process_fragment()
524 if (data->in_buf && in eap_wsc_process()
536 if (data->in_buf == NULL) { in eap_wsc_process()
539 data->in_buf = &tmpbuf; in eap_wsc_process()
559 if (data->in_buf != &tmpbuf) in eap_wsc_process()
560 wpabuf_free(data->in_buf); in eap_wsc_process()
[all …]
/freebsd-14.2/crypto/heimdal/appl/test/
H A Dhttp_client.c196 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-14.2/contrib/wpa/src/eap_server/
H A Deap_server_tnc.c23 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 Deap_server_wsc.c22 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 Deap_server_ikev2.c20 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 Deap_server_ttls.c1015 struct wpabuf *in_buf) in eap_ttls_process_phase2() argument
1021 " Phase 2", (unsigned long) wpabuf_len(in_buf)); in eap_ttls_process_phase2()
1035 in_buf); in eap_ttls_process_phase2()
H A Deap_server_peap.c1110 struct wpabuf *in_buf) in eap_peap_process_phase2() argument
1117 " Phase 2", (unsigned long) wpabuf_len(in_buf)); in eap_peap_process_phase2()
1130 in_buf); in eap_peap_process_phase2()
/freebsd-14.2/contrib/dialog/
H A Dtextbox.c295 obj->in_buf = 0; in get_line()
306 obj->in_buf++; in get_line()
344 if (obj->in_buf == 0) { in back_lines()
371 obj->in_buf--; in back_lines()
373 || obj->in_buf < 0 in back_lines()
383 if (obj->in_buf == 0) { in back_lines()
407 obj->in_buf++; in back_lines()
625 tempinx = obj->in_buf; in perform_search()
653 obj->in_buf = tempinx; in perform_search()
899 obj.in_buf = 0; in dialog_textbox()
[all …]
/freebsd-14.2/contrib/xz/src/xz/
H A Dcoder.c39 static io_buf in_buf; variable
434 && memcmp(in_buf.u8, magic, sizeof(magic)) == 0; in is_format_xz()
476 uncompressed_size |= (uint64_t)(in_buf.u8[5 + i]) << (i * 8); in is_format_lzma()
493 && memcmp(in_buf.u8, magic, sizeof(magic)) == 0; in is_format_lzip()
849 strm.next_in = in_buf.u8; in coder_normal()
850 strm.avail_in = io_read(pair, &in_buf, in coder_normal()
945 pair, &in_buf, 1); in coder_normal()
1008 if (io_write(pair, &in_buf, strm.avail_in)) in coder_passthru()
1015 strm.avail_in = io_read(pair, &in_buf, IO_BUFFER_SIZE); in coder_passthru()
1044 strm.next_in = in_buf.u8; in coder_run()
[all …]
/freebsd-14.2/contrib/xz/src/xzdec/
H A Dxzdec.c167 uint8_t in_buf[BUFSIZ]; in uncompress() local
178 strm->next_in = in_buf; in uncompress()
179 strm->avail_in = fread(in_buf, 1, BUFSIZ, file); in uncompress()
225 || fread(in_buf, 1, 1, file) in uncompress()
/freebsd-14.2/sys/dev/firmware/arm/
H A Dscmi_clk.c69 req.in_buf = &in; in scmi_clk_get_rate()
98 req.in_buf = &in; in scmi_clk_set_rate()
128 req.in_buf = &in; in scmi_clk_gate()
247 req.in_buf = &in; in scmi_clk_get_name()
280 req.in_buf = &in; in scmi_clk_attrs()
320 req.in_buf = NULL; in scmi_clk_discover()
H A Dscmi.h68 const void *in_buf; member
H A Dscmi.c136 scmi_shmem_write(sc->tx_shmem, SMT_HEADER_SIZE, req->in_buf, in scmi_request_locked()
/freebsd-14.2/crypto/heimdal/appl/push/
H A Dpush.c216 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-14.2/share/examples/libusb20/
H A Dbulk.c120 uint8_t in_buf[BUFLEN]; in doit() local
133 if ((rv = libusb20_tr_bulk_intr_sync(xfr_in, in_buf, BUFLEN, &rlen, TIMEOUT)) in doit()
140 print_formatted(in_buf, rlen); in doit()
H A Dcontrol.c164 uint8_t in_buf[BUFLEN]; in doit() local
167 if ((rv = libusb20_tr_bulk_intr_sync(xfr_intr, in_buf, BUFLEN, &rlen, TIMEOUT)) in doit()
174 print_formatted(in_buf, rlen); in doit()
/freebsd-14.2/usr.sbin/config/
H A Dlang.l48 YY_BUFFER_STATE in_buf; /* previous lex state */ member
304 in->in_buf = YY_CURRENT_BUFFER;
330 yy_switch_to_buffer(in->in_buf);
/freebsd-14.2/sys/dev/xilinx/
H A Daxi_quad_spi.c158 uint8_t *in_buf, int bufsz, int cs) in spi_txrx() argument
170 if (in_buf) in spi_txrx()
171 in_buf[i] = (data & 0xff); in spi_txrx()
/freebsd-14.2/sys/dev/cxgbe/cudbg/
H A Dfastlz_api.c84 int write_to_buf(void *out_buf, u32 out_buf_size, u32 *offset, void *in_buf, in write_to_buf() argument
94 memcpy((char *)out_buf + *offset, in_buf, in_buf_size); in write_to_buf()
101 int read_from_buf(void *in_buf, u32 in_buf_size, u32 *offset, void *out_buf, in read_from_buf() argument
107 memcpy((char *)out_buf, (char *)in_buf + *offset, out_buf_size); in read_from_buf()
/freebsd-14.2/sys/arm/freescale/vybrid/
H A Dvf_spi.c206 uint8_t *in_buf, int bufsz, int cs) in spi_txrx() argument
241 in_buf[i] = READ1(sc, SPI_POPR); in spi_txrx()
/freebsd-14.2/crypto/openssh/
H A Dumac.c187 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-14.2/contrib/unbound/sldns/
H A Dwire2str.c858 int in_buf = 1; in sldns_wire2str_dname_scan() local
875 if(in_buf) { (*d)++; (*dlen)--; } in sldns_wire2str_dname_scan()
881 if(in_buf && *dlen == 0) in sldns_wire2str_dname_scan()
884 else if(!in_buf && pos+1 > pkt+pktlen) in sldns_wire2str_dname_scan()
888 if(in_buf) { (*d)++; (*dlen)--; } in sldns_wire2str_dname_scan()
899 in_buf = 0; in sldns_wire2str_dname_scan()
911 if(in_buf && *dlen < (size_t)labellen) in sldns_wire2str_dname_scan()
913 else if(!in_buf && pos+(size_t)labellen > pkt+pktlen) in sldns_wire2str_dname_scan()
928 if(in_buf) { in sldns_wire2str_dname_scan()
936 if(in_buf && *dlen > 0) { (*d)++; (*dlen)--; } in sldns_wire2str_dname_scan()
/freebsd-14.2/contrib/llvm-project/libcxx/src/filesystem/
H A Dposix_compat.h319 inline wchar_t* getcwd([[maybe_unused]] wchar_t* in_buf, [[maybe_unused]] size_t in_size) { in getcwd() argument
321 _LIBCPP_ASSERT_INTERNAL(in_buf == nullptr, "Windows getcwd() assumes in_buf==nullptr"); in getcwd()

12