Lines Matching refs:internal_file
394 if (idata->internal_file && !idata->internal_file->is_persistent) {
395 if (--idata->internal_file->fp_refcount < 0) {
396 idata->internal_file->fp_refcount = 0;
399 if (idata->fp && idata->fp != idata->phar->fp && idata->fp != idata->phar->ufp && idata->fp != idata->internal_file->fp) {
403 if (idata->internal_file->is_temp_dir) {
404 destroy_phar_manifest_entry_int(idata->internal_file);
405 efree(idata->internal_file);
423 if (idata->internal_file->fp_refcount < 2) {
424 if (idata->fp && idata->fp != idata->phar->fp && idata->fp != idata->phar->ufp && idata->fp != idata->internal_file->fp) {
427 zend_hash_str_del(&idata->phar->manifest, idata->internal_file->filename, idata->internal_file->filename_len);
431 idata->internal_file->is_deleted = 1;
2380 phar_entry_info *entry = idata->internal_file;
2395 php_stream_seek(phar_get_entrypfp(idata->internal_file), entry->header_offset, SEEK_SET);
2397 if (sizeof(local) != php_stream_read(phar_get_entrypfp(idata->internal_file), (char *) &local, sizeof(local))) {
2405 php_stream_seek(phar_get_entrypfp(idata->internal_file),
2410 if (sizeof(desc) != php_stream_read(phar_get_entrypfp(idata->internal_file),
2444 zend_result ret = php_crc32_stream_bulk_update(&crc, fp, idata->internal_file->uncompressed_filesize);