Lines Matching refs:h2

391 _zip_headercomp(struct zip_dirent *h1, int local1p, struct zip_dirent *h2,  in _zip_headercomp()  argument
394 if ((h1->version_needed != h2->version_needed) in _zip_headercomp()
398 || (h1->bitflags != h2->bitflags) in _zip_headercomp()
400 || (h1->comp_method != h2->comp_method) in _zip_headercomp()
401 || (h1->last_mod != h2->last_mod) in _zip_headercomp()
402 || (h1->filename_len != h2->filename_len) in _zip_headercomp()
403 || !h1->filename || !h2->filename in _zip_headercomp()
404 || strcmp(h1->filename, h2->filename)) in _zip_headercomp()
413 if ((h2->bitflags & ZIP_GPBF_DATA_DESCRIPTOR) && local2p in _zip_headercomp()
414 && (h2->crc != 0 in _zip_headercomp()
415 || h2->comp_size != 0 in _zip_headercomp()
416 || h2->uncomp_size != 0)) in _zip_headercomp()
421 && ((h2->bitflags & ZIP_GPBF_DATA_DESCRIPTOR) == 0 || local2p == 0)) { in _zip_headercomp()
422 if ((h1->crc != h2->crc) in _zip_headercomp()
423 || (h1->comp_size != h2->comp_size) in _zip_headercomp()
424 || (h1->uncomp_size != h2->uncomp_size)) in _zip_headercomp()
429 && ((h1->extrafield_len != h2->extrafield_len) in _zip_headercomp()
430 || (h1->extrafield_len && h2->extrafield in _zip_headercomp()
431 && memcmp(h1->extrafield, h2->extrafield, in _zip_headercomp()
439 if ((h1->version_madeby != h2->version_madeby) in _zip_headercomp()
440 || (h1->disk_number != h2->disk_number) in _zip_headercomp()
441 || (h1->int_attrib != h2->int_attrib) in _zip_headercomp()
442 || (h1->ext_attrib != h2->ext_attrib) in _zip_headercomp()
443 || (h1->offset != h2->offset) in _zip_headercomp()
444 || (h1->comment_len != h2->comment_len) in _zip_headercomp()
445 || (h1->comment_len && h2->comment in _zip_headercomp()
446 && memcmp(h1->comment, h2->comment, h1->comment_len))) in _zip_headercomp()