Lines Matching refs:manifest

224 	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()
297 if (!zend_hash_num_elements(&phar->manifest)) { in phar_archive_delref()
364 zend_hash_apply(&(phar_data->manifest), phar_tmpclose_apply TSRMLS_CC); in destroy_phar_data()
467 …zend_hash_del(&idata->phar->manifest, idata->internal_file->filename, idata->internal_file->filena… in phar_entry_remove()
565 …if (PHAR_G(readonly) && FAILURE == zend_hash_find(&(phar->manifest), ".phar/stub.php", sizeof(".ph…
1040 zend_hash_init(&mydata->manifest, manifest_count,
1173 …zend_hash_add(&mydata->manifest, entry.filename, entry.filename_len, (void*)&entry, sizeof(phar_en…
1284 …if (FAILURE == zend_hash_find(&((*test)->manifest), ".phar/stub.php", sizeof(".phar/stub.php")-1, …
1397 zend_hash_init(&mydata->manifest, sizeof(phar_entry_info),
2577 char manifest[18], entry_buffer[24]; local
2601 if (!zend_hash_num_elements(&phar->manifest) && !user_stub) {
2746 zend_hash_apply(&phar->manifest, phar_flush_clean_deleted_apply TSRMLS_CC);
2759 for (zend_hash_internal_pointer_reset(&phar->manifest);
2760 zend_hash_has_more_elements(&phar->manifest) == SUCCESS;
2761 zend_hash_move_forward(&phar->manifest)) {
2762 if (zend_hash_get_current_data(&phar->manifest, (void **)&entry) == FAILURE) {
2938 manifest_len = offset + phar->alias_len + sizeof(manifest) + main_metadata_str.len;
2939 phar_set_32(manifest, manifest_len);
2941 if(manifest[0] == '\r' || manifest[0] == '\n') {
2943 phar_set_32(manifest, manifest_len);
2946 phar_set_32(manifest+4, new_manifest_count);
2948 *(manifest + 8) = (unsigned char) (((PHAR_API_VERSION) >> 8) & 0xFF);
2949 *(manifest + 9) = (unsigned char) (((PHAR_API_VERSION) & 0xF0));
2951 *(manifest + 8) = (unsigned char) (((PHAR_API_VERSION_NODIR) >> 8) & 0xFF);
2952 *(manifest + 9) = (unsigned char) (((PHAR_API_VERSION_NODIR) & 0xF0));
2954 phar_set_32(manifest+10, global_flags);
2955 phar_set_32(manifest+14, phar->alias_len);
2958 if (sizeof(manifest) != php_stream_write(newfile, manifest, sizeof(manifest))
2977 phar_set_32(manifest, main_metadata_str.len);
2978 if (4 != php_stream_write(newfile, manifest, 4) || (main_metadata_str.len
3001 for (zend_hash_internal_pointer_reset(&phar->manifest);
3002 zend_hash_has_more_elements(&phar->manifest) == SUCCESS;
3003 zend_hash_move_forward(&phar->manifest)) {
3005 if (zend_hash_get_current_data(&phar->manifest, (void **)&entry) == FAILURE) {
3072 if(1 != php_stream_write(newfile, manifest, 1)) {
3089 for (zend_hash_internal_pointer_reset(&phar->manifest);
3090 zend_hash_has_more_elements(&phar->manifest) == SUCCESS;
3091 zend_hash_move_forward(&phar->manifest)) {
3093 if (zend_hash_get_current_data(&phar->manifest, (void **)&entry) == FAILURE) {
3539 …stuff[pphar[0]->phar_pos].manifest = (phar_entry_fp_info *) ecalloc( zend_hash_num_elements(&(ppha…
3578 efree(PHAR_GLOBALS->cached_fp[i].manifest);