Lines Matching refs:newfile
924 php_stream *oldfile, *newfile, *stubfile; in phar_tar_flush() local
1102 newfile = php_stream_fopen_tmpfile(); in phar_tar_flush()
1103 if (!newfile) { in phar_tar_flush()
1114 pass.new = newfile; in phar_tar_flush()
1163 php_stream_close(newfile); in phar_tar_flush()
1171 …if (FAILURE == phar_create_signature(phar, newfile, &signature, &signature_length, error TSRMLS_CC… in phar_tar_flush()
1182 php_stream_close(newfile); in phar_tar_flush()
1214 php_stream_close(newfile); in phar_tar_flush()
1228 php_stream_close(newfile); in phar_tar_flush()
1235 php_stream_write(newfile, buf, 1024); in phar_tar_flush()
1244 php_stream_close(newfile); in phar_tar_flush()
1260 php_stream_rewind(newfile); in phar_tar_flush()
1264 phar->fp = newfile; in phar_tar_flush()
1268 phar->fp = newfile; in phar_tar_flush()
1291 phar_stream_copy_to_stream(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_tar_flush()
1292 php_stream_close(newfile); in phar_tar_flush()
1300 phar_stream_copy_to_stream(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_tar_flush()
1305 phar->fp = newfile; in phar_tar_flush()
1311 phar_stream_copy_to_stream(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_tar_flush()
1316 phar->fp = newfile; in phar_tar_flush()
1318 phar_stream_copy_to_stream(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_tar_flush()
1320 php_stream_close(newfile); in phar_tar_flush()