Lines Matching refs:newfile
947 php_stream *oldfile, *newfile, *stubfile; in phar_tar_flush() local
1125 newfile = php_stream_fopen_tmpfile(); in phar_tar_flush()
1126 if (!newfile) { in phar_tar_flush()
1137 pass.new = newfile; in phar_tar_flush()
1186 php_stream_close(newfile); in phar_tar_flush()
1194 …if (FAILURE == phar_create_signature(phar, newfile, &signature, &signature_length, error TSRMLS_CC… in phar_tar_flush()
1205 php_stream_close(newfile); in phar_tar_flush()
1237 php_stream_close(newfile); in phar_tar_flush()
1251 php_stream_close(newfile); in phar_tar_flush()
1258 php_stream_write(newfile, buf, 1024); in phar_tar_flush()
1267 php_stream_close(newfile); in phar_tar_flush()
1283 php_stream_rewind(newfile); in phar_tar_flush()
1287 phar->fp = newfile; in phar_tar_flush()
1291 phar->fp = newfile; in phar_tar_flush()
1314 phar_stream_copy_to_stream(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_tar_flush()
1315 php_stream_close(newfile); in phar_tar_flush()
1323 phar_stream_copy_to_stream(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_tar_flush()
1328 phar->fp = newfile; in phar_tar_flush()
1334 phar_stream_copy_to_stream(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_tar_flush()
1339 phar->fp = newfile; in phar_tar_flush()
1341 phar_stream_copy_to_stream(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_tar_flush()
1343 php_stream_close(newfile); in phar_tar_flush()