Lines Matching refs:newfile
972 php_stream *oldfile, *newfile, *stubfile; in phar_tar_flush() local
1160 newfile = php_stream_fopen_tmpfile(); in phar_tar_flush()
1161 if (!newfile) { in phar_tar_flush()
1172 pass.new = newfile; in phar_tar_flush()
1221 php_stream_close(newfile); in phar_tar_flush()
1229 if (FAILURE == phar_create_signature(phar, newfile, &signature, &signature_length, error)) { in phar_tar_flush()
1240 php_stream_close(newfile); in phar_tar_flush()
1272 php_stream_close(newfile); in phar_tar_flush()
1286 php_stream_close(newfile); in phar_tar_flush()
1293 php_stream_write(newfile, buf, 1024); in phar_tar_flush()
1302 php_stream_close(newfile); in phar_tar_flush()
1318 php_stream_rewind(newfile); in phar_tar_flush()
1322 phar->fp = newfile; in phar_tar_flush()
1326 phar->fp = newfile; in phar_tar_flush()
1349 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_tar_flush()
1350 php_stream_close(newfile); in phar_tar_flush()
1358 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_tar_flush()
1363 phar->fp = newfile; in phar_tar_flush()
1369 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_tar_flush()
1374 phar->fp = newfile; in phar_tar_flush()
1376 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_tar_flush()
1378 php_stream_close(newfile); in phar_tar_flush()