/PHP-7.4/ext/phar/ |
H A D | phar.c | 217 if (HT_IS_INITIALIZED(&phar->manifest)) { in PHP_INI_END() 218 zend_hash_destroy(&phar->manifest); in PHP_INI_END() 219 HT_INVALIDATE(&phar->manifest); in PHP_INI_END() 2508 char manifest[18], entry_buffer[24]; in phar_flush() local 2871 phar_set_32(manifest, manifest_len); in phar_flush() 2873 if(manifest[0] == '\r' || manifest[0] == '\n') { in phar_flush() 2875 phar_set_32(manifest, manifest_len); in phar_flush() 2886 phar_set_32(manifest+10, global_flags); in phar_flush() 2887 phar_set_32(manifest+14, phar->alias_len); in phar_flush() 2890 if (sizeof(manifest) != php_stream_write(newfile, manifest, sizeof(manifest)) in phar_flush() [all …]
|
H A D | phar_object.c | 350 if (zend_hash_str_exists(&(pphar->manifest), e, e_len)) { in phar_postprocess_ru_web() 2160 if (!zend_hash_num_elements(&phar->manifest)) { in phar_rename_archive() 2286 zend_hash_init(&(phar->manifest), sizeof(phar_entry_info), in phar_convert_to_other() 2309 ZEND_HASH_FOREACH_PTR(&source->manifest, entry) { in phar_convert_to_other() 2326 zend_hash_destroy(&(phar->manifest)); in phar_convert_to_other() 2359 zend_hash_destroy(&(phar->manifest)); in phar_convert_to_other() 3373 if (!pharobj_cancompress(&phar_obj->archive->manifest)) { in PHP_METHOD() 3417 if (!pharobj_cancompress(&phar_obj->archive->manifest)) { in PHP_METHOD() 4326 ZEND_HASH_FOREACH_PTR(&archive->manifest, entry) { in extract_helper() 4332 ZEND_HASH_FOREACH_PTR(&archive->manifest, entry) { in extract_helper() [all …]
|
H A D | zip.c | 312 zend_hash_init(&mydata->manifest, PHAR_GET_16(locator.count), in phar_parse_zipfile() 323 zend_hash_destroy(&mydata->manifest); \ in phar_parse_zipfile() 324 HT_INVALIDATE(&mydata->manifest); \ in phar_parse_zipfile() 345 zend_hash_destroy(&mydata->manifest); \ in phar_parse_zipfile() 346 HT_INVALIDATE(&mydata->manifest); \ in phar_parse_zipfile() 1277 zend_hash_str_del(&phar->manifest, ".phar/alias.txt", sizeof(".phar/alias.txt")-1); in phar_zip_flush() 1449 PHAR_SET_16(eocd.counthere, zend_hash_num_elements(&phar->manifest) + 1); in phar_zip_flush() 1450 PHAR_SET_16(eocd.count, zend_hash_num_elements(&phar->manifest) + 1); in phar_zip_flush() 1452 PHAR_SET_16(eocd.counthere, zend_hash_num_elements(&phar->manifest)); in phar_zip_flush() 1453 PHAR_SET_16(eocd.count, zend_hash_num_elements(&phar->manifest)); in phar_zip_flush() [all …]
|
H A D | util.c | 70 …if (NULL != (link_entry = zend_hash_str_find_ptr(&(entry->phar->manifest), entry->link, strlen(ent… in phar_get_link_source() 71 NULL != (link_entry = zend_hash_str_find_ptr(&(entry->phar->manifest), link, strlen(link)))) { in phar_get_link_source() 232 …if (NULL != zend_hash_str_add_mem(&phar->manifest, entry.filename, path_len, (void*)&entry, sizeof… in phar_mount_entry() 291 if (zend_hash_str_exists(&(phar->manifest), test + 1, try_len - 1)) { in phar_find_in_include_path() 298 if (zend_hash_str_exists(&(phar->manifest), test, try_len)) { in phar_find_in_include_path() 1245 if (!HT_IS_INITIALIZED(&phar->manifest)) { in phar_get_entry_info_dir() 1256 if (NULL != (entry = zend_hash_str_find_ptr(&phar->manifest, path, path_len))) { in phar_get_entry_info_dir() 1301 if (NULL == (entry = zend_hash_find_ptr(&phar->manifest, str_key))) { in phar_get_entry_info_dir() 1350 if (NULL == (entry = zend_hash_str_find_ptr(&phar->manifest, path, path_len))) { in phar_get_entry_info_dir() 2033 zend_hash_copy(&newmanifest, &(*pphar)->manifest, phar_manifest_copy_ctor); in phar_copy_cached_phar() [all …]
|
H A D | tar.c | 247 zend_hash_init(&myphar->manifest, 2 + (totalsize >> 12), in phar_parse_tarfile() 506 if (!zend_hash_str_exists(&myphar->manifest, hdr->linkname, linkname_len)) { in phar_parse_tarfile() 614 if (zend_hash_str_exists(&(myphar->manifest), ".phar/stub.php", sizeof(".phar/stub.php")-1)) { in phar_parse_tarfile() 904 zend_hash_str_del(&(entry->phar->manifest), entry->filename, entry->filename_len); in phar_tar_setmetadata() 940 zend_hash_str_del(&(entry->phar->manifest), lookfor, lookfor_len); in phar_tar_setupmetadata() 945 if (NULL != (metadata = zend_hash_str_find_ptr(&(entry->phar->manifest), lookfor, lookfor_len))) { in phar_tar_setupmetadata() 1026 zend_hash_str_del(&phar->manifest, ".phar/alias.txt", sizeof(".phar/alias.txt")-1); in phar_tar_flush() 1133 if (!zend_hash_str_exists(&phar->manifest, ".phar/stub.php", sizeof(".phar/stub.php")-1)) { in phar_tar_flush() 1204 zend_hash_str_del(&(phar->manifest), ".phar/.metadata.bin", sizeof(".phar/.metadata.bin")-1); in phar_tar_flush() 1213 zend_hash_apply_with_argument(&phar->manifest, phar_tar_setupmetadata, (void *) &pass); in phar_tar_flush() [all …]
|
H A D | dirstream.c | 199 zend_hash_internal_pointer_reset(manifest); in phar_make_dirstream() 201 while (FAILURE != zend_hash_has_more_elements(manifest)) { in phar_make_dirstream() 209 if (SUCCESS != zend_hash_move_forward(manifest)) { in phar_make_dirstream() 220 if (SUCCESS != zend_hash_move_forward(manifest)) { in phar_make_dirstream() 242 if (SUCCESS != zend_hash_move_forward(manifest)) { in phar_make_dirstream() 248 if (SUCCESS != zend_hash_move_forward(manifest)) { in phar_make_dirstream() 281 if (SUCCESS != zend_hash_move_forward(manifest)) { in phar_make_dirstream() 364 if (!HT_IS_INITIALIZED(&phar->manifest)) { in phar_wrapper_open_dir() 384 zend_hash_internal_pointer_reset(&phar->manifest); in phar_wrapper_open_dir() 613 for (zend_hash_internal_pointer_reset(&phar->manifest); in phar_wrapper_rmdir() [all …]
|
/PHP-7.4/win32/build/ |
H A D | confutils.js | 1183 var manifest; 1222 manifest = "-" + CMD_MOD2 + "$(_VC_MANIFEST_EMBED_DLL)"; 1228 manifest = "-" + CMD_MOD2 + "$(_VC_MANIFEST_EMBED_EXE)"; 1273 if (manifest) { 1274 MFO.WriteLine("\t" + manifest);
|
H A D | Makefile | 125 _VC_MANIFEST_EMBED_EXE= if exist $@.manifest $(MT) -nologo -manifest $@.manifest -outputresource:$@… 126 _VC_MANIFEST_EMBED_DLL= if exist $@.manifest $(MT) -nologo -manifest $@.manifest -outputresource:$@… 136 @copy win32\build\default.manifest $(BUILD_DIR)\$(PHPDLL).manifest >nul 164 …-@del /F /Q $(BUILD_DIR)\*.res $(BUILD_DIR)\*.manifest $(BUILD_DIR)\*.lib $(BUILD_DIR)\*.ilk $(BUI… 176 …IR)\*.pdb $(BUILD_DIR)\*.exp $(PHPDEF) $(BUILD_DIR)\*.rc $(BUILD_DIR)\*.manifest $(BUILD_DIR)\*.db… 248 @copy win32\build\default.manifest $(BUILD_DIR_DEV)\build\ /y >nul
|
H A D | Makefile.phpize | 31 …-@del /f /q $(BUILD_DIR)\*.res $(BUILD_DIR)\*.manifest $(BUILD_DIR)\*.lib $(BUILD_DIR)\*.ilk $(BUI… 55 _VC_MANIFEST_EMBED_EXE= if exist $@.manifest $(MT) -nologo -manifest $@.manifest -outputresource:$@… 56 _VC_MANIFEST_EMBED_DLL= if exist $@.manifest $(MT) -nologo -manifest $@.manifest -outputresource:$@…
|
/PHP-7.4/ext/phar/tests/ |
H A D | phar_createdefaultstub.phpt | 166 die('ERROR: manifest length read was "' . 460 die('ERROR: manifest length read was "' . 762 die('ERROR: manifest length read was "' .
|
H A D | phar_setdefaultstub.phpt | 186 die('ERROR: manifest length read was "' . 481 die('ERROR: manifest length read was "' . 776 die('ERROR: manifest length read was "' .
|
H A D | dir.phpt | 77 Warning: mkdir(): internal corruption of phar "%soops.phar" (truncated manifest at stub end) in %sd…
|
H A D | fopen_edgecases.phpt | 80 …: internal corruption of phar "%sfopen_edgecases.2.phar.php" (truncated manifest at stub end) in %… 98 Warning: unlink(): internal corruption of phar "%sfopen_edgecases.2.phar.php" (truncated manifest a…
|
H A D | mounteddir.phpt | 2 Phar: mounted manifest directory test
|
H A D | 002.phpt | 2 Phar::mapPhar truncated manifest/improper params 17 internal corruption of phar "%s002.php" (truncated manifest at manifest length)
|
H A D | webphar_compilefail.phpt | 17 internal corruption of phar "%swebphar_compilefail.php" (truncated manifest at manifest length)
|
H A D | bug65028.phpt | 2 Phar - test specific manifest length
|
/PHP-7.4/ext/zip/tests/ |
H A D | bug7658.phpt | 24 "META-INF/manifest.xml",
|
/PHP-7.4/ext/phar/tests/files/ |
H A D | include_path2.phar | 130 die('ERROR: manifest length read was "' .
|
H A D | nophar.phar | 130 die('ERROR: manifest length read was "' .
|
H A D | openssl.phar | 130 die('ERROR: manifest length read was "' .
|
H A D | phar_test.inc | 5 $manifest = (binary)''; 40 // write manifest entry 41 $manifest .= pack('V', strlen($name)) . (binary)$name; 42 …$manifest .= pack('VVVVVV', $ulen, $time, $clen, $crc32, $flags|$perm, strlen($meta)) . (binary)$m… 53 …manifest = pack('VnVV', count($files), isset($hasdir) ? 0x1110 : 0x1000, $gflags, strlen($alias)) … 55 $file .= pack('V', strlen($manifest)) . $manifest;
|
/PHP-7.4/ext/phar/tests/cache_list/files/ |
H A D | nophar.phar | 130 die('ERROR: manifest length read was "' .
|
H A D | openssl.phar | 130 die('ERROR: manifest length read was "' .
|
H A D | phar_test.inc | 5 $manifest = (binary)''; 40 // write manifest entry 41 $manifest .= pack('V', strlen($name)) . (binary)$name; 42 …$manifest .= pack('VVVVVV', $ulen, $time, $clen, $crc32, $flags|$perm, strlen($meta)) . (binary)$m… 53 …manifest = pack('VnVV', count($files), isset($hasdir) ? 0x1110 : 0x1000, $gflags, strlen($alias)) … 55 $file .= pack('V', strlen($manifest)) . $manifest;
|