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

12

/freebsd-current/contrib/wpa/src/eap_peer/
H A Deap_tnc.c20 struct wpabuf *in_buf; member in struct:eap_tnc_data
63 wpabuf_free(data->in_buf);
152 if (len > wpabuf_tailroom(data->in_buf)) {
158 wpabuf_put_data(data->in_buf, buf, len);
161 (unsigned long) wpabuf_tailroom(data->in_buf));
174 if (data->in_buf == NULL && !(flags & EAP_TNC_FLAGS_LENGTH_INCLUDED)) {
181 if (data->in_buf == NULL) {
183 data->in_buf = wpabuf_alloc(message_length);
184 if (data->in_buf == NULL) {
190 wpabuf_put_data(data->in_buf, bu
[all...]
H A Deap_ikev2.c20 struct wpabuf *in_buf; member in struct:eap_ikev2_data
111 wpabuf_free(data->in_buf);
271 if (len > wpabuf_tailroom(data->in_buf)) {
277 wpabuf_put_data(data->in_buf, buf, len);
280 (unsigned long) wpabuf_tailroom(data->in_buf));
293 if (data->in_buf == NULL && !(flags & IKEV2_FLAGS_LENGTH_INCLUDED)) {
300 if (data->in_buf == NULL) {
309 data->in_buf = wpabuf_alloc(message_length);
310 if (data->in_buf == NULL) {
316 wpabuf_put_data(data->in_buf, bu
[all...]
H A Deap_wsc.c22 struct wpabuf *in_buf; member in struct:eap_wsc_data
291 wpabuf_free(data->in_buf);
378 if (len > wpabuf_tailroom(data->in_buf)) {
384 wpabuf_put_data(data->in_buf, buf, len);
387 (unsigned long) wpabuf_tailroom(data->in_buf));
400 if (data->in_buf == NULL && !(flags & WSC_FLAGS_LF)) {
407 if (data->in_buf == NULL) {
409 data->in_buf = wpabuf_alloc(message_length);
410 if (data->in_buf == NULL) {
417 wpabuf_put_data(data->in_buf, bu
[all...]
/freebsd-current/crypto/heimdal/appl/test/
H A Dhttp_client.c196 char in_buf[1024], *in_ptr = in_buf; local
214 ret = read (s, in_ptr, sizeof(in_buf) - in_len - 1);
220 in_buf[ret + in_len] = '\0';
229 p = strstr(in_buf, "\r\n");
233 } else if (p == in_buf) {
234 memmove(in_buf, in_buf + 2, sizeof(in_buf) - 2);
240 req->response = emalloc(p - in_buf
[all...]
/freebsd-current/contrib/wpa/src/eap_server/
H A Deap_server_tnc.c23 struct wpabuf *in_buf; member in struct:eap_tnc_data
97 wpabuf_free(data->in_buf);
401 if (len > wpabuf_tailroom(data->in_buf)) {
407 wpabuf_put_data(data->in_buf, buf, len);
410 (unsigned long) wpabuf_tailroom(data->in_buf));
421 if (data->in_buf == NULL && !(flags & EAP_TNC_FLAGS_LENGTH_INCLUDED)) {
427 if (data->in_buf == NULL) {
429 data->in_buf = wpabuf_alloc(message_length);
430 if (data->in_buf == NULL) {
435 wpabuf_put_data(data->in_buf, bu
[all...]
H A Deap_server_wsc.c22 struct wpabuf *in_buf; member in struct:eap_wsc_data
160 wpabuf_free(data->in_buf);
304 if (len > wpabuf_tailroom(data->in_buf)) {
310 wpabuf_put_data(data->in_buf, buf, len);
313 (unsigned long) wpabuf_tailroom(data->in_buf));
324 if (data->in_buf == NULL && !(flags & WSC_FLAGS_LF)) {
330 if (data->in_buf == NULL) {
332 data->in_buf = wpabuf_alloc(message_length);
333 if (data->in_buf == NULL) {
339 wpabuf_put_data(data->in_buf, bu
[all...]
H A Deap_server_ikev2.c20 struct wpabuf *in_buf; member in struct:eap_ikev2_data
126 wpabuf_free(data->in_buf);
283 if (len > wpabuf_tailroom(data->in_buf)) {
289 wpabuf_put_data(data->in_buf, buf, len);
292 (unsigned long) wpabuf_tailroom(data->in_buf));
303 if (data->in_buf == NULL && !(flags & IKEV2_FLAGS_LENGTH_INCLUDED)) {
309 if (data->in_buf == NULL) {
317 data->in_buf = wpabuf_alloc(message_length);
318 if (data->in_buf == NULL) {
323 wpabuf_put_data(data->in_buf, bu
[all...]
H A Deap_server_peap.c1092 struct wpabuf *in_buf)
1099 " Phase 2", (unsigned long) wpabuf_len(in_buf));
1112 in_buf);
1089 eap_peap_process_phase2(struct eap_sm *sm, struct eap_peap_data *data, const struct wpabuf *respData, struct wpabuf *in_buf) argument
H A Deap_server_ttls.c1014 struct wpabuf *in_buf)
1020 " Phase 2", (unsigned long) wpabuf_len(in_buf));
1034 in_buf);
1012 eap_ttls_process_phase2(struct eap_sm *sm, struct eap_ttls_data *data, struct wpabuf *in_buf) argument
H A Deap_server_fast.c1397 struct wpabuf *in_buf)
1402 " Phase 2", (unsigned long) wpabuf_len(in_buf));
1415 in_buf);
1395 eap_fast_process_phase2(struct eap_sm *sm, struct eap_fast_data *data, struct wpabuf *in_buf) argument
H A Deap_server_teap.c1680 struct wpabuf *in_buf)
1686 (unsigned long) wpabuf_len(in_buf));
1699 in_buf);
1678 eap_teap_process_phase2(struct eap_sm *sm, struct eap_teap_data *data, struct wpabuf *in_buf) argument
/freebsd-current/usr.sbin/config/
H A Dlang.l46 YY_BUFFER_STATE in_buf; /* previous lex state */
302 in->in_buf = YY_CURRENT_BUFFER;
328 yy_switch_to_buffer(in->in_buf);
/freebsd-current/contrib/dialog/
H A Dtextbox.c48 long in_buf; /* ending index into buf[] for page */ member in struct:__anon470
286 while (obj->buf[obj->in_buf] != '\n') {
287 if (obj->buf[obj->in_buf] == '\0') { /* Either end of file or end of buffer reached */
295 obj->in_buf = 0;
302 obj->line[i++] = obj->buf[obj->in_buf++];
306 obj->in_buf++;
313 obj->in_buf++; /* move past '\n' */
327 * 'in_buf' will be updated to point to the desired line in 'buf'.
339 * basically does a '--in_buf' to move one character backward so as to
344 if (obj->in_buf
[all...]
/freebsd-current/share/examples/libusb20/
H A Dbulk.c120 uint8_t in_buf[BUFLEN]; local
133 if ((rv = libusb20_tr_bulk_intr_sync(xfr_in, in_buf, BUFLEN, &rlen, TIMEOUT))
140 print_formatted(in_buf, rlen);
H A Dcontrol.c164 uint8_t in_buf[BUFLEN]; local
167 if ((rv = libusb20_tr_bulk_intr_sync(xfr_intr, in_buf, BUFLEN, &rlen, TIMEOUT))
174 print_formatted(in_buf, rlen);
/freebsd-current/contrib/xz/src/xzdec/
H A Dxzdec.c193 uint8_t in_buf[BUFSIZ]; local
204 strm->next_in = in_buf;
205 strm->avail_in = fread(in_buf, 1, BUFSIZ, file);
251 || fread(in_buf, 1, 1, file)
/freebsd-current/crypto/heimdal/appl/push/
H A Dpush.c216 char *in_buf; local
234 in_buf = emalloc(PUSH_BUFSIZ + 1);
235 in_ptr = in_buf;
320 char *tmp = erealloc(in_buf, in_buf_size + PUSH_BUFSIZ + 1);
321 in_ptr = tmp + (in_ptr - in_buf);
322 in_buf = tmp;
336 beg = in_buf;
475 memmove (in_buf, beg, rem);
477 in_ptr = in_buf + rem;
/freebsd-current/sys/dev/xilinx/
H A Daxi_quad_spi.c157 uint8_t *in_buf, int bufsz, int cs)
169 if (in_buf)
170 in_buf[i] = (data & 0xff);
156 spi_txrx(struct spi_softc *sc, uint8_t *out_buf, uint8_t *in_buf, int bufsz, int cs) argument
/freebsd-current/contrib/xz/src/xz/
H A Dcoder.c56 static io_buf in_buf; variable
732 /// Return true if the data in in_buf seems to be in the .xz format.
739 && memcmp(in_buf.u8, magic, sizeof(magic)) == 0;
743 /// Return true if the data in in_buf seems to be in the .lzma format.
753 if (lzma_properties_decode(&filter, NULL, in_buf.u8, 5) != LZMA_OK)
781 uncompressed_size |= (uint64_t)(in_buf.u8[5 + i]) << (i * 8);
792 /// Return true if the data in in_buf seems to be in the .lz format.
798 && memcmp(in_buf.u8, magic, sizeof(magic)) == 0;
1196 strm.next_in = in_buf.u8;
1203 strm.avail_in = io_read(pair, &in_buf, read_siz
[all...]
/freebsd-current/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, argument
94 memcpy((char *)out_buf + *offset, in_buf, in_buf_size);
101 int read_from_buf(void *in_buf, u32 in_buf_size, u32 *offset, void *out_buf, argument
107 memcpy((char *)out_buf, (char *)in_buf + *offset, out_buf_size);
/freebsd-current/sys/arm/freescale/vybrid/
H A Dvf_spi.c205 uint8_t *in_buf, int bufsz, int cs)
240 in_buf[i] = READ1(sc, SPI_POPR);
204 spi_txrx(struct spi_softc *sc, uint8_t *out_buf, uint8_t *in_buf, int bufsz, int cs) argument
/freebsd-current/crypto/openssh/
H A Dumac.c187 UINT8 in_buf[AES_BLOCK_LEN] = {0}; local
193 in_buf[AES_BLOCK_LEN-9] = ndx;
194 in_buf[AES_BLOCK_LEN-1] = i = 1;
197 aes_encryption(in_buf, out_buf, key);
199 in_buf[AES_BLOCK_LEN-1] = ++i;
204 aes_encryption(in_buf, out_buf, key);
207 explicit_bzero(in_buf, sizeof(in_buf));
/freebsd-current/contrib/unbound/sldns/
H A Dwire2str.c853 int in_buf = 1; local
870 if(in_buf) { (*d)++; (*dlen)--; }
876 if(in_buf && *dlen == 0)
879 else if(!in_buf && pos+1 > pkt+pktlen)
883 if(in_buf) { (*d)++; (*dlen)--; }
894 in_buf = 0;
906 if(in_buf && *dlen < (size_t)labellen)
908 else if(!in_buf && pos+(size_t)labellen > pkt+pktlen)
923 if(in_buf) {
931 if(in_buf
[all...]
/freebsd-current/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) { argument
321 _LIBCPP_ASSERT_INTERNAL(in_buf == nullptr, "Windows getcwd() assumes in_buf==nullptr");
/freebsd-current/contrib/ldns/
H A Dstr2host.c2085 char in_buf[4096]; local
2086 char *in = in_buf;
2117 if (len + pad > sizeof(in_buf) - 1
2126 if (in != in_buf)

Completed in 398 milliseconds

12