Lines Matching refs:internal_file
436 if (idata->internal_file && !idata->internal_file->is_persistent) {
437 if (--idata->internal_file->fp_refcount < 0) {
438 idata->internal_file->fp_refcount = 0;
441 if (idata->fp && idata->fp != idata->phar->fp && idata->fp != idata->phar->ufp && idata->fp != idata->internal_file->fp) {
445 if (idata->internal_file->is_temp_dir) {
446 destroy_phar_manifest_entry_int(idata->internal_file);
447 efree(idata->internal_file);
466 if (idata->internal_file->fp_refcount < 2) {
467 if (idata->fp && idata->fp != idata->phar->fp && idata->fp != idata->phar->ufp && idata->fp != idata->internal_file->fp) {
470 zend_hash_str_del(&idata->phar->manifest, idata->internal_file->filename, idata->internal_file->filename_len);
474 idata->internal_file->is_deleted = 1;
2354 int len = idata->internal_file->uncompressed_filesize;
2356 phar_entry_info *entry = idata->internal_file;
2371 php_stream_seek(phar_get_entrypfp(idata->internal_file), entry->header_offset, SEEK_SET);
2373 if (sizeof(local) != php_stream_read(phar_get_entrypfp(idata->internal_file), (char *) &local, sizeof(local))) {
2381 php_stream_seek(phar_get_entrypfp(idata->internal_file),
2386 if (sizeof(desc) != php_stream_read(phar_get_entrypfp(idata->internal_file),