Home
last modified time | relevance | path

Searched refs:manifest (Results 1 – 25 of 45) sorted by last modified time

12

/PHP-7.1/win32/build/
H A DMakefile106 _VC_MANIFEST_EMBED_EXE= if exist $@.manifest $(MT) -nologo -manifest $@.manifest -outputresource:$@…
107 _VC_MANIFEST_EMBED_DLL= if exist $@.manifest $(MT) -nologo -manifest $@.manifest -outputresource:$@…
117 @copy win32\build\default.manifest $(BUILD_DIR)\$(PHPDLL).manifest >nul
145 …-@del /F /Q $(BUILD_DIR)\*.res $(BUILD_DIR)\*.manifest $(BUILD_DIR)\*.lib $(BUILD_DIR)\*.ilk $(BUI…
157 …IR)\*.pdb $(BUILD_DIR)\*.exp $(PHPDEF) $(BUILD_DIR)\*.rc $(BUILD_DIR)\*.manifest $(BUILD_DIR)\*.db…
233 @copy win32\build\default.manifest $(BUILD_DIR_DEV)\build\ /y >nul
H A Dconfutils.js1164 var manifest;
1202 manifest = "-@$(_VC_MANIFEST_EMBED_DLL)";
1208 manifest = "-@$(_VC_MANIFEST_EMBED_EXE)";
1241 if (manifest) {
1242 MFO.WriteLine("\t" + manifest);
/PHP-7.1/ext/zip/tests/
H A Dbug7658.phpt25 "META-INF/manifest.xml",
/PHP-7.1/ext/phar/
H A Dutil.c74 …if (NULL != (link_entry = zend_hash_str_find_ptr(&(entry->phar->manifest), entry->link, strlen(ent… in phar_get_link_source()
75 NULL != (link_entry = zend_hash_str_find_ptr(&(entry->phar->manifest), link, strlen(link)))) { in phar_get_link_source()
236 …if (NULL != zend_hash_str_add_mem(&phar->manifest, entry.filename, path_len, (void*)&entry, sizeof… in phar_mount_entry()
295 if (zend_hash_str_exists(&(phar->manifest), test + 1, try_len - 1)) { in phar_find_in_include_path()
302 if (zend_hash_str_exists(&(phar->manifest), test, try_len)) { in phar_find_in_include_path()
1249 if (!phar->manifest.u.flags) { in phar_get_entry_info_dir()
1260 if (NULL != (entry = zend_hash_str_find_ptr(&phar->manifest, path, path_len))) { in phar_get_entry_info_dir()
1305 if (NULL == (entry = zend_hash_find_ptr(&phar->manifest, str_key))) { in phar_get_entry_info_dir()
1354 if (NULL == (entry = zend_hash_str_find_ptr(&phar->manifest, path, path_len))) { in phar_get_entry_info_dir()
2037 zend_hash_copy(&newmanifest, &(*pphar)->manifest, phar_manifest_copy_ctor); in phar_copy_cached_phar()
[all …]
H A Dzip.c284 zend_hash_init(&mydata->manifest, PHAR_GET_16(locator.count), in phar_parse_zipfile()
295 zend_hash_destroy(&mydata->manifest); \ in phar_parse_zipfile()
296 mydata->manifest.u.flags = 0; \ in phar_parse_zipfile()
317 zend_hash_destroy(&mydata->manifest); \ in phar_parse_zipfile()
318 mydata->manifest.u.flags = 0; \ in phar_parse_zipfile()
1241 zend_hash_str_del(&phar->manifest, ".phar/alias.txt", sizeof(".phar/alias.txt")-1); in phar_zip_flush()
1428 PHAR_SET_16(eocd.counthere, zend_hash_num_elements(&phar->manifest) + 1); in phar_zip_flush()
1429 PHAR_SET_16(eocd.count, zend_hash_num_elements(&phar->manifest) + 1); in phar_zip_flush()
1431 PHAR_SET_16(eocd.counthere, zend_hash_num_elements(&phar->manifest)); in phar_zip_flush()
1432 PHAR_SET_16(eocd.count, zend_hash_num_elements(&phar->manifest)); in phar_zip_flush()
[all …]
H A Dphar_internal.h286 HashTable manifest; member
330 phar_entry_fp_info *manifest; member
414 data = &(PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos]); in phar_set_fp_type()
424 return PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos].fp_type; in phar_get_fp_type()
432 if (PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos].fp_type == PHAR_FP) { in phar_get_fp_offset()
433 if (!PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos].offset) { in phar_get_fp_offset()
434 PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos].offset = entry->offset; in phar_get_fp_offset()
437 return PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos].offset; in phar_get_fp_offset()
H A Dphar_object.c356 if (zend_hash_str_exists(&(pphar->manifest), e, e_len)) { in phar_postprocess_ru_web()
2142 if (!zend_hash_num_elements(&phar->manifest)) { in phar_rename_archive()
2266 zend_hash_init(&(phar->manifest), sizeof(phar_entry_info), in phar_convert_to_other()
2289 ZEND_HASH_FOREACH_PTR(&source->manifest, entry) { in phar_convert_to_other()
2306 zend_hash_destroy(&(phar->manifest)); in phar_convert_to_other()
2339 zend_hash_destroy(&(phar->manifest)); in phar_convert_to_other()
3193 static int pharobj_cancompress(HashTable *manifest) /* {{{ */ in pharobj_cancompress() argument
3366 if (!pharobj_cancompress(&phar_obj->archive->manifest)) { in PHP_METHOD()
3410 if (!pharobj_cancompress(&phar_obj->archive->manifest)) { in PHP_METHOD()
4436 if (!zend_hash_num_elements(&(phar->manifest))) { in PHP_METHOD()
[all …]
H A Dstream.c616 if (!phar->manifest.u.flags) { in phar_wrapper_stat()
622 if (NULL != (entry = zend_hash_str_find_ptr(&phar->manifest, internal_file, internal_file_len))) { in phar_wrapper_stat()
644 if (NULL == (entry = zend_hash_find_ptr(&phar->manifest, str_key))) { in phar_wrapper_stat()
661 … if (NULL == (entry = zend_hash_str_find_ptr(&phar->manifest, internal_file, internal_file_len))) { in phar_wrapper_stat()
851 …if (NULL != (entry = zend_hash_str_find_ptr(&(phar->manifest), resource_from->path+1, strlen(resou… in phar_wrapper_rename()
871 …entry = zend_hash_str_add_mem(&(phar->manifest), resource_to->path+1, strlen(resource_to->path)-1,… in phar_wrapper_rename()
879 zend_hash_str_del(&(phar->manifest), entry->filename, strlen(entry->filename)); in phar_wrapper_rename()
906 ZEND_HASH_FOREACH_BUCKET(&phar->manifest, b) { in phar_wrapper_rename()
931 zend_hash_rehash(&phar->manifest); in phar_wrapper_rename()
H A Dtar.c239 zend_hash_init(&myphar->manifest, 2 + (totalsize >> 12), in phar_parse_tarfile()
487 if (!zend_hash_str_exists(&myphar->manifest, hdr->linkname, linkname_len)) { in phar_parse_tarfile()
595 if (zend_hash_str_exists(&(myphar->manifest), ".phar/stub.php", sizeof(".phar/stub.php")-1)) { in phar_parse_tarfile()
885 zend_hash_str_del(&(entry->phar->manifest), entry->filename, entry->filename_len); in phar_tar_setmetadata()
921 zend_hash_str_del(&(entry->phar->manifest), lookfor, lookfor_len); in phar_tar_setupmetadata()
926 if (NULL != (metadata = zend_hash_str_find_ptr(&(entry->phar->manifest), lookfor, lookfor_len))) { in phar_tar_setupmetadata()
1013 zend_hash_str_del(&phar->manifest, ".phar/alias.txt", sizeof(".phar/alias.txt")-1); in phar_tar_flush()
1120 if (!zend_hash_str_exists(&phar->manifest, ".phar/stub.php", sizeof(".phar/stub.php")-1)) { in phar_tar_flush()
1198 zend_hash_str_del(&(phar->manifest), ".phar/.metadata.bin", sizeof(".phar/.metadata.bin")-1); in phar_tar_flush()
1207 zend_hash_apply_with_argument(&phar->manifest, phar_tar_setupmetadata, (void *) &pass); in phar_tar_flush()
[all …]
H A Dphar.c223 if (phar->manifest.u.flags) { in PHP_INI_END()
224 zend_hash_destroy(&phar->manifest); in PHP_INI_END()
225 phar->manifest.u.flags = 0; in PHP_INI_END()
2499 char manifest[18], entry_buffer[24]; local
2861 phar_set_32(manifest, manifest_len);
2863 if(manifest[0] == '\r' || manifest[0] == '\n') {
2865 phar_set_32(manifest, manifest_len);
2876 phar_set_32(manifest+10, global_flags);
2877 phar_set_32(manifest+14, phar->alias_len);
2880 if (sizeof(manifest) != php_stream_write(newfile, manifest, sizeof(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
/PHP-7.1/ext/phar/tests/
H A Dphar_setdefaultstub.phpt186 die('ERROR: manifest length read was "' .
481 die('ERROR: manifest length read was "' .
776 die('ERROR: manifest length read was "' .
H A Dphar_createdefaultstub.phpt166 die('ERROR: manifest length read was "' .
460 die('ERROR: manifest length read was "' .
762 die('ERROR: manifest length read was "' .
H A Ddir.phpt77 Warning: mkdir(): internal corruption of phar "%soops.phar" (truncated manifest at stub end) in %sd…
H A Dfopen_edgecases.phpt80 …: 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 Dmounteddir.phpt2 Phar: mounted manifest directory test
H A DmounteddirU.phpt2 Phar: mounted manifest directory test
H A Dbug69324.phpt17 internal corruption of phar "%s" (truncated manifest entry)
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 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)
21 internal corruption of phar "%s" (truncated manifest header)
/PHP-7.1/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-7.1/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;

Completed in 111 milliseconds

12