Lines Matching refs:centralfp
759 php_stream *centralfp; member
966 if (sizeof(central) != php_stream_write(p->centralfp, (char *)¢ral, sizeof(central))) { in phar_zip_changed_apply()
982 if (entry->filename_len != php_stream_write(p->centralfp, entry->filename, entry->filename_len)) { in phar_zip_changed_apply()
987 if (1 != php_stream_write(p->centralfp, "/", 1)) { in phar_zip_changed_apply()
997 if (entry->filename_len != php_stream_write(p->centralfp, entry->filename, entry->filename_len)) { in phar_zip_changed_apply()
1008 if (sizeof(perms) != php_stream_write(p->centralfp, (char *)&perms, sizeof(perms))) { in phar_zip_changed_apply()
1066 …if (entry->metadata_str.len != php_stream_write(p->centralfp, entry->metadata_str.c, entry->metada… in phar_zip_changed_apply()
1099 tell = php_stream_tell(pass->centralfp); in phar_zip_applysignature()
1100 php_stream_seek(pass->centralfp, 0, SEEK_SET); in phar_zip_applysignature()
1101 phar_stream_copy_to_stream(pass->centralfp, newfile, tell, NULL); in phar_zip_applysignature()
1377 pass.centralfp = php_stream_fopen_tmpfile(); in phar_zip_flush()
1379 if (!pass.centralfp) { in phar_zip_flush()
1411 php_stream_close(pass.centralfp); in phar_zip_flush()
1428 cdir_size = php_stream_tell(pass.centralfp); in phar_zip_flush()
1432 php_stream_seek(pass.centralfp, 0, SEEK_SET); 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()
1445 php_stream_close(pass.centralfp); in phar_zip_flush()