Home
last modified time | relevance | path

Searched refs:oldfile (Results 1 – 4 of 4) sorted by relevance

/PHP-7.1/ext/phar/
H A Dtar.c1146 oldfile = phar->fp; in phar_tar_flush()
1148 php_stream_rewind(oldfile); in phar_tar_flush()
1160 php_stream_close(oldfile); in phar_tar_flush()
1165 pass.old = oldfile; in phar_tar_flush()
1176 php_stream_close(oldfile); in phar_tar_flush()
1192 php_stream_close(oldfile); in phar_tar_flush()
1211 php_stream_close(oldfile); in phar_tar_flush()
1231 php_stream_close(oldfile); in phar_tar_flush()
1264 php_stream_close(oldfile); in phar_tar_flush()
1277 php_stream_close(oldfile); in phar_tar_flush()
[all …]
H A Dphar.c2542 oldfile = phar->fp;
2544 php_stream_rewind(oldfile);
2555 php_stream_close(oldfile);
2601 php_stream_close(oldfile);
2618 php_stream_close(oldfile);
2647 php_stream_close(oldfile);
2758 php_stream_close(oldfile);
2781 php_stream_close(oldfile);
2884 php_stream_close(oldfile);
2905 php_stream_close(oldfile);
[all …]
H A Dzip.c1188 php_stream *stubfile, *oldfile; in phar_zip_flush() local
1391 oldfile = phar->fp; in phar_zip_flush()
1393 php_stream_rewind(oldfile); in phar_zip_flush()
1395 oldfile = php_stream_open_wrapper(phar->fname, "rb", 0, NULL); in phar_zip_flush()
1396 closeoldfile = oldfile != NULL; in phar_zip_flush()
1400 pass.old = oldfile; in phar_zip_flush()
1406 php_stream_close(oldfile); in phar_zip_flush()
1455 php_stream_close(oldfile); in phar_zip_flush()
1534 php_stream_close(oldfile); in phar_zip_flush()
1549 php_stream_close(oldfile); in phar_zip_flush()
H A Dphar_object.c3443 char *oldfile, *newfile, *error; in PHP_METHOD() local
3451 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "pp", &oldfile, &oldfile_len, &newfile, &newfile_len) =… in PHP_METHOD()
3459 "Cannot copy \"%s\" to \"%s\", phar is read-only", oldfile, newfile); in PHP_METHOD()
3463 if (oldfile_len >= sizeof(".phar")-1 && !memcmp(oldfile, ".phar", sizeof(".phar")-1)) { in PHP_METHOD()
3466 …"file \"%s\" cannot be copied to file \"%s\", cannot copy Phar meta-file in %s", oldfile, newfile,… in PHP_METHOD()
3473 …"file \"%s\" cannot be copied to file \"%s\", cannot copy to Phar meta-file in %s", oldfile, newfi… in PHP_METHOD()
3477 …>archive->manifest, oldfile, (uint) oldfile_len) || NULL == (oldentry = zend_hash_str_find_ptr(&ph… in PHP_METHOD()
3479 …"file \"%s\" cannot be copied to file \"%s\", file does not exist in %s", oldfile, newfile, phar_o… in PHP_METHOD()
3486 …"file \"%s\" cannot be copied to file \"%s\", file must not already exist in phar %s", oldfile, ne… in PHP_METHOD()
3505 oldentry = zend_hash_str_find_ptr(&phar_obj->archive->manifest, oldfile, (uint) oldfile_len); in PHP_METHOD()
[all …]

Completed in 33 milliseconds