Lines Matching refs:centralfp
767 php_stream *centralfp; member
974 if (sizeof(central) != php_stream_write(p->centralfp, (char *)¢ral, sizeof(central))) { in phar_zip_changed_apply()
990 if (entry->filename_len != php_stream_write(p->centralfp, entry->filename, entry->filename_len)) { in phar_zip_changed_apply()
995 if (1 != php_stream_write(p->centralfp, "/", 1)) { in phar_zip_changed_apply()
1005 if (entry->filename_len != php_stream_write(p->centralfp, entry->filename, entry->filename_len)) { in phar_zip_changed_apply()
1016 if (sizeof(perms) != php_stream_write(p->centralfp, (char *)&perms, sizeof(perms))) { in phar_zip_changed_apply()
1074 …if (entry->metadata_str.len != php_stream_write(p->centralfp, entry->metadata_str.c, entry->metada… in phar_zip_changed_apply()
1107 tell = php_stream_tell(pass->centralfp); in phar_zip_applysignature()
1108 php_stream_seek(pass->centralfp, 0, SEEK_SET); in phar_zip_applysignature()
1109 phar_stream_copy_to_stream(pass->centralfp, newfile, tell, NULL); in phar_zip_applysignature()
1385 pass.centralfp = php_stream_fopen_tmpfile(); in phar_zip_flush()
1387 if (!pass.centralfp) { in phar_zip_flush()
1419 php_stream_close(pass.centralfp); in phar_zip_flush()
1436 cdir_size = php_stream_tell(pass.centralfp); in phar_zip_flush()
1440 php_stream_seek(pass.centralfp, 0, SEEK_SET); in phar_zip_flush()
1444 int ret = phar_stream_copy_to_stream(pass.centralfp, pass.filefp, PHP_STREAM_COPY_ALL, &clen); in phar_zip_flush()
1453 php_stream_close(pass.centralfp); in phar_zip_flush()