Home
last modified time | relevance | path

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

/PHP-8.3/ext/phar/
H A Dtar.c1136 oldfile = phar->fp; in phar_tar_flush()
1138 php_stream_rewind(oldfile); in phar_tar_flush()
1150 php_stream_close(oldfile); in phar_tar_flush()
1155 pass.old = oldfile; in phar_tar_flush()
1166 php_stream_close(oldfile); in phar_tar_flush()
1182 php_stream_close(oldfile); in phar_tar_flush()
1201 php_stream_close(oldfile); in phar_tar_flush()
1221 php_stream_close(oldfile); in phar_tar_flush()
1256 php_stream_close(oldfile); in phar_tar_flush()
1269 php_stream_close(oldfile); in phar_tar_flush()
[all …]
H A Dphar.c2588 oldfile = phar->fp; in phar_flush()
2590 php_stream_rewind(oldfile); in phar_flush()
2601 php_stream_close(oldfile); in phar_flush()
2645 php_stream_close(oldfile); in phar_flush()
2660 php_stream_close(oldfile); in phar_flush()
2689 php_stream_close(oldfile); in phar_flush()
2792 php_stream_close(oldfile); in phar_flush()
2812 php_stream_close(oldfile); in phar_flush()
2920 php_stream_close(oldfile); in phar_flush()
2941 php_stream_close(oldfile); in phar_flush()
[all …]
H A Dzip.c1229 php_stream *stubfile, *oldfile; in phar_zip_flush() local
1407 oldfile = phar->fp; in phar_zip_flush()
1409 php_stream_rewind(oldfile); in phar_zip_flush()
1411 oldfile = php_stream_open_wrapper(phar->fname, "rb", 0, NULL); in phar_zip_flush()
1412 closeoldfile = oldfile != NULL; in phar_zip_flush()
1416 pass.old = oldfile; in phar_zip_flush()
1422 php_stream_close(oldfile); in phar_zip_flush()
1463 php_stream_close(oldfile); in phar_zip_flush()
1540 php_stream_close(oldfile); in phar_zip_flush()
1555 php_stream_close(oldfile); in phar_zip_flush()
H A Dphar_object.c3411 char *oldfile, *newfile, *error; in PHP_METHOD() local
3417 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "pp", &oldfile, &oldfile_len, &newfile, &newfile_len) =… in PHP_METHOD()
3425 "Cannot copy \"%s\" to \"%s\", phar is read-only", oldfile, newfile); in PHP_METHOD()
3429 if (oldfile_len >= sizeof(".phar")-1 && !memcmp(oldfile, ".phar", sizeof(".phar")-1)) { in PHP_METHOD()
3432 …"file \"%s\" cannot be copied to file \"%s\", cannot copy Phar meta-file in %s", oldfile, newfile,… in PHP_METHOD()
3439 …"file \"%s\" cannot be copied to file \"%s\", cannot copy to Phar meta-file in %s", oldfile, newfi… in PHP_METHOD()
3443 …if (NULL == (oldentry = zend_hash_str_find_ptr(&phar_obj->archive->manifest, oldfile, (uint32_t) o… in PHP_METHOD()
3445 …"file \"%s\" cannot be copied to file \"%s\", file does not exist in %s", oldfile, newfile, phar_o… in PHP_METHOD()
3451 …"file \"%s\" cannot be copied to file \"%s\", file must not already exist in phar %s", oldfile, ne… in PHP_METHOD()
3458 …acters %s, cannot be copied from \"%s\" in phar %s", newfile, pcr_error, oldfile, phar_obj->archiv… in PHP_METHOD()
[all …]

Completed in 37 milliseconds