Lines Matching refs:internal_file
435 if (idata->internal_file && !idata->internal_file->is_persistent) {
436 if (--idata->internal_file->fp_refcount < 0) {
437 idata->internal_file->fp_refcount = 0;
440 if (idata->fp && idata->fp != idata->phar->fp && idata->fp != idata->phar->ufp && idata->fp != idata->internal_file->fp) {
444 if (idata->internal_file->is_temp_dir) {
445 destroy_phar_manifest_entry((void *)idata->internal_file);
446 efree(idata->internal_file);
465 if (idata->internal_file->fp_refcount < 2) {
466 if (idata->fp && idata->fp != idata->phar->fp && idata->fp != idata->phar->ufp && idata->fp != idata->internal_file->fp) {
469 zend_hash_del(&idata->phar->manifest, idata->internal_file->filename, idata->internal_file->filename_len);
473 idata->internal_file->is_deleted = 1;
2408 int len = idata->internal_file->uncompressed_filesize;
2410 phar_entry_info *entry = idata->internal_file;
2425 php_stream_seek(phar_get_entrypfp(idata->internal_file TSRMLS_CC), entry->header_offset, SEEK_SET);
2427 if (sizeof(local) != php_stream_read(phar_get_entrypfp(idata->internal_file TSRMLS_CC), (char *) &local, sizeof(local))) {
2435 php_stream_seek(phar_get_entrypfp(idata->internal_file TSRMLS_CC),
2440 if (sizeof(desc) != php_stream_read(phar_get_entrypfp(idata->internal_file TSRMLS_CC),