Home
last modified time | relevance | path

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

/PHP-7.0/ext/phar/
H A Dtar.c1132 oldfile = phar->fp; in phar_tar_flush()
1134 php_stream_rewind(oldfile); in phar_tar_flush()
1146 php_stream_close(oldfile); in phar_tar_flush()
1151 pass.old = oldfile; in phar_tar_flush()
1162 php_stream_close(oldfile); in phar_tar_flush()
1178 php_stream_close(oldfile); in phar_tar_flush()
1197 php_stream_close(oldfile); in phar_tar_flush()
1217 php_stream_close(oldfile); in phar_tar_flush()
1250 php_stream_close(oldfile); in phar_tar_flush()
1263 php_stream_close(oldfile); in phar_tar_flush()
[all …]
H A Dphar.c2559 oldfile = phar->fp;
2561 php_stream_rewind(oldfile);
2572 php_stream_close(oldfile);
2618 php_stream_close(oldfile);
2635 php_stream_close(oldfile);
2664 php_stream_close(oldfile);
2775 php_stream_close(oldfile);
2798 php_stream_close(oldfile);
2901 php_stream_close(oldfile);
2922 php_stream_close(oldfile);
[all …]
H A Dzip.c1189 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()
1456 php_stream_close(oldfile); in phar_zip_flush()
1535 php_stream_close(oldfile); in phar_zip_flush()
1550 php_stream_close(oldfile); in phar_zip_flush()
H A Dphar_object.c3468 char *oldfile, *newfile, *error; in PHP_METHOD() local
3476 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "pp", &oldfile, &oldfile_len, &newfile, &newfile_len) =… in PHP_METHOD()
3484 "Cannot copy \"%s\" to \"%s\", phar is read-only", oldfile, newfile); in PHP_METHOD()
3488 if (oldfile_len >= sizeof(".phar")-1 && !memcmp(oldfile, ".phar", sizeof(".phar")-1)) { in PHP_METHOD()
3491 …"file \"%s\" cannot be copied to file \"%s\", cannot copy Phar meta-file in %s", oldfile, newfile,… in PHP_METHOD()
3498 …"file \"%s\" cannot be copied to file \"%s\", cannot copy to Phar meta-file in %s", oldfile, newfi… in PHP_METHOD()
3502 …>archive->manifest, oldfile, (uint) oldfile_len) || NULL == (oldentry = zend_hash_str_find_ptr(&ph… in PHP_METHOD()
3504 …"file \"%s\" cannot be copied to file \"%s\", file does not exist in %s", oldfile, newfile, phar_o… in PHP_METHOD()
3511 …"file \"%s\" cannot be copied to file \"%s\", file must not already exist in phar %s", oldfile, ne… in PHP_METHOD()
3530 oldentry = zend_hash_str_find_ptr(&phar_obj->archive->manifest, oldfile, (uint) oldfile_len); in PHP_METHOD()
[all …]

Completed in 53 milliseconds