Lines Matching refs:newfile
966 php_stream *oldfile, *newfile, *stubfile; in phar_tar_flush() local
1154 newfile = php_stream_fopen_tmpfile(); in phar_tar_flush()
1155 if (!newfile) { in phar_tar_flush()
1166 pass.new = newfile; in phar_tar_flush()
1215 php_stream_close(newfile); in phar_tar_flush()
1223 if (FAILURE == phar_create_signature(phar, newfile, &signature, &signature_length, error)) { in phar_tar_flush()
1234 php_stream_close(newfile); in phar_tar_flush()
1266 php_stream_close(newfile); in phar_tar_flush()
1280 php_stream_close(newfile); in phar_tar_flush()
1287 php_stream_write(newfile, buf, 1024); in phar_tar_flush()
1296 php_stream_close(newfile); in phar_tar_flush()
1312 php_stream_rewind(newfile); in phar_tar_flush()
1316 phar->fp = newfile; in phar_tar_flush()
1320 phar->fp = newfile; in phar_tar_flush()
1343 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_tar_flush()
1344 php_stream_close(newfile); in phar_tar_flush()
1352 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_tar_flush()
1357 phar->fp = newfile; in phar_tar_flush()
1363 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_tar_flush()
1368 phar->fp = newfile; in phar_tar_flush()
1370 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_tar_flush()
1372 php_stream_close(newfile); in phar_tar_flush()