Home
last modified time | relevance | path

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

/PHP-7.4/ext/phar/
H A Dtar.c1152 oldfile = phar->fp; in phar_tar_flush()
1154 php_stream_rewind(oldfile); in phar_tar_flush()
1166 php_stream_close(oldfile); in phar_tar_flush()
1171 pass.old = oldfile; in phar_tar_flush()
1182 php_stream_close(oldfile); in phar_tar_flush()
1198 php_stream_close(oldfile); in phar_tar_flush()
1217 php_stream_close(oldfile); in phar_tar_flush()
1237 php_stream_close(oldfile); in phar_tar_flush()
1270 php_stream_close(oldfile); in phar_tar_flush()
1283 php_stream_close(oldfile); in phar_tar_flush()
[all …]
H A Dphar.c2552 oldfile = phar->fp; in phar_flush()
2554 php_stream_rewind(oldfile); in phar_flush()
2565 php_stream_close(oldfile); in phar_flush()
2611 php_stream_close(oldfile); in phar_flush()
2628 php_stream_close(oldfile); in phar_flush()
2657 php_stream_close(oldfile); in phar_flush()
2763 php_stream_close(oldfile); in phar_flush()
2786 php_stream_close(oldfile); in phar_flush()
2894 php_stream_close(oldfile); in phar_flush()
2915 php_stream_close(oldfile); in phar_flush()
[all …]
H A Dzip.c1229 php_stream *stubfile, *oldfile; in phar_zip_flush() local
1412 oldfile = phar->fp; in phar_zip_flush()
1414 php_stream_rewind(oldfile); in phar_zip_flush()
1416 oldfile = php_stream_open_wrapper(phar->fname, "rb", 0, NULL); in phar_zip_flush()
1417 closeoldfile = oldfile != NULL; in phar_zip_flush()
1421 pass.old = oldfile; in phar_zip_flush()
1427 php_stream_close(oldfile); in phar_zip_flush()
1476 php_stream_close(oldfile); in phar_zip_flush()
1555 php_stream_close(oldfile); in phar_zip_flush()
1570 php_stream_close(oldfile); in phar_zip_flush()
H A Dphar_object.c3450 char *oldfile, *newfile, *error; in PHP_METHOD() local
3458 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "pp", &oldfile, &oldfile_len, &newfile, &newfile_len) =… in PHP_METHOD()
3463 "Cannot copy \"%s\" to \"%s\", phar is read-only", oldfile, newfile); in PHP_METHOD()
3467 if (oldfile_len >= sizeof(".phar")-1 && !memcmp(oldfile, ".phar", sizeof(".phar")-1)) { in PHP_METHOD()
3470 …"file \"%s\" cannot be copied to file \"%s\", cannot copy Phar meta-file in %s", oldfile, newfile,… in PHP_METHOD()
3477 …"file \"%s\" cannot be copied to file \"%s\", cannot copy to Phar meta-file in %s", oldfile, newfi… in PHP_METHOD()
3481 …rchive->manifest, oldfile, (uint32_t) oldfile_len) || NULL == (oldentry = zend_hash_str_find_ptr(&… in PHP_METHOD()
3483 …"file \"%s\" cannot be copied to file \"%s\", file does not exist in %s", oldfile, newfile, phar_o… in PHP_METHOD()
3490 …"file \"%s\" cannot be copied to file \"%s\", file must not already exist in phar %s", oldfile, ne… in PHP_METHOD()
3509 oldentry = zend_hash_str_find_ptr(&phar_obj->archive->manifest, oldfile, (uint32_t) oldfile_len); in PHP_METHOD()
[all …]

Completed in 31 milliseconds