Home
last modified time | relevance | path

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

/freebsd/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()
152 if (len > wpabuf_tailroom(data->in_buf)) { in eap_tnc_process_cont()
158 wpabuf_put_data(data->in_buf, buf, len); in eap_tnc_process_cont()
161 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_tnc_process_cont()
174 if (data->in_buf == NULL && !(flags & EAP_TNC_FLAGS_LENGTH_INCLUDED)) { in eap_tnc_process_fragment()
181 if (data->in_buf == NULL) { in eap_tnc_process_fragment()
183 data->in_buf = wpabuf_alloc(message_length); in eap_tnc_process_fragment()
184 if (data->in_buf == NULL) { in eap_tnc_process_fragment()
190 wpabuf_put_data(data->in_buf, buf, len); in eap_tnc_process_fragment()
[all …]
H A Deap_ikev2.c20 struct wpabuf *in_buf; member
111 wpabuf_free(data->in_buf); in eap_ikev2_deinit()
271 if (len > wpabuf_tailroom(data->in_buf)) { in eap_ikev2_process_cont()
277 wpabuf_put_data(data->in_buf, buf, len); in eap_ikev2_process_cont()
280 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_ikev2_process_cont()
293 if (data->in_buf == NULL && !(flags & IKEV2_FLAGS_LENGTH_INCLUDED)) { in eap_ikev2_process_fragment()
300 if (data->in_buf == NULL) { in eap_ikev2_process_fragment()
309 data->in_buf = wpabuf_alloc(message_length); in eap_ikev2_process_fragment()
310 if (data->in_buf == NULL) { in eap_ikev2_process_fragment()
316 wpabuf_put_data(data->in_buf, buf, len); in eap_ikev2_process_fragment()
[all …]
H A Deap_wsc.c22 struct wpabuf *in_buf; member
301 wpabuf_free(data->in_buf); in eap_wsc_deinit()
388 if (len > wpabuf_tailroom(data->in_buf)) { in eap_wsc_process_cont()
394 wpabuf_put_data(data->in_buf, buf, len); in eap_wsc_process_cont()
397 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_wsc_process_cont()
410 if (data->in_buf == NULL && !(flags & WSC_FLAGS_LF)) { in eap_wsc_process_fragment()
417 if (data->in_buf == NULL) { in eap_wsc_process_fragment()
419 data->in_buf = wpabuf_alloc(message_length); in eap_wsc_process_fragment()
420 if (data->in_buf == NULL) { in eap_wsc_process_fragment()
427 wpabuf_put_data(data->in_buf, buf, len); in eap_wsc_process_fragment()
[all …]
/freebsd/crypto/heimdal/appl/test/
H A Dhttp_client.c196 char in_buf[1024], *in_ptr = in_buf; in http_query() local
214 ret = read (s, in_ptr, sizeof(in_buf) - in_len - 1); in http_query()
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()
240 req->response = emalloc(p - in_buf + 1); in http_query()
241 memcpy(req->response, in_buf, p - in_buf); in http_query()
242 req->response[p - in_buf] = '\0'; in http_query()
247 req->headers[req->num_headers] = emalloc(p - in_buf + 1); in http_query()
[all …]
/freebsd/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()
401 if (len > wpabuf_tailroom(data->in_buf)) { in eap_tnc_process_cont()
407 wpabuf_put_data(data->in_buf, buf, len); in eap_tnc_process_cont()
410 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_tnc_process_cont()
421 if (data->in_buf == NULL && !(flags & EAP_TNC_FLAGS_LENGTH_INCLUDED)) { in eap_tnc_process_fragment()
427 if (data->in_buf == NULL) { in eap_tnc_process_fragment()
429 data->in_buf = wpabuf_alloc(message_length); in eap_tnc_process_fragment()
430 if (data->in_buf == NULL) { in eap_tnc_process_fragment()
435 wpabuf_put_data(data->in_buf, buf, len); in eap_tnc_process_fragment()
[all …]
H A Deap_server_wsc.c22 struct wpabuf *in_buf; member
160 wpabuf_free(data->in_buf); in eap_wsc_reset()
304 if (len > wpabuf_tailroom(data->in_buf)) { in eap_wsc_process_cont()
310 wpabuf_put_data(data->in_buf, buf, len); in eap_wsc_process_cont()
313 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_wsc_process_cont()
324 if (data->in_buf == NULL && !(flags & WSC_FLAGS_LF)) { in eap_wsc_process_fragment()
330 if (data->in_buf == NULL) { in eap_wsc_process_fragment()
332 data->in_buf = wpabuf_alloc(message_length); in eap_wsc_process_fragment()
333 if (data->in_buf == NULL) { in eap_wsc_process_fragment()
339 wpabuf_put_data(data->in_buf, buf, len); in eap_wsc_process_fragment()
[all …]
H A Deap_server_ikev2.c20 struct wpabuf *in_buf; member
126 wpabuf_free(data->in_buf); in eap_ikev2_reset()
283 if (len > wpabuf_tailroom(data->in_buf)) { in eap_ikev2_process_cont()
289 wpabuf_put_data(data->in_buf, buf, len); in eap_ikev2_process_cont()
292 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_ikev2_process_cont()
303 if (data->in_buf == NULL && !(flags & IKEV2_FLAGS_LENGTH_INCLUDED)) { in eap_ikev2_process_fragment()
309 if (data->in_buf == NULL) { in eap_ikev2_process_fragment()
317 data->in_buf = wpabuf_alloc(message_length); in eap_ikev2_process_fragment()
318 if (data->in_buf == NULL) { in eap_ikev2_process_fragment()
323 wpabuf_put_data(data->in_buf, buf, len); in eap_ikev2_process_fragment()
[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()
H A Deap_server_fast.c1387 struct wpabuf *in_buf) in eap_fast_process_phase2() argument
1392 " Phase 2", (unsigned long) wpabuf_len(in_buf)); in eap_fast_process_phase2()
1405 in_buf); in eap_fast_process_phase2()
H A Deap_server_teap.c1713 struct wpabuf *in_buf) in eap_teap_process_phase2() argument
1719 (unsigned long) wpabuf_len(in_buf)); in eap_teap_process_phase2()
1732 in_buf); in eap_teap_process_phase2()
/freebsd/contrib/dialog/
H A Dtextbox.c48 long in_buf; /* ending index into buf[] for page */ member
286 while (obj->buf[obj->in_buf] != '\n') { in get_line()
287 if (obj->buf[obj->in_buf] == '\0') { /* Either end of file or end of buffer reached */ in get_line()
295 obj->in_buf = 0; in get_line()
302 obj->line[i++] = obj->buf[obj->in_buf++]; in get_line()
306 obj->in_buf++; in get_line()
313 obj->in_buf++; /* move past '\n' */ in get_line()
344 if (obj->in_buf == 0) { in back_lines()
364 obj->in_buf = tabize(obj, val_to_tabize, (long *) 0); in back_lines()
371 obj->in_buf--; in back_lines()
[all …]
/freebsd/sys/dev/firmware/arm/
H A Dscmi_clk.c
/freebsd/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/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/usr.sbin/config/
H A Dlang.l46 YY_BUFFER_STATE in_buf; /* previous lex state */ member
303 in->in_buf = YY_CURRENT_BUFFER;
329 yy_switch_to_buffer(in->in_buf);
/freebsd/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/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/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/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/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/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 statvfs()
321 _LIBCPP_ASSERT_INTERNAL(in_buf == nullptr, "Windows getcwd() assumes in_buf==nullptr"); in statvfs()
323 getcwd(wchar_t * in_buf,size_t in_size) getcwd() argument
/freebsd/contrib/ldns/
H A Dstr2host.c2085 char in_buf[4096]; in parse_svcparam_ech() local
2086 char *in = in_buf; in parse_svcparam_ech()
2117 if (len + pad > sizeof(in_buf) - 1 in parse_svcparam_ech()
2126 if (in != in_buf) in parse_svcparam_ech()
/freebsd/sys/dev/mana/
H A Dmana_en.c932 mana_send_request(struct mana_context *ac, void *in_buf, in mana_send_request() argument
937 struct gdma_req_hdr *req = in_buf; in mana_send_request()
947 err = mana_gd_send_request(gc, in_len, in_buf, out_len, in mana_send_request()