Go to the source code of this file.
Defines |
#define | BYTE_CASE(expr, x, nstate) |
#define | OFFSET_CASE(expr, x, nstate) |
#define | SIZE_CASE(expr, x, nstate) |
#define | SRCORTGT(x) |
Functions |
static int | xd3_decode_allocate (xd3_stream *stream, usize_t size, uint8_t **buf_ptr, usize_t *buf_alloc) |
static int | xd3_decode_emit (xd3_stream *stream) |
static int | xd3_decode_finish_window (xd3_stream *stream) |
static int | xd3_decode_init_window (xd3_stream *stream) |
int | xd3_decode_input (xd3_stream *stream) |
static int | xd3_decode_instruction (xd3_stream *stream) |
static int | xd3_decode_output_halfinst (xd3_stream *stream, xd3_hinst *inst) |
static int | xd3_decode_parse_halfinst (xd3_stream *stream, xd3_hinst *inst) |
static int | xd3_decode_secondary_sections (xd3_stream *secondary_stream) |
static int | xd3_decode_section (xd3_stream *stream, xd3_desect *section, xd3_decode_state nstate, int copy) |
static int | xd3_decode_sections (xd3_stream *stream) |
static int | xd3_decode_setup_buffers (xd3_stream *stream) |
Define Documentation
#define BYTE_CASE |
( |
|
expr, |
|
|
|
x, |
|
|
|
nstate |
|
) |
| |
Value:do { \
if ( (expr) && \
((ret = xd3_decode_byte (stream, & (x))) != 0) ) { return ret; } \
stream->dec_state = (nstate); \
} while (0)
#define OFFSET_CASE |
( |
|
expr, |
|
|
|
x, |
|
|
|
nstate |
|
) |
| |
Value:do { \
if ( (expr) && \
((ret = xd3_decode_offset (stream, & (x))) != 0) ) { return ret; } \
stream->dec_state = (nstate); \
} while (0)
#define SIZE_CASE |
( |
|
expr, |
|
|
|
x, |
|
|
|
nstate |
|
) |
| |
Value:do { \
if ( (expr) && \
((ret = xd3_decode_size (stream, & (x))) != 0) ) { return ret; } \
stream->dec_state = (nstate); \
} while (0)
Value:((((x) & VCD_SRCORTGT) == VCD_SOURCE) ? \
VCD_SOURCE : ((((x) & VCD_SRCORTGT) == \
VCD_TARGET) ? VCD_TARGET : 0))
Definition at line 22 of file xdelta3-decode.h.
Function Documentation
static int xd3_decode_finish_window |
( |
xd3_stream * |
stream | ) |
[static] |
static int xd3_decode_init_window |
( |
xd3_stream * |
stream | ) |
[static] |
static int xd3_decode_instruction |
( |
xd3_stream * |
stream | ) |
[static] |
static int xd3_decode_secondary_sections |
( |
xd3_stream * |
secondary_stream | ) |
[static] |
static int xd3_decode_setup_buffers |
( |
xd3_stream * |
stream | ) |
[static] |