/PHP-7.3/ext/zip/lib/ |
H A D | zip.h | 253 zip_int64_t offset; 324 ZIP_EXTERN zip_int64_t zip_dir_add(zip_t *, const char *, zip_flags_t); 363 ZIP_EXTERN zip_int64_t zip_fread(zip_file_t *, void *, zip_uint64_t); 367 ZIP_EXTERN zip_int64_t zip_get_num_entries(zip_t *, zip_flags_t); 368 ZIP_EXTERN zip_int64_t zip_name_locate(zip_t *, const char *, zip_flags_t); 390 ZIP_EXTERN zip_int64_t zip_source_make_command_bitmap(zip_source_cmd_t, ...); 392 ZIP_EXTERN zip_int64_t zip_source_read(zip_source_t *, void *, zip_uint64_t); 394 ZIP_EXTERN int zip_source_seek(zip_source_t *, zip_int64_t, int); 396 ZIP_EXTERN int zip_source_seek_write(zip_source_t *, zip_int64_t, int); 398 ZIP_EXTERN zip_int64_t zip_source_tell(zip_source_t *); [all …]
|
H A D | zip_source_seek.c | 39 zip_source_seek(zip_source_t *src, zip_int64_t offset, int whence) in zip_source_seek() 58 zip_int64_t 61 zip_int64_t new_offset; in zip_source_seek_compute_offset() 70 new_offset = (zip_int64_t)offset + args->offset; in zip_source_seek_compute_offset() 74 new_offset = (zip_int64_t)length + args->offset; in zip_source_seek_compute_offset()
|
H A D | zip_get_num_entries.c | 38 ZIP_EXTERN zip_int64_t 50 return (zip_int64_t)n; in zip_get_num_entries() 52 return (zip_int64_t)za->nentry; in zip_get_num_entries()
|
H A D | zip_source_supports.c | 40 zip_int64_t 47 ZIP_EXTERN zip_int64_t 50 zip_int64_t bitmap; in zip_source_make_command_bitmap()
|
H A D | zip_source_deflate.c | 52 static zip_int64_t compress_read(zip_source_t *, struct deflate *, void *, zip_uint64_t); 95 static zip_int64_t 99 zip_int64_t n; in compress_read() 125 return (zip_int64_t)ctx->size; in compress_read() 188 return (zip_int64_t)(len - ctx->zstr.avail_out); in compress_read() 195 static zip_int64_t 199 zip_int64_t n; in decompress_read() 271 return (zip_int64_t)(len - ctx->zstr.avail_out); in decompress_read() 277 static zip_int64_t 344 static zip_int64_t [all …]
|
H A D | zip_filerange_crc.c | 45 zip_int64_t n; in _zip_filerange_crc() 54 if (zip_source_seek(src, (zip_int64_t)start, SEEK_SET) != 0) { in _zip_filerange_crc() 60 n = (zip_int64_t)(len > BUFSIZE ? BUFSIZE : len); in _zip_filerange_crc()
|
H A D | zip_source_filep.c | 69 zip_int64_t supports; 91 zip_source_filep(zip_t *za, FILE *file, zip_uint64_t start, zip_int64_t len) in zip_source_filep() 221 static zip_int64_t 317 return (zip_int64_t)i; in read_file() 337 zip_int64_t new_current; in read_file() 363 new_current = (zip_int64_t)ctx->end + args->offset; in read_file() 367 new_current = (zip_int64_t)ctx->current + args->offset; in read_file() 446 return (zip_int64_t)ctx->current; in read_file() 470 return (zip_int64_t)ret; in read_file() 487 return _zip_fseek(f, (zip_int64_t)offset, whence, error); in _zip_fseek_u() [all …]
|
H A D | zip_source_win32handle.c | 142 static zip_int64_t 236 return (zip_int64_t)i; in _win32_read_file() 256 zip_int64_t new_current; in _win32_read_file() 287 new_current = (zip_int64_t)ctx->end + args->offset; in _win32_read_file() 291 new_current = (zip_int64_t)ctx->current + args->offset; in _win32_read_file() 374 return (zip_int64_t)ctx->current; in _win32_read_file() 398 return (zip_int64_t)ret; in _win32_read_file() 591 const zip_int64_t WINDOWS_TICK = 10000000LL; in _zip_filetime_to_time_t() 592 const zip_int64_t SEC_TO_UNIX_EPOCH = 11644473600LL; in _zip_filetime_to_time_t() 594 zip_int64_t secs; in _zip_filetime_to_time_t() [all …]
|
H A D | zipconf.h | 99 typedef int64_t zip_int64_t; typedef 101 typedef __int64 zip_int64_t; typedef 103 typedef signed long zip_int64_t; typedef 105 typedef signed long long zip_int64_t; typedef
|
H A D | zip_name_locate.c | 43 ZIP_EXTERN zip_int64_t 50 zip_int64_t 84 return (zip_int64_t)i; in _zip_name_locate()
|
H A D | zip_source_crc.c | 51 static zip_int64_t crc_read(zip_source_t *, void *, void *, zip_uint64_t, zip_source_cmd_t); 80 static zip_int64_t 84 zip_int64_t n; in crc_read() 167 zip_int64_t mask = zip_source_supports(src); in crc_read() 179 zip_int64_t new_position; in crc_read() 196 return (zip_int64_t)ctx->position; in crc_read()
|
H A D | zip_source_window.c | 46 zip_int64_t supports; 50 static zip_int64_t window_read(zip_source_t *, void *, void *, zip_uint64_t, zip_source_cmd_t); 113 static zip_int64_t 117 zip_int64_t ret; in window_read() 160 if (zip_source_seek(src, (zip_int64_t)ctx->offset, SEEK_SET) < 0) { in window_read() 183 …zip_int64_t new_offset = zip_source_seek_compute_offset(ctx->offset - ctx->start, ctx->end - ctx->… in window_read() 209 return (zip_int64_t)(ctx->offset - ctx->start); in window_read()
|
H A D | zip_fread.c | 38 ZIP_EXTERN zip_int64_t 41 zip_int64_t n; in zip_fread()
|
H A D | zip_source_file.c | 41 zip_source_file(zip_t *za, const char *fname, zip_uint64_t start, zip_int64_t len) in zip_source_file() 51 zip_source_file_create(const char *fname, zip_uint64_t start, zip_int64_t length, zip_error_t *erro… in zip_source_file_create()
|
H A D | zipwin32.h | 45 zip_int64_t supports; 78 zip_source_t *_zip_source_win32_handle_or_name(const void *, void *, zip_uint64_t, zip_int64_t, int…
|
H A D | zip_source_buffer.c | 67 static zip_int64_t buffer_read(buffer_t *buffer, zip_uint8_t *data, zip_uint64_t length); 69 static zip_int64_t buffer_write(buffer_t *buffer, const zip_uint8_t *data, zip_uint64_t length, zip… 71 static zip_int64_t read_data(void *, void *, zip_uint64_t, zip_source_cmd_t); 120 static zip_int64_t 216 return (zip_int64_t)ctx->in->offset; in read_data() 224 return (zip_int64_t)ctx->out->offset; in read_data() 328 static zip_int64_t 356 return (zip_int64_t)n; in buffer_read() 363 …zip_int64_t new_offset = zip_source_seek_compute_offset(buffer->offset, buffer->size, data, len, e… in buffer_seek() 374 static zip_int64_t [all …]
|
H A D | zip_file_replace.c | 56 zip_int64_t 68 zip_int64_t i = -1; in _zip_file_replace() 107 return (zip_int64_t)idx; in _zip_file_replace()
|
H A D | zip_source_call.c | 38 zip_int64_t 41 zip_int64_t ret; in _zip_source_call()
|
H A D | zip_add_entry.c | 42 zip_int64_t 80 return (zip_int64_t)idx; in _zip_add_entry()
|
H A D | zip_io_util.c | 42 zip_int64_t n; in _zip_read() 54 if (n < (zip_int64_t)length) { in _zip_read() 126 zip_int64_t n; in _zip_write()
|
H A D | zip_source_win32utf8.c | 42 zip_source_file(zip_t *za, const char *fname, zip_uint64_t start, zip_int64_t len) in zip_source_file() 52 zip_source_file_create(const char *fname, zip_uint64_t start, zip_int64_t length, zip_error_t *erro… in zip_source_file_create()
|
H A D | zip_dir_add.c | 43 ZIP_EXTERN zip_int64_t 47 zip_int64_t idx; in zip_dir_add()
|
H A D | zip_hash.c | 40 zip_int64_t orig_index; 41 zip_int64_t current_index; 158 entry->orig_index = (zip_int64_t)index; in _zip_hash_add() 160 entry->current_index = (zip_int64_t)index; in _zip_hash_add() 205 zip_int64_t
|
H A D | zip_source_pkware.c | 54 static zip_int64_t pkware_decrypt(zip_source_t *, void *, void *, 132 zip_int64_t n; in decrypt_header() 163 static zip_int64_t 168 zip_int64_t n; in pkware_decrypt()
|
H A D | zip_open.c | 89 static zip_int64_t needed_support_read = -1; in zip_open_from_source() 90 static zip_int64_t needed_support_write = -1; in zip_open_from_source() 93 zip_int64_t supported; in zip_open_from_source() 364 if (zip_source_tell(za->src) != (zip_int64_t)cd->offset) { in _zip_read_cdir() 374 zip_int64_t entry_size; in _zip_read_cdir() 398 zip_int64_t offset = zip_source_tell(za->src); in _zip_read_cdir() 428 static zip_int64_t 564 zip_int64_t buf_offset; in _zip_find_central_dir() 566 zip_int64_t a; in _zip_find_central_dir() 567 zip_int64_t best; in _zip_find_central_dir() [all …]
|