Home
last modified time | relevance | path

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

/PHP-8.0/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.c2603 oldfile = phar->fp; in phar_flush()
2605 php_stream_rewind(oldfile); in phar_flush()
2616 php_stream_close(oldfile); in phar_flush()
2662 php_stream_close(oldfile); in phar_flush()
2679 php_stream_close(oldfile); in phar_flush()
2708 php_stream_close(oldfile); in phar_flush()
2811 php_stream_close(oldfile); in phar_flush()
2834 php_stream_close(oldfile); in phar_flush()
2942 php_stream_close(oldfile); in phar_flush()
2963 php_stream_close(oldfile); in phar_flush()
[all …]
H A Dzip.c1210 php_stream *stubfile, *oldfile; in phar_zip_flush() local
1392 oldfile = phar->fp; in phar_zip_flush()
1394 php_stream_rewind(oldfile); in phar_zip_flush()
1396 oldfile = php_stream_open_wrapper(phar->fname, "rb", 0, NULL); in phar_zip_flush()
1397 closeoldfile = oldfile != NULL; in phar_zip_flush()
1401 pass.old = oldfile; in phar_zip_flush()
1407 php_stream_close(oldfile); in phar_zip_flush()
1448 php_stream_close(oldfile); in phar_zip_flush()
1525 php_stream_close(oldfile); in phar_zip_flush()
1540 php_stream_close(oldfile); in phar_zip_flush()
H A Dphar_object.c3402 char *oldfile, *newfile, *error; in PHP_METHOD() local
3408 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "pp", &oldfile, &oldfile_len, &newfile, &newfile_len) =… in PHP_METHOD()
3416 "Cannot copy \"%s\" to \"%s\", phar is read-only", oldfile, newfile); in PHP_METHOD()
3420 if (oldfile_len >= sizeof(".phar")-1 && !memcmp(oldfile, ".phar", sizeof(".phar")-1)) { in PHP_METHOD()
3423 …"file \"%s\" cannot be copied to file \"%s\", cannot copy Phar meta-file in %s", oldfile, newfile,… in PHP_METHOD()
3430 …"file \"%s\" cannot be copied to file \"%s\", cannot copy to Phar meta-file in %s", oldfile, newfi… in PHP_METHOD()
3434 …rchive->manifest, oldfile, (uint32_t) oldfile_len) || NULL == (oldentry = zend_hash_str_find_ptr(&… in PHP_METHOD()
3436 …"file \"%s\" cannot be copied to file \"%s\", file does not exist in %s", oldfile, newfile, phar_o… in PHP_METHOD()
3443 …"file \"%s\" cannot be copied to file \"%s\", file must not already exist in phar %s", oldfile, ne… in PHP_METHOD()
3451 …acters %s, cannot be copied from \"%s\" in phar %s", newfile, pcr_error, oldfile, phar_obj->archiv… in PHP_METHOD()
[all …]

Completed in 31 milliseconds