Home
last modified time | relevance | path

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

/PHP-8.2/ext/phar/
H A Dzip.c1235 phar_zip_dir_end eocd; in phar_zip_flush() local
1438 memset(&eocd, 0, sizeof(eocd)); in phar_zip_flush()
1440 memcpy(eocd.signature, "PK\5\6", 4); in phar_zip_flush()
1446 PHAR_SET_16(eocd.count, zend_hash_num_elements(&phar->manifest) + 1); in phar_zip_flush()
1448 PHAR_SET_16(eocd.counthere, zend_hash_num_elements(&phar->manifest)); in phar_zip_flush()
1449 PHAR_SET_16(eocd.count, zend_hash_num_elements(&phar->manifest)); in phar_zip_flush()
1476 PHAR_SET_32(eocd.cdir_size, cdir_size); in phar_zip_flush()
1477 PHAR_SET_32(eocd.cdir_offset, cdir_offset); in phar_zip_flush()
1496 PHAR_SET_16(eocd.comment_len, ZSTR_LEN(phar->metadata_tracker.str)); in phar_zip_flush()
1498 if (sizeof(eocd) != php_stream_write(pass.filefp, (char *)&eocd, sizeof(eocd))) { in phar_zip_flush()
[all …]

Completed in 13 milliseconds