Lines Matching refs:istream_t
93 } istream_t; typedef
99 static inline u64 IO_read_bits(istream_t *const in, const int num_bits);
101 static inline void IO_rewind_bits(istream_t *const in, const int num_bits);
104 static inline void IO_align_stream(istream_t *const in);
111 static inline size_t IO_istream_len(const istream_t *const in);
115 static inline const u8 *IO_get_read_ptr(istream_t *const in, size_t len);
121 static inline void IO_advance_input(istream_t *const in, size_t len);
126 static inline istream_t IO_make_istream(const u8 *in, size_t len);
131 static inline istream_t IO_make_sub_istream(istream_t *const in, size_t len);
179 ostream_t *const out, istream_t *const in);
184 ostream_t *const out, istream_t *const in);
240 istream_t *const in);
249 static void FSE_decode_header(FSE_dtable *const dtable, istream_t *const in,
344 static void decode_frame(ostream_t *const out, istream_t *const in,
349 istream_t *const in);
352 static size_t decode_literals(frame_context_t *const ctx, istream_t *const in,
356 static size_t decode_sequences(frame_context_t *const ctx, istream_t *const in,
367 static u32 copy_literals(const size_t seq, istream_t *litstream,
397 istream_t in = IO_make_istream(src, src_len); in ZSTD_decompress_with_dict()
413 static void decode_data_frame(ostream_t *const out, istream_t *const in,
416 istream_t *const in,
420 istream_t *const in);
425 istream_t *const in);
427 static void decode_frame(ostream_t *const out, istream_t *const in, in decode_frame()
445 static void decode_data_frame(ostream_t *const out, istream_t *const in, in decode_data_frame()
465 istream_t *const in, in init_frame_context()
493 istream_t *const in) { in parse_frame_header()
586 istream_t *const in) { in decompress_data()
640 istream_t block_stream = IO_make_sub_istream(in, block_len); in decompress_data()
664 istream_t *const in) { in decompress_block()
689 static size_t decode_literals_simple(istream_t *const in, u8 **const literals,
693 istream_t *const in,
697 static void decode_huf_table(HUF_dtable *const dtable, istream_t *const in);
698 static void fse_decode_hufweights(ostream_t *weights, istream_t *const in,
701 static size_t decode_literals(frame_context_t *const ctx, istream_t *const in, in decode_literals()
734 static size_t decode_literals_simple(istream_t *const in, u8 **const literals, in decode_literals_simple()
791 istream_t *const in, in decode_literals_compressed()
837 istream_t huf_stream = IO_make_sub_istream(in, compressed_size); in decode_literals_compressed()
868 static void decode_huf_table(HUF_dtable *const dtable, istream_t *const in) { in decode_huf_table()
906 istream_t fse_stream = IO_make_sub_istream(in, header); in decode_huf_table()
915 static void fse_decode_hufweights(ostream_t *weights, istream_t *const in, in fse_decode_hufweights()
995 istream_t *const in,
1001 static void decode_seq_table(FSE_dtable *const table, istream_t *const in,
1004 static size_t decode_sequences(frame_context_t *const ctx, istream_t *in, in decode_sequences()
1046 static void decompress_sequences(frame_context_t *const ctx, istream_t *in, in decompress_sequences()
1174 static void decode_seq_table(FSE_dtable *const table, istream_t *const in, in decode_seq_table()
1236 istream_t litstream = IO_make_istream(literals, literals_len); in execute_sequences()
1267 static u32 copy_literals(const size_t literal_length, istream_t *litstream, in copy_literals()
1376 istream_t in = IO_make_istream(src, src_len); in ZSTD_get_decompressed_size()
1430 istream_t *const in);
1443 istream_t in = IO_make_istream(byte_src, src_len); in parse_dictionary()
1487 istream_t *const in) { in init_dictionary_content()
1592 static inline u64 IO_read_bits(istream_t *const in, const int num_bits) { in IO_read_bits()
1614 static inline void IO_rewind_bits(istream_t *const in, int num_bits) { in IO_rewind_bits()
1634 static inline void IO_align_stream(istream_t *const in) { in IO_align_stream()
1658 static inline size_t IO_istream_len(const istream_t *const in) { in IO_istream_len()
1664 static inline const u8 *IO_get_read_ptr(istream_t *const in, size_t len) { in IO_get_read_ptr()
1690 static inline void IO_advance_input(istream_t *const in, size_t len) { in IO_advance_input()
1708 static inline istream_t IO_make_istream(const u8 *in, size_t len) { in IO_make_istream()
1709 return (istream_t) { in, len, 0 }; in IO_make_istream()
1715 static inline istream_t IO_make_sub_istream(istream_t *const in, size_t len) { in IO_make_sub_istream()
1816 istream_t *const in) { in HUF_decompress_1stream()
1864 ostream_t *const out, istream_t *const in) { in HUF_decompress_4stream()
1874 istream_t in1 = IO_make_sub_istream(in, csize1); in HUF_decompress_4stream()
1875 istream_t in2 = IO_make_sub_istream(in, csize2); in HUF_decompress_4stream()
1876 istream_t in3 = IO_make_sub_istream(in, csize3); in HUF_decompress_4stream()
1877 istream_t in4 = IO_make_sub_istream(in, IO_istream_len(in)); in HUF_decompress_4stream()
2047 istream_t *const in) { in FSE_decompress_interleaved2()
2194 static void FSE_decode_header(FSE_dtable *const dtable, istream_t *const in, in FSE_decode_header()