|
uuu
uuu (Universal Update Utility), mfgtools 3.0
|
#include <sparse.h>
Public Member Functions | |
| int | init_header (size_t blsz, int blcount) |
| bool | is_append_old_chuck (int type, void *p) |
| bool | is_same_value (void *data, size_t sz) |
| int | push (void *p, size_t sz) |
| int | push_one_block (void *data, bool skip=false) |
| size_t | push_one_chuck (chunk_header_t *p, void *data) |
| size_t | push_raw_data (void *data, size_t sz) |
Static Public Member Functions | |
| static chunk_header_t * | get_next_chunk (uint8_t *p, size_t &pos) |
| static bool | is_validate_sparse_file (void *p, size_t sz) |
Public Attributes | |
| std::vector< uint8_t > | m_data |
Private Attributes | |
| size_t | m_cur_chunk_header_pos |
| size_t | m_max_size |
| uint32_t * | m_pcrc |
|
static |
| int SparseFile::init_header | ( | size_t | blsz, |
| int | blcount ) |
| bool SparseFile::is_append_old_chuck | ( | int | type, |
| void * | p ) |
| bool SparseFile::is_same_value | ( | void * | data, |
| size_t | sz ) |
|
static |
| int SparseFile::push | ( | void * | p, |
| size_t | sz ) |
| int SparseFile::push_one_block | ( | void * | data, |
| bool | skip = false ) |
| size_t SparseFile::push_one_chuck | ( | chunk_header_t * | p, |
| void * | data ) |
| size_t SparseFile::push_raw_data | ( | void * | data, |
| size_t | sz ) |
|
private |
| std::vector<uint8_t> SparseFile::m_data |
|
private |
|
private |