Home
last modified time | relevance | path

Searched refs:in_pos (Results 1 – 18 of 18) sorted by relevance

/freebsd/sys/contrib/xz-embedded/linux/lib/xz/
H A Dxz_dec_stream.c172 b->in_size - b->in_pos, s->temp.size - s->temp.pos); in fill_temp()
174 memcpy(s->temp.buf + s->temp.pos, b->in + b->in_pos, copy_size); in fill_temp()
175 b->in_pos += copy_size; in fill_temp()
188 size_t *in_pos, size_t in_size) in dec_vli() argument
195 while (*in_pos < in_size) { in dec_vli()
196 byte = in[*in_pos]; in dec_vli()
197 ++*in_pos; in dec_vli()
234 s->in_start = b->in_pos; in dec_block()
244 s->block.compressed += b->in_pos - s->in_start; in dec_block()
302 size_t in_used = b->in_pos - s->in_start; in index_update()
[all …]
H A Dxz_dec_lzma2.c110 size_t in_pos; member
383 while (*left > 0 && b->in_pos < b->in_size in dict_uncompressed()
385 copy_size = min(b->in_size - b->in_pos, in dict_uncompressed()
401 memmove(dict->buf + dict->pos, b->in + b->in_pos, copy_size); in dict_uncompressed()
415 memmove(b->out + b->out_pos, b->in + b->in_pos, in dict_uncompressed()
422 b->in_pos += copy_size; in dict_uncompressed()
484 if (b->in_pos == b->in_size) in rc_read_init()
487 rc->code = (rc->code << 8) + b->in[b->in_pos++]; in rc_read_init()
497 return rc->in_pos > rc->in_limit; in rc_limit_exceeded()
514 rc->code = (rc->code << RC_SHIFT_BITS) + rc->in[rc->in_pos++]; in rc_normalize()
[all …]
H A Dxz_dec_test.c75 buffers.in_pos = 0; in xz_dec_test_open()
122 if (buffers.in_pos == buffers.in_size) { in xz_dec_test_write()
123 buffers.in_pos = 0; in xz_dec_test_write()
145 return size - remaining - (buffers.in_size - buffers.in_pos); in xz_dec_test_write()
/freebsd/sys/contrib/xz-embedded/linux/lib/
H A Ddecompress_unxz.c295 b.in_pos = 0; in unxz()
303 if (b.in_pos == b.in_size && fill != NULL) { in unxz()
305 *in_used += b.in_pos; in unxz()
307 b.in_pos = 0; in unxz()
347 *in_used += b.in_pos; in unxz()
/freebsd/sys/contrib/xz-embedded/userspace/
H A Dxzminidec.c55 b.in_pos = 0; in main()
62 if (b.in_pos == b.in_size) { in main()
70 b.in_pos = 0; in main()
H A Dbytetest.c47 b.in_pos = 0; in main()
54 if (b.in_pos == b.in_size) { in main()
56 b.in_pos = 0; in main()
H A Dbuftest.c35 b.in_pos = 0; in main()
/freebsd/contrib/wpa/src/tls/
H A Dtlsv1_server.c137 u8 *msg = NULL, *in_msg, *in_pos, *in_end, alert, ct; in tlsv1_server_handshake() local
173 in_pos = in_msg; in tlsv1_server_handshake()
178 while (in_pos < in_end) { in tlsv1_server_handshake()
179 in_msg_len = in_end - in_pos; in tlsv1_server_handshake()
180 if (tlsv1_server_process_handshake(conn, ct, in_pos, in tlsv1_server_handshake()
183 in_pos += in_msg_len; in tlsv1_server_handshake()
H A Dtlsv1_client.c169 u8 *msg = NULL, *in_msg = NULL, *in_pos, *in_end, alert, ct; in tlsv1_client_handshake() local
237 in_pos = in_msg; in tlsv1_client_handshake()
242 while (in_pos < in_end) { in tlsv1_client_handshake()
243 in_msg_len = in_end - in_pos; in tlsv1_client_handshake()
244 if (tlsv1_client_process_handshake(conn, ct, in_pos, in tlsv1_client_handshake()
249 in_pos += in_msg_len; in tlsv1_client_handshake()
/freebsd/sys/geom/uzip/
H A Dg_uzip_lzma.c75 lzp->b.in_pos = lzp->b.out_pos = 0; in g_uzip_lzma_decompress()
83 (intmax_t)lzp->b.in_pos, (intmax_t)lzp->b.out_pos, in g_uzip_lzma_decompress()
/freebsd/lib/libradius/
H A Dradlib.c704 h->in_pos = POS_ATTRS; in rad_continue_send_request()
824 h->in_pos = POS_ATTRS; in rad_receive_request()
961 if (h->in_pos >= h->in_len) in rad_get_attr()
963 if (h->in_pos + 2 > h->in_len) { in rad_get_attr()
967 type = h->in[h->in_pos++]; in rad_get_attr()
968 len = h->in[h->in_pos++]; in rad_get_attr()
974 if (h->in_pos + len > h->in_len) { in rad_get_attr()
979 *value = &h->in[h->in_pos]; in rad_get_attr()
980 h->in_pos += len; in rad_get_attr()
H A Dradlib_private.h95 int in_pos; /* Current position scanning attrs */ member
/freebsd/sys/contrib/xz-embedded/linux/include/linux/
H A Dxz.h147 size_t in_pos; member
/freebsd/sys/dev/mlxfw/
H A Dmlxfw_mfa2.c468 dec_buf.in_pos = 0; in mlxfw_mfa2_file_cb_offset_xz()
/freebsd/contrib/googletest/googletest/src/
H A Dgtest.cc6754 int in_pos = 1; in ParseGoogleTestFlagsOnly() local
6755 for (; in_pos < *argc; ++in_pos) { in ParseGoogleTestFlagsOnly()
6756 char* arg = argv[in_pos]; in ParseGoogleTestFlagsOnly()
6762 argv[out_pos++] = argv[in_pos]; in ParseGoogleTestFlagsOnly()
6768 ++in_pos; in ParseGoogleTestFlagsOnly()
6780 while (in_pos < *argc) { in ParseGoogleTestFlagsOnly()
6781 argv[out_pos++] = argv[in_pos++]; in ParseGoogleTestFlagsOnly()
/freebsd/sys/netinet/
H A Dsctp_structs.h680 uint16_t in_pos; member
H A Dsctp_indata.c1974 asoc->in_tsnlog[asoc->tsn_in_at].in_pos = asoc->tsn_in_at; in sctp_process_a_data_chunk()
H A Dsctp_output.c7617 asoc->out_tsnlog[asoc->tsn_out_at].in_pos = asoc->tsn_out_at; in sctp_move_to_outqueue()