Home
last modified time | relevance | path

Searched refs:manifest (Results 1 – 25 of 46) sorted by path

12

/PHP-5.6/ext/openssl/tests/
H A Dbug65538.phar130 die('ERROR: manifest length read was "' .
/PHP-5.6/ext/pcre/pcrelib/
H A DREADME45 File manifest
844 File manifest
/PHP-5.6/ext/phar/
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 Ddirstream.c198 zend_hash_internal_pointer_reset(manifest); in phar_make_dirstream()
200 while (FAILURE != zend_hash_has_more_elements(manifest)) { in phar_make_dirstream()
208 if (SUCCESS != zend_hash_move_forward(manifest)) { in phar_make_dirstream()
219 if (SUCCESS != zend_hash_move_forward(manifest)) { in phar_make_dirstream()
241 if (SUCCESS != zend_hash_move_forward(manifest)) { in phar_make_dirstream()
247 if (SUCCESS != zend_hash_move_forward(manifest)) { in phar_make_dirstream()
280 if (SUCCESS != zend_hash_move_forward(manifest)) { in phar_make_dirstream()
363 if (!phar->manifest.arBuckets) { in phar_wrapper_open_dir()
383 zend_hash_internal_pointer_reset(&phar->manifest); in phar_wrapper_open_dir()
614 for (zend_hash_internal_pointer_reset(&phar->manifest); in phar_wrapper_rmdir()
[all …]
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 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 Dphar.c224 if (phar->manifest.arBuckets) { in PHP_INI_END()
225 zend_hash_destroy(&phar->manifest); in PHP_INI_END()
226 phar->manifest.arBuckets = NULL; in PHP_INI_END()
2567 char manifest[18], entry_buffer[24]; local
2751 zend_hash_move_forward(&phar->manifest)) {
2929 phar_set_32(manifest, manifest_len);
2931 if(manifest[0] == '\r' || manifest[0] == '\n') {
2933 phar_set_32(manifest, manifest_len);
2944 phar_set_32(manifest+10, global_flags);
2945 phar_set_32(manifest+14, phar->alias_len);
[all …]
H A Dphar_internal.h301 HashTable manifest; member
345 phar_entry_fp_info *manifest; member
429 data = &(PHAR_GLOBALS->cached_fp[entry->phar->phar_pos].manifest[entry->manifest_pos]); in phar_set_fp_type()
439 return PHAR_GLOBALS->cached_fp[entry->phar->phar_pos].manifest[entry->manifest_pos].fp_type; in phar_get_fp_type()
447 …if (PHAR_GLOBALS->cached_fp[entry->phar->phar_pos].manifest[entry->manifest_pos].fp_type == PHAR_F… in phar_get_fp_offset()
448 if (!PHAR_GLOBALS->cached_fp[entry->phar->phar_pos].manifest[entry->manifest_pos].offset) { in phar_get_fp_offset()
449 …PHAR_GLOBALS->cached_fp[entry->phar->phar_pos].manifest[entry->manifest_pos].offset = entry->offse… in phar_get_fp_offset()
452 return PHAR_GLOBALS->cached_fp[entry->phar->phar_pos].manifest[entry->manifest_pos].offset; in phar_get_fp_offset()
H A Dphar_object.c388 if (zend_hash_exists(&((*pphar)->manifest), e, e_len)) { in phar_postprocess_ru_web()
2122 if (!zend_hash_num_elements(&phar->manifest)) { in phar_rename_archive()
2246 zend_hash_init(&(phar->manifest), sizeof(phar_entry_info), in phar_convert_to_other()
2276 …inter_reset(&source->manifest); SUCCESS == zend_hash_has_more_elements(&source->manifest); zend_ha… in phar_convert_to_other()
2279 zend_hash_destroy(&(phar->manifest)); in phar_convert_to_other()
2302 zend_hash_destroy(&(phar->manifest)); in phar_convert_to_other()
2343 zend_hash_destroy(&(phar->manifest)); in phar_convert_to_other()
4429 if (!zend_hash_num_elements(&(phar->manifest))) { in PHP_METHOD()
4433 for (zend_hash_internal_pointer_reset(&phar->manifest); in PHP_METHOD()
4434 zend_hash_has_more_elements(&phar->manifest) == SUCCESS; in PHP_METHOD()
[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()
646 if (SUCCESS != zend_hash_find(&phar->manifest, str_key, keylen, (void **) &entry)) { in phar_wrapper_stat()
663 …if (SUCCESS != zend_hash_find(&phar->manifest, internal_file, internal_file_len, (void**)&entry)) { in phar_wrapper_stat()
855 …if (SUCCESS == zend_hash_find(&(phar->manifest), resource_from->path+1, strlen(resource_from->path… in phar_wrapper_rename()
883 zend_hash_del(&(phar->manifest), entry->filename, strlen(entry->filename)); in phar_wrapper_rename()
911 for (zend_hash_internal_pointer_reset(&phar->manifest); in phar_wrapper_rename()
912 …HASH_KEY_NON_EXISTENT != (key_type = zend_hash_get_current_key_ex(&phar->manifest, &str_key, &key_… in phar_wrapper_rename()
913 SUCCESS == zend_hash_get_current_data(&phar->manifest, (void **) &entry); in phar_wrapper_rename()
914 zend_hash_move_forward(&phar->manifest) in phar_wrapper_rename()
[all …]
H A Dtar.c239 zend_hash_init(&myphar->manifest, 2 + (totalsize >> 12), in phar_parse_tarfile()
489 if (!zend_hash_exists(&myphar->manifest, hdr->linkname, linkname_len)) { in phar_parse_tarfile()
597 if (zend_hash_exists(&(myphar->manifest), ".phar/stub.php", sizeof(".phar/stub.php")-1)) { in phar_parse_tarfile()
878 zend_hash_del(&(entry->phar->manifest), entry->filename, entry->filename_len); in phar_tar_setmetadata()
917 zend_hash_del(&(entry->phar->manifest), lookfor, lookfor_len); in phar_tar_setupmetadata()
922 …if (SUCCESS == zend_hash_find(&(entry->phar->manifest), lookfor, lookfor_len, (void **)&metadata))… in phar_tar_setupmetadata()
1000 zend_hash_del(&phar->manifest, ".phar/alias.txt", sizeof(".phar/alias.txt")-1); in phar_tar_flush()
1093 if (!zend_hash_exists(&phar->manifest, ".phar/stub.php", sizeof(".phar/stub.php")-1)) { in phar_tar_flush()
1171 zend_hash_del(&(phar->manifest), ".phar/.metadata.bin", sizeof(".phar/.metadata.bin")-1); in phar_tar_flush()
1180 …zend_hash_apply_with_argument(&phar->manifest, (apply_func_arg_t) phar_tar_setupmetadata, (void *)… in phar_tar_flush()
[all …]
/PHP-5.6/ext/phar/tests/
H A D002.phpt2 Phar::mapPhar truncated manifest/improper params
17 internal corruption of phar "%s002.php" (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 D006.phpt2 Phar::mapPhar truncated manifest (manifest length truncated)
14 internal corruption of phar "%s" (truncated manifest at manifest length)
H A D007.phpt2 Phar::mapPhar manifest too big
14 manifest cannot be larger than 100 MB in phar "%s"
H A D008.phpt2 Phar::mapPhar truncated manifest (not enough for manifest length)
21 internal corruption of phar "%s" (truncated manifest header)
H A D009.phpt2 Phar::mapPhar too many manifest entries
23 internal corruption of phar "%s009.phar.php" (too many manifest entries for size of manifest)
H A D010.phpt13 // this fails because the manifest length does not include the other 10 byte manifest data
15 $manifest = pack('V', 1) . 'a' . pack('VVVVVV', 0, time(), 0, crc32(b''), 0x00000000, 0);
16 $file .= pack('VVnVV', strlen($manifest), 1, 0x1000, 0x00000000, 3) . 'hio' . pack('V', 0) . $manif…
29 internal corruption of phar "%s" (too many manifest entries for size of manifest)
H A D011.phpt2 Phar::mapPhar filesize too small in manifest
H A Dbug65028.phpt2 Phar - test specific manifest length
H A Dbug69324.phpt17 internal corruption of phar "%s" (truncated manifest entry)
H A Dbug73764.phpt16 internal corruption of phar "%sbug73764.phar" (truncated manifest entry)
H A Dbug73768.phpt16 internal corruption of phar "%sbug73768.phar" (truncated manifest header)
H A Dbug77143.phpt18 internal corruption of phar "%sbug77143.phar" (truncated manifest header)
/PHP-5.6/ext/phar/tests/cache_list/files/
H A Dnophar.phar130 die('ERROR: manifest length read was "' .

Completed in 278 milliseconds

12