Searched refs:eocd (Results 1 – 2 of 2) sorted by relevance
/PHP-7.3/ext/phar/ |
H A D | zip.c | 1196 phar_zip_dir_end eocd; in phar_zip_flush() local 1403 memset(&eocd, 0, sizeof(eocd)); in phar_zip_flush() 1405 strncpy(eocd.signature, "PK\5\6", 4); in phar_zip_flush() 1411 PHAR_SET_16(eocd.count, zend_hash_num_elements(&phar->manifest) + 1); in phar_zip_flush() 1413 PHAR_SET_16(eocd.counthere, zend_hash_num_elements(&phar->manifest)); in phar_zip_flush() 1414 PHAR_SET_16(eocd.count, zend_hash_num_elements(&phar->manifest)); in phar_zip_flush() 1449 PHAR_SET_32(eocd.cdir_size, cdir_size); in phar_zip_flush() 1450 PHAR_SET_32(eocd.cdir_offset, cdir_offset); in phar_zip_flush() 1468 PHAR_SET_16(eocd.comment_len, ZSTR_LEN(main_metadata_str.s)); in phar_zip_flush() 1470 if (sizeof(eocd) != php_stream_write(pass.filefp, (char *)&eocd, sizeof(eocd))) { in phar_zip_flush() [all …]
|
/PHP-7.3/ext/zip/lib/ |
H A D | zip_open.c | 730 zip_uint8_t eocd[EOCD64LEN]; in _zip_read_eocd64() local 763 if ((buffer = _zip_buffer_new_from_source(src, EOCD64LEN, eocd, error)) == NULL) { in _zip_read_eocd64()
|
Completed in 16 milliseconds