Searched refs:internal_file (Results 1 – 6 of 6) sorted by relevance
165 char *internal_file; in phar_wrapper_open_url() local203 efree(internal_file); in phar_wrapper_open_url()212 efree(internal_file); in phar_wrapper_open_url()242 efree(internal_file); in phar_wrapper_open_url()293 efree(internal_file); in phar_wrapper_open_url()314 efree(internal_file); in phar_wrapper_open_url()337 efree(internal_file); in phar_wrapper_open_url()450 data->internal_file->old_flags = data->internal_file->flags; in phar_stream_write()707 efree(internal_file); in phar_wrapper_unlink()717 efree(internal_file); in phar_wrapper_unlink()[all …]
295 char *internal_file, *error; in phar_wrapper_open_dir() local327 internal_file = ZSTR_VAL(resource->path) + 1; /* strip leading "/" */ in phar_wrapper_open_dir()344 if (*internal_file == '\0') { in phar_wrapper_open_dir()346 internal_file = estrndup(internal_file - 1, 1); in phar_wrapper_open_dir()347 ret = phar_make_dirstream(internal_file, &phar->manifest); in phar_wrapper_open_dir()357 …if (NULL != (entry = zend_hash_str_find_ptr(&phar->manifest, internal_file, strlen(internal_file))… in phar_wrapper_open_dir()365 internal_file = estrdup(internal_file); in phar_wrapper_open_dir()367 return phar_make_dirstream(internal_file, &phar->manifest); in phar_wrapper_open_dir()369 size_t i_len = strlen(internal_file); in phar_wrapper_open_dir()378 internal_file = estrndup(internal_file, in phar_wrapper_open_dir()[all …]
402 if (idata->internal_file && !idata->internal_file->is_persistent) { in phar_entry_delref()403 if (--idata->internal_file->fp_refcount < 0) { in phar_entry_delref()404 idata->internal_file->fp_refcount = 0; in phar_entry_delref()411 if (idata->internal_file->is_temp_dir) { in phar_entry_delref()412 destroy_phar_manifest_entry_int(idata->internal_file); in phar_entry_delref()413 efree(idata->internal_file); in phar_entry_delref()432 if (idata->internal_file->fp_refcount < 2) { in phar_entry_remove()436 …zend_hash_str_del(&idata->phar->manifest, idata->internal_file->filename, idata->internal_file->fi… in phar_entry_remove()440 idata->internal_file->is_deleted = 1; in phar_entry_remove()2398 int len = idata->internal_file->uncompressed_filesize; in phar_postprocess_file()[all …]
1649 if (data->internal_file->fp_type == PHAR_MOD) { in phar_build()1650 php_stream_close(data->internal_file->fp); in phar_build()1653 data->internal_file->fp = NULL; in phar_build()1654 data->internal_file->fp_type = PHAR_UFP; in phar_build()1655 data->internal_file->offset_abs = data->internal_file->offset = php_stream_tell(p_obj->fp); in phar_build()1658 data->internal_file->uncompressed_filesize = data->internal_file->compressed_filesize = in phar_build()1667 data->internal_file->flags &= ~mask; in phar_build()1686 …data->internal_file->compressed_filesize = data->internal_file->uncompressed_filesize = contents_l… in phar_build()3622 if (!data->internal_file->is_dir) { in phar_add_file()3636 …data->internal_file->compressed_filesize = data->internal_file->uncompressed_filesize = contents_l… in phar_add_file()[all …]
432 (*ret)->internal_file = entry; in phar_get_entry_data()480 (*ret)->internal_file = entry; in phar_get_entry_data()612 ret->internal_file = entry; in phar_get_or_create_entry_data()724 dummy.internal_file = entry; in phar_open_entry_fp()742 dummy.internal_file = entry; in phar_open_entry_fp()
463 phar_entry_info *internal_file; member
Completed in 48 milliseconds