Lines Matching refs:filefp

758 	php_stream *filefp;  member
827 PHAR_SET_32(central.offset, php_stream_tell(p->filefp)); in phar_zip_changed_apply()
958 entry->header_offset = php_stream_tell(p->filefp); in phar_zip_changed_apply()
961 if (sizeof(local) != php_stream_write(p->filefp, (char *)&local, sizeof(local))) { in phar_zip_changed_apply()
972 if (entry->filename_len != php_stream_write(p->filefp, entry->filename, entry->filename_len)) { in phar_zip_changed_apply()
977 if (1 != php_stream_write(p->filefp, "/", 1)) { in phar_zip_changed_apply()
992 if (entry->filename_len != php_stream_write(p->filefp, entry->filename, entry->filename_len)) { in phar_zip_changed_apply()
1003 if (sizeof(perms) != php_stream_write(p->filefp, (char *)&perms, sizeof(perms))) { in phar_zip_changed_apply()
1015 …if (SUCCESS != phar_stream_copy_to_stream(entry->cfp, p->filefp, entry->compressed_filesize, NULL)… in phar_zip_changed_apply()
1029 …if (SUCCESS != phar_stream_copy_to_stream(phar_get_efp(entry, 0 TSRMLS_CC), p->filefp, entry->unco… in phar_zip_changed_apply()
1055 …>compressed_filesize && SUCCESS != phar_stream_copy_to_stream(p->old, p->filefp, entry->compressed… in phar_zip_changed_apply()
1095 st = tell = php_stream_tell(pass->filefp); in phar_zip_applysignature()
1097 php_stream_seek(pass->filefp, 0, SEEK_SET); in phar_zip_applysignature()
1098 phar_stream_copy_to_stream(pass->filefp, newfile, tell, NULL); in phar_zip_applysignature()
1364 pass.filefp = php_stream_fopen_tmpfile(); in phar_zip_flush()
1366 if (!pass.filefp) { in phar_zip_flush()
1416 php_stream_close(pass.filefp); in phar_zip_flush()
1429 cdir_offset = php_stream_tell(pass.filefp); in phar_zip_flush()
1436 int ret = phar_stream_copy_to_stream(pass.centralfp, pass.filefp, PHP_STREAM_COPY_ALL, &clen); in phar_zip_flush()
1451 if (sizeof(eocd) != php_stream_write(pass.filefp, (char *)&eocd, sizeof(eocd))) { in phar_zip_flush()
1458 …if (main_metadata_str.len != php_stream_write(pass.filefp, main_metadata_str.c, main_metadata_str.… in phar_zip_flush()
1468 if (sizeof(eocd) != php_stream_write(pass.filefp, (char *)&eocd, sizeof(eocd))) { in phar_zip_flush()
1492 phar->fp = pass.filefp; in phar_zip_flush()
1499 phar->fp = pass.filefp; in phar_zip_flush()
1505 php_stream_rewind(pass.filefp); in phar_zip_flush()
1506 phar_stream_copy_to_stream(pass.filefp, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_zip_flush()
1508 php_stream_close(pass.filefp); in phar_zip_flush()