Searched refs:ZIP_EF_BOTH (Results 1 – 4 of 4) sorted by relevance
/PHP-7.2/ext/zip/lib/ |
H A D | zip_extra_field_api.c | 43 if ((flags & ZIP_EF_BOTH) == 0) { in zip_file_extra_field_delete() 48 if (((flags & ZIP_EF_BOTH) == ZIP_EF_BOTH) && (ef_idx != ZIP_EXTRA_FIELD_ALL)) { in zip_file_extra_field_delete() 76 if ((flags & ZIP_EF_BOTH) == 0) { in zip_file_extra_field_delete_by_id() 81 if (((flags & ZIP_EF_BOTH) == ZIP_EF_BOTH) && (ef_idx != ZIP_EXTRA_FIELD_ALL)) { in zip_file_extra_field_delete_by_id() 113 if ((flags & ZIP_EF_BOTH) == 0) { in zip_file_extra_field_get() 155 if ((flags & ZIP_EF_BOTH) == 0) { in zip_file_extra_field_get_by_id() 178 if ((flags & ZIP_EF_BOTH) == 0) { in zip_file_extra_fields_count() 192 if (ef->flags & flags & ZIP_EF_BOTH) in zip_file_extra_fields_count() 206 if ((flags & ZIP_EF_BOTH) == 0) { in zip_file_extra_fields_count_by_id() 235 if ((flags & ZIP_EF_BOTH) == 0) { in zip_file_extra_field_set() [all …]
|
H A D | zip_extra_field.c | 77 if ((ef->flags & flags & ZIP_EF_BOTH) && ((ef->id == id) || (id == ZIP_EXTRA_FIELD_ALL))) { in _zip_ef_delete_by_id() 79 ef->flags &= ~(flags & ZIP_EF_BOTH); in _zip_ef_delete_by_id() 80 if ((ef->flags & ZIP_EF_BOTH) == 0) { in _zip_ef_delete_by_id() 128 if (ef->id == id && (ef->flags & flags & ZIP_EF_BOTH)) { in _zip_ef_get_by_id() 166 tt->flags |= (from->flags & ZIP_EF_BOTH); in _zip_ef_merge() 315 if (ef->flags & flags & ZIP_EF_BOTH) in _zip_ef_size() 334 if (ef->flags & flags & ZIP_EF_BOTH) { in _zip_ef_write()
|
H A D | zip_dirent.c | 539 const zip_uint8_t *ef = _zip_ef_get_by_id(de->extra_fields, &ef_len, id, 0, ZIP_EF_BOTH, NULL); in _zip_dirent_process_ef_utf_8() 692 … = _zip_ef_new(ZIP_EF_ZIP64, (zip_uint16_t)(_zip_buffer_offset(ef_buffer)), ef_zip64, ZIP_EF_BOTH); in _zip_dirent_write() 745 … (zip_uint32_t)_zip_ef_size(de->extra_fields, flags) + (zip_uint32_t)_zip_ef_size(ef, ZIP_EF_BOTH); in _zip_dirent_write() 782 if (_zip_ef_write(za, ef, ZIP_EF_BOTH) < 0) { in _zip_dirent_write() 862 …_zip_ef_new(id, (zip_uint16_t)(_zip_buffer_offset(buffer)), _zip_buffer_data(buffer), ZIP_EF_BOTH); in _zip_ef_utf8()
|
H A D | zipint.h | 258 #define ZIP_EF_BOTH (ZIP_EF_LOCAL|ZIP_EF_CENTRAL) /* include in both */ macro
|
Completed in 33 milliseconds