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

/freebsd-10.1-release/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-10.1-release/contrib/wpa/src/eap_peer/
H A Deap_tnc.c19 struct wpabuf *in_buf; member in struct:eap_tnc_data
58 wpabuf_free(data->in_buf);
147 if (len > wpabuf_tailroom(data->in_buf)) {
153 wpabuf_put_data(data->in_buf, buf, len);
156 (unsigned long) wpabuf_tailroom(data->in_buf));
169 if (data->in_buf == NULL && !(flags & EAP_TNC_FLAGS_LENGTH_INCLUDED)) {
176 if (data->in_buf == NULL) {
178 data->in_buf = wpabuf_alloc(message_length);
179 if (data->in_buf == NULL) {
185 wpabuf_put_data(data->in_buf, bu
[all...]
H A Deap_ikev2.c20 struct wpabuf *in_buf; member in struct:eap_ikev2_data
108 wpabuf_free(data->in_buf);
273 if (len > wpabuf_tailroom(data->in_buf)) {
279 wpabuf_put_data(data->in_buf, buf, len);
282 (unsigned long) wpabuf_tailroom(data->in_buf));
295 if (data->in_buf == NULL && !(flags & IKEV2_FLAGS_LENGTH_INCLUDED)) {
302 if (data->in_buf == NULL) {
304 data->in_buf = wpabuf_alloc(message_length);
305 if (data->in_buf == NULL) {
311 wpabuf_put_data(data->in_buf, bu
[all...]
H A Deap_wsc.c22 struct wpabuf *in_buf; member in struct:eap_wsc_data
259 wpabuf_free(data->in_buf);
346 if (len > wpabuf_tailroom(data->in_buf)) {
352 wpabuf_put_data(data->in_buf, buf, len);
355 (unsigned long) wpabuf_tailroom(data->in_buf));
368 if (data->in_buf == NULL && !(flags & WSC_FLAGS_LF)) {
375 if (data->in_buf == NULL) {
377 data->in_buf = wpabuf_alloc(message_length);
378 if (data->in_buf == NULL) {
385 wpabuf_put_data(data->in_buf, bu
[all...]
/freebsd-10.1-release/contrib/wpa/src/eap_server/
H A Deap_server_ikev2.c20 struct wpabuf *in_buf; member in struct:eap_ikev2_data
124 wpabuf_free(data->in_buf);
280 if (len > wpabuf_tailroom(data->in_buf)) {
286 wpabuf_put_data(data->in_buf, buf, len);
289 (unsigned long) wpabuf_tailroom(data->in_buf));
300 if (data->in_buf == NULL && !(flags & IKEV2_FLAGS_LENGTH_INCLUDED)) {
306 if (data->in_buf == NULL) {
308 data->in_buf = wpabuf_alloc(message_length);
309 if (data->in_buf == NULL) {
314 wpabuf_put_data(data->in_buf, bu
[all...]
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
158 wpabuf_free(data->in_buf);
302 if (len > wpabuf_tailroom(data->in_buf)) {
308 wpabuf_put_data(data->in_buf, buf, len);
311 (unsigned long) wpabuf_tailroom(data->in_buf));
322 if (data->in_buf == NULL && !(flags & WSC_FLAGS_LF)) {
328 if (data->in_buf == NULL) {
330 data->in_buf = wpabuf_alloc(message_length);
331 if (data->in_buf == NULL) {
337 wpabuf_put_data(data->in_buf, bu
[all...]
H A Deap_server_ttls.c948 struct wpabuf *in_buf)
954 " Phase 2", (unsigned long) wpabuf_len(in_buf));
968 in_buf);
946 eap_ttls_process_phase2(struct eap_sm *sm, struct eap_ttls_data *data, struct wpabuf *in_buf) argument
H A Deap_server_fast.c1373 struct wpabuf *in_buf)
1378 " Phase 2", (unsigned long) wpabuf_len(in_buf));
1391 in_buf);
1371 eap_fast_process_phase2(struct eap_sm *sm, struct eap_fast_data *data, struct wpabuf *in_buf) argument
H A Deap_server_peap.c1030 struct wpabuf *in_buf)
1037 " Phase 2", (unsigned long) wpabuf_len(in_buf));
1050 in_buf);
1027 eap_peap_process_phase2(struct eap_sm *sm, struct eap_peap_data *data, const struct wpabuf *respData, struct wpabuf *in_buf) argument
/freebsd-10.1-release/contrib/xz/src/xz/
H A Dcoder.c36 static io_buf in_buf; variable
290 /// Return true if the data in in_buf seems to be in the .xz format.
297 && memcmp(in_buf.u8, magic, sizeof(magic)) == 0;
301 /// Return true if the data in in_buf seems to be in the .lzma format.
311 if (lzma_properties_decode(&filter, NULL, in_buf.u8, 5) != LZMA_OK)
339 uncompressed_size |= (uint64_t)(in_buf.u8[5 + i]) << (i * 8);
488 strm.next_in = in_buf.u8;
490 pair, &in_buf, IO_BUFFER_SIZE);
540 pair, &in_buf, 1);
603 if (io_write(pair, &in_buf, str
[all...]
/freebsd-10.1-release/sys/arm/lpc/
H A Dlpc_spi.c147 uint8_t *in_buf, *out_buf; local
157 in_buf = cmd->rx_cmd;
161 in_buf[i] = lpc_spi_read_4(sc, LPC_SSP_DR);
165 in_buf = cmd->rx_data;
169 in_buf[i] = lpc_spi_read_4(sc, LPC_SSP_DR);
/freebsd-10.1-release/contrib/xz/src/xzdec/
H A Dxzdec.c164 uint8_t in_buf[BUFSIZ]; local
175 strm->next_in = in_buf;
176 strm->avail_in = fread(in_buf, 1, BUFSIZ, file);
222 || fread(in_buf, 1, 1, file)
/freebsd-10.1-release/usr.sbin/config/
H A Dlang.l47 YY_BUFFER_STATE in_buf; /* previous lex state */
292 in->in_buf = YY_CURRENT_BUFFER;
318 yy_switch_to_buffer(in->in_buf);
/freebsd-10.1-release/contrib/dialog/
H A Dtextbox.c48 long in_buf; /* ending index into buf[] for page */ member in struct:__anon893
275 while (obj->buf[obj->in_buf] != '\n') {
276 if (obj->buf[obj->in_buf] == '\0') { /* Either end of file or end of buffer reached */
284 obj->in_buf = 0;
291 obj->line[i++] = obj->buf[obj->in_buf++];
295 obj->in_buf++;
301 obj->in_buf++; /* move past '\n' */
315 * 'in_buf' will be updated to point to the desired line in 'buf'.
327 * basically does a '--in_buf' to move one character backward so as to
332 if (obj->in_buf
[all...]
/freebsd-10.1-release/share/examples/libusb20/
H A Dbulk.c119 uint8_t in_buf[BUFLEN]; local
132 if ((rv = libusb20_tr_bulk_intr_sync(xfr_in, in_buf, BUFLEN, &rlen, TIMEOUT))
139 print_formatted(in_buf, rlen);
H A Dcontrol.c163 uint8_t in_buf[BUFLEN]; local
166 if ((rv = libusb20_tr_bulk_intr_sync(xfr_intr, in_buf, BUFLEN, &rlen, TIMEOUT))
173 print_formatted(in_buf, rlen);
/freebsd-10.1-release/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-10.1-release/usr.bin/grep/
H A Dfile.c127 uint8_t in_buf[MAXBUFSIZ]; local
140 lstrm.next_in = in_buf;
141 nr = read(f->fd, in_buf, MAXBUFSIZ);
/freebsd-10.1-release/crypto/openssh/
H A Dumac.c197 UINT8 in_buf[AES_BLOCK_LEN] = {0}; local
203 in_buf[AES_BLOCK_LEN-9] = ndx;
204 in_buf[AES_BLOCK_LEN-1] = i = 1;
207 aes_encryption(in_buf, out_buf, key);
209 in_buf[AES_BLOCK_LEN-1] = ++i;
214 aes_encryption(in_buf, out_buf, key);
/freebsd-10.1-release/contrib/unbound/ldns/
H A Dwire2str.c744 int in_buf = 1; local
754 if(in_buf) { (*d)++; (*dlen)--; }
760 if(in_buf && *dlen == 0)
763 else if(!in_buf && pos+1 > pkt+pktlen)
767 if(in_buf) { (*d)++; (*dlen)--; }
775 in_buf = 0;
787 if(in_buf && *dlen < labellen) labellen = *dlen;
788 else if(!in_buf && pos+labellen > pkt+pktlen)
793 if(in_buf) {
801 if(in_buf
[all...]
/freebsd-10.1-release/contrib/gdb/gdb/
H A Dregcache.c646 deprecated_read_register_bytes (int in_start, char *in_buf, int in_len) argument
688 if (in_buf == NULL)
706 in_buf[byte - in_start] = reg_buf[byte - reg_start];
/freebsd-10.1-release/sys/dev/drm2/radeon/
H A Dradeon_i2c.c1280 u8 in_buf[2]; local
1292 .buf = in_buf,
1300 *val = in_buf[0];

Completed in 142 milliseconds