Lines Matching refs:newfile
968 php_stream *oldfile, *newfile; in phar_tar_flush() local
1107 newfile = php_stream_fopen_tmpfile(); in phar_tar_flush()
1108 if (!newfile) { in phar_tar_flush()
1119 pass.new = newfile; in phar_tar_flush()
1168 php_stream_close(newfile); in phar_tar_flush()
1176 if (FAILURE == phar_create_signature(phar, newfile, &signature, &signature_length, error)) { in phar_tar_flush()
1187 php_stream_close(newfile); in phar_tar_flush()
1221 php_stream_close(newfile); in phar_tar_flush()
1235 php_stream_close(newfile); in phar_tar_flush()
1242 php_stream_write(newfile, buf, 1024); in phar_tar_flush()
1251 php_stream_close(newfile); in phar_tar_flush()
1267 php_stream_rewind(newfile); in phar_tar_flush()
1271 phar->fp = newfile; in phar_tar_flush()
1275 phar->fp = newfile; in phar_tar_flush()
1298 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_tar_flush()
1299 php_stream_close(newfile); in phar_tar_flush()
1307 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_tar_flush()
1312 phar->fp = newfile; in phar_tar_flush()
1318 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_tar_flush()
1323 phar->fp = newfile; in phar_tar_flush()
1325 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_tar_flush()
1327 php_stream_close(newfile); in phar_tar_flush()