Home
last modified time | relevance | path

Searched refs:manifest (Results 1 – 25 of 40) sorted by relevance

12

/PHP-5.3/ext/phar/tests/
H A D010.phpt14 // this fails because the manifest length does not include the other 10 byte manifest data
16 $manifest = pack('V', 1) . 'a' . pack('VVVVVV', 0, time(), 0, crc32(b''), 0x00000000, 0);
17 $file .= pack('VVnVV', strlen($manifest), 1, 0x1000, 0x00000000, 3) . 'hio' . pack('V', 0) . $manif…
30 internal corruption of phar "%s" (too many manifest entries for size of manifest)
H A D006.phpt2 Phar::mapPhar truncated manifest (manifest length truncated)
14 internal corruption of phar "%s" (truncated manifest at manifest length)
H A D005.phpt2 Phar::mapPhar truncated manifest (none)
14 internal corruption of phar "%s" (truncated manifest at manifest length)
H A D002.phpt2 Phar::mapPhar truncated manifest/improper params
17 internal corruption of phar "%s002.php" (truncated manifest at manifest length)
H A D008.phpt2 Phar::mapPhar truncated manifest (not enough for manifest length)
23 internal corruption of phar "%s" (truncated manifest header)
H A D009.phpt2 Phar::mapPhar too many manifest entries
24 internal corruption of phar "%s009.phar.php" (too many manifest entries for size of manifest)
H A D007.phpt2 Phar::mapPhar manifest too big
14 manifest cannot be larger than 100 MB in phar "%s"
H A Dwebphar_compilefail.phpt17 internal corruption of phar "%swebphar_compilefail.php" (truncated manifest at manifest length)
H A D011.phpt2 Phar::mapPhar filesize too small in manifest
/PHP-5.3/ext/phar/tests/files/
H A Dphar_test.inc7 $manifest = (binary)'';
42 // write manifest entry
43 $manifest .= pack('V', strlen($name)) . (binary)$name;
44 …$manifest .= pack('VVVVVV', $ulen, $time, $clen, $crc32, $flags|$perm, strlen($meta)) . (binary)$m…
55manifest = pack('VnVV', count($files), isset($hasdir) ? 0x1110 : 0x1000, $gflags, strlen($alias)) …
57 $file .= pack('V', strlen($manifest)) . $manifest;
/PHP-5.3/ext/phar/tests/cache_list/files/
H A Dphar_test.inc7 $manifest = (binary)'';
42 // write manifest entry
43 $manifest .= pack('V', strlen($name)) . (binary)$name;
44 …$manifest .= pack('VVVVVV', $ulen, $time, $clen, $crc32, $flags|$perm, strlen($meta)) . (binary)$m…
55manifest = pack('VnVV', count($files), isset($hasdir) ? 0x1110 : 0x1000, $gflags, strlen($alias)) …
57 $file .= pack('V', strlen($manifest)) . $manifest;
/PHP-5.3/win32/build/
H A DMakefile.phpize24 …-@del /f /q $(BUILD_DIR)\*.res $(BUILD_DIR)\*.manifest $(BUILD_DIR)\*.lib $(BUILD_DIR)\*.ilk $(BUI…
35 _VC_MANIFEST_EMBED_EXE= if exist $@.manifest $(MT) -nologo -manifest $@.manifest -outputresource:$@…
36 _VC_MANIFEST_EMBED_DLL= if exist $@.manifest $(MT) -nologo -manifest $@.manifest -outputresource:$@…
H A DMakefile74 _VC_MANIFEST_EMBED_EXE= if exist $@.manifest $(MT) -nologo -manifest $@.manifest -outputresource:$@…
75 _VC_MANIFEST_EMBED_DLL= if exist $@.manifest $(MT) -nologo -manifest $@.manifest -outputresource:$@…
/PHP-5.3/ext/phar/
H A Ddirstream.c211 zend_hash_internal_pointer_reset(manifest); in phar_make_dirstream()
213 while (FAILURE != zend_hash_has_more_elements(manifest)) { in phar_make_dirstream()
223 if (SUCCESS != zend_hash_move_forward(manifest)) { in phar_make_dirstream()
235 if (SUCCESS != zend_hash_move_forward(manifest)) { in phar_make_dirstream()
259 if (SUCCESS != zend_hash_move_forward(manifest)) { in phar_make_dirstream()
266 if (SUCCESS != zend_hash_move_forward(manifest)) { in phar_make_dirstream()
300 if (SUCCESS != zend_hash_move_forward(manifest)) { in phar_make_dirstream()
384 if (!phar->manifest.arBuckets) { in phar_wrapper_open_dir()
404 zend_hash_internal_pointer_reset(&phar->manifest); in phar_wrapper_open_dir()
639 for (zend_hash_internal_pointer_reset(&phar->manifest); in phar_wrapper_rmdir()
[all …]
H A Dgdbhelp66 set $manifest = (*(phar_archive_data*)$p->pDataPtr).manifest
67 set $m = $manifest.pListHead
94 set $manifest = (*(phar_archive_data*)$p->pDataPtr).manifest
95 set $m = $manifest.pListHead
H A Dtar.c228 zend_hash_init(&myphar->manifest, 2 + (totalsize >> 12), in phar_parse_tarfile()
470 if (!zend_hash_exists(&myphar->manifest, hdr->linkname, strlen(hdr->linkname))) { in phar_parse_tarfile()
575 if (zend_hash_exists(&(myphar->manifest), ".phar/stub.php", sizeof(".phar/stub.php")-1)) { in phar_parse_tarfile()
856 zend_hash_del(&(entry->phar->manifest), entry->filename, entry->filename_len); in phar_tar_setmetadata()
892 zend_hash_del(&(entry->phar->manifest), lookfor, lookfor_len); in phar_tar_setupmetadata()
897 …if (SUCCESS == zend_hash_find(&(entry->phar->manifest), lookfor, lookfor_len, (void **)&metadata))… in phar_tar_setupmetadata()
975 zend_hash_del(&phar->manifest, ".phar/alias.txt", sizeof(".phar/alias.txt")-1); in phar_tar_flush()
1068 if (!zend_hash_exists(&phar->manifest, ".phar/stub.php", sizeof(".phar/stub.php")-1)) { in phar_tar_flush()
1146 zend_hash_del(&(phar->manifest), ".phar/.metadata.bin", sizeof(".phar/.metadata.bin")-1); in phar_tar_flush()
1155 …zend_hash_apply_with_argument(&phar->manifest, (apply_func_arg_t) phar_tar_setupmetadata, (void *)… in phar_tar_flush()
[all …]
H A Dphar.c226 if (phar->manifest.arBuckets) { in PHP_INI_END()
227 zend_hash_destroy(&phar->manifest); in PHP_INI_END()
228 phar->manifest.arBuckets = NULL; in PHP_INI_END()
2577 char manifest[18], entry_buffer[24]; local
2760 zend_hash_move_forward(&phar->manifest)) {
2938 phar_set_32(manifest, manifest_len);
2947 phar_set_32(manifest+10, global_flags);
2948 phar_set_32(manifest+14, phar->alias_len);
2951 if (sizeof(manifest) != php_stream_write(newfile, manifest, sizeof(manifest))
2996 zend_hash_move_forward(&phar->manifest)) {
[all …]
H A DTODO7 X implement reading in metadata in manifest as <len32><metadata...> [Marcus]
8 X implement writing out of metadata to new manifest [Marcus]
13 X docs on file format/manifest description [Greg]
73 this would traverse external.phar's manifest, and add each entry as a
111 maps its manifest inside archive.phar. The manifest entry inside
H A Dphar_internal.h315 HashTable manifest; member
359 phar_entry_fp_info *manifest; member
443 data = &(PHAR_GLOBALS->cached_fp[entry->phar->phar_pos].manifest[entry->manifest_pos]); in phar_set_fp_type()
453 return PHAR_GLOBALS->cached_fp[entry->phar->phar_pos].manifest[entry->manifest_pos].fp_type; in phar_get_fp_type()
461 …if (PHAR_GLOBALS->cached_fp[entry->phar->phar_pos].manifest[entry->manifest_pos].fp_type == PHAR_F… in phar_get_fp_offset()
462 if (!PHAR_GLOBALS->cached_fp[entry->phar->phar_pos].manifest[entry->manifest_pos].offset) { in phar_get_fp_offset()
463 …PHAR_GLOBALS->cached_fp[entry->phar->phar_pos].manifest[entry->manifest_pos].offset = entry->offse… in phar_get_fp_offset()
466 return PHAR_GLOBALS->cached_fp[entry->phar->phar_pos].manifest[entry->manifest_pos].offset; in phar_get_fp_offset()
H A Dfunc_interceptors.c163 if (!zend_hash_exists(&(phar->manifest), entry + 1, entry_len - 1)) { in PHAR_FUNC()
171 if (!zend_hash_exists(&(phar->manifest), entry, entry_len)) { in PHAR_FUNC()
286 if (!zend_hash_exists(&(phar->manifest), entry + 1, entry_len - 1)) { in PHAR_FUNC()
294 if (!zend_hash_exists(&(phar->manifest), entry, entry_len)) { in PHAR_FUNC()
382 if (!zend_hash_exists(&(phar->manifest), entry + 1, entry_len - 1)) { in PHAR_FUNC()
390 if (!zend_hash_exists(&(phar->manifest), entry, entry_len)) { in PHAR_FUNC()
656 if (SUCCESS == zend_hash_find(&(phar->manifest), entry + 1, entry_len - 1, (void **) &data)) { in phar_file_stat()
662 if (SUCCESS == zend_hash_find(&(phar->manifest), entry, entry_len, (void **) &data)) { in phar_file_stat()
700 if (SUCCESS == zend_hash_find(&(phar->manifest), entry + 1, entry_len - 1, (void **) &data)) { in phar_file_stat()
944 if (SUCCESS == zend_hash_find(&(phar->manifest), entry, entry_len, (void **) &etemp)) { in PharFileFunction()
[all …]
H A Dstream.c612 if (!phar->manifest.arBuckets) { in phar_wrapper_stat()
618 if (SUCCESS == zend_hash_find(&phar->manifest, internal_file, internal_file_len, (void**)&entry)) { in phar_wrapper_stat()
651 if (SUCCESS != zend_hash_find(&phar->manifest, str_key, keylen, (void **) &entry)) { in phar_wrapper_stat()
671 …if (SUCCESS != zend_hash_find(&phar->manifest, internal_file, internal_file_len, (void**)&entry)) { in phar_wrapper_stat()
863 …if (SUCCESS == zend_hash_find(&(phar->manifest), resource_from->path+1, strlen(resource_from->path… in phar_wrapper_rename()
891 zend_hash_del(&(phar->manifest), entry->filename, strlen(entry->filename)); in phar_wrapper_rename()
920 for (zend_hash_internal_pointer_reset(&phar->manifest); in phar_wrapper_rename()
922 SUCCESS == zend_hash_get_current_data(&phar->manifest, (void **) &entry); in phar_wrapper_rename()
923 zend_hash_move_forward(&phar->manifest)) { in phar_wrapper_rename()
946 zend_hash_update_current_key_ex(&phar->manifest, key_type, new_key, new_key_len, 0, NULL); in phar_wrapper_rename()
[all …]
H A Dzip.c292 zend_hash_init(&mydata->manifest, PHAR_GET_16(locator.count), in phar_parse_zipfile()
303 zend_hash_destroy(&mydata->manifest); \ in phar_parse_zipfile()
304 mydata->manifest.arBuckets = 0; \ in phar_parse_zipfile()
327 zend_hash_destroy(&mydata->manifest); \ in phar_parse_zipfile()
328 mydata->manifest.arBuckets = 0; \ in phar_parse_zipfile()
654 if (zend_hash_exists(&(mydata->manifest), ".phar/stub.php", sizeof(".phar/stub.php")-1)) { in phar_parse_zipfile()
1226 zend_hash_del(&phar->manifest, ".phar/alias.txt", sizeof(".phar/alias.txt")-1); in phar_zip_flush()
1399 PHAR_SET_16(eocd.counthere, zend_hash_num_elements(&phar->manifest) + 1); in phar_zip_flush()
1400 PHAR_SET_16(eocd.count, zend_hash_num_elements(&phar->manifest) + 1); in phar_zip_flush()
1402 PHAR_SET_16(eocd.counthere, zend_hash_num_elements(&phar->manifest)); in phar_zip_flush()
[all …]
H A Dphar_object.c389 if (zend_hash_exists(&((*pphar)->manifest), e, e_len)) { in phar_postprocess_ru_web()
2189 if (!zend_hash_num_elements(&phar->manifest)) {
2311 zend_hash_init(&(phar->manifest), sizeof(phar_entry_info),
2345 …inter_reset(&source->manifest); SUCCESS == zend_hash_has_more_elements(&source->manifest); zend_ha…
2348 zend_hash_destroy(&(phar->manifest));
2371 zend_hash_destroy(&(phar->manifest));
2415 zend_hash_destroy(&(phar->manifest));
4458 if (!zend_hash_num_elements(&(phar->manifest))) {
4462 for (zend_hash_internal_pointer_reset(&phar->manifest);
4463 zend_hash_has_more_elements(&phar->manifest) == SUCCESS;
[all …]
H A Dutil.c79 SUCCESS == zend_hash_find(&(entry->phar->manifest), link, strlen(link), (void **)&link_entry)) { in phar_get_link_source()
307 if (zend_hash_exists(&(phar->manifest), test + 1, try_len - 1)) { in phar_find_in_include_path()
314 if (zend_hash_exists(&(phar->manifest), test, try_len)) { in phar_find_in_include_path()
387 if (zend_hash_exists(&(phar->manifest), test + 1, try_len - 1)) { in phar_find_in_include_path()
394 if (zend_hash_exists(&(phar->manifest), test, try_len)) { in phar_find_in_include_path()
1505 if (!phar->manifest.arBuckets) { in phar_get_entry_info_dir()
1516 if (SUCCESS == zend_hash_find(&phar->manifest, path, path_len, (void**)&entry)) { in phar_get_entry_info_dir()
1572 if (SUCCESS != zend_hash_find(&phar->manifest, str_key, keylen, (void **) &entry)) { in phar_get_entry_info_dir()
1624 if (SUCCESS != zend_hash_find(&phar->manifest, path, path_len, (void**)&entry)) { in phar_get_entry_info_dir()
2342 zend_hash_copy(&newmanifest, &(*pphar)->manifest, NULL, NULL, sizeof(phar_entry_info));
[all …]
/PHP-5.3/ext/zip/tests/
H A Dbug7658.phpt25 "META-INF/manifest.xml",

Completed in 73 milliseconds

12