/dports/archivers/zchunk/zchunk-1.1.16/src/lib/ |
H A D | header.c | 100 static bool read_preface(zckCtx *zck) { in read_preface() 171 static bool read_index(zckCtx *zck) { in read_index() 195 static bool read_sig(zckCtx *zck) { in read_sig() 231 static bool preface_create(zckCtx *zck) { in preface_create() 265 static bool sig_create(zckCtx *zck) { in sig_create() 285 static bool lead_create(zckCtx *zck) { in lead_create() 309 bool header_create(zckCtx *zck) { in header_create() 385 bool write_header(zckCtx *zck) { in write_header() 395 static bool read_lead(zckCtx *zck) { in read_lead() 505 bool PUBLIC zck_read_lead(zckCtx *zck) { in zck_read_lead() [all …]
|
H A D | zck.c | 51 static void zck_clear(zckCtx *zck) { in zck_clear() 135 int get_tmp_fd(zckCtx *zck) { in get_tmp_fd() 180 bool import_dict(zckCtx *zck) { in import_dict() 314 bool PUBLIC zck_close(zckCtx *zck) { in zck_close() 342 void PUBLIC zck_free(zckCtx **zck) { in zck_free() 351 zckCtx *zck = zmalloc(sizeof(zckCtx)); in zck_create() local 358 bool PUBLIC zck_init_adv_read (zckCtx *zck, int src_fd) { in zck_init_adv_read() 366 bool PUBLIC zck_init_read (zckCtx *zck, int src_fd) { in zck_init_read() 387 bool PUBLIC zck_init_write (zckCtx *zck, int dst_fd) { in zck_init_write() 412 int PUBLIC zck_get_fd(zckCtx *zck) { in zck_get_fd() [all …]
|
H A D | io.c | 37 ssize_t read_data(zckCtx *zck, char *data, size_t length) { in read_data() 54 int write_data(zckCtx *zck, int fd, const char *data, size_t length) { in write_data() 82 int seek_data(zckCtx *zck, off_t offset, int whence) { in seek_data() 104 ssize_t tell_data(zckCtx *zck) { in tell_data() 109 int chunks_from_temp(zckCtx *zck) { in chunks_from_temp()
|
H A D | error.c | 40 void set_error_wf(zckCtx *zck, int fatal, const char *function, in set_error_wf() 80 int PUBLIC zck_is_error(zckCtx *zck) { in zck_is_error() 87 const char PUBLIC *zck_get_error(zckCtx *zck) { in zck_get_error() 96 bool PUBLIC zck_clear_error(zckCtx *zck) { in zck_clear_error()
|
H A D | compint.c | 46 int compint_to_size(zckCtx *zck, size_t *val, const char *compint, in compint_to_size() 85 int compint_from_int(zckCtx *zck, char *compint, int val, size_t *length) { in compint_from_int() 97 int compint_to_int(zckCtx *zck, int *val, const char *compint, size_t *length, in compint_to_int()
|
H A D | meson.build | 9 zcklib = library('zck', build
|
/dports/archivers/zchunk/zchunk-1.1.16/src/lib/hash/ |
H A D | hash.c | 154 bool hash_setup(zckCtx *zck, zckHashType *ht, int h) { in hash_setup() 274 char *hash_finalize(zckCtx *zck, zckHash *hash) { in hash_finalize() 336 zckCtx *zck = NULL; in validate_chunk() local 376 int validate_current_chunk(zckCtx *zck) { in validate_current_chunk() 407 int validate_header(zckCtx *zck) { in validate_header() 478 int PUBLIC zck_get_full_hash_type(zckCtx *zck) { in zck_get_full_hash_type() 490 int PUBLIC zck_get_chunk_hash_type(zckCtx *zck) { in zck_get_chunk_hash_type() 502 char PUBLIC *zck_get_header_digest(zckCtx *zck) { in zck_get_header_digest() 508 char PUBLIC *zck_get_data_digest(zckCtx *zck) { in zck_get_data_digest() 521 int PUBLIC zck_find_valid_chunks(zckCtx *zck) { in zck_find_valid_chunks() [all …]
|
/dports/archivers/zchunk/zchunk-1.1.16/src/lib/comp/ |
H A D | comp.c | 51 static void update_buzhash_bits(zckCtx *zck) { in update_buzhash_bits() 59 static bool set_comp_type(zckCtx *zck, ssize_t type) { in set_comp_type() 165 bool comp_init(zckCtx *zck) { in comp_init() 258 bool comp_reset(zckCtx *zck) { in comp_reset() 273 bool comp_reset_comp_data(zckCtx *zck) { in comp_reset_comp_data() 286 bool comp_close(zckCtx *zck) { in comp_close() 299 bool comp_ioption(zckCtx *zck, zck_ioption option, ssize_t value) { in comp_ioption() 387 bool comp_add_to_dc(zckCtx *zck, zckComp *comp, const char *src, in comp_add_to_dc() 605 ssize_t PUBLIC zck_end_chunk(zckCtx *zck) { in zck_end_chunk() 653 zckCtx *zck = NULL; in zck_get_chunk_comp_data() local [all …]
|
/dports/archivers/zchunk/zchunk-1.1.16/src/lib/comp/nocomp/ |
H A D | nocomp.c | 35 static bool init(zckCtx *zck, zckComp *comp) { in init() 42 static ssize_t compress(zckCtx *zck, zckComp *comp, const char *src, in compress() 59 static bool end_cchunk(zckCtx *zck, zckComp *comp, char **dst, size_t *dst_size, in end_cchunk() 72 static bool decompress(zckCtx *zck, zckComp *comp, const bool use_dict) { in decompress() 88 static bool end_dchunk(zckCtx *zck, zckComp *comp, const bool use_dict, in end_dchunk() 96 static bool close(zckCtx *zck, zckComp *comp) { in close() 105 static bool set_parameter(zckCtx *zck, zckComp *comp, int option, in set_parameter() 115 static bool set_default_parameters(zckCtx *zck, zckComp *comp) { in set_default_parameters() 122 bool nocomp_setup(zckCtx *zck, zckComp *comp) { in nocomp_setup()
|
/dports/archivers/zchunk/zchunk-1.1.16/src/lib/comp/zstd/ |
H A D | zstd.c | 36 static bool init(zckCtx *zck, zckComp *comp) { in init() 83 static bool close(zckCtx *zck, zckComp *comp) { in close() 109 static ssize_t compress(zckCtx *zck, zckComp *comp, const char *src, in compress() 126 static bool end_cchunk(zckCtx *zck, zckComp *comp, char **dst, size_t *dst_size, in end_cchunk() 188 static bool decompress(zckCtx *zck, zckComp *comp, const bool use_dict) { in decompress() 195 static bool end_dchunk(zckCtx *zck, zckComp *comp, const bool use_dict, in end_dchunk() 234 static bool set_parameter(zckCtx *zck, zckComp *comp, int option, in set_parameter() 249 static bool set_default_parameters(zckCtx *zck, zckComp *comp) { in set_default_parameters() 258 bool zstd_setup(zckCtx *zck, zckComp *comp) { in zstd_setup()
|
/dports/archivers/zchunk/zchunk-1.1.16/src/lib/index/ |
H A D | index_create.c | 35 static bool create_chunk(zckCtx *zck) { in create_chunk() 46 bool valid, zckCtx *zck) { in finish_chunk() 71 bool index_create(zckCtx *zck) { in index_create() 123 bool index_new_chunk(zckCtx *zck, zckIndex *index, char *digest, in index_new_chunk() 144 bool index_add_to_chunk(zckCtx *zck, char *data, size_t comp_size, in index_add_to_chunk() 164 bool index_finish_chunk(zckCtx *zck) { in index_finish_chunk()
|
H A D | index_read.c | 42 bool index_read(zckCtx *zck, char *data, size_t size, size_t max_length) { in index_read() 126 ssize_t PUBLIC zck_get_chunk_count(zckCtx *zck) { in zck_get_chunk_count() 132 zckChunk PUBLIC *zck_get_chunk(zckCtx *zck, size_t number) { in zck_get_chunk() 143 zckChunk PUBLIC *zck_get_first_chunk(zckCtx *zck) { in zck_get_first_chunk() 239 int PUBLIC zck_missing_chunks(zckCtx *zck) { in zck_missing_chunks() 249 int PUBLIC zck_failed_chunks(zckCtx *zck) { in zck_failed_chunks() 259 void PUBLIC zck_reset_failed_chunks(zckCtx *zck) { in zck_reset_failed_chunks()
|
H A D | index_common.c | 63 void index_free(zckCtx *zck) { in index_free() 87 void clear_work_index(zckCtx *zck) { in clear_work_index()
|
/dports/archivers/zchunk/zchunk-1.1.16/src/lib/dl/ |
H A D | range.c | 38 static zckRangeItem *range_insert_new(zckCtx *zck, zckRangeItem *prev, in range_insert_new() 64 static zckRangeItem *range_remove(zckCtx *zck, zckRangeItem *range) { in range_remove() 72 static void range_merge_combined(zckCtx *zck, zckRange *info) { in range_merge_combined() 89 static bool range_add(zckRange *info, zckChunk *chk, zckCtx *zck) { in range_add() 151 char PUBLIC *zck_get_range_char(zckCtx *zck, zckRange *range) { in zck_get_range_char() 180 zckRange PUBLIC *zck_get_missing_range(zckCtx *zck, int max_ranges) { in zck_get_missing_range() 201 zckCtx *zck = zck_create(); in zck_get_range() local
|
H A D | multipart.c | 37 static char *add_boundary_to_regex(zckCtx *zck, const char *regex, in add_boundary_to_regex() 53 static bool create_regex(zckCtx *zck, regex_t *reg, const char *regex) { in create_regex()
|
H A D | dl.c | 272 zckDL PUBLIC *zck_dl_init(zckCtx *zck) { in zck_dl_init() 291 zckCtx *zck = dl->zck; in zck_dl_reset() local 317 bool PUBLIC zck_dl_set_zck(zckDL *dl, zckCtx *zck) { in zck_dl_set_zck()
|
/dports/archivers/zchunk/zchunk-1.1.16/src/ |
H A D | meson.build | 2 zck = executable( variable
|
/dports/misc/libsolv/libsolv-0.7.19/ext/ |
H A D | solv_zchunk.c | 135 nextchunk(struct solv_zchunk *zck, unsigned int streamid) in nextchunk() 241 open_error(struct solv_zchunk *zck) in open_error() 250 struct solv_zchunk *zck; in solv_zchunk_open() local 376 solv_zchunk_read(struct solv_zchunk *zck, char *buf, size_t len) in solv_zchunk_read() 412 solv_zchunk_close(struct solv_zchunk *zck) in solv_zchunk_close()
|
/dports/archivers/zchunk/zchunk-1.1.16/test/ |
H A D | invalid_input_checksum.c | 48 zckCtx *zck = zck_create(); in main() local
|
H A D | optelems.c | 51 zckCtx *zck = zck_create(); in main() local
|
H A D | empty.c | 49 zckCtx *zck = zck_create(); in main() local
|
H A D | read_single_comp_chunk.c | 51 zckCtx *zck = zck_create(); in main() local
|
H A D | read_single_chunk.c | 51 zckCtx *zck = zck_create(); in main() local
|
/dports/archivers/zchunk/zchunk-1.1.16/ |
H A D | meson.build | 1 project(
|
/dports/archivers/zchunk/zchunk-1.1.16/test/lib/ |
H A D | util.c | 35 zckCtx *zck = zck_create(); in get_hash() local
|