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

/freebsd-9.3-release/contrib/wpa/src/eap_peer/
H A Deap_tnc.c26 struct wpabuf *in_buf; member in struct:eap_tnc_data
65 wpabuf_free(data->in_buf);
154 if (len > wpabuf_tailroom(data->in_buf)) {
160 wpabuf_put_data(data->in_buf, buf, len);
163 (unsigned long) wpabuf_tailroom(data->in_buf));
176 if (data->in_buf == NULL && !(flags & EAP_TNC_FLAGS_LENGTH_INCLUDED)) {
183 if (data->in_buf == NULL) {
185 data->in_buf = wpabuf_alloc(message_length);
186 if (data->in_buf == NULL) {
192 wpabuf_put_data(data->in_buf, bu
[all...]
H A Deap_ikev2.c26 struct wpabuf *in_buf; member in struct:eap_ikev2_data
114 wpabuf_free(data->in_buf);
279 if (len > wpabuf_tailroom(data->in_buf)) {
285 wpabuf_put_data(data->in_buf, buf, len);
288 (unsigned long) wpabuf_tailroom(data->in_buf));
301 if (data->in_buf == NULL && !(flags & IKEV2_FLAGS_LENGTH_INCLUDED)) {
308 if (data->in_buf == NULL) {
310 data->in_buf = wpabuf_alloc(message_length);
311 if (data->in_buf == NULL) {
317 wpabuf_put_data(data->in_buf, bu
[all...]
H A Deap_wsc.c28 struct wpabuf *in_buf; member in struct:eap_wsc_data
240 wpabuf_free(data->in_buf);
327 if (len > wpabuf_tailroom(data->in_buf)) {
333 wpabuf_put_data(data->in_buf, buf, len);
336 (unsigned long) wpabuf_tailroom(data->in_buf));
349 if (data->in_buf == NULL && !(flags & WSC_FLAGS_LF)) {
356 if (data->in_buf == NULL) {
358 data->in_buf = wpabuf_alloc(message_length);
359 if (data->in_buf == NULL) {
366 wpabuf_put_data(data->in_buf, bu
[all...]
/freebsd-9.3-release/contrib/wpa/src/eap_server/
H A Deap_server_ikev2.c26 struct wpabuf *in_buf; member in struct:eap_ikev2_data
129 wpabuf_free(data->in_buf);
285 if (len > wpabuf_tailroom(data->in_buf)) {
291 wpabuf_put_data(data->in_buf, buf, len);
294 (unsigned long) wpabuf_tailroom(data->in_buf));
305 if (data->in_buf == NULL && !(flags & IKEV2_FLAGS_LENGTH_INCLUDED)) {
311 if (data->in_buf == NULL) {
313 data->in_buf = wpabuf_alloc(message_length);
314 if (data->in_buf == NULL) {
319 wpabuf_put_data(data->in_buf, bu
[all...]
H A Deap_server_tnc.c30 struct wpabuf *in_buf; member in struct:eap_tnc_data
103 wpabuf_free(data->in_buf);
407 if (len > wpabuf_tailroom(data->in_buf)) {
413 wpabuf_put_data(data->in_buf, buf, len);
416 (unsigned long) wpabuf_tailroom(data->in_buf));
427 if (data->in_buf == NULL && !(flags & EAP_TNC_FLAGS_LENGTH_INCLUDED)) {
433 if (data->in_buf == NULL) {
435 data->in_buf = wpabuf_alloc(message_length);
436 if (data->in_buf == NULL) {
441 wpabuf_put_data(data->in_buf, bu
[all...]
H A Deap_server_wsc.c27 struct wpabuf *in_buf; member in struct:eap_wsc_data
155 wpabuf_free(data->in_buf);
299 if (len > wpabuf_tailroom(data->in_buf)) {
305 wpabuf_put_data(data->in_buf, buf, len);
308 (unsigned long) wpabuf_tailroom(data->in_buf));
319 if (data->in_buf == NULL && !(flags & WSC_FLAGS_LF)) {
325 if (data->in_buf == NULL) {
327 data->in_buf = wpabuf_alloc(message_length);
328 if (data->in_buf == NULL) {
334 wpabuf_put_data(data->in_buf, bu
[all...]
H A Deap_server_fast.c1378 struct wpabuf *in_buf)
1383 " Phase 2", (unsigned long) wpabuf_len(in_buf));
1396 in_buf);
1376 eap_fast_process_phase2(struct eap_sm *sm, struct eap_fast_data *data, struct wpabuf *in_buf) argument
H A Deap_server_peap.c1031 struct wpabuf *in_buf)
1038 " Phase 2", (unsigned long) wpabuf_len(in_buf));
1051 in_buf);
1028 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.c1105 struct wpabuf *in_buf)
1111 " Phase 2", (unsigned long) wpabuf_len(in_buf));
1125 in_buf);
1103 eap_ttls_process_phase2(struct eap_sm *sm, struct eap_ttls_data *data, struct wpabuf *in_buf) argument
/freebsd-9.3-release/crypto/heimdal/appl/test/
H A Dhttp_client.c194 char in_buf[1024], *in_ptr = in_buf; local
212 ret = read (s, in_ptr, sizeof(in_buf) - in_len - 1);
218 in_buf[ret + in_len] = '\0';
227 p = strstr(in_buf, "\r\n");
231 } else if (p == in_buf) {
232 memmove(in_buf, in_buf + 2, sizeof(in_buf) - 2);
238 req->response = strndup(in_buf,
[all...]
/freebsd-9.3-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-9.3-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-9.3-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-9.3-release/contrib/dialog/
H A Dtextbox.c48 long in_buf; /* ending index into buf[] for page */ member in struct:__anon936
243 while (obj->buf[obj->in_buf] != '\n') {
244 if (obj->buf[obj->in_buf] == '\0') { /* Either end of file or end of buffer reached */
252 obj->in_buf = 0;
259 obj->line[i++] = obj->buf[obj->in_buf++];
263 obj->in_buf++;
269 obj->in_buf++; /* move past '\n' */
283 * 'in_buf' will be updated to point to the desired line in 'buf'.
295 * basically does a '--in_buf' to move one character backward so as to
300 if (obj->in_buf
[all...]
/freebsd-9.3-release/crypto/heimdal/appl/push/
H A Dpush.c217 char *in_buf; local
235 in_buf = emalloc(PUSH_BUFSIZ + 1);
236 in_ptr = in_buf;
321 char *tmp = erealloc(in_buf, in_buf_size + PUSH_BUFSIZ + 1);
322 in_ptr = tmp + (in_ptr - in_buf);
323 in_buf = tmp;
337 beg = in_buf;
476 memmove (in_buf, beg, rem);
478 in_ptr = in_buf + rem;
/freebsd-9.3-release/usr.bin/grep/
H A Dfile.c121 uint8_t in_buf[MAXBUFSIZ]; local
134 lstrm.next_in = in_buf;
135 nr = read(f->fd, in_buf, MAXBUFSIZ);
/freebsd-9.3-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-9.3-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-9.3-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 166 milliseconds