Home
last modified time | relevance | path

Searched refs:zip_uint32_t (Results 1 – 22 of 22) sorted by relevance

/PHP-7.3/ext/zip/lib/
H A Dzip_utf-8.c121 zip_uint32_t i, j, ulen; in _zip_guess_encoding()
178 static zip_uint32_t
179 _zip_unicode_to_utf8_len(zip_uint32_t codepoint) in _zip_unicode_to_utf8_len()
191 static zip_uint32_t
192 _zip_unicode_to_utf8(zip_uint32_t codepoint, zip_uint8_t *buf) in _zip_unicode_to_utf8()
218 _zip_cp437_to_utf8(const zip_uint8_t * const _cp437buf, zip_uint32_t len, in _zip_cp437_to_utf8()
219 zip_uint32_t *utf8_lenp, zip_error_t *error) in _zip_cp437_to_utf8()
223 zip_uint32_t buflen, i, offset; in _zip_cp437_to_utf8()
H A Dzipconf.h90 typedef uint32_t zip_uint32_t; typedef
92 typedef unsigned __int32 zip_uint32_t; typedef
94 typedef unsigned int zip_uint32_t; typedef
96 typedef unsigned long zip_uint32_t; typedef
H A Dzip_string.c41 zip_uint32_t
44 zip_uint32_t crc; in _zip_string_crc32()
46 crc = (zip_uint32_t)crc32(0L, Z_NULL, 0); in _zip_string_crc32()
49 crc = (zip_uint32_t)crc32(crc, s->raw, s->length); in _zip_string_crc32()
83 _zip_string_get(zip_string_t *string, zip_uint32_t *lenp, zip_flags_t flags, zip_error_t *error) in _zip_string_get()
H A Dzip_file_get_comment.c40 zip_file_get_comment(zip_t *za, zip_uint64_t idx, zip_uint32_t *lenp, zip_flags_t flags) in zip_file_get_comment()
43 zip_uint32_t len; in zip_file_get_comment()
H A Dzip_file_get_offset.c67 if (offset+(zip_uint32_t)size > ZIP_INT64_MAX) { in _zip_file_get_offset()
72 return offset + (zip_uint32_t)size; in _zip_file_get_offset()
H A Dzip_source_pkware.c42 zip_uint32_t key[3];
110 tmp = (zip_uint16_t)(((zip_uint32_t)tmp * (tmp ^ 1)) >> 8); in decrypt()
119 ctx->key[0] = (zip_uint32_t)crc32(ctx->key[0] ^ 0xffffffffUL, &b, 1) ^ 0xffffffffUL; in decrypt()
122 ctx->key[2] = (zip_uint32_t)crc32(ctx->key[2] ^ 0xffffffffUL, &b, 1) ^ 0xffffffffUL; in decrypt()
H A Dzipint.h340 zip_uint32_t changed;
349 zip_uint32_t crc; /* (cl) CRC-32 of uncompressed data */
355 zip_uint32_t disk_number; /* (c) disk number start */
357 zip_uint32_t ext_attrib; /* (c) external file attributes */
426 zip_uint32_t converted_length; /* length of converted */
470 zip_uint32_t _zip_buffer_get_32(zip_buffer_t *buffer);
480 int _zip_buffer_put_32(zip_buffer_t *buffer, zip_uint32_t i);
534 zip_uint8_t *_zip_cp437_to_utf8(const zip_uint8_t * const, zip_uint32_t, zip_uint32_t *, zip_error_…
565 zip_uint32_t _zip_string_crc32(const zip_string_t *);
566 const zip_uint8_t *_zip_string_get(zip_string_t *, zip_uint32_t *, zip_flags_t, zip_error_t *);
H A Dzip_file_set_external_attributes.c37 …ributes(zip_t *za, zip_uint64_t idx, zip_flags_t flags, zip_uint8_t opsys, zip_uint32_t attributes) in zip_file_set_external_attributes()
42 zip_uint32_t unchanged_attributes; in zip_file_set_external_attributes()
H A Dzip_dirent.c159 _zip_buffer_put_32(buffer, size >= ZIP_UINT32_MAX ? ZIP_UINT32_MAX : (zip_uint32_t)size); in _zip_cdir_write()
160 _zip_buffer_put_32(buffer, offset >= ZIP_UINT32_MAX ? ZIP_UINT32_MAX : (zip_uint32_t)offset); in _zip_cdir_write()
302 zip_uint32_t size, variable_size; in _zip_dirent_read()
378 variable_size = (zip_uint32_t)filename_len+(zip_uint32_t)ef_len+(zip_uint32_t)comment_len; in _zip_dirent_read()
536 zip_uint32_t ef_crc; in _zip_dirent_process_ef_utf_8()
620 zip_uint32_t ef_total_size; in _zip_dirent_write()
730 _zip_buffer_put_32(buffer, (zip_uint32_t)de->comp_size); in _zip_dirent_write()
736 _zip_buffer_put_32(buffer, (zip_uint32_t)de->uncomp_size); in _zip_dirent_write()
745 …ef_total_size = (zip_uint32_t)_zip_ef_size(de->extra_fields, flags) + (zip_uint32_t)_zip_ef_size(e… in _zip_dirent_write()
754 _zip_buffer_put_32(buffer, (zip_uint32_t)de->offset); in _zip_dirent_write()
[all …]
H A Dzip.h286 zip_uint32_t crc; /* crc of file data */
289 zip_uint32_t flags; /* reserved for future use */
302 typedef zip_uint32_t zip_flags_t;
350 ZIP_EXTERN const char *zip_file_get_comment(zip_t *, zip_uint64_t, zip_uint32_t *, zip_flags_t);
352 …ip_file_get_external_attributes(zip_t *, zip_uint64_t, zip_flags_t, zip_uint8_t *, zip_uint32_t *);
356 …nt zip_file_set_external_attributes(zip_t *, zip_uint64_t, zip_flags_t, zip_uint8_t, zip_uint32_t);
374 ZIP_EXTERN int zip_set_file_compression(zip_t *, zip_uint64_t, zip_int32_t, zip_uint32_t);
H A Dzip_get_file_comment.c42 zip_uint32_t len; in zip_get_file_comment()
H A Dzip_source_win32a.c42 static HANDLE _win32_create_temp_a(_zip_source_win32_read_file_t *ctx, void **temp, zip_uint32_t va…
91 _win32_create_temp_a(_zip_source_win32_read_file_t *ctx, void **temp, zip_uint32_t value, PSECURITY… in _win32_create_temp_a()
H A Dzip_file_get_external_attributes.c37 …butes(zip_t *za, zip_uint64_t idx, zip_flags_t flags, zip_uint8_t *opsys, zip_uint32_t *attributes) in zip_file_get_external_attributes()
H A Dzip_source_win32w.c42 static HANDLE _win32_create_temp_w(_zip_source_win32_read_file_t *ctx, void **temp, zip_uint32_t va…
91 _win32_create_temp_w(_zip_source_win32_read_file_t *ctx, void **temp, zip_uint32_t value, PSECURITY… in _win32_create_temp_w()
H A Dzip_source_crc.c48 zip_uint32_t crc;
73 ctx->crc = (zip_uint32_t)crc32(0, NULL, 0); in zip_source_crc()
129 ctx->crc = (zip_uint32_t)crc32(ctx->crc, (const Bytef *)data+i, (uInt)nn); in crc_read()
H A Dzip_get_archive_comment.c44 zip_uint32_t len; in zip_get_archive_comment()
H A Dzipwin32.h71 …void *(*op_create_temp)(_zip_source_win32_read_file_t *, void **, zip_uint32_t, PSECURITY_ATTRIBUT…
H A Dzip_buffer.c97 zip_uint32_t
106 return ((((((zip_uint32_t)data[3] << 8) + data[2]) << 8) + data[1]) << 8) + data[0]; in _zip_buffer_get_32()
237 _zip_buffer_put_32(zip_buffer_t *buffer, zip_uint32_t i) in _zip_buffer_put_32()
H A Dzip_set_file_compression.c39 zip_set_file_compression(zip_t *za, zip_uint64_t idx, zip_int32_t method, zip_uint32_t flags) in zip_set_file_compression()
H A Dzip_source_win32handle.c411 zip_uint32_t value; in _win32_create_temp_file()
H A Dzip_open.c734 zip_uint32_t num_disks, num_disks64, eocd_disk, eocd_disk64; in _zip_read_eocd64()
/PHP-7.3/ext/zip/
H A Dphp_zip.c2180 (zip_uint8_t)(opsys&0xff), (zip_uint32_t)attr) < 0) { in ZIPARCHIVE_METHOD()
2209 (zip_flags_t)flags, (zip_uint8_t)(opsys&0xff), (zip_uint32_t)attr) < 0) { in ZIPARCHIVE_METHOD()
2226 zip_uint32_t attr; in ZIPARCHIVE_METHOD()
2268 zip_uint32_t attr; in ZIPARCHIVE_METHOD()
2462 (zip_int32_t)comp_method, (zip_uint32_t)comp_flags) != 0) { in ZIPARCHIVE_METHOD()
2490 (zip_int32_t)comp_method, (zip_uint32_t)comp_flags) != 0) { in ZIPARCHIVE_METHOD()

Completed in 43 milliseconds